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