Thanks Daniel, you are of course right, I was mixing it up with the uac_auth requests.
-----Original Message----- From: sr-users <[email protected]> On Behalf Of Daniel-Constantin Mierla Sent: Tuesday, September 14, 2021 2:53 PM To: Kamailio (SER) - Users Mailing List <[email protected]>; Ross McKillop <[email protected]> Subject: Re: [SR-Users] Capturing response from uac_reg module Hello, failure route is not executed on replies for REGISTER requests generated by uac_reg module. You can get them on reply_route {} block - filter on method REGISTER and only one Via header. event_route[uac:reply] is only for uac_req_send() and although they are part of the same module, it has nothing to do with uac_reg feature. Cheers, Daniel On 11.09.21 23:03, Ross McKillop wrote: > 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! > > Thanks > Ross > > -- > Sent from my mobile device. > Please excuse brevity. > >> On 11 Sep 2021, at 21:13, Henning Westerholt <[email protected]> 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 <[email protected]> On Behalf Of >> Ross McKillop >> Sent: Friday, September 10, 2021 12:41 PM >> To: [email protected] >> 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 >> * [email protected] >> 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 > __________________________________________________________ > Kamailio - Users Mailing List - Non Commercial Discussions > * [email protected] > 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 -- Daniel-Constantin Mierla -- www.asipto.com www.twitter.com/miconda -- www.linkedin.com/in/miconda __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions * [email protected] 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 __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions * [email protected] 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
