I had a previous (1.7.5.5.3) install that I had patched to get it to work on gvoice outbound calls. I just did a complete new install with 1.7.5.5.5 and noticed that now when I place a call with my gvoice it tells me to wait and then plays a beep.gsm sound before connecting my outbound call.
How can I change it back to playing MOH while the gvoice is being connected? I use gvoice for VmX Locater and the beep tone confuses callers, they think they should leave a message.
Here is my old extensions_custom.conf
New extensions_custom.conf
How can I change it back to playing MOH while the gvoice is being connected? I use gvoice for VmX Locater and the beep tone confuses callers, they think they should leave a message.
Here is my old extensions_custom.conf
Code:
[gvoice-USERID]
exten => _X.,1,System(gvoice -e [email protected] -p PASSWORD call ${EXTEN} [email protected] 9 &)
exten => _X.,n,Set(DB(gv_dialout_USERID/channel)=${CHANNEL})
exten => _X.,n,MusicOnHold(connect-gv,20)
exten => _X.,n,Noop(Never received callback from Google Voice on channel ${DB_DELETE(gv_dialout_USERID/channel)} – exiting)
exten => h,1,GotoIf($["${CHANNEL(state)}" = "Ring"]?:bridged)
exten => h,n,Noop(Hangup on channel ${DB_DELETE(gv_dialout_USERID/channel)})
exten => h,n,System(gvoice -e [email protected] -p PASSWORD cancel &)
exten => h,n,Hangup()
exten => h,n(bridged),Noop(The channel has been bridged successfully)
[gvoice-return-USERID]
exten => s,1,NoCDR()
exten => s,n,Bridge(${DB_DELETE(gv_dialout_USERID/channel)})
Code:
[gvoice-USERID]
exten => _X.,1,System(sudo /usr/bin/gvoice -e [email protected] -p PASSWORD call ${EXTEN} [email protected] 9 &)
exten => _X.,n,Background(pls-wait-connect-call)
exten => _X.,n,Set(DB(gv_dialout_USERID/channel)=${CHANNEL})
exten => _X.,n,Wait(30)
exten => _X.,n,Noop(Never received callback from Google Voice on channel ${DB_DELETE(gv_dialout_USERID/channel)} – exiting)
exten => h,1,GotoIf($["${CHANNEL(state)}" = "Ring"]?:bridged)
exten => h,n,Noop(Hangup on channel ${DB_DELETE(gv_dialout_USERID/channel)})
exten => h,n,System(sudo /usr/bin/gvoice -e [email protected] -p PASSWORD cancel &)
exten => h,n,Hangup()
exten => h,n(bridged),Noop(The channel has been bridged successfully)