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’ve done

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

2006-02-08 Thread Arne Morten Johansen
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 Ive done it now is by multiple OR operators. There must be a better way. Anyone got some suggestions? This is basicly what I

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

2006-02-08 Thread Morgan Gilroy
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 Ive done it now is by multiple

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. If CID

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

2006-02-08 Thread Arne Morten Johansen
Sendt: 8. februar 2006 15:28 Til: Asterisk Users Mailing List - Non-Commercial Discussion Emne: RE: [Asterisk-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

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

2006-02-08 Thread Morgan Gilroy
Morten Johansen Sent: 08 February 2006 14:50 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: SV: [Asterisk-Users] GotoIf number exists in file. How can i do this? 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

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 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 this