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

Douglas Garstang dgarstang at oneeighty.com
Mon Jul 17 20:01:43 MST 2006


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.

	-----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
	
	
	
	--
	Andres
	Technical Support
	http://www.telesip.net
	
	_______________________________________________
	--Bandwidth and Colocation provided by Easynews.com --
	
	asterisk-users mailing list
	To UNSUBSCRIBE or update options visit:
	   http://lists.digium.com/mailman/listinfo/asterisk-users
	



More information about the asterisk-users mailing list