[Asterisk-Users] Limiting call minutes on a GSM SIM
trixter http://www.0xdecafbad.com
trixter at 0xdecafbad.com
Wed Sep 14 01:02:48 MST 2005
On Wed, 2005-09-14 at 09:30 +0200, Remco Barende wrote:
> Thanks for the tip. I was actually thinking in the direction of putting
> the asterisk calling card application to use. I've never used it and
> wonder if it is at all possible to use it from within the dial plan
> instead of normally from an extension.
Yup. I will try to make it simple for the archives, or anyone else that
is interested in doing this type of thing. You appear to know most of
this already, but then again you arent the only person on this list :)
Call the AGI from the dialplan when you want to.
exten => 31337,1,answer
exten => 31337,2,playback(welcome)
exten => 31337,3,agi(blah.pl)
replace blah.pl with whatever the name is, so long as its executable.
blah.php blah a.out etc
see asterisk.conf for where to place the agis
astagidir => /some/path/to/asterisk/agi-bin
--
Trixter http://www.0xdecafbad.com Bret McDanel
UK +44 870 340 4605 Germany +49 801 777 555 3402
US +1 360 207 0479 or +1 516 687 5200
FreeWorldDialup: 635378
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050914/64f32f34/attachment.pgp
More information about the asterisk-users
mailing list