<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
I am using a perl script to pull call info from a DB and place calls
via telnet and AMI, all on local machine of course. My problem is
that I need to capture any response from the carier, such as this
taht appears in the CLI:<br>
[Mar 1 12:55:50] == Using SIP RTP CoS mark 5<br>
[Mar 1 12:55:50] -- Got SIP response 503 "No Circuit Available"
back from xxx.xxx.xxx.xxx:5060<br>
[Mar 1 12:55:50] > Channel SIP/<provider> was never
answered<br>
and be able to relate that back to the dialed number for that call.
Is this possible? <br>
I am using async in the AMI command. Do I need to do something
such as adding and event id to the AMI originate action then listen
for response from AMI?<br>
Obviously I am a bit lost here.<br>
Thanks for any pointers toward the solution.<br>
JohnM <br>
<meta http-equiv="CONTENT-TYPE" content="text/html;
charset=ISO-8859-1">
<p style="margin-bottom: 0in; line-height: 100%; widows: 0; orphans:
0">
<br>
</p>
<title></title>
<meta name="GENERATOR" content="LibreOffice 3.4 (Unix)">
<style type="text/css">
        <!--
                @page { margin: 0.79in }
                P { margin-bottom: 0.08in }
        -->
        </style>
</body>
</html>