[ opensips-Patches-2351140 ] [nat_traversal] Making OPTIONS/NOTIFY lighter

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ opensips-Patches-2351140 ] [nat_traversal] Making OPTIONS/NOTIFY lighter

SourceForge.net
Patches item #2351140, was opened at 2008-11-26 16:09
Message generated for change (Comment added) made by ibc_sf
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2351140&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: trunk
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Iñaki Baz (ibc_sf)
Assigned to: Nobody/Anonymous (nobody)
Summary: [nat_traversal] Making OPTIONS/NOTIFY lighter

Initial Comment:
I attach a patch that makes NOTIFY/OPTIONS sent by "send_keepalive()" function lighter. Basically I use short header names and make shorter the Call-Id.

The original message has ~ 252 chars.
The modified message has ~ 198 chars.

Not too much anyway. I wonder if the server_IP could also be replaced in From and To headers, and use "nat" as hostpart or whatever.

----------------------------------------------------------------------

>Comment By: Iñaki Baz (ibc_sf)
Date: 2008-11-26 16:25

Message:
Humm, I've realized that my patch causes an error:

  ERROR:core:forward_reply: no 2nd via found in reply

I don't see that error. It occurs when OpenSIPS sends (sucesfully) the
keepalive NOTIFY and the user replies:

-------------
NOTIFY sip:USER_IP:62356 SIP/2.0
v: SIP/2.0/UDP PROXY_IP:5060;branch=0
f: sip:keepalive@PROXY_IP;tag=e3e052d
t: sip:USER_IP:62356
i: 28d6327a
CSeq: 1 NOTIFY
Event: keep-alive
l: 0


SIP/2.0 400 Contact header missing
Via: SIP/2.0/UDP PROXY_IP:5060;branch=0
To: <sip:USER_IP:62356>;tag=giwjk
From: <sip:keepalive@PROXY_IP>;tag=e3e052d
Call-ID: 28d6327a
CSeq: 1 NOTIFY
Server: Twinkle/1.3
Content-Length: 0
------------


What could be the problem? does it really exist?

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2351140&group_id=232389

_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel