[Serusers] Request Status Dump

TCCHAN tikchoong.chan at redtone.com
Wed Jun 15 05:29:22 CEST 2005


Dear All,

I know that I can dump a request to a file using :


	exec_msg("cat >> /usr/local/sbin/log.txt");

How do I get a dump of the response?

I try this  and it won't run:

	onreply_route[1] {
    		if  (status == "200" || status=="202")   {		
				....
				...	
			exec_msg("cat >> /usr/local/sbin/log.txt");	


Is there a way that I could log the response to a file.


Thank for any help available.

Regards,

TC Chan 










More information about the sr-users mailing list