[asterisk-users] Re: AgentcallbackLogin()

Douglas Garstang dgarstang at oneeighty.com
Sat Aug 12 16:45:00 MST 2006


Thanks Tony.

	-----Original Message----- 
	From: Tony Mountifield [mailto:tony at softins.clara.co.uk] 
	Sent: Sat 8/12/2006 2:22 AM 
	To: asterisk-users at lists.digium.com 
	Cc: 
	Subject: [asterisk-users] Re: AgentcallbackLogin()
	
	

	In article <645FEC31A18FE54A8721500CDD55A7B6035D0A22 at mail.oneeighty.com>,
	Douglas Garstang <dgarstang at oneeighty.com> wrote:
	> Can someone tell me why this is not valid...
	>
	> [start]
	> exten => 1000,1,Answer
	> exten => 1000,2,Wait,1
	> exten => 1000,3,AgentcallbackLogin(1000||2000 at Local)
	> exten => 2000,1,Macro(DialProxy,115551212)
	> exten => 3000,1,Queue(testq||||45)
	>
	> while this is:
	>
	> [start]
	> exten => 1000,1,Answer
	> exten => 1000,2,Wait,1
	> exten => 1000,3,AgentcallbackLogin(1000||2000 at start)
	
	Do this instead:
	
	exten => 1000,3,AgentcallbackLogin(1000||2000@${CONTEXT})
	
	> exten => 2000,1,Macro(DialProxy,115551212)
	> exten => 3000,1,Queue(testq||||45)
	>
	> I'd swear blind I was able to pass 2000 at Local to AgentcallbackLogin once before. I really
	> don't like having to put the name of the context in there. If the context name changes, you
	> have to change the reference to it in AgentcallbackLogin as well.
	
	Hope this helps!
	
	Tony
	--
	Tony Mountifield
	Work: tony at softins.co.uk - http://www.softins.co.uk
	Play: tony at mountifield.org - http://tony.mountifield.org
	_______________________________________________
	--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