Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[asterisk-users] AGISTATUS is SUCCESS even though my PHP scr


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





PostPosted: Mon Jan 14, 2008 7:21 pm    Post subject: [asterisk-users] AGISTATUS is SUCCESS even though my PHP scr Reply with quote

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Brian Hutchinson wrote:
| Hi,
|
| Using Asterisk 1.4.17. I'm calling a PHP script through AGI. No matter
| what my script returns (0 or -1), AGISTATUS always appears to be 0 =
| SUCCESS.
|
| I was wanting my script to be able to return a value to the dialplan and
| then test AGISTATUS but it looks like I'm going down the wrong path.
|
| Any suggestions?

Why don't you just set a variable from the AGI and then test for it in
the dialplan

- --
Kind Regards,

Matt Riddell
Director
_______________________________________________

http://www.venturevoip.com (Great new VoIP end to end solution)
http://www.venturevoip.com/news.php (Daily Asterisk News - html)
http://www.venturevoip.com/newrssfeed.php (Daily Asterisk News - rss)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHi/ykDQNt8rg0Kp4RAh93AJ9BOV/+IjAqte/coiOTCAciRzI25wCZAYW3
BW/ubpchpy2KUQROsmPnonQ=
=4oUM
-----END PGP SIGNATURE-----
Back to top
asterisk.org at sedwar...
Guest





PostPosted: Mon Jan 14, 2008 7:58 pm    Post subject: [asterisk-users] AGISTATUS is SUCCESS even though my PHP scr Reply with quote

On Tue, 15 Jan 2008, Matt Riddell wrote:

Quote:
Brian Hutchinson wrote:
|
| Using Asterisk 1.4.17. I'm calling a PHP script through AGI. No matter
| what my script returns (0 or -1), AGISTATUS always appears to be 0 =
| SUCCESS.

Why don't you just set a variable from the AGI and then test for it in
the dialplan
Back to top
b.hutchman at gmail.com
Guest





PostPosted: Tue Jan 15, 2008 12:10 am    Post subject: [asterisk-users] AGISTATUS is SUCCESS even though my PHP scr Reply with quote

Quote:



Why don't you just set a variable from the AGI and then test for it in
That is what I ended up doing and that worked. Just thought I'd post to the
list since from what I read it sounds like the script return value should be
reflected in AGISTATUS and it wasn't. Didn't know if it was a bug that
should be reported or not.

Thanks for your help.

Regards,

Brian


Quote:
the dialplan

- --
Kind Regards,

Matt Riddell
Director
_______________________________________________

http://www.venturevoip.com (Great new VoIP end to end solution)
http://www.venturevoip.com/news.php (Daily Asterisk News - html)
http://www.venturevoip.com/newrssfeed.php (Daily Asterisk News - rss)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHi/ykDQNt8rg0Kp4RAh93AJ9BOV/+IjAqte/coiOTCAciRzI25wCZAYW3
BW/ubpchpy2KUQROsmPnonQ=
=4oUM
-----END PGP SIGNATURE-----

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080115/c4120762/attachment.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