[asterisk-users] How to hangup a channel immediately so that it doesn't get charged on cell phone
Zeeshan Zakaria
zishanov at gmail.com
Mon Sep 22 19:58:42 CDT 2008
Hi,
On my call back system, I have the script as follows:
[calback]
exten => s,1,NoOp(* STARTING CALLCHEAP\'S CALLBACK SYSTEM *)
exten => s,n,Set(CALL=${CALLERID(number)})
exten => s,n,Set(DESTINATION=myCallback.2000.1)
exten => s,n,Set(SLEEP=5)
exten => s,n,System(/var/lib/asterisk/bin/callback ${CALL} ${DESTINATION}
${SLEEP} &)
exten => s,n,Hangup
The idea behind this system is that the script picks up the call, notes down
the caller's number, and hangs it immediately. Then the caller gets a call
back.
But what is happening is that cell phone callers are still being charged for
calling into this callback context.
How can I avoid this? I want cell phone users to not get charged for the
call back.
--
Zeeshan A Zakaria
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080922/6c46f6a5/attachment.htm
More information about the asterisk-users
mailing list