[asterisk-users] Hitting # to Transfer out of a Queue

Nic Bellamy nicb-lists at vadacom.co.nz
Mon Jul 17 22:31:27 MST 2006


Douglas Garstang wrote:

>Why? I don't want the variable to be global, or inherit to other channels. I only want it to be persistent for the current call in progress.
>  
>
It'll only inherit to channels *created from this one*, eg. Agent 
channels, Local channels and the like.

It doesn't make it a global variable - see doc/README.variables for 
further information.

Cheers,
    Nic.

>	-----Original Message----- 
>	From: Andres [mailto:andres at telesip.net] 
>	Sent: Mon 7/17/2006 5:27 PM 
>	To: Asterisk Users Mailing List - Non-Commercial Discussion 
>	Cc: 
>	Subject: Re: [asterisk-users] Hitting # to Transfer out of a Queue
>	
>	
>
>	>
>	>
>	>exten => oe_ccare,1,                NoOp(Queue oe_ccare called)
>	>exten => oe_ccare,n,                Set(TIMEOUT(response)=5)
>	>exten => oe_ccare,n,                GotoIfTime(8:00-17:30|mon-fri|*|*?one_queue_acd,oe_ccare-open,1)
>	>exten => oe_ccare,n,                Goto(oe_ccare-shut,1)
>	>exten => oe_ccare-open,1,           Answer                                         
>	>exten => oe_ccare-open,n,           Set(TRANSFER_CONTEXT=one_start)
>	>exten => oe_ccare-open,n(queue1),   Queue(oe_custcare||||30)                       
>	>.... and so on...
>	> 
>	>
>	>Anyway, when I press #1, and get 'pbx-transfer' followed by dial tone, as soon as I enter a digit, Asterisk still logs this to the console:
>	>Jul 17 17:07:53 VERBOSE[16439] logger.c:     -- Unable to find extension '2' in context ''
>	>
>	>It seems that the TRANSFER_CONTEXT variable is not being set.... eventhough I am setting it...
>	> 
>	>
>	You need the 2 underscores infront of it....__TRANSFER_CONTEXT
>  
>

-- 
Nic Bellamy,
Head Of Engineering, Vadacom Ltd - http://www.vadacom.co.nz/




More information about the asterisk-users mailing list