[Asterisk-Users] GotoIf number exists in file. How can i do this?
Morgan Gilroy
morgan at telappliant.com
Wed Feb 8 07:28:29 MST 2006
It will probably be easier to write an AGI script to do this, I cant
think of anything in the dialplan to do this.
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Arne
Morten Johansen
Sent: 08 February 2006 13:38
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] GotoIf number exists in file. How can i do
this?
Hi there.
I currently have a GotoIf statement that goes to a special
extension priority if the CID match with one of the numbers in my "list"
of CIDs. The way I've done it now is by multiple OR operators. There
must be a better way. Anyone got some suggestions?
This is basicly what I want. "If CID Exists in $File, goto
s,10". So when I want to add a new CID I just add a new line in a txt
file.
Thanks,
Arne Morten Johansen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060208/4260813f/attachment.htm
More information about the asterisk-users
mailing list