Re: [SR-Users] how to remove a line in sdp

2017-08-09 Thread Sebastian Damm
Hi,

On Tue, Aug 8, 2017 at 12:24 PM, Sunil More  wrote:
> I have the following SDP coming in from a carrier and would like to remove
> the following line. Cant figure how to go about it.

sdpops should do what you need:

http://www.kamailio.net/docs/modules/5.0.x/modules/sdpops.html#sdpops.f.remove_line_by_prefix

Best Regards,
Sebastian

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


[SR-Users] how to remove a line in sdp

2017-08-08 Thread Sunil More
Hello All,

I have the following SDP coming in from a carrier and would like to remove
the following line. Cant figure how to go about it.

line to remove : *a=cdsc: 1 image udptl t38*
sdp is as below

Content-Type: application/sdp.
Content-Length: 293.
.
v=0.
o=hiQ9200 5859020170708143552 1175715965 IN IP4 X.Y.Z.A.
s=Phone Call via hiQ9200 SIPCA.
c=IN IP4 X.Y.Z.A.
t=0 0.
m=audio 16648 RTP/AVP 8 101.
a=rtpmap:8 PCMA/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-15.
a=sqn: 0.
*a=cdsc: 1 image udptl t38.*
a=sendrecv.
a=ptime:20.

This reply comes from a upstream carrier in session progress and 200ok
causing one-way audio for me.


Thanking You,
Sunil More
Ph : 9503338275
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users