Phones sometimes show "no response" when trying to answer calls from queue

We’ve got four Grandstream GXP2170 phones that are agents to a ringall queue. Every day or so we’ll have a call come in, go to queue, and ring all those phones as expected. An operator picks up the phone and is greeted with the congestion sound and the phone says “No Response” on the screen. The other phones in the queue continue to ring, but this agent on duty needs to wait for the agent timeout to circle around again for her phone to ring. After that, the call can be answered by the same phone with no problem.

I searched through the logs and found the bit below, which I think it related. Specifically, this line caught my interested: NoOp(“PJSIP/111-0000037b”, “HANGUP CAUSE: 58”) in new stack

I did some searching on cause 58, but didn’t find a whole lot. It looks like it might be related to media codecs, but if a codec wasn’t enabled correctly, I wouldn’t expect the call to work the second time (after the queue times out and tries again).

Thanks in advance for any ideas!

2018-12-21 13:00:26] VERBOSE[8587][C-00000265] app_stack.c: PJSIP/120-0000037d Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
[2018-12-21 13:00:26] VERBOSE[8585][C-00000265] app_dial.c: Called PJSIP/111/sip:[email protected]:33291
[2018-12-21 13:00:26] VERBOSE[8359][C-00000265] app_queue.c: Local/[email protected];1 is ringing
[2018-12-21 13:00:26] VERBOSE[8585][C-00000265] app_dial.c: Connected line update to Local/[email protected];2 prevented.
[2018-12-21 13:00:26] VERBOSE[8586][C-00000265] app_dial.c: Called PJSIP/113/sip:[email protected]:10256
[2018-12-21 13:00:26] VERBOSE[8359][C-00000265] app_queue.c: Local/[email protected];1 is ringing
[2018-12-21 13:00:26] VERBOSE[8586][C-00000265] app_dial.c: Connected line update to Local/[email protected];2 prevented.
[2018-12-21 13:00:26] VERBOSE[8587][C-00000265] app_dial.c: Called PJSIP/120/sip:[email protected]:39757
[2018-12-21 13:00:26] VERBOSE[8359][C-00000265] app_queue.c: Local/[email protected];1 is ringing
[2018-12-21 13:00:26] VERBOSE[8587][C-00000265] app_dial.c: Connected line update to Local/[email protected];2 prevented.
[2018-12-21 13:00:26] VERBOSE[8585][C-00000265] app_dial.c: PJSIP/111-0000037b is ringing
[2018-12-21 13:00:26] VERBOSE[8585][C-00000265] app_dial.c: PJSIP/111-0000037b is ringing
[2018-12-21 13:00:26] VERBOSE[8359][C-00000265] app_queue.c: Local/[email protected];1 is ringing
[2018-12-21 13:00:26] VERBOSE[8586][C-00000265] app_dial.c: PJSIP/113-0000037c is ringing
[2018-12-21 13:00:26] VERBOSE[8586][C-00000265] app_dial.c: PJSIP/113-0000037c is ringing
[2018-12-21 13:00:26] VERBOSE[8587][C-00000265] app_dial.c: PJSIP/120-0000037d is ringing
[2018-12-21 13:00:26] VERBOSE[8587][C-00000265] app_dial.c: PJSIP/120-0000037d is ringing
[2018-12-21 13:00:26] VERBOSE[8359][C-00000265] app_queue.c: Local/[email protected];1 is ringing
[2018-12-21 13:00:26] VERBOSE[8359][C-00000265] app_queue.c: Local/[email protected];1 is ringing
[2018-12-21 13:00:31] VERBOSE[8585][C-00000265] app_stack.c: PJSIP/111-0000037b Internal Gosub(crm-hangup,s,1) start
[2018-12-21 13:00:31] VERBOSE[8585][C-00000265] pbx.c: Executing [[email protected]:1] NoOp("PJSIP/111-0000037b", "Sending Hangup to CRM") in new stack
[2018-12-21 13:00:31] VERBOSE[8585][C-00000265] pbx.c: Executing [[email protected]:2] NoOp("PJSIP/111-0000037b", "HANGUP CAUSE: 58") in new stack
[2018-12-21 13:00:31] VERBOSE[8585][C-00000265] pbx.c: Executing [[email protected]:3] ExecIf("PJSIP/111-0000037b", "0?Set(__CRM_VOICEMAIL=)") in new stack
[2018-12-21 13:00:31] VERBOSE[8585][C-00000265] pbx.c: Executing [[email protected]:4] NoOp("PJSIP/111-0000037b", "MASTER CHANNEL: 1545415226.2035 = 1545415193.2028") in new stack
[2018-12-21 13:00:31] VERBOSE[8585][C-00000265] pbx.c: Executing [[email protected]:5] GotoIf("PJSIP/111-0000037b", "1?return") in new stack
[2018-12-21 13:00:31] VERBOSE[8585][C-00000265] pbx_builtins.c: Goto (crm-hangup,s,8)
[2018-12-21 13:00:31] VERBOSE[8585][C-00000265] pbx.c: Executing [[email protected]:8] Return("PJSIP/111-0000037b", "") in new stack
[2018-12-21 13:00:31] VERBOSE[8585][C-00000265] app_stack.c: Spawn extension (from-internal, 111, 1) exited non-zero on 'PJSIP/111-0000037b'
[2018-12-21 13:00:31] VERBOSE[8585][C-00000265] app_stack.c: PJSIP/111-0000037b Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
[2018-12-21 13:00:31] VERBOSE[8585][C-00000265] app_dial.c: Everyone is busy/congested at this time (1:0/0/1)
[2018-12-21 13:00:31] VERBOSE[8585][C-00000265] pbx.c: Executing [[email protected]:56] ExecIf("Local/[email protected];2", "0?MacroExit()") in new stack
[2018-12-21 13:00:31] VERBOSE[8585][C-00000265] pbx.c: Executing [[email protected]:57] ExecIf("Local/[email protected];2", "0?Set(DIALSTATUS=)") in new stack
[2018-12-21 13:00:31] VERBOSE[8585][C-00000265] pbx.c: Executing [[email protected]:58] GosubIf("Local/[email protected]eue-0000010c;2", "0?s-CHANUNAVAIL,1()") in new stack
[2018-12-21 13:00:31] VERBOSE[8585][C-00000265] pbx.c: Executing [[email protected]:59] MacroExit("Local/[email protected];2", "") in new stack
[2018-12-21 13:00:31] VERBOSE[8585][C-00000265] pbx.c: Executing [[email protected]:9] GotoIf("Local/[email protected];2", "0?,,") in new stack
[2018-12-21 13:00:31] VERBOSE[8585][C-00000265] pbx.c: Executing [[email protected]:10] Hangup("Local/[email protected];2", "") in new stack
[2018-12-21 13:00:31] VERBOSE[8585][C-00000265] pbx.c: Spawn extension (from-queue-exten-only, 111, 10) exited non-zero on 'Local/[email protected];2'
[2018-12-21 13:00:31] VERBOSE[8585][C-00000265] pbx.c: Executing [[email protected]:1] Macro("Local/[email protected];2", "hangupcall,") in new stack
[2018-12-21 13:00:31] VERBOSE[8585][C-00000265] pbx.c: Executing [[email protected]:1] GotoIf("Local/[email protected];2", "1?theend") in new stack
[2018-12-21 13:00:31] VERBOSE[8585][C-00000265] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2018-12-21 13:00:31] VERBOSE[8585][C-00000265] pbx.c: Executing [[email protected]:3] ExecIf("Local/[email protected];2", "0?Set(CDR(recordingfile)=)") in new stack
[2018-12-21 13:00:31] VERBOSE[8585][C-00000265] pbx.c: Executing [[email protected]:4] NoOp("Local/[email protected];2", " monior file= ") in new stack
[2018-12-21 13:00:31] VERBOSE[8585][C-00000265] pbx.c: Executing [[email protected]:5] AGI("Local/[email protected];2", "attendedtransfer-rec-restart.php,,") in new stack
[2018-12-21 13:00:31] VERBOSE[8585][C-00000265] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
[2018-12-21 13:00:31] VERBOSE[8585][C-00000265] res_agi.c: <Local/[email protected];2>AGI Script attendedtransfer-rec-restart.php completed, returning 0
[2018-12-21 13:00:31] VERBOSE[8585][C-00000265] pbx.c: Executing [[email protected]:6] Hangup("Local/[email protected];2", "") in new stack
[2018-12-21 13:00:31] VERBOSE[8585][C-00000265] app_macro.c: Spawn extension (macro-hangupcall, s, 6) exited non-zero on 'Local/[email protected];2' in macro 'hangupcall'
[2018-12-21 13:00:31] VERBOSE[8585][C-00000265] pbx.c: Spawn extension (from-queue-exten-only, h, 1) exited non-zero on 'Local/[email protected];2'
[2018-12-21 13:00:31] VERBOSE[8359][C-00000265] app_queue.c: Nobody picked up in 5000 ms

https://wiki.asterisk.org/wiki/display/AST/Hangup+Cause+Mappings Cause Code Mappings are found at that link. Cause Code 58 is a result of a 488 or 606 SIP Reply, in this case probably a 488 which means the device that is trying to answer the call doesn’t have proper codecs or transport to match what Asterisk is expecting.

Thanks, I did find that. But how does the phone have the proper codecs 30 seconds later for the same call?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.