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=z9hG4bK1fbe0a49fe3
44e6af1efd45b74305a9a
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.
---
Ce courrier électronique ne contient aucun virus ou logiciel malveillant parce que la
protection avast! Antivirus est active.
http://www.avast.com