[asterisk-users] 11.3: how to hang up on google voice

sean darcy seandarcy2 at gmail.com
Thu Mar 7 09:37:37 CST 2013


On 03/07/2013 09:48 AM, Joshua Colp wrote:
> sean darcy wrote:
>> Some calls I get from google voice, I just send myself an email about
>> the call and want to hangup. But I can't seem to make gv know I've
>> hung up.
>>
>> extensions.conf:
>>
>> same => n,GoToIf($["${CALLERID(num)}"="office"]?email)
>> .................
>> same => n(email),System(/usr/local/bin/emailme........)
>> same => n,Answer() ; also tried without this
>> same => n,Hangup()
>
> You need to Answer, Wait, send a DTMF of 1, wait a bit more, and then
> hang up.
>
Brilliant.

  same => n(hangup),Answer()
  same => n,Wait(3)
  same => n,SendDTMF(1)
  same => n,Wait(3)
  same => n,Hangup()

Worked like a charm. It does cause gv to give a circuit busy. But that's ok.

sean




More information about the asterisk-users mailing list