I am running asterisk and I want to achieve the following scenario My goal in the end is to achieve the scenario (example using extension A and Extension B) 1. Extension A has a line apperance of 4(4 calls can ring on it). 2. Extension B calls extension A(which is busy on one of the lines). 3. Extension A sees the second light blinking and hears the beeps (currently working). 4. Extension B is notified that extension A is on another call. Where do I start...I have looked in the following call variables--$dialstatus and $devstatus but I can't get them working -- Best Regards, James Mutuku Ndeti Agile Systems Limited +254722490994 www.agile.co.ke mutuku.wordpress.com Has your organization implemented a customer relationship management (CRM)system? visit http://www.agile.co.ke/crm.php and find out how our CRM can help you achieve better customer satisfaction and sales -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090828/29dcd3e0/attachment.htm
This isn't the recommended way, but it does work: Let's say extension A is 100 and B is 101. Set up hints for 100 and 101. Then do a quick and dirty agi to parse "asterisk -rx "core show hints" " for InUse. If any of the 4 lines of 100 are in use, hints will report it as inuse, so you can use that to report back to b (101) that 100 is busy. _____ From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of James Mutuku Sent: Friday, August 28, 2009 8:02 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Help with call scenario I am running asterisk and I want to achieve the following scenario My goal in the end is to achieve the scenario (example using extension A and Extension B) 1. Extension A has a line apperance of 4(4 calls can ring on it). 2. Extension B calls extension A(which is busy on one of the lines). 3. Extension A sees the second light blinking and hears the beeps (currently working). 4. Extension B is notified that extension A is on another call. Where do I start...I have looked in the following call variables--$dialstatus and $devstatus but I can't get them working -- Best Regards, James Mutuku Ndeti Agile Systems Limited +254722490994 www.agile.co.ke mutuku.wordpress.com Has your organization implemented a customer relationship management (CRM)system? visit http://www.agile.co.ke/crm.php and find out how our CRM can help you achieve better customer satisfaction and sales -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090828/f64de41b/attachment.htm
I am new to AGI. I have written my first php agi script that gets the extension dialed and says it back the caller using flite. I am stuck on how to pass the comand asterisk ?rx ?core show hints to asterisk and get the data back. This isn?t the recommended way, but it does work: Let?s say extension A is> 100 and B is 101. Set up hints for 100 and 101. Then do a quick and dirty > agi to parse ?asterisk ?rx ?core show hints? ? for InUse. If any of the 4 > lines of 100 are in use, hints will report it as inuse, so you can use that > to report back to b (101) that 100 is busy. > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090903/3bb5753e/attachment.htm