Asterisk Call Queue and PAP2

Hi,

Ever wonder if any of you guys used PAP2s as endpoints for Asterisk. Here’s the problem I’ve encountered. I currently have 6 lines on 3 PAP2s. And the call queue is configured to ring all or roundrobin. So I would expect that it would ring all available lines or will search the available line in a roundrobbin fashion.

Problem 1, It doesnt ring all.
Problem 2, it seems that the call queue can only accept 2 call at a time. Coz even if there are 4 more lines avaialble, it wont ring them and the caller is still at queued.

But if I try X-Ten softphones, it works as expected. Any one can advise the right config for the PAP2?

Thankyou in advance!

Regards,
Rock

post the configs you have now (relevant sip.conf entries minus secrets, queues.conf, agents.conf, extensions.con) so we can see if its a config problem :smile:

Thanks Iron, I was suspecting the PAP2s. Coz when am using X-lite or a Single line IP Phone, it works fine. Whenever am using a device that has 2lines, it tends to ring 1 line to every device. I’m suspecting the usage of random ports behind the NAT. As I’ve obeserved, it will only ring 1 line for every device of a different port and if there are more than 1 device. Try this using 2 PAP2s on a queue for 4-lines.

we used AMP to configure our queue here’s our config files.

sip.conf:
[general]

port = 5060 ; Port to bind to (SIP is 5060)
bindaddr = 0.0.0.0 ; Address to bind to (all addresses on machine)
progressinband=no
disallow=all
allow=g729
allow=ulaw
allow=alaw
context = from-sip-external ; Send unknown SIP callers to this context
callerid = Unknown

#include sip_additional.conf

sip_additional.conf:
[200]
username=200
type=friend
secret=*
record_out=Adhoc
record_in=Adhoc
qualify=no
port=5060
nat=yes
mailbox=200@device
host=dynamic
dtmfmode=rfc2833
context=from-internal
canreinvite=no
callerid=device <200>

[201]
username=201
type=friend
secret=*
record_out=Adhoc
record_in=Adhoc
qualify=no
port=5061
nat=yes
mailbox=201@device
host=dynamic
dtmfmode=rfc2833
context=from-internal
canreinvite=no
callerid=device <201>

[202]
username=202
type=friend
secret=*
record_out=Adhoc
record_in=Adhoc
qualify=no
port=5060
nat=yes
mailbox=202@device
host=dynamic
dtmfmode=rfc2833
context=from-internal
canreinvite=no
callerid=device <202>

[203]
username=203
type=friend
secret=*
record_out=Adhoc
record_in=Adhoc
qualify=no
port=5060
nat=yes
mailbox=203@device
host=dynamic
dtmfmode=rfc2833
context=from-internal
canreinvite=no
callerid=device <203>

[205]
username=205
type=friend
secret=*
record_out=Adhoc
record_in=Adhoc
qualify=no
port=5060
nat=yes
mailbox=205@device
host=dynamic
dtmfmode=rfc2833
context=from-internal
canreinvite=no
callerid=device <205>

[206]
username=206
type=friend
secret=*
record_out=Adhoc
record_in=Adhoc
qualify=no
port=5061
nat=yes
mailbox=206@device
host=dynamic
dtmfmode=rfc2833
context=from-internal
canreinvite=no
callerid=device <206>

queues_additional.conf:
[1]
wrapuptime=0
timeout=45
strategy=fewestcalls
retry=5
queue-youarenext=queue-youarenext
queue-thereare=queue-thereare
queue-thankyou=queue-thankyou
queue-callswaiting=queue-callswaiting
music=default
monitor-join=yes
monitor-format=
member=Local/203@from-internal/n
member=Local/202@from-internal/n
member=Local/201@from-internal/n
member=Local/200@from-internal/n
maxlen=0
leavewhenempty=no
joinempty=yes
context=
announce-holdtime=no
announce-frequency=15

[2]
wrapuptime=0
timeout=45
strategy=ringall
retry=1
queue-youarenext=queue-youarenext
queue-thereare=queue-thereare
queue-thankyou=queue-thankyou
queue-callswaiting=queue-callswaiting
music=default
monitor-join=yes
monitor-format=
member=Local/206@from-internal/n
member=Local/205@from-internal/n
maxlen=0
leavewhenempty=no
joinempty=yes
context=
announce-holdtime=yes
announce-frequency=105

extensions_additional.conf:

exten => 18009551772,1,SetVar(FROM_DID=18009551772)
exten => 18009551772,2,Goto(ext-queues,2,1)
exten => 19738540841,1,SetVar(FROM_DID=19738540841)
exten => 19738540841,2,Answer
exten => 19738540841,3,Wait(0)
exten => 19738540841,4,Goto(ext-queues,1,1)