[SR-Users] channel parameter on SDP

Mikko Lehto mslehto at iki.fi
Sat Oct 4 01:19:24 CEST 2014


Kelvin Chua <kelchy at gmail.com> wrote:

> my provider is being a dick.
> they do not accept doubango's
> 
> a=rtpmap:0 PCMU/8000/1
> 
> what they wanted was
> 
> a=rtpmap:0 PCMU/8000
> 
> is there a way of changing this on kamailio?

Maybe it could work if you remove static RTP attribute completely:
---
sdp_remove_line_by_prefix("a=rtpmap:0 PCM");
---

If that does not work, then maybe try subst_body() ?

-- 
Mikko



More information about the sr-users mailing list