[Asterisk-Users] SIP, DTMF, and AudioCodes Mediant 2k

Ryan Tucker rtucker at netacc.net
Mon Jun 2 08:24:41 MST 2003


Greetings...

I'm working on getting an AudioCodes Mediant 2000 big box o' PRI's going 
with Asterisk, and am running into a problem with DTMF handling.

The box is sending DTMF packets to Asterisk as INFO packets, and they are 
apparently being seen by Asterisk.  However, the DTMF knowledge doesn't 
seem to actually do anything -- the VM system doesn't recognize the 
digits, and if I call a SIP phone from the outside world, the beeps don't 
make it through.

Here's what the packets look like, according to sip debug:

Sip read:
INFO sip:5854199708 at 208.34.86.35;user=phone SIP/2.0
Via: SIP/2.0/UDP 208.34.86.37;branch=z9hG4bKacyRPrQQu
From:<sip:1017 at m2k.netacc.net>;tag=1c11546
To: <sip:5854199708 at 208.34.86.35>;tag=as37f2b147
Call-ID: 2879790839083xQxj-1017--5854199708 at 208.34.86.37
CSeq: 3100834 INFO
Supported: 100rel,em
Content-Type: application/sdp
Content-Length: 35

p=Digit-Collection
y=Digits
d=7

9 headers, 3 lines
Receiving DTMF!
Transmitting (no NAT):
SIP/2.0 200 OK
Via: SIP/2.0/UDP 208.34.86.37;branch=z9hG4bKacyRPrQQu
From: <sip:1017 at m2k.netacc.net>;tag=1c11546
To: <sip:5854199708 at 208.34.86.35>;tag=as37f2b147
Call-ID: 2879790839083xQxj-1017--5854199708 at 208.34.86.37
CSeq: 3100834 INFO
User-Agent: Asterisk PBX
Contact: <sip:5854199708 at 208.34.86.35>
Content-Length: 0


 to 208.34.86.37:5060
Sip read:
INFO sip:5854199708 at 208.34.86.35;user=phone SIP/2.0
Via: SIP/2.0/UDP 208.34.86.37;branch=z9hG4bKacJRCRkbi
From:<sip:1017 at m2k.netacc.net>;tag=1c11546
To: <sip:5854199708 at 208.34.86.35>;tag=as37f2b147
Call-ID: 2879790839083xQxj-1017--5854199708 at 208.34.86.37
CSeq: 3100835 INFO
Supported: 100rel,em
Content-Type: application/sdp
Content-Length: 35

p=Digit-Collection
y=Digits
d=0

9 headers, 3 lines
Receiving DTMF!
Transmitting (no NAT):
SIP/2.0 200 OK
Via: SIP/2.0/UDP 208.34.86.37;branch=z9hG4bKacJRCRkbi
From: <sip:1017 at m2k.netacc.net>;tag=1c11546
To: <sip:5854199708 at 208.34.86.35>;tag=as37f2b147
Call-ID: 2879790839083xQxj-1017--5854199708 at 208.34.86.37
CSeq: 3100835 INFO
User-Agent: Asterisk PBX
Contact: <sip:5854199708 at 208.34.86.35>
Content-Length: 0


 to 208.34.86.37:5060

My sip.conf entry looks like the following:

[rochny-audiocodes1]
type=friend
host=208.34.86.37
dtmfmode=info
secret=[mumble]
context=inbound

I've tried various settings for dtmfmode, there and in the [general] 
section, to no avail.

Any help or troubleshooting tips would be appreciated.  Thanks!  :-)  -rt

-- 
Ryan Tucker <rtucker at netacc.net>






More information about the asterisk-users mailing list