[asterisk-users] Discover held channel?

Brian Henning bhenning at pineinst.com
Wed Mar 16 08:44:07 CDT 2011


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

------------------------------------------------------ 
          Brian Henning, Software Engineer

    /\    Pine Research Instrumentation 
   //\\   5908 Triangle Drive 
  ///\\\  Raleigh, NC 27617 
 ////\\\\ USA 
    || 
    ||    phone: 919.782.8320 
          fax:   919.782.8323 
          email: bhenning at pineinst.com 
------------------------------------------------------ 





More information about the asterisk-users mailing list