[SR-Users] sdp_remove_line_by_prefix

Phil Lavin phil.lavin at synety.com
Wed Feb 24 15:47:18 CET 2016


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-bounces at lists.sip-router.org] On Behalf Of Alberto Sagredo
Sent: 24 February 2016 14:35
To: Kamailio (SER) - Users Mailing List <sr-users at 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.lavin at synety.com<mailto:phil.lavin at synety.com>>:
Try replace_body() replacing “s=Asterisk” with “s=”


From: sr-users [mailto:sr-users-bounces at lists.sip-router.org<mailto:sr-users-bounces at lists.sip-router.org>] On Behalf Of Alberto Sagredo
Sent: 24 February 2016 14:03
To: Kamailio (SER) - Users Mailing List <sr-users at lists.sip-router.org<mailto:sr-users at 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.sagredo at avanzada7.com<mailto:alberto.sagredo at 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 at lists.sip-router.org<mailto:sr-users at lists.sip-router.org>
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160224/bf69fb79/attachment.html>


More information about the sr-users mailing list