[Serusers] force_rtp_proxy without any impact on SDP

Franz Edler franz.edler at utanet.at
Sat May 22 15:09:09 CEST 2004


Hi all,

I am trying to get nathelper + rtpproxy working but I now have a problem:
"force_rtp_proxy" does not change anything in the SDP-part e.g. of INVITE.

I have attached:
- my ser.cfg
- the syslog output (DEBUG=3): rtpproxy_test.log

Here are my hints where to look at:
- line 213 in ser.cfg contains the force_rtp_proxy() statement
- line 37 in rtpproxy_test.log holds the log output of the statement before
  force_rtp_proxy()
- below are the contents of the received and the forwarded INVITE request

I expected the IP-address and port-number of the forwarded INVITE to be
modified (IP-address of rtpproxy= 192.168.20.2). Why does it not work?

I have a reverted test-scenario where ser + rtpproxy are within a private
network (192.168.20.2) and I have arranged to get a INVITE from outside
(62.218.76.30). But this should have no influence on force_rtp_proxy().

Any ideas?

Franz


INVITE Received by SER:
-----------------------
UDP Frame 41:  192.168.20.5:5061(1) -> 192.168.20.2:5060(2)
      
INVITE sip:wnb at biloxi.com SIP/2.0
Via: SIP/2.0/UDP
62.218.76.30:5061;rport;branch=z9hG4bK234EE37415A64F648AE73252A5B7177E
From: X-PRO <sip:wpc at biloxi.com>;tag=1890514130
To: <sip:wnb at biloxi.com>
Contact: <sip:wpc at 62.218.76.30:5061>
Call-ID: 0011D27B-A4A0-4EAF-BA7B-2942D3F4278A at 62.218.76.30
CSeq: 34691 INVITE
Max-Forwards: 70
Content-Type: application/sdp
User-Agent: X-PRO build 1101
Content-Length: 315 
 
v=0
o=wpc 8424093 8424093 IN IP4 62.218.76.30 s=X-PRO c=IN IP4 62.218.76.30 t=0
0 m=audio 8000 RTP/AVP 18 3 97 98 0 8 101 a=rtpmap:0 pcmu/8000
a=rtpmap:8 pcma/8000
a=rtpmap:3 gsm/8000
a=rtpmap:18 G729/8000
a=rtpmap:98 iLBC/8000
a=rtpmap:97 speex/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15


INVITE forwarded by SER
-----------------------
UDP Frame 43:       192.168.20.2:5060(2) -> 192.168.20.6:5060(3)

INVITE sip:wnb at 192.168.20.6:5060 SIP/2.0
Record-Route: <sip:wnb at 192.168.20.2;ftag=1890514130;lr=on>
Via: SIP/2.0/UDP 192.168.20.2;branch=z9hG4bKcc0e.f78ee5d5.0
Via: SIP/2.0/UDP
62.218.76.30:5061;received=192.168.20.5;rport=5061;branch=z9hG4bK234EE37415A
64F648AE73252A5B7177E
From: X-PRO <sip:wpc at biloxi.com>;tag=1890514130
To: <sip:wnb at biloxi.com>
Contact: <sip:wpc at 192.168.20.5:5061>
Call-ID: 0011D27B-A4A0-4EAF-BA7B-2942D3F4278A at 62.218.76.30
CSeq: 34691 INVITE
Max-Forwards: 69
Content-Type: application/sdp
User-Agent: X-PRO build 1101
Content-Length: 315
P-hint: force_rport and fix_nated_contact
P-hint: session forced via RTP-Proxy 
 
v=0
o=wpc 8424093 8424093 IN IP4 62.218.76.30 s=X-PRO c=IN IP4 62.218.76.30 t=0
0 m=audio 8000 RTP/AVP 18 3 97 98 0 8 101 a=rtpmap:0 pcmu/8000
a=rtpmap:8 pcma/8000
a=rtpmap:3 gsm/8000
a=rtpmap:18 G729/8000
a=rtpmap:98 iLBC/8000
a=rtpmap:97 speex/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ser.cfg
Type: application/octet-stream
Size: 8485 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20040522/833e599c/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtpproxy_test.log
Type: application/octet-stream
Size: 3107 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20040522/833e599c/attachment-0001.obj>


More information about the sr-users mailing list