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 some 
> defined format or a return?
> 
> I am testing it by observing the console. I have also set log-err path 
> in xml_cdr.conf to / but XMLs are not being generated even if I 
> deliberately cause an error on the PHP side.
> 
> btw- LOVE the 'callflow'  part of the xml tree! simply amazing. My 
> script can 'follow through' calls
> 
> thanks
> 

-- 
Faraz R Khan
Chief Architect
Emergen Consulting Pvt Ltd
+92.21.529.0381 x200
www.emergen.biz


_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to