[asterisk-users] Problem with AGI Script

Benjamin Jacob benjamin.jacob at mgl.com
Thu Nov 15 22:39:52 CST 2007



Steve Edwards wrote:

>On Thu, 15 Nov 2007, Benjamin Jacob wrote:
>
>  
>
>>well.. if nothings working.. try putting in debug lines urself in the
>>code.. say
>>use system calls to write some debugging data into some temporary file
>>in ur perl code.
>>    
>>
>
>I'm a big fan of
>
> 	syslog(LOG_ERR, "I expected %d, but I got %d", foo, bar);
>
>to write a message to the system log. A single statement and no temporary 
>files to clean up. Syslog has lots of features -- check out the man page.
>
>  
>
thats definitely better..





EMAIL DISCLAIMER : This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. If you receive this transmission in error, please notify the sender by reply email and then destroy the message. Opinions, conclusions and other information in this message that do not relate to official business of Mascon shall be understood to be neither given nor endorsed by Mascon. Any information contained in this email, when addressed to Mascon clients is subject to the terms and conditions in governing client contract.

Whilst Mascon takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Mascon grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. 





More information about the asterisk-users mailing list