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

Glenn Dalgliesh ser at techhat.com
Mon Nov 24 17:00:15 CET 2003




> 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
>




More information about the sr-users mailing list