DTMF is not recognizing at all

Hello, I am new to asterisk. I am writing an application with ARI. I am faced with the problem that asterisk does not respond in any way to button presses from the keyboard. At the same time, the sound files are played well. I also looked at the logs in the asterisk cli with maximum log level(dtmf is added in logger.conf) and there was nothing but my played sounds. Can you advise me to try some settings?

sip.conf:
[general]
context=default
disallow=all
allow=ulaw
allow=alaw
allow=g729
language=ru
dtmfmode=auto
relaxdtmf=yes
rfc2833compensate=yes

[6001]
contex=from-sip
type=peer
host=dynamic
secret=secret

extensions.conf:
[default]
exten = 108,1,NoOp()
same = n,Stasis(recognition)
same = n,Hangup()

logs:

Is there any else information that i should provide?

Check that your peers are not using directmedia - in this case, the traffic passes by the PBX

Thx for your response but i don’t know where to check it. But i have some progress about my problem. If I set dtmfmode=inband in microsip and sip.conf, then it only works from microsip, but it doesn’t work from a physical phone.

Screenshot when i call from microsip client:

When i call from physical phone it is still nothing.

There are different ways to communicate DTMF. The rfc2833 method is the preferred one and can be set using dtmfmode.

Yes, I have tried all the options in dtmfmode, the only option that partially works is described above.

The remote side also has to both support it, and in some cases be configured to use it. If RFC2833 is not working then you’d need to show a SIP trace using “sip set debug on” to see if it was successfully negotiated, and “rtp set debug on” with DTMF usage to see if it was actually received.

You have G.729 as an allowed codec. G.729 will not work reliably with inband DTMF. I suspect you are falling back to inband and trying to do it over G.729.

<------------>
    -- Executing [108@default:1] NoOp("SIP/192.168.64.251-00000002", "") in new stack
    -- Executing [108@default:2] Answer("SIP/192.168.64.251-00000002", "") in new stack
Audio is at 10248
Adding codec ulaw to SDP
Adding codec alaw to SDP
Adding codec g729 to SDP

<--- Reliably Transmitting (no NAT) to 192.168.64.251:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.64.251:5060;branch=z9hG4bK8db1f62bd8e437;received=192.168.64.251
From: "Malakhov Denis Aleksandrovich" <sip:206@192.168.64.251>;tag=44943828~703138b6-aa76-4720-a597-a5d572b5ffed-18031756
To: <sip:108@192.168.48.66>;tag=as3787d8fd
Call-ID: 2ec49c80-10001-63668c-93f452a@192.168.64.251
CSeq: 101 INVITE
Server: Asterisk PBX 20.1.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Session-Expires: 1800;refresher=uas
Contact: <sip:108@192.168.48.66:5060>
Content-Type: application/sdp
Require: timer
Content-Length: 266

v=0
o=root 952530550 952530550 IN IP4 192.168.48.66
s=Asterisk PBX 20.1.0
c=IN IP4 192.168.48.66
t=0 0
m=audio 10248 RTP/AVP 0 8 18
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=ptime:20
a=maxptime:150
a=sendrecv

<------------>

<--- SIP read from UDP:192.168.64.251:5060 --->
ACK sip:108@192.168.48.66:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.64.251:5060;branch=z9hG4bK8db1f726f4cc07
From: "Malakhov Denis Aleksandrovich" <sip:206@192.168.64.251>;tag=44943828~703138b6-aa76-4720-a597-a5d572b5ffed-18031756
To: <sip:108@192.168.48.66>;tag=as3787d8fd
Date: Thu, 02 Mar 2023 12:10:14 GMT
Call-ID: 2ec49c80-10001-63668c-93f452a@192.168.64.251
User-Agent: Cisco-CUCM12.5
Max-Forwards: 70
CSeq: 101 ACK
Allow-Events: presence, kpml
Session-ID: 4ad2fec900105000a000045fb90e95c1;remote=44446f7b62c0bf83679c9eab44943828
Content-Type: application/sdp
Content-Length: 228

v=0
o=CiscoSystemsCCM-SIP 44943828 1 IN IP4 192.168.64.251
s=SIP Call
c=IN IP4 10.151.1.27
b=TIAS:64000
b=AS:80
t=0 0
m=audio 20228 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
<------------->
--- (13 headers 11 lines) ---
Got SDP version 1 and unique parts [CiscoSystemsCCM-SIP 44943828 IN IP4 192.168.64.251]
Found RTP audio format 0
Found RTP audio format 101
Found audio description format PCMU for ID 0
Found audio description format telephone-event for ID 101
Capabilities: us - (ulaw|alaw|g729), peer - audio=(ulaw)/video=(nothing)/text=(nothing), combined - (ulaw)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|)
       > 0x7f972c01a350 -- Strict RTP learning after remote address set to: 10.151.1.27:20228
Peer audio RTP is at port 10.151.1.27:20228
       > 0x7f972c01a350 -- Strict RTP switching to RTP target address 10.151.1.27:20228 as source
    -- Executing [108@default:3] WaitExten("SIP/192.168.64.251-00000002", "10") in new stack
Really destroying SIP dialog '1eacbd00-10001-63666a-df130668@192.168.64.251' Method: OPTIONS
       > 0x7f972c01a350 -- Strict RTP learning complete - Locking on source address 10.151.1.27:20228
    -- Timeout on SIP/192.168.64.251-00000002, continuing...
    -- Executing [108@default:4] Hangup("SIP/192.168.64.251-00000002", "") in new stack
  == Spawn extension (default, 108, 4) exited non-zero on 'SIP/192.168.64.251-00000002'
Scheduling destruction of SIP dialog '2ec49c80-10001-63668c-93f452a@192.168.64.251' in 32000 ms (Method: ACK)
set_destination: Parsing <sip:206@192.168.64.251:5060> for address/port to send to
set_destination: set destination to 192.168.64.251:5060
Reliably Transmitting (no NAT) to 192.168.64.251:5060:
BYE sip:206@192.168.64.251:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.48.66:5060;branch=z9hG4bK03811fbd
Max-Forwards: 70
From: <sip:108@192.168.48.66>;tag=as3787d8fd
To: "Malakhov Denis Aleksandrovich" <sip:206@192.168.64.251>;tag=44943828~703138b6-aa76-4720-a597-a5d572b5ffed-18031756
Call-ID: 2ec49c80-10001-63668c-93f452a@192.168.64.251
CSeq: 102 BYE
User-Agent: Asterisk PBX 20.1.0
X-Asterisk-HangupCause: Normal Clearing
X-Asterisk-HangupCauseCode: 16
Content-Length: 0


---

<--- SIP read from UDP:192.168.64.251:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.48.66:5060;branch=z9hG4bK03811fbd
From: <sip:108@192.168.48.66>;tag=as3787d8fd
To: "Malakhov Denis Aleksandrovich" <sip:206@192.168.64.251>;tag=44943828~703138b6-aa76-4720-a597-a5d572b5ffed-18031756
Date: Thu, 02 Mar 2023 12:10:25 GMT
Call-ID: 2ec49c80-10001-63668c-93f452a@192.168.64.251
Server: Cisco-CUCM12.5
CSeq: 102 BYE
Content-Length: 0

<------------->
--- (9 headers 0 lines) ---
SIP Response message for INCOMING dialog BYE arrived
Really destroying SIP dialog '2ec49c80-10001-63668c-93f452a@192.168.64.251' Method: ACK

<--- SIP read from UDP:192.168.64.252:5060 --->
OPTIONS sip:192.168.48.66:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.64.252:5060;branch=z9hG4bK4ce6341ac52421
From: <sip:192.168.64.252>;tag=764078136
To: <sip:192.168.48.66>
Date: Thu, 02 Mar 2023 12:10:35 GMT
Call-ID: 3b48f500-10001-4ce608-e2c1c7c0@192.168.64.252
User-Agent: Cisco-CUCM12.5
CSeq: 101 OPTIONS
Contact: <sip:192.168.64.252:5060>
Max-Forwards: 0
Content-Length: 0

<------------->
--- (11 headers 0 lines) ---
Sending to 192.168.64.252:5060 (no NAT)
Looking for s in default (domain 192.168.48.66)

<--- Transmitting (no NAT) to 192.168.64.252:5060 --->
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 192.168.64.252:5060;branch=z9hG4bK4ce6341ac52421;received=192.168.64.252
From: <sip:192.168.64.252>;tag=764078136
To: <sip:192.168.48.66>;tag=as715ab06b
Call-ID: 3b48f500-10001-4ce608-e2c1c7c0@192.168.64.252
CSeq: 101 OPTIONS
Server: Asterisk PBX 20.1.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Accept: application/sdp
Content-Length: 0


<------------>
rtp set debug on with sending dtmf

Using SIP RTP CoS mark 5
– Executing [108@default:1] NoOp(“SIP/192.168.64.251-00000001”, “”) in new stack
– Executing [108@default:2] Answer(“SIP/192.168.64.251-00000001”, “”) in new stack
> 0x7f021800c370 – Strict RTP learning after remote address set to: 10.151.1.27:17250
> 0x7f021800c370 – Strict RTP switching to RTP target address 10.151.1.27:17250 as source
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058026, ts 4218912491, len 000160)
– Executing [108@default:3] WaitExten(“SIP/192.168.64.251-00000001”, “3”) in new stack
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058027, ts 4218912651, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058028, ts 4218912811, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058029, ts 4218912971, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058030, ts 4218913131, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058031, ts 4218913291, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058032, ts 4218913451, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058033, ts 4218913611, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058034, ts 4218913771, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058035, ts 4218913931, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058036, ts 4218914091, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058037, ts 4218914251, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058038, ts 4218914411, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058039, ts 4218914571, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058040, ts 4218914731, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058041, ts 4218914891, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058042, ts 4218915051, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058043, ts 4218915211, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058044, ts 4218915371, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058045, ts 4218915531, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058046, ts 4218915691, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058047, ts 4218915851, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058048, ts 4218916011, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058049, ts 4218916171, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058050, ts 4218916331, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058051, ts 4218916491, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058052, ts 4218916651, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058053, ts 4218916811, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058054, ts 4218916971, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058055, ts 4218917131, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058056, ts 4218917291, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058057, ts 4218917451, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058058, ts 4218917611, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058059, ts 4218917771, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058060, ts 4218917931, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058061, ts 4218918091, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058062, ts 4218918251, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058063, ts 4218918411, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058064, ts 4218918571, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058065, ts 4218918731, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058066, ts 4218918891, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058067, ts 4218919051, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058068, ts 4218919211, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058069, ts 4218919371, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058070, ts 4218919531, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058071, ts 4218919691, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058072, ts 4218919851, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058073, ts 4218920011, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058074, ts 4218920171, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058075, ts 4218920331, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058076, ts 4218920491, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058077, ts 4218920651, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058078, ts 4218920811, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058079, ts 4218920971, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058080, ts 4218921131, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058081, ts 4218921291, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058082, ts 4218921451, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058083, ts 4218921611, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058084, ts 4218921771, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058085, ts 4218921931, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058086, ts 4218922091, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058087, ts 4218922251, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058088, ts 4218922411, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058089, ts 4218922571, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058090, ts 4218922731, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058091, ts 4218922891, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058092, ts 4218923051, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058093, ts 4218923211, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058094, ts 4218923371, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058095, ts 4218923531, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058096, ts 4218923691, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058097, ts 4218923851, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058098, ts 4218924011, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058099, ts 4218924171, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058100, ts 4218924331, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058101, ts 4218924491, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058102, ts 4218924651, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058103, ts 4218924811, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058104, ts 4218924971, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058105, ts 4218925131, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058106, ts 4218925291, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058107, ts 4218925451, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058108, ts 4218925611, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058109, ts 4218925771, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058110, ts 4218925931, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058111, ts 4218926091, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058112, ts 4218926251, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058113, ts 4218926411, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058114, ts 4218926571, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058115, ts 4218926731, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058116, ts 4218926891, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058117, ts 4218927051, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058118, ts 4218927211, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058119, ts 4218927371, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058120, ts 4218927531, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058121, ts 4218927691, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058122, ts 4218927851, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058123, ts 4218928011, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058124, ts 4218928171, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058125, ts 4218928331, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058126, ts 4218928491, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058127, ts 4218928651, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058128, ts 4218928811, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058129, ts 4218928971, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058130, ts 4218929131, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058131, ts 4218929291, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058132, ts 4218929451, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058133, ts 4218929611, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058134, ts 4218929771, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058135, ts 4218929931, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058136, ts 4218930091, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058137, ts 4218930251, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058138, ts 4218930411, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058139, ts 4218930571, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058140, ts 4218930731, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058141, ts 4218930891, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058142, ts 4218931051, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058143, ts 4218931211, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058144, ts 4218931371, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058145, ts 4218931531, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058146, ts 4218931691, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058147, ts 4218931851, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058148, ts 4218932011, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058149, ts 4218932171, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058150, ts 4218932331, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058151, ts 4218932491, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058152, ts 4218932651, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058153, ts 4218932811, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058154, ts 4218932971, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058155, ts 4218933131, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058156, ts 4218933291, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058157, ts 4218933451, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058158, ts 4218933611, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058159, ts 4218933771, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058160, ts 4218933931, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058161, ts 4218934091, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058162, ts 4218934251, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058163, ts 4218934411, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058164, ts 4218934571, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058165, ts 4218934731, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058166, ts 4218934891, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058167, ts 4218935051, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058168, ts 4218935211, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058169, ts 4218935371, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058170, ts 4218935531, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058171, ts 4218935691, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058172, ts 4218935851, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058173, ts 4218936011, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058174, ts 4218936171, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058175, ts 4218936331, len 000160)
Got RTP packet from 10.151.1.27:17250 (type 00, seq 058176, ts 4218936491, len 000160)
– Timeout on SIP/192.168.64.251-00000001, continuing…
– Executing [108@default:4] Hangup(“SIP/192.168.64.251-00000001”, “”) in new stack
== Spawn extension (default, 108, 4) exited non-zero on ‘SIP/192.168.64.251-00000001’

Was dtmfmode actually set to rfc2833? Is that an anonymous call?

current sip.conf

[general]
context=default
disallow=all
allow=ulaw
allow=alaw
allow=g729
dtmfmode=rfc2833
relaxdtmf=yes
rfc2833compensate=yes

[6001]
contex=from-sip
type=peer
host=dynamic
secret=secret

What do you mean about “anonymous”?

I’ll step away and let others participate. With chan_sip I only chime in on simple stuff and this has gotten beyond that.

This is a late offer SDP case, from CUCM. CUCM is about the only system I know of that does late offer, which may well mean it isn’t well tested (it used to be flawed in chan_sip, but I think the problems I knew about got fixed).

Because it is late offer, Asterisk has to make its offer without knowing which DTMF option is supported, which, with auto, probably means it will probably never go for RFC 2833/4733. In any case Asterisk is not offering to accept RFC 2833/4733, so CUCM won’t send it.

CUCM is actually offering to accept RFC 2833/4733, even though Asterisk doesn’t say it is prepared to accept it itself. I don’t know what CUCM does in that case. It won’t send RFC 2833/4733, but maybe it is unable to fall back to inband, or has been configured not to do so.

It’s actually only prepared to accept G.711 µ-law, which is probably wrong given the language in use, but seems to be a common issue with CUCM. In any case, it won’t really compromise the current case.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.