[OpenSER-Users] a=nortpproxy:yes in SDP and fix_nated_*
liran tal
liransgarage at gmail.com
Tue Aug 14 12:03:16 CEST 2007
Thanks for that notice Bogdan,
I've literally grepped for that "a=nortpproxy:yes" string in the source
directory
of openser and couldn't find any mentioning for it except in the nathelper
module directory.
I will look further into that, thanks.
Can you tell me in the future how could I trace such problem?
Even with debugging turned fully on I couldn't deduce which function or
module
are inserting that string...
Regards,
Liran.
On 8/8/07, Bogdan-Andrei Iancu <bogdan at voice-system.ro> wrote:
>
> Hi,
>
> that SDP line is added when you do force_rtp_proxy().
>
> Regards,
> Bogdan
>
> liran tal wrote:
> > Hey everyone,
> >
> > When I'm doing sequential forking I'm seeing that for each gateway
> > that doesn't answer and I move forward
> > in the list of available gateways to forward the INVITE to, openser
> > adds an "a=nortpproxy:yes" into the SDP
> > so what happens is that the final gateway which is alive receives the
> > sip header with multiple lines
> > of "a=nortpproxy:yes" repeating themselves in the SDP and throws away
> > the packet.
> >
> > From my browsing in nathelper's code I see the only place that writes
> > a "a=nortpproxy:yes" string to
> > the SDP is the fix_nated_sdp function, and I'm actually not using it
> > in my cfg but rather using
> > fix_nated_register and fix_nated_contact which from what the README
> > says are not handling
> > the SDP part.
> >
> > And so I'm asking, where could it be coming from?
> > And also, it would be easier if I can insert a piece of code that can
> > do some regular expression
> > miracles with the SIP header and remove any duplicate lines of the
> > "nortpproxy" string.
> >
> > I'm running on openser 1.1.1
> >
> >
> > Thanks,
> > Lir.
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Users mailing list
> > Users at openser.org
> > http://openser.org/cgi-bin/mailman/listinfo/users
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20070814/240a3db5/attachment.htm>
More information about the sr-users
mailing list