FW: [Users] Two c= tags in sdp body

Pletli Antal a.pletli at euromacc.hu
Fri Aug 4 10:22:19 CEST 2006


Sorry, i ran the older version of openser not the new. :-)
thx

-----Original Message-----
From: Pletli Antal 
Sent: Friday, August 04, 2006 8:45 AM
To: users at openser.org
Subject: RE: [Users] Two c= tags in sdp body

Hi,

It doesn't work, with the 'c' flag all the c= tags remain unchanged.

-----Original Message-----
From: Ovidiu Sas [mailto:sip.nslu at gmail.com]
Sent: Thursday, August 03, 2006 5:00 PM
To: Pletli Antal
Cc: users at openser.org
Subject: Re: [Users] Two c= tag in sdp body

Check the new 'c' flag in 1.1 release:
http://www.openser.org/docs/modules/1.1.x/nathelper.html#AEN275


-ovi

On 8/3/06, Pletli Antal <a.pletli at euromacc.hu> wrote:
>
>
>
> Hello,
>
> I use OpenSer with Cisco AS5300/5350/5400 with IOS 12.3.
> When Cisco sends an OK 200 SIP message to OpenSer, there are two "c=IN
IPV4"
> tags in sdp body with the same IP address.
> The nathelper module only replaces the last occurence of c= tag so 
> some SIP clients works wrong because those  get the first IP from the
first  "c="
> tag...
>
> How can i replace the all occurences of "c=" tag in sdp body with the 
> help of nathelper?
>
> Thx,
>
> Antal
>
> Content-Type: application/sdp.
> Content-Length: 277.
> .
> v=0.
> o=CiscoSystemsSIP-GW-UserAgent 7144 773 IN IP4 213.253.220.242.
> s=SIP Call.
> c=IN IP4 213.253.xxx.xxx.  -> this is the original address of Cisco GW

> t=0 0.
> m=audio 35944 RTP/AVP 18.
> c=IN IP4 213.253.xxx.yyy.       -> this is the nated address replaced
by
> nathelper
> a=rtpmap:18 G729/8000.
> a=fmtp:18 annexb=no.
> m=video 35946 RTP/AVP.
> c=IN IP4 213.253.220.253.
> a=nortpproxy:yes.
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
>
>




More information about the sr-users mailing list