-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Brian Henning
Sent: Wednesday, March 16, 2011 8:44 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: [asterisk-users] Discover held channel?
Hi,
Here is a scenario:
1) A call comes in on an outside line on a DAHDI device
2) The call is answered by a SIP extension (Linksys SPA942 to be exact)
3) The SIP extension places the outside call on hold
4) The same SIP extension dials another extension.
Is it possible for the dialplan in step 4 to discover the channel of the
call placed on hold in step 3? In other words, since it is the same SIP
extension that is dialing, is there a way to ask "what other channels are
in
use by this SIP extension"?... And if not through the regular
extensions.conf dialplan, would this information be available to a custom
application (AGI, etc)?
I am trying to create one-button access (via speed dial, e.g.) to more
complex Asterisk functions such as call park for our less technically savvy
reception employees.
Many thanks,
~Brian
If you are using hints, this information will be available, otherwise
CHANNELSTATUS might do the trick.