[Asterisk-Dev] Re: Detecting Call on Hold

Leon Yeh leon at newavenue.net
Wed Jun 15 13:43:24 MST 2005


Hi Brian, thanks for responding.

I checked on my copy of frame.h and found no AST_CONTROL_HOLD. My 
astersik version is 1.0.7 with Bristuff patched. Are you using CVS 
version ? What version of asterisk are using ?

Bristuff only seems to work with 1.0.7 version....


Leon Yeh
New Avenue Systems Inc.
Office: (626)254-1757 x880
leon at newavenue.net

Brian West wrote:
> 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
>>
> 
> _______________________________________________
> 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