Hello everyone. So I have FreePBX 13.0.190.19. All my trunks are pjsip as I realize that ever since I installed this box I am having problems with sip trunks so I figured maybe this new version of asterisk does not like sip very well as I have spent an entire day trying to get sip trunks working which I used on elastix in the past, vicidial, and an older version of freepbx and everything work. But not on this version of freepbx. So I am back to using pjsip for all my trunks.
I have 2 analog trunks coming in via grandstream 4104 defined as 1001 and 1002.
I have 4 individial GSM Trunks to the pbx from openvox. Lets call them GSM1-4. I can place incoming calls and outgoing calls on any of the 6 trunks using different prefix for the trunk I want to dial out on.
If I receive a call on GSM1 I forward that call to extension 2150. If there is no answer I have follow me configured to call my cell number using trunk GSM2. The call does not go through. I see a message in the CLI that all circuits are busy now and the call just drops.
The strange thing is if I use one of my analog trunks from my grandstream device to send out the follow me call everything works. I just can’t figure out why it doesn’t work using my GSM Trunk.
Also if I dial from one extension to 2150 the call goes out using the follow me using GSM2.
Scenario 1: inbound call from cell number 734-7549 to 683-7425. Extension rings but follow me failed.
Some lines omitted because of limit.
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [6837425@from-pstn:1] Set("PJSIP/4824775-00000026", "__DIRECTION=INBOUND") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [6837425@from-pstn:2] Gosub("PJSIP/4824775-00000026", "sub-record-check,s,1(in,6837425,dontcare)") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [s@sub-record-check:1] GotoIf("PJSIP/4824775-00000026", "0?initialized") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [s@sub-record-check:2] Set("PJSIP/4824775-00000026", "__REC_STATUS=INITIALIZED") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [s@sub-record-check:3] Set("PJSIP/4824775-00000026", "NOW=1493079834") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [s@sub-record-check:4] Set("PJSIP/4824775-00000026", "__DAY=24") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [s@sub-record-check:5] Set("PJSIP/4824775-00000026", "__MONTH=04") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [s@sub-record-check:6] Set("PJSIP/4824775-00000026", "__YEAR=2017") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [s@sub-record-check:7] Set("PJSIP/4824775-00000026", "__TIMESTR=20170424-202354") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [s@sub-record-check:8] Set("PJSIP/4824775-00000026", "__FROMEXTEN=unknown") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [s@sub-record-check:9] Set("PJSIP/4824775-00000026", "__MON_FMT=wav") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [s@sub-record-check:10] NoOp("PJSIP/4824775-00000026", "Recordings initialized") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [s@sub-record-check:11] ExecIf("PJSIP/4824775-00000026", "0?Set(ARG3=dontcare)") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [s@sub-record-check:12] Set("PJSIP/4824775-00000026", "REC_POLICY_MODE_SAVE=") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [s@sub-record-check:13] ExecIf("PJSIP/4824775-00000026", "0?Set(REC_STATUS=NO)") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [s@sub-record-check:14] GotoIf("PJSIP/4824775-00000026", "2?checkaction") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx_builtins.c: Goto (sub-record-check,s,17)
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [s@sub-record-check:17] GotoIf("PJSIP/4824775-00000026", "1?sub-record-check,in,1") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx_builtins.c: Goto (sub-record-check,in,1)
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [in@sub-record-check:1] NoOp("PJSIP/4824775-00000026", "Inbound Recording Check to 6837425") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [in@sub-record-check:2] Set("PJSIP/4824775-00000026", "FROMEXTEN=unknown") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [in@sub-record-check:3] ExecIf("PJSIP/4824775-00000026", "7?Set(FROMEXTEN=6837425)") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [in@sub-record-check:4] Gosub("PJSIP/4824775-00000026", "recordcheck,1(dontcare,in,6837425)") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp("PJSIP/4824775-00000026", "Starting recording check against dontcare") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [recordcheck@sub-record-check:2] Goto("PJSIP/4824775-00000026", "dontcare") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx_builtins.c: Goto (sub-record-check,recordcheck,3)
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [recordcheck@sub-record-check:3] Return("PJSIP/4824775-00000026", "") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [in@sub-record-check:5] Return("PJSIP/4824775-00000026", "") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [6837425@from-pstn:3] Gosub("PJSIP/4824775-00000026", "app-blacklist-check,s,1()") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [s@app-blacklist-check:1] GotoIf("PJSIP/4824775-00000026", "0?blacklisted") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [s@app-blacklist-check:2] Set("PJSIP/4824775-00000026", "CALLED_BLACKLIST=1") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [s@app-blacklist-check:3] Return("PJSIP/4824775-00000026", "") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [6837425@from-pstn:4] Set("PJSIP/4824775-00000026", "__FROM_DID=6837425") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [6837425@from-pstn:5] Set("PJSIP/4824775-00000026", "CDR(did)=6837425") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [6837425@from-pstn:6] ExecIf("PJSIP/4824775-00000026", "0 ?Set(CALLERID(name)=6837425)") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [6837425@from-pstn:7] Set("PJSIP/4824775-00000026", "__MOHCLASS=") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [6837425@from-pstn:8] Set("PJSIP/4824775-00000026", "__REVERSAL_REJECT=FALSE") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [6837425@from-pstn:9] GotoIf("PJSIP/4824775-00000026", "1?post-reverse-charge") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [2150@followme-sub:2] Set("PJSIP/4824775-00000026", "DIAL_OPTIONS=TtrI") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [2150@followme-sub:3] Set("PJSIP/4824775-00000026", "CONNECTEDLINE(num,i)=2150") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [2150@followme-sub:4] Gosub("PJSIP/4824775-00000026", "sub-presencestate-display,s,1(2150)") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [s@sub-presencestate-display:1] Goto("PJSIP/4824775-00000026", "state-not_set,1") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx_builtins.c: Goto (sub-presencestate-display,state-not_set,1)
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [state-not_set@sub-presencestate-display:1] Set("PJSIP/4824775-00000026", "PRESENCESTATE_DISPLAY=") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [state-not_set@sub-presencestate-display:2] Return("PJSIP/4824775-00000026", "") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [2150@followme-sub:5] Set("PJSIP/4824775-00000026", "CONNECTEDLINE(name)=The Boss") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [2150@followme-sub:6] Set("PJSIP/4824775-00000026", "FM_DIALSTATUS=NOT_INUSE") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [2150@followme-sub:7] Set("PJSIP/4824775-00000026", "__EXTTOCALL=2150") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [2150@followme-sub:8] Set("PJSIP/4824775-00000026", "__PICKUPMARK=2150") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [2150@followme-sub:9] Macro("PJSIP/4824775-00000026", "blkvm-setifempty,") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [s@macro-blkvm-setifempty:1] GotoIf("PJSIP/4824775-00000026", "1?init") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [2150@followme-sub:10] GotoIf("PJSIP/4824775-00000026", "1?skipov") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx_builtins.c: Goto (followme-sub,2150,13)
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [2150@followme-sub:13] Set("PJSIP/4824775-00000026", "RRNODEST=") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [2150@followme-sub:14] Set("PJSIP/4824775-00000026", "__NODEST=2150") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [2150@followme-sub:15] GosubIf("PJSIP/4824775-00000026", "0?sub-fmsetcid,s,1()") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [2150@followme-sub:16] GotoIf("PJSIP/4824775-00000026", "1?skipprepend") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx_builtins.c: Goto (followme-sub,2150,18)
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [2150@followme-sub:18] Set("PJSIP/4824775-00000026", "RecordMethod=Group") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [2150@followme-sub:19] Gosub("PJSIP/4824775-00000026", "sub-record-check,s,1(exten,2150,)") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [s@sub-record-check:1] GotoIf("PJSIP/4824775-00000026", "7?initialized") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx_builtins.c: Goto (sub-record-check,s,10)
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [2150@followme-sub:23] Set("PJSIP/4824775-00000026", "STRATEGY=ringall-prim") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [2150@followme-sub:24] Set("PJSIP/4824775-00000026", "RVOL=") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [2150@followme-sub:25] GotoIf("PJSIP/4824775-00000026", "0?skipsimple") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [2150@followme-sub:26] GotoIf("PJSIP/4824775-00000026", "0 ?skipsimple") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [2150@followme-sub:27] Macro("PJSIP/4824775-00000026", "simple-dial,2150,7") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [s@macro-simple-dial:1] Set("PJSIP/4824775-00000026", "__EXTTOCALL=2150") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [s@macro-simple-dial:2] Set("PJSIP/4824775-00000026", "RT=7") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [s@macro-simple-dial:3] Set("PJSIP/4824775-00000026", "CFUEXT=") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [s@macro-simple-dial:4] Set("PJSIP/4824775-00000026", "CFBEXT=") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [s@macro-simple-dial:5] Set("PJSIP/4824775-00000026", "CWI_TMP=") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [s@macro-simple-dial:6] Macro("PJSIP/4824775-00000026", "dial-one,7,TtrI,2150") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [s@macro-dial-one:1] Set("PJSIP/4824775-00000026", "DEXTEN=2150") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [s@macro-dial-one:2] ExecIf("PJSIP/4824775-00000026", "0?Set(EXTTOCALL=2150)") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [s@macro-dial-one:3] Set("PJSIP/4824775-00000026", "DIALSTATUS_CW=") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [s@macro-dial-one:4] GosubIf("PJSIP/4824775-00000026", "0?screen,1()") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [s@macro-dial-one:5] GosubIf("PJSIP/4824775-00000026", "0?cf,1()") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx.c: Executing [s@macro-dial-one:6] GotoIf("PJSIP/4824775-00000026", "1?skip1") in new stack
[2017-04-24 20:23:54] VERBOSE[16141][C-00000017] pbx_builtins.c: Goto (macro-dial-one,s,9)
**[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] res_agi.c: dialparties.agi: Caller ID name is '+18687347549' number is '6837425'**
**[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] res_agi.c: dialparties.agi: CW Ignore is:**
**[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] res_agi.c: dialparties.agi: CF Ignore is:**
**[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] res_agi.c: dialparties.agi: CW IN_USE/BUSY is: 1**
**[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] res_agi.c: dialparties.agi: Methodology of ring is 'ringall-prim'**
**[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] res_agi.c: dialparties.agi: Added extension 2150 to extension map**
**[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] res_agi.c: dialparties.agi: Added extension 423366028# to extension map**
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] res_agi.c: dialparties.agi: Extension 2150 cf is disabled
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] res_agi.c: dialparties.agi: Extension 423366028# cf is disabled
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] res_agi.c: dialparties.agi: Extension 2150 do not disturb is disabled
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] res_agi.c: dialparties.agi: EXTENSION_STATE: 0 (NOT_INUSE)
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] res_agi.c: dialparties.agi: Extension 2150 has ExtensionState: 0
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] res_agi.c: dialparties.agi: Discovered PJSIP Endpoint PJSIP/2150
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] res_agi.c: dialparties.agi: Ended up with real PJSIP Dial string PJSIP/2150/sip:[email protected]:5060
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] res_agi.c: dialparties.agi: dbset CALLTRACE/2150 to 6837425
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] res_agi.c: dialparties.agi: Filtered ARG3: 2150-423366028
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] res_agi.c: <PJSIP/4824775-00000026>AGI Script dialparties.agi completed, returning 0
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] pbx.c: Executing [s@macro-dial:9] NoOp("PJSIP/4824775-00000026", "Returned from dialparties with groups to dial") in new stack
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] pbx.c: Executing [s@macro-dial:10] Set("PJSIP/4824775-00000026", "LOOPCNT=2") in new stack
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] pbx.c: Executing [s@macro-dial:11] Set("PJSIP/4824775-00000026", "ITER=1") in new stack
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] pbx.c: Executing [s@macro-dial:12] Set("PJSIP/4824775-00000026", "EXTTOCALL=2150") in new stack
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] pbx.c: Executing [s@macro-dial:13] NoOp("PJSIP/4824775-00000026", "Working with 2150") in new stack
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] pbx.c: Executing [s@macro-dial:14] ExecIf("PJSIP/4824775-00000026", "0?Set(HASH(__SIPHEADERS,Alert-Info)=;volume=)") in new stack
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] pbx.c: Executing [s@macro-dial:15] ExecIf("PJSIP/4824775-00000026", "0?Set(HASH(__SIPHEADERS,Alert-Info)=;volume=)") in new stack
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] pbx.c: Executing [s@macro-dial:16] Set("PJSIP/4824775-00000026", "ITER=2") in new stack
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] pbx.c: Executing [s@macro-dial:17] GotoIf("PJSIP/4824775-00000026", "1?ndloopbegin") in new stack
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] pbx_builtins.c: Goto (macro-dial,s,12)
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] pbx.c: Executing [s@macro-dial:12] Set("PJSIP/4824775-00000026", "EXTTOCALL=423366028") in new stack
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] pbx.c: Executing [s@macro-dial:13] NoOp("PJSIP/4824775-00000026", "Working with 423366028") in new stack
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] pbx.c: Executing [s@macro-dial:14] ExecIf("PJSIP/4824775-00000026", "0?Set(HASH(__SIPHEADERS,Alert-Info)=;volume=)") in new stack
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] pbx.c: Executing [s@macro-dial:15] ExecIf("PJSIP/4824775-00000026", "0?Set(HASH(__SIPHEADERS,Alert-Info)=;volume=)") in new stack
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] pbx.c: Executing [s@macro-dial:16] Set("PJSIP/4824775-00000026", "ITER=3") in new stack
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] pbx.c: Executing [s@macro-dial:17] GotoIf("PJSIP/4824775-00000026", "0?ndloopbegin") in new stack
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] pbx.c: Executing [s@macro-dial:18] Macro("PJSIP/4824775-00000026", "dial-ringall-predial-hook,") in new stack
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] pbx.c: Executing [s@macro-dial-ringall-predial-hook:1] MacroExit("PJSIP/4824775-00000026", "") in new stack
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] pbx.c: Executing [s@macro-dial:19] Dial("PJSIP/4824775-00000026", "PJSIP/2150/sip:[email protected]:5060&Local/423366028@from-internal/n,20,trIM(auto-blkvm)b(func-apply-sipheaders^s^1),") in new stack
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] app_stack.c: PJSIP/2150-00000028 Internal Gosub(func-apply-sipheaders,s,1) start
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] pbx.c: Executing [s@func-apply-sipheaders:1] NoOp("PJSIP/2150-00000028", "Applying SIP Headers to channel") in new stack
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] pbx.c: Executing [s@func-apply-sipheaders:2] Set("PJSIP/2150-00000028", "SIPHEADERKEYS=") in new stack
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] pbx.c: Executing [s@func-apply-sipheaders:3] While("PJSIP/2150-00000028", "0") in new stack
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] app_while.c: Jumping to priority 7
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] pbx.c: Executing [s@func-apply-sipheaders:8] Return("PJSIP/2150-00000028", "") in new stack
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] app_stack.c: Spawn extension (from-internal, 2150, 1) exited non-zero on 'PJSIP/2150-00000028'
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] app_stack.c: PJSIP/2150-00000028 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] app_stack.c: Local/423366028@from-internal-00000006;1 Internal Gosub(func-apply-sipheaders,s,1) start
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] pbx.c: Executing [s@func-apply-sipheaders:1] NoOp("Local/423366028@from-internal-00000006;1", "Applying SIP Headers to channel") in new stack
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] pbx.c: Executing [s@func-apply-sipheaders:2] Set("Local/423366028@from-internal-00000006;1", "SIPHEADERKEYS=") in new stack
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] pbx.c: Executing [s@func-apply-sipheaders:3] While("Local/423366028@from-internal-00000006;1", "0") in new stack
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] app_while.c: Jumping to priority 7
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] pbx.c: Executing [s@func-apply-sipheaders:8] Return("Local/423366028@from-internal-00000006;1", "") in new stack
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] app_stack.c: Spawn extension (from-internal, 2150, 1) exited non-zero on 'Local/423366028@from-internal-00000006;1'
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] app_stack.c: Local/423366028@from-internal-00000006;1 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] app_dial.c: Called PJSIP/2150/sip:[email protected]:5060
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] app_dial.c: Called Local/423366028@from-internal/n
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] app_dial.c: Connected line update to PJSIP/4824775-00000026 prevented.
[2017-04-24 20:24:02] VERBOSE[16183][C-00000017] pbx.c: Executing [423366028@from-internal:1] Macro("Local/423366028@from-internal-00000006;2", "user-callerid,LIMIT,EXTERNAL,") in new stack
[2017-04-24 20:24:02] VERBOSE[16183][C-00000017] pbx.c: Executing [s@macro-user-callerid:1] Set("Local/423366028@from-internal-00000006;2", "TOUCH_MONITOR=1493079842.54") in new stack
[2017-04-24 20:24:02] VERBOSE[16183][C-00000017] pbx.c: Executing [s@macro-user-callerid:2] Set("Local/423366028@from-internal-00000006;2", "AMPUSER=6837425") in new stack
[2017-04-24 20:24:02] VERBOSE[16183][C-00000017] pbx.c: Executing [s@macro-user-callerid:3] GotoIf("Local/423366028@from-internal-00000006;2", "0?report") in new stack
[2017-04-24 20:24:02] VERBOSE[16183][C-00000017] pbx.c: Executing [s@macro-user-callerid:4] ExecIf("Local/423366028@from-internal-00000006;2", "1?Set(REALCALLERIDNUM=6837425)") in new stack
[2017-04-24 20:24:02] VERBOSE[16183][C-00000017] pbx.c: Executing [s@macro-user-callerid:5] Set("Local/423366028@from-internal-00000006;2", "AMPUSER=") in new stack
[2017-04-24 20:24:02] VERBOSE[16183][C-00000017] pbx.c: Executing [s@macro-user-callerid:6] GotoIf("Local/423366028@from-internal-00000006;2", "0?limit") in new stack
[2017-04-24 20:24:02] VERBOSE[16183][C-00000017] pbx.c: Executing [s@macro-user-callerid:7] Set("Local/423366028@from-internal-00000006;2", "AMPUSERCIDNAME=") in new stack
[2017-04-24 20:24:02] VERBOSE[16183][C-00000017] pbx.c: Executing [s@macro-user-callerid:8] GotoIf("Local/423366028@from-internal-00000006;2", "1?report") in new stack
[2017-04-24 20:24:02] VERBOSE[16183][C-00000017] pbx_builtins.c: Goto (macro-user-callerid,s,15)
[2017-04-24 20:24:02] VERBOSE[16183][C-00000017] pbx.c: Executing [s@macro-user-callerid:15] GotoIf("Local/423366028@from-internal-00000006;2", "1?continue") in new stack
[2017-04-24 20:24:02] VERBOSE[16183][C-00000017] pbx_builtins.c: Goto (macro-user-callerid,s,29)
[2017-04-24 20:24:02] VERBOSE[16183][C-00000017] pbx.c: Executing [s@macro-user-callerid:29] Set("Local/423366028@from-internal-00000006;2", "CALLERID(number)=6837425") in new stack
[2017-04-24 20:24:02] VERBOSE[16183][C-00000017] pbx.c: Executing [s@macro-user-callerid:30] Set("Local/423366028@from-internal-00000006;2", "CALLERID(name)=+18687347549") in new stack
[2017-04-24 20:24:02] VERBOSE[16183][C-00000017] pbx.c: Executing [s@macro-user-callerid:31] GotoIf("Local/423366028@from-internal-00000006;2", "0?cnum") in new stack
[2017-04-24 20:24:02] VERBOSE[16183][C-00000017] pbx.c: Executing [s@macro-user-callerid:32] Set("Local/423366028@from-internal-00000006;2", "CDR(cnam)=+18687347549") in new stack
[2017-04-24 20:24:02] VERBOSE[16183][C-00000017] pbx.c: Executing [s@macro-user-callerid:33] Set("Local/423366028@from-internal-00000006;2", "CDR(cnum)=6837425") in new stack
[2017-04-24 20:24:02] VERBOSE[16183][C-00000017] pbx.c: Executing [s@macro-user-callerid:34] Set("Local/423366028@from-internal-00000006;2", "CHANNEL(language)=en") in new stack
[2017-04-24 20:24:02] VERBOSE[16183][C-00000017] pbx.c: Executing [423366028@from-internal:2] Gosub("Local/423366028@from-internal-00000006;2", "sub-record-check,s,1(out,423366028,dontcare)") in new stack
[2017-04-24 20:24:02] VERBOSE[16183][C-00000017] pbx.c: Executing [s@sub-record-check:1] GotoIf("Local/423366028@from-internal-00000006;2", "0?initialized") in new stack
[2017-04-24 20:24:02] VERBOSE[16183][C-00000017] pbx.c: Executing [s@sub-record-check:2] Set("Local/423366028@from-internal-00000006;2", "__REC_STATUS=INITIALIZED") in new stack
[2017-04-24 20:24:02] VERBOSE[16183][C-00000017] pbx.c: Executing [s@sub-record-check:3] Set("Local/423366028@from-internal-00000006;2", "NOW=1493079842") in new stack
[2017-04-24 20:24:02] VERBOSE[16183][C-00000017] pbx.c: Executing [s@sub-record-check:4] Set("Local/423366028@from-internal-00000006;2", "__DAY=24") in new stack
[2017-04-24 20:24:02] VERBOSE[16183][C-00000017] pbx.c: Executing [s@sub-record-check:5] Set("Local/423366028@from-internal-00000006;2", "__MONTH=04") in new stack
[2017-04-24 20:24:02] VERBOSE[16183][C-00000017] pbx.c: Executing [s@sub-record-check:6] Set("Local/423366028@from-internal-00000006;2", "__YEAR=2017") in new stack
[2017-04-24 20:24:02] VERBOSE[16183][C-00000017] pbx.c: Executing [s@sub-record-check:7] Set("Local/423366028@from-internal-00000006;2", "__TIMESTR=20170424-202402") in new stack
[2017-04-24 20:24:02] VERBOSE[16183][C-00000017] pbx.c: Executing [s@sub-record-check:8] Set("Local/423366028@from-internal-00000006;2", "__FROMEXTEN=6837425") in new stack
[2017-04-24 20:24:02] VERBOSE[16183][C-00000017] pbx.c: Executing [s@sub-record-check:9] Set("Local/423366028@from-internal-00000006;2", "__MON_FMT=wav") in new stack
[2017-04-24 20:24:02] VERBOSE[16183][C-00000017] pbx.c: Executing [s@sub-record-check:10] NoOp("Local/423366028@from-internal-00000006;2", "Recordings initialized") in new stack
[2017-04-24 20:24:02] VERBOSE[16183][C-00000017] pbx.c: Executing [423366028@from-internal:8] Macro("Local/423366028@from-internal-00000006;2", "outisbusy,") in new stack
[2017-04-24 20:24:02] VERBOSE[16183][C-00000017] pbx.c: Executing [s@macro-outisbusy:1] Progress("Local/423366028@from-internal-00000006;2", "") in new stack
[2017-04-24 20:24:02] VERBOSE[16183][C-00000017] pbx.c: Executing [s@macro-outisbusy:2] GotoIf("Local/423366028@from-internal-00000006;2", "0?emergency,1") in new stack
[2017-04-24 20:24:02] VERBOSE[16183][C-00000017] pbx.c: Executing [s@macro-outisbusy:3] GotoIf("Local/423366028@from-internal-00000006;2", "0?intracompany,1") in new stack
[2017-04-24 20:24:02] VERBOSE[16141][C-00000017] app_dial.c: Local/423366028@from-internal-00000006;1 is making progress passing it to PJSIP/4824775-00000026
[2017-04-24 20:24:02] VERBOSE[16183][C-00000017] pbx.c: Executing [s@macro-outisbusy:4] Playback("Local/423366028@from-internal-00000006;2", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
[2017-04-24 20:24:02] VERBOSE[16183][C-00000017] file.c: <Local/423366028@from-internal-00000006;2> Playing 'all-circuits-busy-now.ulaw' (language 'en')
[2017-04-24 20:24:04] VERBOSE[16183][C-00000017] file.c: <Local/423366028@from-internal-00000006;2> Playing 'pls-try-call-later.ulaw' (language 'en')
[2017-04-24 20:24:06] VERBOSE[16183][C-00000017] pbx.c: Executing [s@macro-outisbusy:5] Congestion("Local/423366028@from-internal-00000006;2", "20") in new stack
[2017-04-24 20:24:06] VERBOSE[16141][C-00000017] app_dial.c: Local/423366028@from-internal-00000006;1 is circuit-busy
[2017-04-24 20:24:06] WARNING[16183][C-00000017] channel.c: Prodding channel 'Local/423366028@from-internal-00000006;2' failed
[2017-04-24 20:24:06] VERBOSE[16183][C-00000017] app_macro.c: Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'Local/423366028@from-internal-00000006;2' in macro 'outisbusy'
[2017-04-24 20:24:06] VERBOSE[16183][C-00000017] pbx.c: Spawn extension (from-internal, 423366028, 8) exited non-zero on 'Local/423366028@from-internal-00000006;2'
[2017-04-24 20:24:06] VERBOSE[16183][C-00000017] pbx.c: Executing [h@from-internal:1] Macro("Local/423366028@from-internal-00000006;2", "hangupcall") in new stack
[2017-04-24 20:24:06] VERBOSE[16183][C-00000017] pbx.c: Executing [s@macro-hangupcall:1] GotoIf("Local/423366028@from-internal-00000006;2", "1?theend") in new stack
[2017-04-24 20:24:06] VERBOSE[16183][C-00000017] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2017-04-24 20:24:06] VERBOSE[16183][C-00000017] pbx.c: Executing [s@macro-hangupcall:3] ExecIf("Local/423366028@from-internal-00000006;2", "0?Set(CDR(recordingfile)=)") in new stack
[2017-04-24 20:24:06] VERBOSE[16183][C-00000017] pbx.c: Executing [s@macro-hangupcall:4] Hangup("Local/423366028@from-internal-00000006;2", "") in new stack
[2017-04-24 20:24:06] VERBOSE[16183][C-00000017] app_macro.c: Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'Local/423366028@from-internal-00000006;2' in macro 'hangupcall'
[2017-04-24 20:24:06] VERBOSE[16183][C-00000017] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on 'Local/423366028@from-internal-00000006;2'
[2017-04-24 20:24:07] VERBOSE[16141][C-00000017] app_macro.c: Spawn extension (macro-dial, s, 19) exited non-zero on 'PJSIP/4824775-00000026' in macro 'dial'
[2017-04-24 20:24:07] VERBOSE[16141][C-00000017] pbx.c: Spawn extension (followme-sub, 2150, 37) exited non-zero on 'PJSIP/4824775-00000026'
Scenario 2: Call from extension 3367 to extension 2150 – Follow-me to cell number 336-6028 works outgoing on GSM2.
Scenario 3. Follow me trunk set to analog trunk. Call rings through to follow me number.
Can anyone help me in determining why it not working on my GSM Trunk. What am I missing ?