Re: [SR-Users] rtpengine inserted random line into sdp

2020-06-26 Thread Andrew Chen
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  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  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@ 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@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>
>
> --
> Andy Chen
> Sr. Telephony Lead Engineer
> 415 516 5535 (M)
> achen@ 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@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>


-- 
Andy Chen
Sr. Telephony Lead Engineer
415 516 5535 (M)
achen@ 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 List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] rtpengine inserted random line into sdp

2020-06-26 Thread Andrew Chen
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  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@ 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@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>


-- 
Andy Chen
Sr. Telephony Lead Engineer
415 516 5535 (M)
achen@ 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 List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] rtpengine inserted random line into sdp

2020-06-26 Thread Richard Fuchs
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 > 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@ 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 List
sr-users@lists.kamailio.org  
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org 
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users



--
Andy Chen
Sr. Telephony Lead Engineer
415 516 5535 (M)
achen@ 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 List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] rtpengine inserted random line into sdp

2020-06-26 Thread Richard Fuchs
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@ 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 List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] rtpengine inserted random line into sdp

2020-06-25 Thread Andrew Chen
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@ 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 List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users