Forums Read-only archive

Force g711, but keep 101 telephone-event

3 posts · Brekeke SIP Server Forum

vinylmike Original post
1. Brekeke Product Name and Version:
3.2.4.3 Advanced

2. Java version:
1.6.0_45-b06

3. OS type and the version:
RHEL 5

4. UA (phone), gateway or other hardware/software involved:

5. Your problem:
Since we are having issues with g729A, we put a dial plan in place to force g711, since the carrier negotiates 729. This works, however, it also removes "a=rtpmap:101 telephone-event/8000" and forces DTMF to be inband. As an example:

Before Stripping:
m=audio 43900 RTP/AVP 8
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=ptime:20

After Stripping
a=sendrecv
m=audio 12376 RTP/AVP 8
a=rtpmap:8 PCMA/8000
a=sendrecv

Is there a way to only remove g279 from the offering, leaving all others alone?

Our Dial Plan :

Matching Pattern:

Code:

$request = ^INVITE
Deploy Pattern:

Code:

&net.rtp.audio.payloadtype = 8
$target = 192.168.0.7, 192.168.0.23
Thanks,
Mike
hope
vinylmike
Thanks. I didn't realize the variable accepted multiple codecs.

Regards,
Mike