[Freeswitch-users] mod_curl data answer
freeswitchtest
freeswitch at top-nachhilfe.de
Wed Feb 22 16:56:36 MSK 2012
Hi,
I am new in freeswitch but have used asterisk for more than 4 years.
So I have scripts in php which connect to our internal mysql database an
for example show who is calling.
I trie in freeswitch with curl:
<action application="curl"
data="http://www.mywebseite.de/freeswitch/call_in.php/?id=1234356788 json"/>
If I make it at the CLI I can see the correcct answer - the number of
our customer
But how can I read the correct answer in the freeswitch dialplan. I
thought of something like:
<action application="set" data="hurra=${curl_response_data}"/>
I tried in different ways but never got the number.
Where I am wrong ?
Thanks for your help
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list