[OpenSER-Users] disable media/nathelper

Daniel-Constantin Mierla daniel at voice-system.ro
Thu Aug 2 12:15:02 CEST 2007


For those hitting this message, the thread was continued on devel list, 
which ended in providing a patch to be included in sources.

Daniel

On 07/29/07 12:07, Aymeric Moizard wrote:
>
> Hi,
>
> I'm facing an issue with openser. I checked the latest SVN
> code and it seems my issue is not solved even in the svn version.
>
> My UA is sending an SDP with 2 m lines: one for audio
> and one for video. In a re-INVITE, I want to disable video
> and I'm sending m=video 0 RTP/AVP..
>
> My openser is currently modifying the port number for the
> video line even if it's 0 which means it's disabled...
> This behavior would of course happen even for audio lines
> that ones wants to disable.
>
> I was not able to find a clean fix in nathelper.c and hope
> to get some help for proposing one... I guess it would be
> something close to:
>   if (oldport==0)
>      skip altering ip/port for media and continue;
> but I don't want to insert any mem leak or lose a session...
>
> tks,
> Aymeric MOIZARD / ANTISIP
> amsip - http://www.antisip.com
> osip2 - http://www.osip.org
> eXosip2 - http://savannah.nongnu.org/projects/exosip/
>
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>




More information about the Users mailing list