I HAVE A DREAM DTMF digit playback like VOIP.ms "4747"

tbrummell

Guru
Joined
Jan 8, 2011
Messages
1,275
Reaction score
339
For those that use voip.ms you may have noticed that they offer a DTMF test feature by sending them 4747. That will put you in to their test mode where you can press a DTMF digit and their system will read said digit back to you.

I need to do this locally, instead of on their trunk. Can anyone help?
 

Trimline2

Guru
Joined
May 23, 2013
Messages
524
Reaction score
96
Actually, I was playing around with this a long time ago. Just place in somewhere at the beginning of extensions_custom.conf - make sure to change your email address. It's not perfect, but will help you - it's from my play box.... :)

Code:
;;# // BEGIN Read back DTMF and e-mail
exten => 477,1,Background(please-enter-your&number&then-press-pound)
exten => 477,2,Read(user_number)
exten => 477,3,Playback(you-entered)
exten => 477,4,SayDigits(${user_number})
exten => 477,5,Background(if-correct-press)
exten => 477,6,Background(digits/1)
exten => 477,7,Background(otherwise-press)
exten => 477,8,Background(digits/2)
exten => 477,9,Background(press-star-cancel)
exten => 477,10,WaitExten()
exten => 1,1,goto(477,11)
exten => 2,1,goto(477,1)
exten => *,1,goto(477,14)
exten => 477,11,Playback(thanks-for-calling-today)
exten => 477,12,Playback(goodbye)
exten => 477,13,System(echo '${CALLERID(number)} ${CALLERID(name)} entered ${user_number}' | mail -s 'Call In Number ' '[email protected]')
exten => 477,14,Hangup
 

tbrummell

Guru
Joined
Jan 8, 2011
Messages
1,275
Reaction score
339
Thanks for that Trimline2, overkill for what I need but it does report the digits to me and has the same problem as the voip.ms dtmf app. It could be an Asterisk setting but I can't seem to get around it yet.
  • IP phone calls outside number and phone answers
  • IP phone conferences DTMF app, all 3 parties talking
  • App can record digits sent by IP phone
  • App cannot "hear" digits being sent by called party
I'm sure it has something to do with Asterisk dial settings (Advanced settings in FreePBX) but I can't figure it out.
 

rossiv

Guru
Joined
Oct 26, 2008
Messages
2,624
Reaction score
139
Is this a local conference negotiated by the endpoint, or an Asterisk conference?
 

tbrummell

Guru
Joined
Jan 8, 2011
Messages
1,275
Reaction score
339
Good point Ross, it's negotiated by the endpoint (Polycom 321), will go try it using the Feature Code instead.
 

tbrummell

Guru
Joined
Jan 8, 2011
Messages
1,275
Reaction score
339
OK, so how do you form a conference by just using feature codes? I see Attended Transfer, but no Conference.
 

tbrummell

Guru
Joined
Jan 8, 2011
Messages
1,275
Reaction score
339
Yeah, I tried that too. No DTMF is played within the conference. I guess I need to look for a different solution.
 
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top