Open GoogleCodeExporter opened 9 years ago
You could set a hook into asterisk that would execute the gvoice cancel method
on that
phone call. Its an easy command to execute, but i have no idea how to hook it
into
asterisk.
Original comment by justquick
on 14 Dec 2009 at 4:25
If you are bridging your incoming gv call with the channel that initiated the
gvdial,
insert a gv cancel command after the bridge finishes execution. This will
instruct gv
to drop the call.
exten => gv_incoming, n, Set(GVCMD=gvoice --email=${ACCTNAME}
--password=${ACCTPASS}
-b cancel)
exten => gv_incoming, n, GotoIf($[${CALLERID(num)} = ${GVNUMBER}]?:normalcall)
exten => gv_incoming, n, NoCDR()
exten => gv_incoming, n, Bridge(${DB_DELETE(gv_dialout/channel)})
exten => gv_incoming, n, System(${GVCMD})
exten => gv_incoming, n, Hangup()
exten => gv_incoming,n(normalcall),Dial(SIP/destination)
exten => gv_incoming, n, Hangup()
Original comment by barak.sh...@gmail.com
on 23 Dec 2009 at 9:22
I was told that that code would only work for Asterisk 1.6.
My current PBX in a Flash system uses Asterisk 1.4.
Is there any way to get this code for Asterisk 1.4?
Thanks!
Original comment by ytlev...@gmail.com
on 30 Dec 2009 at 1:34
have u figured out how to get it to work?
Original comment by st3amco0...@gmail.com
on 16 Feb 2010 at 9:11
I haven't...
Original comment by ytlev...@gmail.com
on 17 Feb 2010 at 12:06
Original issue reported on code.google.com by
ytlev...@gmail.com
on 14 Dec 2009 at 2:04