I have an Free PBX FreePBX 13.0.197.28 Server.
Incoming Calls to Queues work perfectly.
If the Secretary (1200) answers a call and then transfers it to an extension. (1201)
That extension (1201) rings and will go to VM if no one picks up.
Caller leaves a VM and hangs up.
The secretary phone (1200) will then ring showing a caller ID of the disconnected caller. But no one will be there. From the CLI it looks as if the queue is causing this. Looking through Queue options I don’t see anything to control this behavior. Any ideas on what I’m missing. Below is the relevant CLI from a test call.
Recording the message
– x=0, open writing: /var/spool/asterisk/voicemail/default/1202/tmp/vkeWws format: wav, 0x7f54a84ebec8
– Channel SIP/Trunk-0000290c left ‘simple_bridge’ basic-bridge <249261dd-e6df-41c8-a17d-c50a47125b73>
– Channel Local/1200@from-queue-00000168;1 left ‘simple_bridge’ basic-bridge <249261dd-e6df-41c8-a17d-c50a47125b73>
== Spawn extension (ext-queues, 1203, 39) exited non-zero on ‘SIP/Trunk-0000290c’
– User hung up
– Executing [h@ext-queues:1] Macro(“SIP/Trunk-0000290c”, “hangupcall,”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“SIP/Trunk-0000290c”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [s@macro-hangupcall:3] ExecIf(“SIP/Trunk-0000290c”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [s@macro-hangupcall:4] Hangup(“SIP/Trunk-0000290c”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘SIP/Trunk_In-0000290c’ in macro ‘hangupcall’
== Spawn extension (ext-queues, h, 1) exited non-zero on ‘SIP/Trunk-0000290c’
– SIP/Trunk-0000290c Internal Gosub(crm-hangup,s,1) start
– Executing [s@crm-hangup:1] NoOp(“SIP/Trunk_In-0000290c”, “Sending Hangup to CRM”) in new stack
– Executing [s@crm-hangup:2] NoOp(“SIP/Trunk-0000290c”, “HANGUP CAUSE: 16”) in new stack
– Executing [s@crm-hangup:3] ExecIf(“SIP/Trunk-0000290c”, “0?Set(__CRM_VOICEMAIL=)”) in new stack
– Executing [s@crm-hangup:4] NoOp(“SIP/Trunk-0000290c”, “MASTER CHANNEL: 1620404788.14325 = 1620404788.14325”) in new stack
– Executing [s@crm-hangup:5] GotoIf(“SIP/Trunk-0000290c”, “0?return”) in new stack
– Executing [s@crm-hangup:6] Set(“SIP/Trunk-0000290c”, “__CRM_HANGUP=1”) in new stack
– Executing [s@crm-hangup:7] AGI(“SIP/Trunk-0000290c”, “sangomacrm.agi”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
== Spawn extension (macro-vm, s-NOANSWER, 2) exited non-zero on ‘Local/1200@from-queue-00000168;2’ in macro ‘vm’
== Spawn extension (macro-exten-vm, s, 33) exited non-zero on ‘Local/1200@from-queue-00000168;2’ in macro ‘exten-vm’
== Spawn extension (ext-local, 1202, 2) exited non-zero on ‘Local/1200@from-queue-00000168;2’
– Executing [h@ext-local:1] Macro(“Local/1200@from-queue-00000168;2”, “hangupcall,”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“Local/1200@from-queue-00000168;2”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [s@macro-hangupcall:3] ExecIf(“Local/1200@from-queue-00000168;2”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [s@macro-hangupcall:4] Hangup(“Local/1200@from-queue-00000168;2”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘Local/1200@from-queue-00000168;2’ in macro ‘hangupcall’
== Spawn extension (ext-local, h, 1) exited non-zero on ‘Local/1200@from-queue-00000168;2’
– <SIP/Trunk-0000290c>AGI Script sangomacrm.agi completed, returning 0
– Executing [s@crm-hangup:8] Return(“SIP/Trunk-0000290c”, “”) in new stack
== Spawn extension (ext-queues, h, 1) exited non-zero on ‘SIP/Trunk-0000290c’
– SIP/Trunk-0000290c Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
control