Hi.
After reading through the SIP RFC again, I realize that Sofia-SIP is of course
behaving correctly. Since the source IP differs from the IP in the top Via
header, we add a "received" parameter to the Via when receiving the NOTIFY.
Then when it comes time to send a response, since there is a "received" address
it is used.
I've rejected the customer trouble report from which this question originated.
;)
/Björn
________________________________
From: Björn Stenborg [mailto:bjorn.stenb...@enea.com]
Sent: den 11 maj 2009 18:44
To: Sofia-sip-devel@lists.sourceforge.net
Subject: [Sofia-sip-devel] OK to NOTIFY not sent to Via header address
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.
------------------------------------------------------------------------------
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