Hi,
I recently upgraded from Asterisk 13.12.2 and PJSIP 2.4.5 to Asterisk 13.22.0 with embedded PJSIP (2.7.2) from source and noticed that every time a call enters a queue, all the members are called at the same time (this is the expected behaviour) but when one of the agents picks up the call, then all the other phones show a missed call and this wasn’t happening before the upgrade.
I noticed the following in the logs:
With version 13.12.2:
[Aug 20 08:38:36] VERBOSE[15324][C-00000f5d] pbx.c: Executing [s@sales_queue:9] Queue("DAHDI/i1/111111111-64e", "marketing,k,,,10") in new stack
[Aug 20 08:38:36] VERBOSE[15324][C-00000f5d] res_musiconhold.c: Started music on hold, class 'default', on channel 'DAHDI/i1/111111111-64e'
[Aug 20 08:38:36] VERBOSE[15324][C-00000f5d] app_queue.c: Called PJSIP/671
[Aug 20 08:38:36] VERBOSE[15324][C-00000f5d] app_queue.c: Called PJSIP/672
[Aug 20 08:38:36] VERBOSE[15324][C-00000f5d] app_queue.c: PJSIP/671-000014e5 connected line has changed. Saving it until answer for DAHDI/i1/402781718-64e
[Aug 20 08:38:36] VERBOSE[15324][C-00000f5d] app_queue.c: PJSIP/672-000014e6 connected line has changed. Saving it until answer for DAHDI/i1/402781718-64e
[Aug 20 08:38:36] VERBOSE[15324][C-00000f5d] app_queue.c: PJSIP/672-000014e6 is ringing
[Aug 20 08:38:36] VERBOSE[15324][C-00000f5d] app_queue.c: PJSIP/671-000014e5 is ringing
[Aug 20 08:38:38] VERBOSE[15324][C-00000f5d] app_queue.c: PJSIP/672-000014e6 answered DAHDI/i1/402781718-64e
[Aug 20 08:38:38] VERBOSE[15324][C-00000f5d] res_musiconhold.c: Stopped music on hold on DAHDI/i1/402781718-64e
With version 13.22.0:
[Aug 22 15:02:01] VERBOSE[26405][C-00000102] pbx.c: Executing [s@support_queue:29] Queue("DAHDI/i1/111111111-62", "marketing,k,,,30") in new stack
[Aug 22 15:02:01] VERBOSE[26405][C-00000102] res_musiconhold.c: Started music on hold, class 'default', on channel 'DAHDI/i1/111111111-62'
[Aug 22 15:02:01] VERBOSE[26405][C-00000102] app_queue.c: Called PJSIP/671
[Aug 22 15:02:01] VERBOSE[26405][C-00000102] app_queue.c: Called PJSIP/672
[Aug 22 15:02:01] VERBOSE[26405][C-00000102] app_queue.c: PJSIP/671-00000167 connected line has changed. Saving it until answer for DAHDI/i1/417356526-62
[Aug 22 15:02:01] VERBOSE[26405][C-00000102] app_queue.c: PJSIP/672-00000168 connected line has changed. Saving it until answer for DAHDI/i1/417356526-62
[Aug 22 15:02:01] VERBOSE[26405][C-00000102] app_queue.c: PJSIP/671-00000167 is ringing
[Aug 22 15:02:01] VERBOSE[26405][C-00000102] app_queue.c: PJSIP/671-00000167 is ringing
[Aug 22 15:02:01] VERBOSE[26405][C-00000102] app_queue.c: PJSIP/672-00000168 is ringing
[Aug 22 15:02:01] VERBOSE[26405][C-00000102] app_queue.c: PJSIP/672-00000168 is ringing
[Aug 22 15:02:08] VERBOSE[24977] res_rtp_asterisk.c: 0x7f6cfc014000 -- Strict RTP learning after remote address set to: 192.168.4.233:16386
[Aug 22 15:02:08] VERBOSE[26405][C-00000102] app_queue.c: PJSIP/671-00000167 answered DAHDI/i1/417356526-62
[Aug 22 15:02:08] VERBOSE[26405][C-00000102] res_musiconhold.c: Stopped music on hold on DAHDI/i1/417356526-62
The logs show that the app_queue is application is ringing each member twice.
There was no dialplan change, just the Asterisk and PJSIP versions. I’m not 100% sure that this is causing the phone to show a missed call when the call is answered by another agent but everything points to it at the moment.
Has anyone seen this happening before?
The queue configuration in (queues.conf) is:
[StandardQueue_w_recording](!)
music=default
strategy=ringall
timeout=25
retry=5
setinterfacevar=yes
monitor-type=MixMonitor
monitor-format=gsm
[marketing](StandardQueue_w_recording)
member => PJSIP/671,,Agent 1
member => PJSIP/672,,Agent 2