B
B
bamond2016-05-05 18:59:05
Asterisk
bamond, 2016-05-05 18:59:05

Why does DTMF fail?

Good afternoon. up to a certain point everything worked fine. and then it suddenly broke down =)
The additional dialing of the number does not work.
Here are the logs

-- Executing [[email protected]:6] Dial("SIP/100-000000ae", "SIP/trunk/84952222222,,M(sendnum^89261111111),,Tt") in new stack
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Called SIP/trunk/84952222222
    -- SIP/trunk-000000af is making progress passing it to SIP/100-000000ae
       > 0x7f0d4c020020 -- Probation passed - setting RTP source address to 8.8.8.8:5062
       > 0x7f0e1c0308e0 -- Probation passed - setting RTP source address to 9.9.9.9:11374
    -- SIP/trunk-000000af answered SIP/100-000000ae
    -- Executing [[email protected]:1] Wait("SIP/trunk-000000af", "3") in new stack
       > 0x7f0e1c0308e0 -- Probation passed - setting RTP source address to 9.9.9.9.9:11374
  == Spawn extension (macro-sendnum, s, 1) exited non-zero on 'SIP/trunk-000000af' in macro 'sendnum'
  == Spawn extension (from-internal, 989261111111, 6) exited non-zero on 'SIP/100-000000ae'
    -- Executing [[email protected]:1] Hangup("SIP/100-000000ae", "") in new stack
  == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/100-000000ae'

Here is the config
exten => _9.,n,Dial(SIP/trunk/84952222222,,M(sendnum^${EXTEN:1}))
exten => _9.,n,Hangup
exten => _9.,n,Macro(outisbusy,)

[macro-sendnum]
exten => s,1,Wait(3)
exten => s,n,SendDTMF(${ARG1})

And the sipovsky client is showing error 603 Decline

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
A
Armenian Radio, 2016-05-05
@gbg

This is not the same config. Need sip.conf
When DTMF fails, it's a good idea to start by checking how DTMF is being sent. If you use in-band mode, you need to make sure that you are using an uncompressed codec - ulaw or alaw.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question