[SR-Users] Multiple aliases in the Request Message

Daniel-Constantin Mierla miconda at gmail.com
Tue Jul 3 13:13:41 CEST 2018


Hello,

I think that handle_ruri_alias() is consuming from the end of the
parameters, so you can execute the function couple of times.

Ideally, the alias parameter should be only once there, the second one
should be useless, at that point record-route/route headers should be
enough.

Cheers,
Daniel


On 28.06.18 13:25, Borislav Gergov wrote:
> Hello, what is the proper way for kamailio nathelper module to handle
> multiple aliases in the request . For example We have ACK message that
> looped in the kamailio because is not forward to user phone:
>
> ACK
> sip:xxxxxx at 10.10.10.32:38416;alias=192.168.129.135~5060~1;alias=192.168.205.32~38416~1
> SIP/2.0
> Via: SIP/2.0/UDP
> 192.168.146.174:46248;branch=z9hG4bK-524287-1---5b14eec905adf6ce
> Max-Forwards: 70
> Route: <sip:mo at 192.168.129.133
> <mailto:sip%3Amo at 192.168.129.133>;lr=on;ftag=c7d62d68;did=8a1.bcf2;rm=8>
> Route: <sip:mo at 192.168.129.135
> <mailto:sip%3Amo at 192.168.129.135>;lr=on;ftag=c7d62d68;did=8a1.121>
> Route: <sip:mt at 192.168.129.135
> <mailto:sip%3Amt at 192.168.129.135>;lr=on;ftag=c7d62d68;did=8a1.221>
> Route: <sip:mt at 192.168.129.133
> <mailto:sip%3Amt at 192.168.129.133>;lr=on;ftag=c7d62d68;did=8a1.ccf2;rm=7>
> Contact: <sip:yyyyy at 10.153.146.174:46248;transport=UDP>
> To: <sip:xxxxxx at domain.net
> <mailto:sip%3Axxxxxx at domain.net>;transport=UDP>;tag=dd9aaf1c
> From: <sip:yyyyy at domain.net
> <mailto:sip%3Ayyyyy at domain.net>;transport=UDP>;tag=c7d62d68
> Call-ID: 5Zogf8chhpYlQRdpaZM4CA..
> CSeq: 2 ACK
> User-Agent: Softphone
> Content-Length: 0
>
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> 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 World Conference -- www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180703/f219b5c9/attachment.html>


More information about the sr-users mailing list