[OpenSIPS-Users] trouble with event_route.

Liviu Chircu liviu at opensips.org
Fri Aug 21 15:31:17 EST 2020


On 21.08.2020 18:14, Liviu Chircu wrote:
> Let me re-test this feature and come back with an update. 

Johan,

I've successfully re-run my tests and both notify_on_event() and 
async(wait_for_event()) worked just fine.

I only have one idea that may explain why it doesn't work for you:  if 
you have enabled the "usrloc.use_domain" [1] modparam, then the correct 
way to subscribe to the usrloc registration event is:

$avp(filter) = "aor=" + $rU + "@" + $rd;

[1]: https://opensips.org/docs/modules/3.2.x/usrloc.html#param_use_domain

-- 
Liviu Chircu
www.twitter.com/liviuchircu | www.opensips-solutions.com

OpenSIPS Summit 2020 Distributed
   www.opensips.org/events/Summit-2020Distributed




More information about the Users mailing list