Hear the dtmf sound when dialing

Hello
I’m sorry for my English
I want dialing outgoing number and then send dtmf with D parameter.
when dtmf is sending i want hear dtmf sound but unfortunately I don’t hear
I try this like:

[ext-local]
exten => 11,1,NoOP()
exten => 11,n,Answer()
exten => 11,n,Macro(test1)
exten => 11,n,hangup

[macro-test1]
exten => s,1,NoOP()
exten => s,n,Dial(SIP/Trunk/Number,300,gM(test2))
exten => s,n,Return()

[macro-test2]
exten => s,1,NoOP()
exten => s,n,Wait(3)
exten => s,n,SendDTMF(13200,500)
exten => s,n,Wait(3)
exten => s,n,SendDTMF(15,500)
exten => s,n,Wait(3)
exten => s,n,SendDTMF(55856,500)
exten => s,n,Wait(3)
exten => s,n,SendDTMF(2395683,500)
exten => s,n,Set(MACRO_RESULT=CONTINUE)
exten => s,n,Return()

Your code doesn’t have a D parameter.

WIth D, you would need the same string both sides of the :

The DTMF will be submitted to the called side first, but I haven’t checked deeply enough to know if that is done asynchronously, or whether the first digit to the caller is only sent after the whole string has been sent to the callee.

I’m sorry
This code behaves similarly
This was my previous code

[ext-local]
exten => 11,1,NoOP()
exten => 11,n,Answer()
exten => 11,n,Macro(test1)
exten => 11,n,hangup

[macro-test1]
exten => s,1,NoOP()
exten => s,n,Dial(SIP/Trunk/Number,300,gD(wwwwww13200wwwwww15wwwwww55856wwwwww2395683))
exten => s,n,Return()

When playing DTMF sound for the called parity
I still hear the beep
But I want to hear the DTMF sound and the other side sound
What scenario can be implemented for this type of communication?

No one has any idea?

There is no : in that string.

You are not going to hear the actual sound. The best you can hope for is to send the same sound in both directions.

Also if you re using SIP, there may never actually be any tones; it may all be done with out of band signalling.

Thank you so much, david551

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