Answer the question
In order to leave comments, you need to log in
How to make an automatic call with sending a DTMF combination after answering through a VOIP gateway?
Good afternoon! There is Asterisk 13 on Debian 9 and a connected Yeastar Neogate TG100 VOIP gateway. There is a problem that I can not solve immediately. It is necessary to make an automatic call to a specific number, after picking up the handset at the other end, send a combination of DTMF codes and hang up. Having tried a bunch of options, I get either distortion or partial ingestion of DTMF from the recipient. In the local network with a softphone, everything works well until we start calling through the gateway, so I sin on the gateway. Everything is organized according to the principle of writing a similar file to the desired directory
Channel: Local/[email protected]
MaxRetries: 0
RetryTime: 5
WaitTime: 30
Context: auto
Extension: s
Priority: 1
[auto]
exten => s,1,Answer()
exten => s,n,SendDtmf(C,,1000)
exten => s,n,SendDtmf(5,,1000)
exten => s,n,SendDtmf(D,,1000)
exten => s,n,SendDtmf(4,,1000)
exten => s,n,Wait(2)
[trunk-2222]
exten => 1,1,Dial(SIP/trunk-2222/0ххххххххх)
exten => 1,n,Hangup()
Answer the question
In order to leave comments, you need to log in
Try like this:
[trunk-2222]
exten => 1,1,Dial(SIP/trunk-2222/0ххххххххх,,D(wC5D4))
exten => 1,n,Wait(2)
exten => 1,n,Hangup()
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question