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

2006-02-10 Thread Conrad Wood
On Wed, 2006-02-08 at 14:37 +0100, Arne Morten Johansen wrote: > 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’v

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

2006-02-08 Thread Gonzalo Servat
On 2/8/06, Arne Morten Johansen <[EMAIL PROTECTED]> wrote: > > > > Oh. So how can I do this? > > If I write something in PHP, how do I make it output to an Asterisk > variabel? I need to set a variable in asterisk to TRUE or FALSE based on the > result of the PHP-script. You can find the answer to

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

2006-02-08 Thread Time Bandit
> Oh. So how can I do this? > > If I write something in PHP, how do I make it output to an Asterisk > variabel? I need to set a variable in asterisk to TRUE or FALSE based on the > result of the PHP-script. You can use PHPAGI, this will make your life easier http://phpagi.sourceforge.net/ hth ___

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

2006-02-08 Thread Morgan Gilroy
isk-Users] GotoIf number exists in file. How can i do this?   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:

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

2006-02-08 Thread Time Bandit
> 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. "

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

2006-02-08 Thread Morgan Gilroy
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 Lis