My PHP script is using AMI's Originate command to make two-way calls. The originate connects the first leg of the calls, plays a file to the first called party, and then uses Dial() from the dialplan to dial the other leg of the call. I'm noticing that only about 30% of the calls make it through successfully. In looking at Asterisk's CDR's, I have noticed a lot of "NO ANSWER" and even more "FAILED" call dispositions. It seems that there is a patter of NO ANSWER being followed by a FAILED immediately after. Although, some records break this (either vice-versa or a single record of one of them). My problem is that I am under pretty high volume (say 500+ calls) a day, and I don't have any way of figuring out what is causing this. Whenever I test my script manually, I don't have the problem. Somethings that come to mind are: Lack of Server Resources, VoIP Provider issues, and Invalid Phone #'s. I doubt my VoIP provider, Asterlink, is not able to handle my volume (usually no more than 6 or 8 calls simultaneously). My server load averages are far below alarm, and I have more than 50MB of free RAM when 6 calls are going through. I have checked for invalid phone numbers, and that is not the case either. Here's a couple things I noticed were showing up in the /var/log/asterisk/messages quite frequently: WARNING[2220] cdr.c: CDR already initialized on '**Unknown**' #this shows up a lot! and WARNING[2897] cdr.c: Cause not handled WARNING[2266] chan_sip.c: Remote host can't match request BYE to call '349825703425 at asterlink.com'. Giving up. Any suggestions on how to better troubleshoot this? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071220/6d1fde20/attachment.htm