[Serusers] NatHelper Bug w/fix_nated_sdp("2")

Maxim Sobolev sobomax at portaone.com
Thu Nov 27 14:26:23 CET 2003


This soft of problems is caused by the fact that you are invoking two 
different SDP rewriting functions in your ser.cfg, such as 
fix_nated_sdp() and force_rtp_proxy(). This is not supported, you can 
only use one of them on the same message and only once.

-Maxim

dhiraj.2.bhuyan at bt.com wrote:

> Hi Jan,
> I came accross this problem too with 0.8.12. 
> fix_nated_sdp("3") instead of replacing the value of "c", SER appends the ip address to the existing value - something like - 
> 
> c=IN IP4 162.33.165.196162.33.165.197
> 
> and kphone crashes while trying to resolve this.
> 
> Dhiraj
> 
> -----Original Message-----
> From: Jan Janak [mailto:jan at iptel.org]
> Sent: 24 November 2003 16:21
> To: Glenn Dalgliesh
> Cc: serusers at lists.iptel.org
> Subject: Re: [Serusers] NatHelper Bug w/fix_nated_sdp("2")
> 
> 
> I registered your first mail, but I didn't have enough time to take a
> look at it yet.
> 
>   Jan.
> 
> On 24-11 11:00, Glenn Dalgliesh wrote:
> 
>>
>>
>>>Source downloaded 11/21/03
>>>
>>>if you look at the statement capture below you will see "c=IN IP4
>>>162.33.165.196162.33.165.197.."
>>>you can see that it has appended the ip address and not replaced it. it
>>>should read
>>>c=IN IP4 162.33.165.197..
>>>
>>>the statement that causes this is fix_nated_sdp("2"); which is supposed to
>>>rewrite the sdp ip I believe.
>>>
>>>Thanks
>>>
>>>U 162.33.165.197:5060 -> 209.163.109.7:7021
>>>  INVITE sip:4102959745 at 209.163.109.7:7021 SIP/2.0..
>>>  Record-Route: <sip:4102959745 at 162.33.165.197;ftag=2897557590;lr=on>..
>>>  Via: SIP/2.0/UDP 162.33.165.197;branch=z9hG4bK3ed5.f0361d32.0..
>>>  Via: SIP/2.0/UDP
>>>
>>
>>192.168.0.2:5060;received=162.33.165.196;rport=24753;branch=z9hG4bK2A91A9FF9
>>
>>>96744D5B389B94AA59E9DAD..
>>>  From: ser <sip:7000 at sipdemo.routerboy.com>;tag=2897557590..To:
>>><sip:4102959745 at sipdemo.routerboy.com>..
>>>  Contact: <sip:7000 at 162.33.165.196:24753>..Call-ID:
>>>EA586237-0F91-4622-87DA-784E3A6DD975 at 192.168.0.2..CSeq: 15849 INVITE..
>>>  Max-Forwards: 69..
>>>  Content-Type: application/sdp..
>>>  User-Agent: X-Lite build 1082..
>>>  Content-Length: 336..P-Behind-NAT: Yes..
>>>  ..
>>>  v=0..o=7000 2225915367 2225915367 IN IP4 192.168.0.2..
>>>  s=X-Lite..
>>>  c=IN IP4 162.33.165.196162.33.165.197..
>>>  t=0 0..m=audio 35190 RTP/AVP 0 8 98 97 101..
>>>  a=rtpmap:0 pcmu/8000..a=rtpmap:8 pcma/8000..
>>>  a=rtpmap:98 iLBC/8000..a=rtpmap:97 speex/8000..
>>>  a=rtpmap:101 telephone-event/8000..
>>>  a=fmtp:101 0-15..
>>>  a=direction:active..
>>>  a=oldmediaip:192.168.0.2..
>>>
>>>_______________________________________________
>>>Serdev mailing list
>>>serdev at lists.iptel.org
>>>http://lists.iptel.org/mailman/listinfo/serdev
>>>
>>
>>_______________________________________________
>>Serusers mailing list
>>serusers at lists.iptel.org
>>http://lists.iptel.org/mailman/listinfo/serusers
> 
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
> 
> 
> 





More information about the sr-users mailing list