[Asterisk-Dev] Re: Detecting Call on Hold

Brian West brian.west at mac.com
Wed Jun 15 11:32:40 MST 2005


frame.h:
#define AST_CONTROL_HOLD            16
/*! Indicate call is left from hold */
#define AST_CONTROL_UNHOLD          17


/b
---
Anakin: “You’re either with me, or you’re my enemy.”
Obi-Wan: “Only a Sith could be an absolutist.”

On Jun 15, 2005, at 1:27 PM, leon at newavenue.net wrote:

> Hi All,
>
> Sorry if this is actually went out to the mailing list. I was  
> sending this email yesterday but I did not see it the mailing list.
>
> Any how, I hope someone out there can help me. After working on  
> bristuff especially on steal function. I would like to add small  
> check and ONLY allow steal function to "steal" a channel that was  
> put on hold.
>
> I need to know how to find out if a channel has been put on hold by  
> the user. I scour the ast_chan struct, but could not find any  
> status to confirm if the call/ channel was put on hold.
>
> Any ideas or suggestion on how to do this ?
> Thanks in advance
>
> -- 
> Leon Yeh
> New Avenue Systems Inc.
> Office: (626)254-1757 x880
> Mobile: (626)627-6080
> leon at newavenue.net
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>




More information about the asterisk-dev mailing list