[SR-Users] Problem with loose_route for a BYE
Daniel-Constantin Mierla
miconda at gmail.com
Wed Nov 20 16:41:50 CET 2013
Hello,
you have to give all the BYE -- the best is to send from the first
INVITE to the last BYE, because it matters how the record-route are
built for INVITE.
I suspect that the BYE comes with r-uri having kamailio address, if the
old ser does fix natted contact (which should not do in this case).
Cheers,
Daniel
On 11/20/13 3:03 PM, Igor Potjevlesch wrote:
>
> Hello,
>
> I work on interconnecting an old SER version with Kamailio.
>
> When a BYE is sent by the old SER, the "if (loose_route)" instruction
> returns false and then a "404 Not here" is sent. So the BYE is not
> relay to the UA.
>
> If the BYE is sent by Kamailio, no problem.
>
> Here are the BYE headers received by Kamailio:
>
> Record-Route: sip:OLD_SER_IP_ADDRESS;ftag=e97b7b77c5a3a9cc;lr=on
>
> Via: SIP/2.0/UDP OLD_SER_IP_ADDRESS;branch=z9hG4bKc9e5.3cbad207.0
>
> Via: SIP/2.0/UDP
> UA_IP_ADDRESS_CONNECTED_TO_OLD_SER:5060;rport=5060;branch=z9hG4bK1fbe0a49fe344e6af1efd45b74305a9a
>
> Route: sip:KAMAILIO_IP_ADDRESS;lr=on
>
> I looked at the RR module documentation and it's clearly said that
> "The loose_route function analyzes the Route: headers in the requests.
> [...]If a Route: header is found, the function returns 1 and behaves
> as described in section 16.12 of RFC 3261.".
>
> Someone has an idea?
>
> Regards,
>
> Igor.
>
>
>
> ------------------------------------------------------------------------
> <http://www.avast.com/>
>
> Ce courrier électronique ne contient aucun virus ou logiciel
> malveillant parce que la protection Antivirus avast!
> <http://www.avast.com/> est active.
>
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Trainings - Berlin, Nov 25-28
- more details about Kamailio trainings at http://www.asipto.com -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20131120/80a82e83/attachment.html>
More information about the sr-users
mailing list