[SR-Users] SDP Change
Daniel-Constantin Mierla
miconda at gmail.com
Tue Apr 6 09:23:50 CEST 2021
Hello,
if you need to change the ip in the o= line, then see fix_nated_sdp:
*
https://www.kamailio.org/docs/modules/stable/modules/nathelper.html#nathelper.f.fix_nated_sdp
Cheers,
Daniel
On 30.03.21 18:03, Nick Meyjes wrote:
>
>
> Hello
>
>
> I have tried both of these optoins, wanting to remove the x.x.x.x IP,
> perhaps wrong context, I did it based on the IP I am sending invite to
> so not to affect other providers
>
>
> I did also just try "o=" in the remove line option
>
>
> sdp_remove_line_by_prefix("o=FreeSWITCH 1617020253 1617020254 IN IP4
> x.x.x.x");
>
> sdp_mangle_ip("x.x.x.x/32","y.y.y.y.y");
>
>
>
>
>
>
> ------------------------------------------------------------------------
> *From: *"David Villasmil" <david.villasmil.work at gmail.com>
> *To: *"sr-users" <sr-users at lists.kamailio.org>
> *Sent: *Tuesday, March 30, 2021 1:39:01 PM
> *Subject: *Re: [SR-Users] SDP Change
>
> Should work. What have you tried?
>
> On Tue, 30 Mar 2021 at 12:27, Nick Meyjes <nick at convergedgroup.net
> <mailto:nick at convergedgroup.net>> wrote:
>
> Hi,
>
> I am trying to send calls to a provider that is switching to Nokia
> SBCs. They dont like seeing any IP other than our kamailio SBC in
> the messaging, I changed the contact but I cant find a way to
> change the owner line in the SDP
>
> I have try mangler and SDPOPS to change but neither seem to work
> on changing or removing the owner line
>
> Any ideas?
>
> Nick
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org <mailto:sr-users at lists.kamailio.org>
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
> <https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users>
>
> --
> Regards,
>
> David Villasmil
> email: david.villasmil.work at gmail.com
> <mailto:david.villasmil.work at gmail.com>
> phone: +34669448337
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210406/b6ea1ee6/attachment.htm>
More information about the sr-users
mailing list