Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] I would like to hire someone to automate my


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
bobg at techie.com
Guest





PostPosted: Thu Feb 28, 2008 10:56 pm    Post subject: [asterisk-users] I would like to hire someone to automate my Reply with quote

I would like to hire someone to automate my asterisk for hosted PBX
service for fetures like user signup, adding money and call bridging
Please contact me offline at ted at 1ezphone.com

----- Original Message -----
From: "Philipp Kempgen"
To: "Asterisk Users"
Subject: Re: [asterisk-users] Running AGI script if condition met?
Date: Thu, 06 Dec 2007 05:11:24 +0100
Vincent wrote:

Quote:
exten => 777,n,ExecIf($[${LEN(${CALLERIDNUM})} =
10],AGI(/root/dummy.php),${CALLERIDNUM})

The line break is not a good idea.

Quote:
It doesn't look like ExecIf() is the right way to have Asterisk run
an
Quote:
AGI script conditionnally. What would be the right way to do this?

Wrong syntax.
ExecIf(||)
So:
ExecIf($[${LEN(${CALLERIDNUM})} = 10],AGI,/root/dummy.php)

Not sure about more than one argument. Maybe
ExecIf($[${LEN(${CALLERIDNUM})} =
10],AGI,/root/dummy.php,${CALLERIDNUM})
or
ExecIf($[${LEN(${CALLERIDNUM})} =
10],AGI,/root/dummy.php|${CALLERIDNUM})

Asterisk's syntax is strange sometimes ...

Regards,
Philipp Kempgen

--
amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de
Let's use IT to solve problems and not to create new ones.
Asterisk? -> http://www.das-asterisk-buch.de

Gesch?ftsf?hrer: Stefan Wintermeyer
Handelsregister: Neuwied B 14998

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

--
Want an e-mail address like mine?
Get a free e-mail account today at www.mail.com!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080228/ac211c23/attachment-0001.htm
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services