[asterisk-users] AgentcallbackLogin()

Douglas Garstang dgarstang at oneeighty.com
Fri Aug 11 16:14:56 MST 2006


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)
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.

Thanks.
Doug.



More information about the asterisk-users mailing list