This is just my approach, but I would run call 1 into an AGI that produced the second call through AMI, then proceeded based on the return.
- exten => 123,1,answer - exten => 123,2,AGI(callproc.agi) - exten => 123,3,Gotoif($["${PROC}" = "VM"]?voicemail) - exten => 123,4,Queue - exten => 123,5(voicemail),Voicemailmain - exten => 123,6,hangup callproc.agi calls your staff member - if they press 1, variable proc is set to VM. _____ From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Dan Journo Sent: Wednesday, March 17, 2010 10:36 AM To: asterisk-users@lists.digium.com Subject: [asterisk-users] Call Filtering Hi, I would like to develop a dialplan that allows the callee to reject the call like this:- 1) Call comes in and receives a greeting and get put into a queue. 2) A second call is placed to the member of staff (SIP phone or mobile phone) 3) The member of staff answers the call and is presented with a few options. 4) If the member of staff presses 1, the incoming call is connected to the member of staff. 5) If the member of staff hangs up or presses 2, the incoming call is sent to a voicemail box. The problem being, I can't see to place the second call without bridging the first call. Can anyone point me in the right direction? Many thanks Dan
-- _____________________________________________________________________ -- 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