View previous topic :: View next topic |
Author |
Message |
matt at venturevoip.com Guest
|
Posted: Mon Jan 14, 2008 7:21 pm Post subject: [asterisk-users] AGISTATUS is SUCCESS even though my PHP scr |
|
|
-----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
|
Posted: Mon Jan 14, 2008 7:58 pm Post subject: [asterisk-users] AGISTATUS is SUCCESS even though my PHP scr |
|
|
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
|
Posted: Tue Jan 15, 2008 12:10 am Post subject: [asterisk-users] AGISTATUS is SUCCESS even though my PHP scr |
|
|
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080115/c4120762/attachment.htm |
|
Back to top |
|
|
|