[SR-Users] allow_source_address_group in failure route

Igor Olhovskiy igorolhovskiy at gmail.com
Wed Feb 16 10:09:23 CET 2022


Matthew,

In failure_route[], you're dealing with transaction, not branch. And
winning transaction is one with biggest return code.
But can you please explain a bit more about your task?
Means I did not get what is first branch and second one.

вт, 15 февр. 2022 г. в 19:54, Marrold <kamailio at marrold.co.uk>:

> Hello,
>
> I'm using Kamailio as a proxy between several voice gateways and if the
> call fails for whatever reason (far end is busy etc) I am forwarding to an
> Asterisk box to play an announcement.
>
> Within the failure route I am using  allow_source_address_group() to ascertain
> if the failure response was from a Voice Gateway or Asterisk itself,
> however it appears to return the group for the first branch when the reply
> is from the second branch to Asterisk.
>
> To handle the failure I am adding some headers, and setting a new
> destination indirectly with ds_select_dst before t_relay. I am using 5.5.3
> on Debian 11, using KEMI / Python.
>
> Does anyone have any ideas?
>
> Thanks
> Matthew
>
> __________________________________________________________
> 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
>


-- 
Best regards,
Igor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220216/11085cd5/attachment.htm>


More information about the sr-users mailing list