Force g711, but keep 101 telephone-event

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
vinylmike
Posts: 37
Joined: Thu Dec 13, 2012 12:25 pm
Location: Guilford, CT

Force g711, but keep 101 telephone-event

Post by vinylmike »

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: Select all

$request = ^INVITE
Deploy Pattern:

Code: Select all

&net.rtp.audio.payloadtype = 8
$target = 192.168.0.7, 192.168.0.23
Thanks,
Mike
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by hope »

vinylmike
Posts: 37
Joined: Thu Dec 13, 2012 12:25 pm
Location: Guilford, CT

Post by vinylmike »

Thanks. I didn't realize the variable accepted multiple codecs.

Regards,
Mike
Post Reply