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
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:
Via: SIP/2.0/UDP 192.168.146.174:46248;branch=z9hG4bK-524287-1---5b14eec905adf6ceMax-Forwards: 70Route: <sip:mo@192.168.129.133;lr=on;ftag=c7d62d68;did=8a1.bcf2;rm=8>Route: <sip:mo@192.168.129.135;lr=on;ftag=c7d62d68;did=8a1.121>Route: <sip:mt@192.168.129.135;lr=on;ftag=c7d62d68;did=8a1.221>Route: <sip:mt@192.168.129.133;lr=on;ftag=c7d62d68;did=8a1.ccf2;rm=7>To: <sip:xxxxxx@domain.net;transport=UDP>;tag=dd9aaf1cFrom: <sip:yyyyy@domain.net;transport=UDP>;tag=c7d62d68Call-ID: 5Zogf8chhpYlQRdpaZM4CA..CSeq: 2 ACKUser-Agent: SoftphoneContent-Length: 0
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@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