[SR-Users] Capturing response from uac_reg module

Henning Westerholt hw at skalatan.de
Sat Sep 11 22:13:27 CEST 2021


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