Hello,
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:
[Mar  1 12:55:50]   == Using SIP RTP CoS mark 5
[Mar 1 12:55:50] -- Got SIP response 503 "No Circuit Available" back from xxx.xxx.xxx.xxx:5060
[Mar  1 12:55:50] > Channel SIP/<provider> was never answered
and be able to relate that back to the dialed number for that call. Is this possible? 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?
Obviously I am a bit lost here.
Thanks for any pointers toward the solution.
JohnM


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to