Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Force g711, but keep 101 telephone-event
Author Message
vinylmike
Brekeke Addict


Joined: 13 Dec 2012
Posts: 29
Location: Guilford, CT

PostPosted: Tue Mar 18, 2014 2:33 pm    Post subject: Force g711, but keep 101 telephone-event Reply with quote

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
Back to top
View user's profile
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Tue Mar 18, 2014 4:06 pm    Post subject: Reply with quote

http://wiki.brekeke.com/wiki/Change-payload-type
Back to top
View user's profile
vinylmike
Brekeke Addict


Joined: 13 Dec 2012
Posts: 29
Location: Guilford, CT

PostPosted: Wed Mar 19, 2014 2:28 pm    Post subject: Reply with quote

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

Regards,
Mike
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1