Hi!

 

When we receive NOTIFY messages, Sofia-SIP automatically answers correctly with 
a 200 OK. However, the OK should be sent to the address contained in the Via 
header according to RFC 3261 (section 18.2.2), but it currently seems to be 
sent to the IP and port from which the notification came. The Via does not 
contain "rport".

 

Please see the attached Wireshark capture for a small example. The NOTIFY 
specifies "Via: SIP/2.0/udp 
127.0.0.1:5082;branch=z9hG4bK4acf5ed2a2e6b85f252b78ac0b2d88ec" but the reply is 
sent by Sofia-SIP to the originating IP and port instead.

 

Is there some fallback mechanism in case the Via specifies a IP:port that is 
unreachable or not open?

 

Best regards,

 

Björn Stenborg

 

-----------------------------------------------------------------------------
Björn Stenborg

Enea
Teknikringen 8, 583 30 Linköping, Sweden
Direct: +46 13 465 58 44
Mobile: +46 70 971 58 44
<mailto:bjorn.stenb...@enea.com> bjorn.stenb...@enea.com

www.enea.se <http://www.enea.se/>   www.enea.com <http://www.enea.com/> 
-----------------------------------------------------------------------------
Enea - Embedded for Leaders
This message, including attachments, is CONFIDENTIAL. It may also be privileged 
or otherwise protected by law. If you received this email by mistake please let 
us know by reply and then delete it from your system; you should not copy it or 
disclose its contents to anyone. All messages sent to and from Enea may be 
monitored to ensure compliance with internal policies and to protect our 
business. Emails are not secure and cannot be guaranteed to be error free as 
they can be intercepted, amended, lost or destroyed, or contain viruses. The 
sender therefore does not accept liability for any errors or omissions in the 
contents of this message, which arise as a result of e-mail transmission. 
Anyone who communicates with us by email accepts these risks.

 

Attachment: notify_response_not_to_via.pcap
Description: notify_response_not_to_via.pcap

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to