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 _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users