[asterisk-users] asterisk + web services

Alex Balashov abalashov at evaristesys.com
Wed Jul 16 08:01:36 CDT 2008


Fred Posner wrote:
> On Jul 15, 2008, at 10:20 PM, Steve Edwards wrote:
> 
>>
>> curl() doesn't fire up another process. The response is returned as just
>> one big chunk. In my case, it was the HTML to an entire web page :)
>>
>> If you need to do a bunch of parsing, maybe an AGI calling libcurl --
>> saving a bunch of ugly dialplan.
>>
> 
> I guess I should have clarified... I make the output of the webservice a 
> simple text string, with a delimiter not used in the results. If it's a 
> whole HTML or XML response, I couldn't imagine using CURL.

Still use AGI for clarity and modularity.  If you want to handle the 
logic in the dial plan, set and return variables/values from the AGI script.

-- 
Alex Balashov
Evariste Systems
Web    : http://www.evaristesys.com/
Tel    : (+1) (678) 954-0670
Direct : (+1) (678) 954-0671
Mobile : (+1) (706) 338-8599



More information about the asterisk-users mailing list