Grandstream GXW4108 inbound issues

OK, this is driving me nuts (although it doesn’t take much now a days), I have a California office i just sent a server to
with Freepbx 13 and just installed all the updates on today. my issue is inbound into either a queue or ring group doesn’t
act right. i have 6 pots lines(don’t ask why, long story) connected to the FXO gateway. I first had a que with 3 static members and the first would ring, answer, then try a second call and it looked like it entered the queue but never rang the next member in the queue. on the ring group i set it up with memory hunt, 20 sec ring and the same members, it would ring the first member then then it was time to thi the second member it did a short ring then nothing.

It has to be with the inbound setup, i think anyway, because we can dial the queue and ring group extensions from an internal phone and the phones ring the way i think they should.

I have the gateway setup as a sip trunk with each line as a DID 101-106, i tested the outbound by having a couple employees call their cell phone and that worked.
I captured what was going on from the console but it is long, if someone wants to see it all. I’ll post the last 50 or sow lines to see if anyone see’s a problem.

– Goto (macro-dial,s,30)
– Executing [[email protected]:30] Set(“SIP/GXW4108-00000012”, “HuntMember=HuntMember0”) in new stack
– Executing [[email protected]:31] GotoIf(“SIP/GXW4108-00000012”, “0?a32:a35”) in new stack
– Goto (macro-dial,s,36)
– Executing [[email protected]l:36] GotoIf(“SIP/GXW4108-00000012”, “1?a36:a50”) in new stack
– Goto (macro-dial,s,37)
– Executing [[email protected]:37] Set(“SIP/GXW4108-00000012”, “CTLoop=0”) in new stack
– Executing [[email protected]:38] GotoIf(“SIP/GXW4108-00000012”, “0?huntstart”) in new stack
– Executing [[email protected]:39] Set(“SIP/GXW4108-00000012”, “CT_EXTEN=7900”) in new stack
– Executing [[email protected]:40] Set(“SIP/GXW4108-00000012”, “EXTTOCALL=7900”) in new stack
– Executing [[email protected]:41] Set(“SIP/GXW4108-00000012”, “DB(CALLTRACE/7900)=6193790281”) in new stack
– Executing [[email protected]:42] Set(“SIP/GXW4108-00000012”, “CTLoop=1”) in new stack
– Executing [[email protected]:43] Goto(“SIP/GXW4108-00000012”, “s,a37”) in new stack
– Goto (macro-dial,s,38)
– Executing [[email protected]:38] GotoIf(“SIP/GXW4108-00000012”, “1?huntstart”) in new stack
– Goto (macro-dial,s,44)
– Executing [[email protected]:44] NoOp(“SIP/GXW4108-00000012”, “Hunt Dial Start”) in new stack
– Executing [[email protected]:45] ExecIf(“SIP/GXW4108-00000012”, “0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)”) in new stack
– Executing [[email protected]:46] ExecIf(“SIP/GXW4108-00000012”, “0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)”) in new stack
– Executing [[email protected]:47] Macro(“SIP/GXW4108-00000012”, “dial-hunt-predial-hook,”) in new stack
– Executing [[email protected]:1] MacroExit(“SIP/GXW4108-00000012”, “”) in new stack
– Executing [[email protected]:48] Dial(“SIP/GXW4108-00000012”, “SIP/7900,20,trM(auto-blkvm)b(func-apply-sipheaders^s^1),”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– SIP/7900-00000013 Internal Gosub(func-apply-sipheaders,s,1) start
– Executing [[email protected]:1] NoOp(“SIP/7900-00000013”, “Applying SIP Headers to channel”) in new stack
– Executing [[email protected]:2] Set(“SIP/7900-00000013”, “SIPHEADERKEYS=”) in new stack
– Executing [[email protected]:3] While(“SIP/7900-00000013”, “0”) in new stack
– Jumping to priority 6
– Executing [[email protected]:7] Return(“SIP/7900-00000013”, “”) in new stack
== Spawn extension (from-internal, 605, 1) exited non-zero on ‘SIP/7900-00000013’
– SIP/7900-00000013 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
== Extension Changed 7900[ext-local] new state Ringing for Notify User 7902
– Called SIP/7900
– SIP/7900-00000013 is ringing
– Nobody picked up in 20000 ms
– Executing [[email protected]:49] GotoIf(“SIP/GXW4108-00000012”, “0?ANSWER,1”) in new stack
– Executing [[email protected]:50] Set(“SIP/GXW4108-00000012”, “HuntLoop=1”) in new stack
– Executing [[email protected]:51] GotoIf(“SIP/GXW4108-00000012”, “0 & 1?huntreset:a46”) in new stack
– Goto (macro-dial,s,53)
– Executing [[email protected]:53] Set(“SIP/GXW4108-00000012”, “HuntMembers=2”) in new stack
– Executing [[email protected]:54] Goto(“SIP/GXW4108-00000012”, “s,a22”) in new stack
– Goto (macro-dial,s,27)
– Executing [[email protected]:27] GotoIf(“SIP/GXW4108-00000012”, “1?a30”) in new stack
– Goto (macro-dial,s,30)
– Executing [[email protected]:30] Set(“SIP/GXW4108-00000012”, “HuntMember=HuntMember1”) in new stack
– Executing [[email protected]:31] GotoIf(“SIP/GXW4108-00000012”, “0?a32:a35”) in new stack
– Goto (macro-dial,s,36)
– Executing [[email protected]:36] GotoIf(“SIP/GXW4108-00000012”, “1?a36:a50”) in new stack
– Goto (macro-dial,s,37)
– Executing [[email protected]:37] Set(“SIP/GXW4108-00000012”, “CTLoop=0”) in new stack
== Extension Changed 7900[ext-local] new state Idle for Notify User 7902
– Executing [[email protected]:38] GotoIf(“SIP/GXW4108-00000012”, “0?huntstart”) in new stack
– Executing [[email protected]:39] Set(“SIP/GXW4108-00000012”, “CT_EXTEN=7900”) in new stack
– Executing [[email protected]:40] Set(“SIP/GXW4108-00000012”, “EXTTOCALL=7900”) in new stack
– Executing [[email protected]:41] Set(“SIP/GXW4108-00000012”, “DB(CALLTRACE/7900)=6193790281”) in new stack
– Executing [[email protected]:42] Set(“SIP/GXW4108-00000012”, “CTLoop=1”) in new stack
– Executing [[email protected]:43] Goto(“SIP/GXW4108-00000012”, “s,a37”) in new stack
– Goto (macro-dial,s,38)
– Executing [[email protected]:38] GotoIf(“SIP/GXW4108-00000012”, “0?huntstart”) in new stack
– Executing [[email protected]:39] Set(“SIP/GXW4108-00000012”, “CT_EXTEN=7902”) in new stack
– Executing [[email protected]:40] Set(“SIP/GXW4108-00000012”, “EXTTOCALL=7902”) in new stack
– Executing [[email protected]:41] Set(“SIP/GXW4108-00000012”, “DB(CALLTRACE/7902)=6193790281”) in new stack
– Executing [[email protected]:42] Set(“SIP/GXW4108-00000012”, “CTLoop=2”) in new stack
– Executing [[email protected]:43] Goto(“SIP/GXW4108-00000012”, “s,a37”) in new stack
– Goto (macro-dial,s,38)
– Executing [[email protected]:38] GotoIf(“SIP/GXW4108-00000012”, “1?huntstart”) in new stack
– Goto (macro-dial,s,44)
– Executing [[email protected]:44] NoOp(“SIP/GXW4108-00000012”, “Hunt Dial Start”) in new stack
– Executing [[email protected]:45] ExecIf(“SIP/GXW4108-00000012”, “0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)”) in new stack
– Executing [[email protected]:46] ExecIf(“SIP/GXW4108-00000012”, “0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)”) in new stack
– Executing [[email protected]:47] Macro(“SIP/GXW4108-00000012”, “dial-hunt-predial-hook,”) in new stack
– Executing [[email protected]:1] MacroExit(“SIP/GXW4108-00000012”, “”) in new stack
– Executing [[email protected]:48] Dial(“SIP/GXW4108-00000012”, “SIP/7900&SIP/7902,20,trM(auto-blkvm)b(func-apply-sipheaders^s^1),”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– SIP/7900-00000014 Internal Gosub(func-apply-sipheaders,s,1) start
– Executing [[email protected]:1] NoOp(“SIP/7900-00000014”, “Applying SIP Headers to channel”) in new stack
– Executing [[email protected]:2] Set(“SIP/7900-00000014”, “SIPHEADERKEYS=”) in new stack
– Executing [[email protected]:3] While(“SIP/7900-00000014”, “0”) in new stack
– Jumping to priority 6
– Executing [[email protected]:7] Return(“SIP/7900-00000014”, “”) in new stack
== Spawn extension (from-internal, 605, 1) exited non-zero on ‘SIP/7900-00000014’
– SIP/7900-00000014 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
– SIP/7902-00000015 Internal Gosub(func-apply-sipheaders,s,1) start
– Executing [[email protected]:1] NoOp(“SIP/7902-00000015”, “Applying SIP Headers to channel”) in new stack
– Executing [[email protected]:2] Set(“SIP/7902-00000015”, “SIPHEADERKEYS=”) in new stack
– Executing [[email protected]:3] While(“SIP/7902-00000015”, “0”) in new stack
– Jumping to priority 6
– Executing [[email protected]:7] Return(“SIP/7902-00000015”, “”) in new stack
== Spawn extension (from-internal, 605, 1) exited non-zero on ‘SIP/7902-00000015’
– SIP/7902-00000015 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
== Extension Changed 7900[ext-local] new state Ringing for Notify User 7902 (queued)
– Called SIP/7900
== Extension Changed 7902[ext-local] new state Ringing for Notify User 7900
– Called SIP/7902
– SIP/7902-00000015 connected line has changed. Saving it until answer for SIP/GXW4108-00000012
– SIP/7900-00000014 connected line has changed. Saving it until answer for SIP/GXW4108-00000012
– SIP/7902-00000015 is ringing
– SIP/7900-00000014 is ringing
== Extension Changed 7900[ext-local] new state Idle for Notify User 7902
== Extension Changed 7902[ext-local] new state Idle for Notify User 7900
== Spawn extension (macro-dial, s, 48) exited non-zero on ‘SIP/GXW4108-00000012’ in macro ‘dial’
== Spawn extension (ext-group, 605, 14) exited non-zero on ‘SIP/GXW4108-00000012’
– Executing [[email protected]:1] Macro(“SIP/GXW4108-00000012”, “hangupcall,”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/GXW4108-00000012”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [[email protected]:3] ExecIf(“SIP/GXW4108-00000012”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [[email protected]:4] Hangup(“SIP/GXW4108-00000012”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘SIP/GXW4108-00000012’ in macro ‘hangupcall’
== Spawn extension (ext-group, h, 1) exited non-zero on 'SIP/GXW4108-00000012’
localhost*CLI>

not sure if i found the issue for the ring group. in the gxw4108 there is a setting to drop the call if the voip extension didn’t pick up after 60 seconds, well my ring time for each member was 60sec. I increased the time but cant test till monday.

but the queue just stopped working after the first call was answered, i could see the next call enter the queue but wouldn’t ring the next member. that too may be a timing issue /CF set don’t know till a can do some testing monday.

but if anyone has other ideas for me to check chime in.

BINGO…That one setting in the gateway account call settings. If the VOIP didn’t answer in 20 seconds it hangs up.
didn’t give the ring group time to hit the next number because it to was set to 20 seconds. Set the gateway to 120 seconds and it seems to be working.