how to remove a line in sdp

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

how to remove a line in sdp

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
[hidden email]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: how to remove a line in sdp

Sebastian Damm-2
Hi,

On Tue, Aug 8, 2017 at 12:24 PM, Sunil More <[hidden email]> 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
[hidden email]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Loading...