Hey, whatup! I am new here so if i am providing the wrong information or asking it wrong i apologize. So ive been able to work though a good amount of issues and feel comfortable setting up a basic setup. (no paid modules, CLI update, manually setting up trunks in/outbound routes and extensions, Nat and Firewall issues, remote client, CLI debugging…)
So i bring it up at work the other day and my boss asks me to fix a clients setup. I would appreciate some wisdom from someone more experienced before i make any decisions. The tiny differences in versions combined with the flood of ‘answers’ online point to the only solution… Join the FreePBX forums and get some help from someone knowledgeable instead of trying to plug in answers from other peoples questions … no matter how similar they may look.
Their setup! So the client runs an ‘organic’ pizza place. They have two locations with two PBX systems (sadly different versions!) Both are using pfSense as a firewall. The system was running fine until one location switched ISP’s. Now when calling the 1800 number it gives you two options. Location A and Location B. They also have their own local area code numbers configured too. Calling the 1800 number and selecting Option TWO will drop the call.
I think it has something to do with the caller ID being passed between the two PBX systems.
Verbosity was 0 and is now 6
== CDR updated on SIP/dt-[COUCHTOMWC]-0000000e
-- Executing [2@ivr-7:1] Goto("SIP/dt-[COUCHTOMWC]-0000000e", "ext-miscdests,6,1") in new stack
-- Goto (ext-miscdests,6,1)
-- Executing [6@ext-miscdests:1] NoOp("SIP/dt-[COUCHTOMWC]-0000000e", "MiscDest: Mobile-Web-Number-2-West-Chester") in new stack
-- Executing [6@ext-miscdests:2] Goto("SIP/dt-[COUCHTOMWC]-0000000e", "from-internal,8001,1") in new stack
-- Goto (from-internal,8001,1)
-- Executing [8001@from-internal:1] Macro("SIP/dt-[COUCHTOMWC]-0000000e", "user-callerid,LIMIT,EXTERNAL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/dt-[COUCHTOMWC]-0000000e", "TOUCH_MONITOR=1534913595.123") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/dt-[COUCHTOMWC]-0000000e", "AMPUSER=[MYCELLPHON]") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/dt-[COUCHTOMWC]-0000000e", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/dt-[COUCHTOMWC]-0000000e", "1?Set(REALCALLERIDNUM=[MYCELLPHON])") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/dt-[COUCHTOMWC]-0000000e", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/dt-[COUCHTOMWC]-0000000e", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/dt-[COUCHTOMWC]-0000000e", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/dt-[COUCHTOMWC]-0000000e", "1?report") in new stack
-- Goto (macro-user-callerid,s,16)
-- Executing [s@macro-user-callerid:16] GotoIf("SIP/dt-[COUCHTOMWC]-0000000e", "1?continue") in new stack
-- Goto (macro-user-callerid,s,29)
-- Executing [s@macro-user-callerid:29] Set("SIP/dt-[COUCHTOMWC]-0000000e", "CALLERID(number)=[MYCELLPHON]") in new stack
-- Executing [s@macro-user-callerid:30] Set("SIP/dt-[COUCHTOMWC]-0000000e", "CALLERID(name)=[MYCELLPHON]") in new stack
-- Executing [s@macro-user-callerid:31] Set("SIP/dt-[COUCHTOMWC]-0000000e", "CDR(cnum)=[MYCELLPHON]") in new stack
-- Executing [s@macro-user-callerid:32] Set("SIP/dt-[COUCHTOMWC]-0000000e", "CDR(cnam)=[MYCELLPHON]") in new stack
-- Executing [s@macro-user-callerid:33] Set("SIP/dt-[COUCHTOMWC]-0000000e", "CHANNEL(language)=en") in new stack
-- Executing [8001@from-internal:2] Set("SIP/dt-[COUCHTOMWC]-0000000e", "INTRACOMPANYROUTE=YES") in new stack
-- Executing [8001@from-internal:3] Set("SIP/dt-[COUCHTOMWC]-0000000e", "MOHCLASS=default") in new stack
-- Executing [8001@from-internal:4] Set("SIP/dt-[COUCHTOMWC]-0000000e", "_NODEST=") in new stack
-- Executing [8001@from-internal:5] Gosub("SIP/dt-[COUCHTOMWC]-0000000e", "sub-record-check,s,1(out,8001,)") in new stack
-- Executing [s@sub-record-check:1] Set("SIP/dt-[COUCHTOMWC]-0000000e", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:2] GotoIf("SIP/dt-[COUCHTOMWC]-0000000e", "1?check") in new stack
-- Goto (sub-record-check,s,7)
-- Executing [s@sub-record-check:7] Set("SIP/dt-[COUCHTOMWC]-0000000e", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:8] GotoIf("SIP/dt-[COUCHTOMWC]-0000000e", "1?next") in new stack
-- Goto (sub-record-check,s,11)
-- Executing [s@sub-record-check:11] ExecIf("SIP/dt-[COUCHTOMWC]-0000000e", "0?Return()") in new stack
-- Executing [s@sub-record-check:12] ExecIf("SIP/dt-[COUCHTOMWC]-0000000e", "0?Set(__REC_POLICY_MODE=)") in new stack
-- Executing [s@sub-record-check:13] GotoIf("SIP/dt-[COUCHTOMWC]-0000000e", "0?out,1") in new stack
-- Executing [s@sub-record-check:14] Set("SIP/dt-[COUCHTOMWC]-0000000e", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:15] Set("SIP/dt-[COUCHTOMWC]-0000000e", "NOW=1534913610") in new stack
-- Executing [s@sub-record-check:16] Set("SIP/dt-[COUCHTOMWC]-0000000e", "__DAY=22") in new stack
-- Executing [s@sub-record-check:17] Set("SIP/dt-[COUCHTOMWC]-0000000e", "__MONTH=08") in new stack
-- Executing [s@sub-record-check:18] Set("SIP/dt-[COUCHTOMWC]-0000000e", "__YEAR=2018") in new stack
-- Executing [s@sub-record-check:19] Set("SIP/dt-[COUCHTOMWC]-0000000e", "__TIMESTR=20180822-005330") in new stack
-- Executing [s@sub-record-check:20] Set("SIP/dt-[COUCHTOMWC]-0000000e", "__FROMEXTEN=[MYCELLPHON]") in new stack
-- Executing [s@sub-record-check:21] Set("SIP/dt-[COUCHTOMWC]-0000000e", "__CALLFILENAME=out-8001-[MYCELLPHON]-20180822-005330-1534913595.123") in new stack
-- Executing [s@sub-record-check:22] Goto("SIP/dt-[COUCHTOMWC]-0000000e", "out,1") in new stack
-- Goto (sub-record-check,out,1)
-- Executing [out@sub-record-check:1] ExecIf("SIP/dt-[COUCHTOMWC]-0000000e", "1?Set(__REC_POLICY_MODE=)") in new stack
-- Executing [out@sub-record-check:2] GosubIf("SIP/dt-[COUCHTOMWC]-0000000e", "0?record,1(exten,8001,[MYCELLPHON])") in new stack
-- Executing [out@sub-record-check:3] Return("SIP/dt-[COUCHTOMWC]-0000000e", "") in new stack
-- Executing [8001@from-internal:6] Macro("SIP/dt-[COUCHTOMWC]-0000000e", "dialout-trunk,4,8001,,off") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/dt-[COUCHTOMWC]-0000000e", "DIAL_TRUNK=4") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/dt-[COUCHTOMWC]-0000000e", "0?sub-pincheck,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/dt-[COUCHTOMWC]-0000000e", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/dt-[COUCHTOMWC]-0000000e", "DIAL_NUMBER=8001") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/dt-[COUCHTOMWC]-0000000e", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/dt-[COUCHTOMWC]-0000000e", "OUTBOUND_GROUP=OUT_4") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/dt-[COUCHTOMWC]-0000000e", "0?nomax") in new stack
-- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/dt-[COUCHTOMWC]-0000000e", "0?chanfull") in new stack
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/dt-[COUCHTOMWC]-0000000e", "1?skipoutcid") in new stack
-- Goto (macro-dialout-trunk,s,12)
-- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/dt-[COUCHTOMWC]-0000000e", "0?sub-flp-4,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/dt-[COUCHTOMWC]-0000000e", "OUTNUM=8001") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/dt-[COUCHTOMWC]-0000000e", "custom=IAX2/inter-company-iax") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/dt-[COUCHTOMWC]-0000000e", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Ttr)") in new stack
-- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/dt-[COUCHTOMWC]-0000000e", "0?Set(DIAL_TRUNK_OPTIONS=TtrM(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:17] Macro("SIP/dt-[COUCHTOMWC]-0000000e", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/dt-[COUCHTOMWC]-0000000e", "") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/dt-[COUCHTOMWC]-0000000e", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/dt-[COUCHTOMWC]-0000000e", "0?Set(CONNECTEDLINE(num,i)=8001)") in new stack
-- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/dt-[COUCHTOMWC]-0000000e", "0?Set(CONNECTEDLINE(name,i)=CID:[MYCELLPHON])") in new stack
-- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/dt-[COUCHTOMWC]-0000000e", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:22] Dial("SIP/dt-[COUCHTOMWC]-0000000e", "IAX2/inter-company-iax/8001,300,Ttr") in new stack
-- Called IAX2/inter-company-iax/8001
-- Call accepted by 10.0.0.2 (format ulaw)
-- Format for call is ulaw
-- IAX2/inter-company-iax-19368 is making progress passing it to SIP/dt-[COUCHTOMWC]-0000000e
-- IAX2/inter-company-iax-19368 is making progress passing it to SIP/dt-[COUCHTOMWC]-0000000e
-- IAX2/inter-company-iax-19368 is circuit-busy
-- Hungup 'IAX2/inter-company-iax-19368'
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing [s@macro-dialout-trunk:23] NoOp("SIP/dt-[COUCHTOMWC]-0000000e", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 34") in new stack
-- Executing [s@macro-dialout-trunk:24] GotoIf("SIP/dt-[COUCHTOMWC]-0000000e", "0?continue,1:s-CONGESTION,1") in new stack
-- Goto (macro-dialout-trunk,s-CONGESTION,1)
-- Executing [s-CONGESTION@macro-dialout-trunk:1] Set("SIP/dt-[COUCHTOMWC]-0000000e", "RC=34") in new stack
-- Executing [s-CONGESTION@macro-dialout-trunk:2] Goto("SIP/dt-[COUCHTOMWC]-0000000e", "34,1") in new stack
-- Goto (macro-dialout-trunk,34,1)
-- Executing [34@macro-dialout-trunk:1] Goto("SIP/dt-[COUCHTOMWC]-0000000e", "continue,1") in new stack
-- Goto (macro-dialout-trunk,continue,1)
-- Executing [continue@macro-dialout-trunk:1] NoOp("SIP/dt-[COUCHTOMWC]-0000000e", "TRUNK Dial failed due to CONGESTiON HANGUPCAUSE: 34 - failing through to other trunks") in new stack
-- Executing [continue@macro-dialout-trunk:2] Set("SIP/dt-[COUCHTOMWC]-0000000e", "CALLERID(number)=") in new stack
-- Executing [8001@from-internal:7] Macro("SIP/dt-[COUCHTOMWC]-0000000e", "outisbusy,") in new stack
-- Executing [s@macro-outisbusy:1] Progress("SIP/dt-[COUCHTOMWC]-0000000e", "") in new stack
-- Executing [s@macro-outisbusy:2] GotoIf("SIP/dt-[COUCHTOMWC]-0000000e", "0?emergency,1") in new stack
-- Executing [s@macro-outisbusy:3] GotoIf("SIP/dt-[COUCHTOMWC]-0000000e", "1?intracompany,1") in new stack
-- Goto (macro-outisbusy,intracompany,1)
-- Executing [intracompany@macro-outisbusy:1] Playback("SIP/dt-[COUCHTOMWC]-0000000e", "all-circuits-busy-now&pls-tRy-call-later, noanswer") in new stack
-- <SIP/dt-[COUCHTOMWC]-0000000e> Playing 'all-circuits-busy-now.ulaw' (language 'en')
-- <SIP/dt-[COUCHTOMWC]-0000000e> Playing 'pls-try-call-later.ulaw' (language 'en')
-- Executing [intracompany@macro-outisbusy:2] Congestion("SIP/dt-[COUCHTOMWC]-0000000e", "20") in new stack
localhost*CLI> core set verbose 0