[OpenSIPS-Users] Convert SDP Connection IP
Bogdan-Andrei Iancu
bogdan at opensips.org
Tue Oct 28 12:41:16 CET 2014
Hi Sunil,
You can use the sdp.line transformation to get the c line :
http://www.opensips.org/Documentation/Script-Tran-1-11#toc70
Form there you can use a regexp to test the IP
http://www.opensips.org/Documentation/Script-Tran-1-11#toc71
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 27.10.2014 08:05, Sunil P wrote:
> Hi Bogdan,
>
> Thanks for your reply.Please let me know if there is anyway to
> know whether SDP Connection parameter(c) contains IPV4 or IPV6 address.
>
> Thanks and Regards,
> Sunil
>
>
>
> Date: Tue, 21 Oct 2014 21:24:29 +0300
> From: Bogdan-Andrei Iancu <bogdan at opensips.org
> <mailto:bogdan at opensips.org>>
> Subject: Re: [OpenSIPS-Users] Convert SDP Connection IP
> To: OpenSIPS users mailling list <users at lists.opensips.org
> <mailto:users at lists.opensips.org>>
> Message-ID: <5446A4DD.1060308 at opensips.org
> <mailto:5446A4DD.1060308 at opensips.org>>
> Content-Type: text/plain; charset="windows-1252"; Format="flowed"
>
> Hi Sunil,
>
> See the fix_nated_sdp() function in the nathelper module:
> http://www.opensips.org/html/docs/modules/1.11.x/nathelper.html#id293864
>
> Use the second parameter to push your own IP address into SDP.
>
> Regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com <http://www.opensips-solutions.com/>
>
> On 21.10.2014 07:59, Sunil P wrote:
> >
> > Hi All,
> >
> > I need to make Opensips AS to act as IBCF, which is going to
> > convert the V6 SDP to V4 SDP and Vice Versa.Please suggest me in
> > which functions I need to change
> > to convert SDP Connection Parameter.
> >
> > Thanks and Regards,
> > Sunil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20141028/8b1c8eec/attachment.htm>
More information about the Users
mailing list