Can't Register Agent Extension

Hi,

Please advise if I have overlooked a thread with the same concern. Thanks!

I have just configured

/*agents.conf/

[general]

persistentagents=yes

[agents]

autologgoff=15
autologoffunavail=yes
ackcall=yes
endcall=yes
agentgoodbye => goodbye_file
group=1
agent => 213,123456,Juan

/queues.conf****/

[general]

persistentmembers=yes
autofill=yes

[100]

fullame = banana_queue
context = default
strategy = ringall
timeoout = 10
periodic-announce-frequency = 10
musicclass = default
joinempty = yes
member = agent/123
retry = 2

/****extensions.conf/

[outgoing]

exten => 1,1,Answer()
exten => 1,n,Dial(SIP/juan)
exten => 1,n,Hangup

exten => 213,1,Answer()
exten => 213,n,Dial(SIP/juan)
exten => 213,n,Hangup

exten => 203,1,Answer()
exten => 203,n,Queue(100)
exten => 203,n,Hangup

exten => 555,1,Answer()
exten => 555,n,NoOp(${CALLERID(num)})
exten => 555,n,AgentCallbackLogin(||${CALLERID(num)}@outgoing)
exten => 555,n,Hangup

/**sip.conf/

[juan]
type=friend
secret=123456
host=dynamic
nat=y
callerid=“juan banana”<213>
context=outgoing

Notes:

I have also registered 2 more SIP accounts using softphone so that I could test the connectivity and functionality and the three of them works just fine.

Problem:

When agent juan tries to login all seems to be ok until I get to the part when it asks me to specify a new extension. On the first place, it shouldn’t be asking for the extension because of “exten => 555,n,AgentCallbackLogin(||${CALLERID(num)}@outgoing)”. On the CLI I got the message “Extension “213” is not valid”. It asked me to enter a new extension and I was successful with 1. I added it to the extensions.conf (as you can see above) and tested it by calling 203 using one of the other SIP phones and it worked beautifully! I tried different numbers and I noticed that it only accepts extension 1, 2, 3, and 111 even if only extension 1 is declared in the extensions.conf.

Am I doing something wrong?
Did I forgot something?
I am over doing something?
Is there an explanation why it only accepts certain extensions?
Are there guidelines on which extension that an agent is allowed to use?
When does the hurting stops… :frowning: