22 Feb
2012
22 Feb
'12
1:56 p.m.
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