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

sean darcy seandarcy2 at gmail.com
Thu Mar 7 08:47:38 CST 2013


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()

console:

     -- Executing [s at incoming-171:13] Answer("Motif/+1.......-1b35", "") 
in new stack
     -- Executing [s at incoming-171:14] Hangup("Motif/+1..........-1b35", 
"") in new stack
   == Spawn extension (incoming-171, s, 14) exited non-zero on 
'Motif/+1..........-1b35'

but the calling phone keeps ringing until the google voice attendant 
comes on.

OTOH, if I dial an extension, hanging up works fine.

So how do I get gv to recognize a hangup?

sean




More information about the asterisk-users mailing list