Check the markup if busy or unanswered

General discussions about AsteriskNOW.

Moderators: Moderator, Support

Check the markup if busy or unanswered

Postby Amazing » Thu Nov 22, 2012 4:52 am

Hello, I am implementing a telephone server asterisk in PHPAGI and I would check that if I call is busy or does not answer in

time, I go to another phone.

How could I?

My implementation is:

if ($ r1 ['Code'] == 'xxxx')
$ AGI-> exec ('Dial', "SIP/xxxxxxxxxxxx/00xxXXXXXXXXX,". $seconds. "hr");
$ AGI-> hangup ();
$ agi-> wav ('Error');
$ AGI-> hangup ();

00xxXXXXXXXXX is the phone number to which the call is made, but I'd put another alternative.

Thank you.
Posts: 4
Joined: Mon Sep 24, 2012 10:07 am

Return to AsteriskNOW General

Who is online

Users browsing this forum: No registered users and 1 guest