You could use global variables to record when and where parks occurred. The issue I would see with this (besides perhaps being cumbersome) is that you wouldn't have a way to undo the counters when a caller hung up instead of coming off of park.
_____ From: [email protected] [mailto:[email protected]] On Behalf Of Faheem Sent: Tuesday, July 14, 2009 3:31 AM To: [email protected] Subject: [asterisk-users] How to count Parked calls? Hey All, I am working on a SIP Call bridging application. Every time I receive a incoming call in Asteriskserver1 my AGI should alert to AsteriskServer2 and AsteriskServer2 should callback to AsteriskServer1 and call should be bridged on specified extension. (making call in this way is customer requirement) Every time I receive a call in AsteriskServer1, I Park the call and through AGI, AsteriskServer2 callback to AsteriskServer1 with parked extension. My actual problem is, I can't maintain the record of Parked calls, View Parked Calls in dialplan. Is there any way to count or track the ParkedCalls() in the dialplan?? Through Asterisk CLI I can see the parked calls but I need to count the calls in dialplan. Muhamamd Faheem
_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
