[SR-Users] Wrong ACL to Provider kamailio+asterisk+uac

Zhan Bazarov chiefkeeft at gmail.com
Fri Aug 2 19:31:06 CEST 2019


forgot to say, thats ACK on 200ok from carrier.
[image: Screen Shot 2019-08-01 at 2.28.01 PM.png]

пт, 2 авг. 2019 г. в 20:27, Zhan Bazarov <chiefkeeft at gmail.com>:

> Thanks!
> Rly appreciate your help!
>
> So, I can try to execute the same branch_route for ACK method?
> I have this branch route:
>
> branch_route[MODIFY]{
>         uac_replace_from("","$avp(from)");
>         uac_replace_to($avp(to));
> }
>
> Now I execute this when request goes from asterisk through kamailio to
> carriers...
>
> Should I execute this branch route into ACK method from asterisk too?
>
> пт, 2 авг. 2019 г. в 20:11, Henning Westerholt <hw at skalatan.de>:
>
>> Hello Zhan,
>>
>> possible reasons:
>>
>> - the ACK is not routed through your proxy (missing record-route for the
>> INVITE)
>>
>> - the user agent mangles the Route header, therefore the uac module can't
>> does it work correctly (look to the kamailio error logs if you spot
>> something)
>>
>> Have a look to your SIP e.g. with "ngrep -qt -d any -W byline port 5060"
>> on your proxy.
>>
>> Cheers,
>>
>> Henning
>> Am 02.08.19 um 19:02 schrieb Zhan Bazarov:
>>
>> Hello,
>> Thanks for reply! Yes I execute uac_replace_to/from in branch_route in
>> INVITE method... But it doesn't work for ACK method...
>>
>> пт, 2 авг. 2019 г. в 18:11, Henning Westerholt <hw at skalatan.de>:
>>
>>> Hello Zhan,
>>>
>>> have a look to the "uac" module, there are functions to rewrite the From
>>> and To header for passing messages. It works together with the rr module.
>>>
>>> Cheers,
>>>
>>> Henning
>>> Am 02.08.19 um 13:30 schrieb Zhan Bazarov:
>>>
>>> Hello!  Please, is it possible to change from/to headers in ACK message
>>> to provider? this is exactly our case, please, look it when u get a
>>> chance.
>>> http://sip-router.1086192.n5.nabble.com/Wrong-ACK-to-Provider-td130050.html#a130052
>>>
>>> _______________________________________________
>>> Kamailio (SER) - Users Mailing Listsr-users at lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>> --
>>> Henning Westerholt - https://skalatan.de/blog/
>>> Kamailio services - https://skalatan.de/services
>>>
>>> --
>> Henning Westerholt - https://skalatan.de/blog/
>> Kamailio services - https://skalatan.de/services
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190802/ecd36c2a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2019-08-01 at 2.28.01 PM.png
Type: image/png
Size: 1633303 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190802/ecd36c2a/attachment-0001.png>


More information about the sr-users mailing list