[SR-Users] Capturing response from uac_reg module

Ross McKillop ross at rsmck.co.uk
Sat Sep 11 23:03:23 CEST 2021

I did try with failure_route but didn’t seem to get the response from the automatically initiated REGISTER requests, if that should work I shall try again!


Sent from my mobile device. 
Please excuse brevity. 

> On 11 Sep 2021, at 21:13, Henning Westerholt <hw at skalatan.de> wrote:
> Hello Ross,
> have you already tried to use a onreply_route for this? If you are interested in the authentication 401/407 responses on the REGISTER request, a failure_route is the way to go, as indicated in the module docs for uac_auth() function.
> Cheers,
> Henning
> -- 
> Henning Westerholt - https://skalatan.de/blog/
> Kamailio services - https://gilawa.com 
> -----Original Message-----
> From: sr-users <sr-users-bounces at lists.kamailio.org> On Behalf Of Ross McKillop
> Sent: Friday, September 10, 2021 12:41 PM
> To: sr-users at lists.kamailio.org
> Subject: [SR-Users] Capturing response from uac_reg module
> Hi,
> What's the best way to capture the response from REGISTER requests automatically initiated by the uac_reg module? 
> I was looking to use event_route[uac:reply] {} but that is only triggered if the evroute flag is set on the initial call made to uac_req_send()
> Is there a way to set this globally so that uac:reply is called for all requests initiated for peers in the uacreg table or a better way to capture the response?
> Best,
> Ross
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
>  * sr-users at lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to the sender!
> Edit mailing list options or unsubscribe:
>  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

More information about the sr-users mailing list