Re: [Freeswitch-users] mod_xml_cdr: reporting back errors from curl posts

2008-07-08 Thread Faraz R. Khan
never mind. A colleague figured it out! http response codes! Faraz R. Khan wrote: > I have made a PHP script which processes the XML and feeds it into my DB. > > Is there anyway to return error codes from the PHP script? die() or > exit(1) or echo 'Error' do not work. Is mod_xml_cdr expecting s

[Freeswitch-users] mod_xml_cdr: reporting back errors from curl posts

2008-07-08 Thread Faraz R. Khan
I have made a PHP script which processes the XML and feeds it into my DB. Is there anyway to return error codes from the PHP script? die() or exit(1) or echo 'Error' do not work. Is mod_xml_cdr expecting some defined format or a return? I am testing it by observing the console. I have also set