!sorry for repost. I used Chrome with Hotmail again which garbles the text.
Hi Everyone,
Trying to pass ${EXTEN} to a php file for processing. Not sure how to. The php
file takes $did_numb as defined:
<?php
$did_numb = $_GET['did_numb'];
?>
I know that http://serverIP/file.php?did_numb=416-444-5555 works fine but when
calling php file by system() from dialplan how can this be done?
exten => s,n,system(php file.php?did_numb=${EXTEN}) |||| This method
doesn't work as "php file.php?did_numb=416-444-555" simply doesn't work from
the CentOS prompt.
What is the proper syntax here?
I also want whatever that file.php returns to be saved in $var for later usage
in dial-plan afterwards.
Thanks.
Your Photo on Bing.ca: You Could WIN on Canada Day! Submit a Photo Now!
Turn down-time into play-time with Messenger games Play Now!
_________________________________________________________________
Learn more ways to connect with your buddies now
http://go.microsoft.com/?linkid=9734388