[OpenSIPS-Users] Modify SDP

Saul Ibarra Corretge saul at ag-projects.com
Wed Nov 4 15:34:48 CET 2009


HI,

On Nov 4, 2009, at 3:25 PM, Hasitha Lalinda wrote:

> Hi,
>
> Is it possible to remove some attributes from SDP?
> Our provider added t38 support and since then some devices fail to  
> respond to INVITE.
>
> I need to remove following attributes from the media description.
>
> a=rtpmap:100 X-NSE/8000
> a=fmtp:100 200-202
> a=sqn:0
> a=cdsc: 1 audio RTP/AVP 8 18 0 101 100
> a=cdsc: 6 image udptl t38
> a=cpar: a=T38FaxVersion:0
> a=cpar: a=T38FaxRateManagement:transferredTCF
> a=cpar: a=T38FaxMaxDatagram:160
> a=cpar: a=T38FaxUdpEC:t38UDPRedundancy
> a=X-sqn:0
> a=X-cap: 1 image udptl t38
>
> Is there a way I can do this?
>

Take a look at the textops module, it does have functions to mangle  
the SDP.

Regards,


-- 
Saul Ibarra Corretge
AG Projects







More information about the Users mailing list