Jeremy A wrote:
Hi,
I'm using sems-1.1.1 and am debugging a minor variation on
announce-transfer dialog.
In the onSipRequest function handling NOTIFY there are two calls. One to
dlg.bye()
and one to
dlg.reply ( req, 200, "OK", "", "" );
Looking at the debug printout, the 200 OK message goes out with Via
headers - responding to the incoming NOTIFY routing.
--++--
SIP/2.0 200 OK
Record-Route: <sip:10.1.39.10;ftag=d9cf871b4c48bea1o0;lr=on>
Via: SIP/2.0/UDP 10.1.39.10;branch=z9hG4bKa9c2.18357066.0
Via: SIP/2.0/UDP 10.1.39.194:5060;branch=z9hG4bK-49efbde2
From: "HS Con 4" <sip:[email protected]>;tag=d9cf871b4c48bea1o0
To: "PA" <sip:[email protected]>;tag=54658FBD-4A6D30480002F469-B78CAB90
Call-ID: [email protected]
CSeq: 103 NOTIFY
Contact: <sip:[email protected]:5097>
Content-Length: 0
--++--
while the BYE message goes out without the Via headers - perhaps
establishing a different route on the return path?
--++--
BYE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 10.1.39.10:5097;branch=z9hG4bK.a5cSalP
Route: <sip:10.1.39.10;ftag=d9cf871b4c48bea1o0;lr=on>
From: "PA" <sip:[email protected]>;tag=54658FBD-4A6D30480002F469-B78CAB90
To: "HS Con 4" <sip:[email protected]>;tag=d9cf871b4c48bea1o0
CSeq: 11 BYE
Call-ID: [email protected]
Max-Forwards: 70
Content-Length: 0
--++--
My question is : Should the BYE message use existing Via Headers / the
same return path? If so, how do I enable that?
Via is used only for routing replies. A quick look into RFC3261 will
clarify the mistery ;-)
-Raphael.
Thanks
Jeremy
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems