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:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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
|
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users