Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] How to enforce freeswitch replying to the source port instead of to the one specified in v/m header p


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
tzury.by at reguluslab...
Guest





PostPosted: Mon Oct 19, 2009 2:36 am    Post subject: [Freeswitch-users] How to enforce freeswitch replying to the Reply with quote

Hi,

I am struggling with a cellular operator which removes the rport from
the SIP messages sent by the client.
During the troubleshooting process I have been playing with the NDLB
parameters I found mentioned at the fs-wiki

<param name="NDLB-force-rport" value="true"/>
<param name="NDLB-received-in-nat-reg-contact" value="true"/>

as well as with sip-force-contact at the extension xml config file.

<variables>
<variable name="sip-force-contact" value="NDLB-connectile-dysfunction"/>
</variables>

I Want to make freeswitch replying to the source port instead of the
port supplied by the client, that is
to port 12543 instead of to the 7608 as you can see below some pcap
dumps of the case.

I am not sure if that would solve thep roblem and am open to other
suggestions as well.

Thanks in advance,
Tzury

pcap dumps below:

### REGISTER ###
User Datagram Protocol, Src Port: 12543 (12543), Dst Port: sip (5060)
REGISTER sip:example.net SIP/2.0
v: SIP/2.0/UDP 212.154.128.222:7608;branch=z9hG4bKPj41fa0abd044c35c75598d561b2f93167
Max-Forwards: 70
f: <sip:1013@example.net>;tag=9194adecbf8e8179530eb589e83631db
t: <sip:1013@example.net>
i: ebf2e3c254517938f90f33d8fd89326d
CSeq: 17355 REGISTER
m: <sip:1013@212.154.128.222:7608>
Expires: 300
l: 0

### 401 UNAUTHORIZED ###
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP
212.154.128.222:7608;branch=z9hG4bKPj41fa0abd044c35c75598d561b2f93167
From: <sip:1013@example.net>;tag=9194adecbf8e8179530eb589e83631db
To: <sip:1013@example.net>;tag=166HraN0B149g
Call-ID: ebf2e3c254517938f90f33d8fd89326d
CSeq: 17355 REGISTER
User-Agent: FreeSWITCH-mod_sofia/1.0.3-exported
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE,
NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH
Supported: timer, precondition, path, replaces
WWW-Authenticate: Digest realm="example.net",
nonce="f2f1370c-bc7c-11de-b000-fbe81e221ab4", algorithm=MD5,
qop="auth"
Content-Length: 0

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
mike at jerris.com
Guest





PostPosted: Mon Oct 19, 2009 8:45 am    Post subject: [Freeswitch-users] How to enforce freeswitch replying to the Reply with quote

This is what force-rport is supposed to do. That being said, I can't
tell from your trace where it is actually going to, just what it says
in the packet, which can be different.

Mike

On Oct 19, 2009, at 3:23 AM, Tzury Bar Yochay wrote:

Quote:
Hi,

I am struggling with a cellular operator which removes the rport from
the SIP messages sent by the client.
During the troubleshooting process I have been playing with the NDLB
parameters I found mentioned at the fs-wiki

<param name="NDLB-force-rport" value="true"/>
<param name="NDLB-received-in-nat-reg-contact" value="true"/>

as well as with sip-force-contact at the extension xml config file.

<variables>
<variable name="sip-force-contact" value="NDLB-connectile-
dysfunction"/>
</variables>

I Want to make freeswitch replying to the source port instead of the
port supplied by the client, that is
to port 12543 instead of to the 7608 as you can see below some pcap
dumps of the case.

I am not sure if that would solve thep roblem and am open to other
suggestions as well.

Thanks in advance,
Tzury

pcap dumps below:

### REGISTER ###
User Datagram Protocol, Src Port: 12543 (12543), Dst Port: sip (5060)
REGISTER sip:example.net SIP/2.0
v: SIP/2.0/UDP
212.154.128.222:7608;branch=z9hG4bKPj41fa0abd044c35c75598d561b2f93167
Max-Forwards: 70
f: <sip:1013@example.net>;tag=9194adecbf8e8179530eb589e83631db
t: <sip:1013@example.net>
i: ebf2e3c254517938f90f33d8fd89326d
CSeq: 17355 REGISTER
m: <sip:1013@212.154.128.222:7608>
Expires: 300
l: 0

### 401 UNAUTHORIZED ###
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP
212.154.128.222:7608;branch=z9hG4bKPj41fa0abd044c35c75598d561b2f93167
From: <sip:1013@example.net>;tag=9194adecbf8e8179530eb589e83631db
To: <sip:1013@example.net>;tag=166HraN0B149g
Call-ID: ebf2e3c254517938f90f33d8fd89326d
CSeq: 17355 REGISTER
User-Agent: FreeSWITCH-mod_sofia/1.0.3-exported
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE,
NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH
Supported: timer, precondition, path, replaces
WWW-Authenticate: Digest realm="example.net",
nonce="f2f1370c-bc7c-11de-b000-fbe81e221ab4", algorithm=MD5,
qop="auth"
Content-Length: 0


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services