[Users] nathelper natping OPTIONS packets formated to not get reply?

Glenn Dalgliesh glenn at routerboy.com
Fri Jan 20 19:36:36 CET 2006


I was looking at packet traces of the OPTIONS packets generated by natping
and it appears that at least in my implementation of OpenSer 1.0.0 the "To:
sip" line has no username which causes many UA's require in order to respond
to the OPTIONS packet. I was wondering if this was intentional or if it
would be possible to change this behavior or at least make it an
configurable option. I think a lot could be done/determined based on the
results of the reply; including determining if the packet is really reaching
the UA. I realize that some UA's may not support this feature but I think
more do than not.

 

Just my observations/thoughts. Please give me reasons for this being a good
or bad idea.. 

 

 

Current Packet:

U 2006/01/20 16:27:10.410848 111.15.13.67:5060 -> 111.16.187.102:5060

OPTIONS sip:111.16.187.102:5060 SIP/2.0.

Via: SIP/2.0/UDP 111.15.13.67:5060;branch=0.

From: sip:ping at intervoz.com.br;tag=ec30e9b7.

To: sip:111.16.187.102:5060.

Call-ID: b3fdcfa3-71a82db5-445151 at 111.15.13.67.

CSeq: 1 OPTIONS.

Content-Length: 0.

 

Suggested Packet:

U 2006/01/20 16:27:10.410848 111.15.13.67:5060 -> 111.16.187.102:5060

OPTIONS sip:<username from location table>@111.16.187.102:5060 SIP/2.0.

Via: SIP/2.0/UDP 111.15.13.67:5060;branch=0.

From: sip:ping at intervoz.com.br;tag=ec30e9b7.

To: sip:111.16.187.102:5060.

Call-ID: b3fdcfa3-71a82db5-445151 at 111.15.13.67.

CSeq: 1 OPTIONS.

Content-Length: 0.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20060120/406a16b1/attachment.htm>


More information about the sr-users mailing list