You’ll have to send a pcap of the message you’re trying to modify, if you need 
some more help.


Cheers

From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of 
Alberto Sagredo
Sent: 24 February 2016 14:35
To: Kamailio (SER) - Users Mailing List <sr-users@lists.sip-router.org>
Subject: Re: [SR-Users] sdp_remove_line_by_prefix

It seems does not work. Just add at the end s= and s=Asterisk PBX is still 
there :)

Thanks anyway for the tip

2016-02-24 15:05 GMT+01:00 Phil Lavin 
<phil.la...@synety.com<mailto:phil.la...@synety.com>>:
Try replace_body() replacing “s=Asterisk” with “s=”


From: sr-users 
[mailto:sr-users-boun...@lists.sip-router.org<mailto:sr-users-boun...@lists.sip-router.org>]
 On Behalf Of Alberto Sagredo
Sent: 24 February 2016 14:03
To: Kamailio (SER) - Users Mailing List 
<sr-users@lists.sip-router.org<mailto:sr-users@lists.sip-router.org>>
Subject: Re: [SR-Users] sdp_remove_line_by_prefix

s= MUST exist but thought remove.. will force to "s= "

Any idea to remove "Asterisk" traces from SDP?

2016-02-24 14:49 GMT+01:00 Alberto Sagredo 
<alberto.sagr...@avanzada7.com<mailto:alberto.sagr...@avanzada7.com>>:
Hi

Im trying to remove my Asterisk s= line on SDP but when doing:

sdp_remove_line_by_prefix("s=Asterisk");

Nothing happens.

Loaded sdpops.so module as well.

Is there any additional needed?

BR


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org<mailto:sr-users@lists.sip-router.org>
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to