[SR-Users] rtpengine inserted random line into sdp

Andrew Chen achen at fuze.com
Fri Jun 26 15:03:28 CEST 2020


Interesting.  Thanks for the tidbit.  I will play around with
msg_apply_changes and find the right place for it.

On Fri, Jun 26, 2020 at 9:01 AM Richard Fuchs <rfuchs at sipwise.com> wrote:

> Rtpengine takes and replaces the entire SDP body, so if there's another
> module also manipulating the SDP, one module won't see the changes made by
> the other one unless you call msg_apply_changes in between, leaving you
> with bits of string in the wrong places.
>
> Cheers
>
> On 26/06/2020 08.50, Andrew Chen wrote:
>
> Thanks Richard.
>
> I do have the nathelper module running but not rtpproxy.  How does
> nathelper cause this issue?
>
> On Fri, Jun 26, 2020 at 8:27 AM Richard Fuchs <rfuchs at sipwise.com> wrote:
>
>> Looks like you're using both rtpengine and some other SDP-modifying
>> module together, such as nathelper or rtpproxy, without calling
>> msg_apply_changes() in between.
>>
>> Cheers
>>
>> On 25/06/2020 16.46, Andrew Chen wrote:
>>
>> Hi forum,
>>
>> I'm starting my rtpengine project and I'm facing a strange problem with
>> rtpengine.  I am seeing this in the SDP part of the INVITE:
>>
>> a=rtcp:52021
>>
>> a=rtcp-mux
>>
>> 2001:470:7:3A7:0:0:0:2
>>
>> a=direction:active
>>
>> a=oldmediaip:54.153.25.234
>>
>> As you can see there is a random insert of the local kamailio IP in there
>> and I'm have tried the following to remove it but failed to succeed:
>>
>> - Remove in the offer the combination of ICE and
>> replace-session-connection flags
>> - Switched between rtpengine_offer and rtpengine_manage
>> - Restarted ngcp-rtpengine-daemon process
>> - Used sdpops function sdp_remove_line_by_preifx()
>>
>> Currently running Kamailio 5.1.2.
>>
>> I am running out of ideas.
>>
>> Any suggestions would be greatly appreciated.
>>
>> --
>> Andy Chen
>> Sr. Telephony Lead Engineer
>> achen@ <achen at thinkingphones.com>fuze.com
>>
>>
>>
>> *Confidentiality Notice: The information contained in this e-mail and any
>> attachments may be confidential. If you are not an intended recipient, you
>> are hereby notified that any dissemination, distribution or copying of
>> this
>> e-mail is strictly prohibited. If you have received this e-mail in error,
>> please notify the sender and permanently delete the e-mail and any
>> attachments immediately. You should not retain, copy or use this e-mail or
>> any attachment for any purpose, nor disclose all or any part of the
>> contents to any other person. Thank you.*
>>
>> _______________________________________________
>> Kamailio (SER) - Users Mailing Listsr-users at lists.kamailio.orghttps://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
>>
>
>
> --
> Andy Chen
> Sr. Telephony Lead Engineer
> 415 516 5535 (M)
> achen@ <achen at thinkingphones.com>fuze.com
>
>
> *Confidentiality Notice: The information contained in this e-mail and any
> attachments may be confidential. If you are not an intended recipient, you
> are hereby notified that any dissemination, distribution or copying of this
> e-mail is strictly prohibited. If you have received this e-mail in error,
> please notify the sender and permanently delete the e-mail and any
> attachments immediately. You should not retain, copy or use this e-mail or
> any attachment for any purpose, nor disclose all or any part of the
> contents to any other person. Thank you.*
>
> _______________________________________________
> Kamailio (SER) - Users Mailing Listsr-users at lists.kamailio.orghttps://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
>


-- 
Andy Chen
Sr. Telephony Lead Engineer
415 516 5535 (M)
achen@ <achen at thinkingphones.com>fuze.com

-- 
*Confidentiality Notice: The information contained in this e-mail and any

attachments may be confidential. If you are not an intended recipient, you

are hereby notified that any dissemination, distribution or copying of this

e-mail is strictly prohibited. If you have received this e-mail in error,

please notify the sender and permanently delete the e-mail and any

attachments immediately. You should not retain, copy or use this e-mail or

any attachment for any purpose, nor disclose all or any part of the

contents to any other person. Thank you.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200626/ef0b1256/attachment.html>


More information about the sr-users mailing list