Trouble sending DTMF codes

This should be a simple task, but it has me ready to bang my head on the wall. Essentially what I need to do is to add an external number as an extension so that I can add it as a queue member. That’s simple enough. But I’ve got to send an extension number by way of DTMF to this external number so that the call is routed properly. I have tried using the dial application in extensions_custom.conf to send the dtmf after a pause (w), I have tried senddtmf, I have tried creating a trunk and then running it through that… I can get the thing to call the number, but the dtmf is never sent. I have tried referencing the plan that I created in extensions_custom.conf as a virtual extension, I have tried referencing it as a custom destination, and I have tried calling it as a misc application. Same result every time. It calls the number like I expect, but never sends the dtmf codes. Unfortunately, I have ran though so much trial and error that it would be impossible to post everything I have tried, but here is the very last thing that I tried:

Misc Destination
Description: SomeFakeDescription
Dial: 3865551212 (this phone number is fake)

Extension:
Display Name: Some fake name
Extension: 1096
Initial Ring Time: 0
No Answer: Misc Destinations: SomeFakeDescription
Not Reachable: Misc Destinations: SomeFakeDescription
Asterisk Dial Options: HhTtrD(wwwwwwwwwwwww273) <— I increased the pause to see if it was just sending it too early for the other system to pick up on it. However, the other system detects and responds to key presses immediately after it picks up.

Any help that you can provide to help me figure out how to accomplish this would be greatly appreciated:

  1. Call enters the queue from the trunk – No problem here.
  2. The system dials a set number (3865551212) – I can get it to do this
  3. Wait a few seconds into the intro message that is played by the other system and then send a preset extension number (123) through that connection – It refuses to send any dtmf number that I set.

I am not married to the setup I have chosen, and can change things around if that enables me to do what I need to do. Thank you for your insight.

Current Asterisk Version: 21.4.3
FreePBX Version 17.0.19.13

Try this , wwwwwwwwwwwww2ww7ww3 maybe the other system is not able to handle the speed at which the following keys are sent to it?

Sorry for the delay in responding to your message. I’m here in Florida and we just had back to back hurricanes, so I’ve been a bit tied up.

This is what ended up working for me:
exten => s,1,Dial(Local/3865551212@from-internal,D(wwwwwwww273))
exten => s,n,Hangup()

Of course, the 3865551212 is a placeholder for a real number.

I had initially attempted a Dial, followed by a new line with SendDTMF, but I could never get it to work. This way is much more straight forward anyways. Thank you for your assistance though. It is greatly appreciated.

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