In article <[EMAIL PROTECTED]>,
Douglas Garstang <[EMAIL PROTECTED]> 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||[EMAIL PROTECTED])
> 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||[EMAIL PROTECTED])

Do this instead:

exten => 1000,3,AgentcallbackLogin(1000||[EMAIL PROTECTED])

> exten => 2000,1,Macro(DialProxy,115551212)
> exten => 3000,1,Queue(testq||||45)
> 
> I'd swear blind I was able to pass [EMAIL PROTECTED] 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: [EMAIL PROTECTED] - http://www.softins.co.uk
Play: [EMAIL PROTECTED] - 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

Reply via email to