[Asterisk-Users] GotoIf number exists in file. How can i do this?

Arne Morten Johansen amj at avio.no
Wed Feb 8 06:37:46 MST 2006


	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/c2092955/attachment.htm


More information about the asterisk-users mailing list