Hi<br><br><br>I need help in configuring a auto dialer system using Asterisk. I'm holding my customers number in MySQL want to fetch 10 numbers one time and dial if gets connected and answered by customer wants to play a sequence of message . Please help .
<br><br><br>I've tried here is my code to place calls but in this I see no of failure calls are more than 50%. so please advise.<br><br><br> $oSocket = fsockopen($strHost, 5038, $errnum, $errdesc) or die("Connection to host failed");
<br> fputs($oSocket, "Action: login\r\n");<br> fputs($oSocket, "Username: $strUser\r\n");<br> fputs($oSocket, "Secret: $strSecret\r\n\r\n");
<br> fputs($oSocket, "Action: Originate\r\n");<br> fputs($oSocket, "Channel: $strChannel\r\n");<br> fputs($oSocket, "CallerId: $strCallerId\r\n");
<br> fputs($oSocket, "Context: $strContext\r\n");<br> fputs($oSocket, "Exten: $strExten\r\n");<br> fputs($oSocket, "Priority: $strPriority\r\n\r\n");
<br> fputs($oSocket, "Action: Logoff\r\n\r\n");<br><br><br>thanks<br><br>arun<br>