IAX Exntesions Connection Error

Hi,

I’m trying to connect 2 PBXes using IAX2. Here’s what I reached:

1- I have created an outbound route on CloudPBX to PBX1. I have set the dial pattern to be a wildcard “.”. So all calls from any IVR on CloudPBX will go to PBX1.
2- I have created an IVR on CloudPBX and now it answers perfectly.
3- On PBX1 I have extensions 1101, 1102, 1103, 1104.
4- I need anyone who calls IVR on CloudPBX to:
*press 1, then it goes to 1101 on PBX1.
*press 2, then it goes to 1102 on PBX1.
*press 3, then it goes to 1103 on PBX1.
*press 4, then it goes to 1104 on PBX1.
5- Created a misc destination, dial pattern is IAX2/Cloud-JED/30.
6- Created an IVR entry, digit is 0, destination is misc destination/tech works operator.
7- When I place a test call, I get all circuits are busy.

I think IAX trunk is good:

cloudpbx*CLI> iax2 show peers
Name/Username Host Mask Port Status Description
Cloud-JED/pbx 209.159.151.198 (S) 255.255.255.255 4569 (T) (E) OK (205 ms)
1 iax2 peers [1 online, 0 offline, 0 unmonitored]

The logs are:
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [0@ivr-1:1] Goto(“SIP/voxbeam_inbound-00000210”, “ext-miscdests,1,1”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx_builtins.c: Goto (ext-miscdests,1,1)
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [1@ext-miscdests:1] NoOp(“SIP/voxbeam_inbound-00000210”, “MiscDest: Tech Works Operator”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [1@ext-miscdests:2] Goto(“SIP/voxbeam_inbound-00000210”, “from-internal,IAX2/Cloud-JED/30,1”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx_builtins.c: Goto (from-internal,IAX2/Cloud-JED/30,1)
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [IAX2/Cloud-JED/30@from-internal:1] Macro(“SIP/voxbeam_inbound-00000210”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-user-callerid:1] Set(“SIP/voxbeam_inbound-00000210”, “TOUCH_MONITOR=1497562305.529”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-user-callerid:2] Set(“SIP/voxbeam_inbound-00000210”, “AMPUSER=+966560555543”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-user-callerid:3] GotoIf(“SIP/voxbeam_inbound-00000210”, “0?report”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-user-callerid:4] ExecIf(“SIP/voxbeam_inbound-00000210”, “1?Set(REALCALLERIDNUM=+966560555543)”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-user-callerid:5] Set(“SIP/voxbeam_inbound-00000210”, “AMPUSER=”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-user-callerid:6] GotoIf(“SIP/voxbeam_inbound-00000210”, “0?limit”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-user-callerid:7] Set(“SIP/voxbeam_inbound-00000210”, “AMPUSERCIDNAME=”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-user-callerid:8] GotoIf(“SIP/voxbeam_inbound-00000210”, “1?report”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx_builtins.c: Goto (macro-user-callerid,s,15)
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-user-callerid:15] GotoIf(“SIP/voxbeam_inbound-00000210”, “1?continue”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx_builtins.c: Goto (macro-user-callerid,s,29)
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-user-callerid:29] Set(“SIP/voxbeam_inbound-00000210”, “CALLERID(number)=+966560555543”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-user-callerid:30] Set(“SIP/voxbeam_inbound-00000210”, “CALLERID(name)=+966560555543”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-user-callerid:31] GotoIf(“SIP/voxbeam_inbound-00000210”, “0?cnum”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-user-callerid:32] Set(“SIP/voxbeam_inbound-00000210”, “CDR(cnam)=+966560555543”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-user-callerid:33] Set(“SIP/voxbeam_inbound-00000210”, “CDR(cnum)=+966560555543”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-user-callerid:34] Set(“SIP/voxbeam_inbound-00000210”, “CHANNEL(language)=en”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [IAX2/Cloud-JED/30@from-internal:2] Gosub(“SIP/voxbeam_inbound-00000210”, “sub-record-check,s,1(out,IAX2/Cloud-JED/30,force)”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@sub-record-check:1] GotoIf(“SIP/voxbeam_inbound-00000210”, “13?initialized”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx_builtins.c: Goto (sub-record-check,s,10)
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@sub-record-check:10] NoOp(“SIP/voxbeam_inbound-00000210”, “Recordings initialized”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@sub-record-check:11] ExecIf(“SIP/voxbeam_inbound-00000210”, “0?Set(ARG3=dontcare)”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@sub-record-check:12] Set(“SIP/voxbeam_inbound-00000210”, “REC_POLICY_MODE_SAVE=”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@sub-record-check:13] ExecIf(“SIP/voxbeam_inbound-00000210”, “0?Set(REC_STATUS=NO)”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@sub-record-check:14] GotoIf(“SIP/voxbeam_inbound-00000210”, “3?checkaction”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx_builtins.c: Goto (sub-record-check,s,17)
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@sub-record-check:17] GotoIf(“SIP/voxbeam_inbound-00000210”, “1?sub-record-check,out,1”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx_builtins.c: Goto (sub-record-check,out,1)
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [out@sub-record-check:1] NoOp(“SIP/voxbeam_inbound-00000210”, “Outbound Recording Check from +966560555543 to IAX2/Cloud-JED/30”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [out@sub-record-check:2] Set(“SIP/voxbeam_inbound-00000210”, “RECMODE=”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [out@sub-record-check:3] ExecIf(“SIP/voxbeam_inbound-00000210”, “1?Goto(routewins)”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx_builtins.c: Goto (sub-record-check,out,7)
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [out@sub-record-check:7] Gosub(“SIP/voxbeam_inbound-00000210”, “recordcheck,1(force,out,IAX2/Cloud-JED/30)”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp(“SIP/voxbeam_inbound-00000210”, “Starting recording check against force”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [recordcheck@sub-record-check:2] Goto(“SIP/voxbeam_inbound-00000210”, “force”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx_builtins.c: Goto (sub-record-check,recordcheck,5)
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [recordcheck@sub-record-check:5] Set(“SIP/voxbeam_inbound-00000210”, “_RECPOLICY_MODE=FORCE”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [recordcheck@sub-record-check:6] GotoIf(“SIP/voxbeam_inbound-00000210”, “1?startrec”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx_builtins.c: Goto (sub-record-check,recordcheck,16)
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [recordcheck@sub-record-check:16] NoOp(“SIP/voxbeam_inbound-00000210”, “Starting recording: out, IAX2/Cloud-JED/30”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [recordcheck@sub-record-check:17] Set(“SIP/voxbeam_inbound-00000210”, “AUDIOHOOK_INHERIT(MixMonitor)=yes”) in new stack
[2017-06-16 00:31:53] NOTICE[8401][C-00000217] func_audiohookinherit.c: AUDIOHOOK_INHERIT is deprecated and now does nothing.
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [recordcheck@sub-record-check:18] Set(“SIP/voxbeam_inbound-00000210”, “__CALLFILENAME=out-IAX2/Cloud-JED/30-+966560555543-20170616-003145-1497562305.529”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [recordcheck@sub-record-check:19] MixMonitor(“SIP/voxbeam_inbound-00000210”, “2017/06/16/out-IAX2/Cloud-JED/30-+966560555543-20170616-003145-1497562305.529.wav,abi(LOCAL_MIXMON_ID),”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [recordcheck@sub-record-check:20] Set(“SIP/voxbeam_inbound-00000210”, “_MIXMONID=0x1780d70”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [recordcheck@sub-record-check:21] Set(“SIP/voxbeam_inbound-00000210”, “_RECORDID=SIP/voxbeam_inbound-00000210”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [recordcheck@sub-record-check:22] Set(“SIP/voxbeam_inbound-00000210”, “_RECSTATUS=RECORDING”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [recordcheck@sub-record-check:23] Set(“SIP/voxbeam_inbound-00000210”, “CDR(recordingfile)=out-IAX2/Cloud-JED/30-+966560555543-20170616-003145-1497562305.529.wav”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [recordcheck@sub-record-check:24] Return(“SIP/voxbeam_inbound-00000210”, “”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [out@sub-record-check:8] Return(“SIP/voxbeam_inbound-00000210”, “”) in new stack
[2017-06-16 00:31:53] VERBOSE[8404][C-00000217] app_mixmonitor.c: Begin MixMonitor Recording SIP/voxbeam_inbound-00000210
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [IAX2/Cloud-JED/30@from-internal:3] ExecIf(“SIP/voxbeam_inbound-00000210”, “0 ?Set(CDR(accountcode)=)”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [IAX2/Cloud-JED/30@from-internal:4] Set(“SIP/voxbeam_inbound-00000210”, “INTRACOMPANYROUTE=YES”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [IAX2/Cloud-JED/30@from-internal:5] Set(“SIP/voxbeam_inbound-00000210”, “MOHCLASS=techworksonholdmessageeng”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [IAX2/Cloud-JED/30@from-internal:6] Set(“SIP/voxbeam_inbound-00000210”, “_NODEST=”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [IAX2/Cloud-JED/30@from-internal:7] Macro(“SIP/voxbeam_inbound-00000210”, “dialout-trunk,1,IAX2/Cloud-JED/30,off”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-dialout-trunk:1] Set(“SIP/voxbeam_inbound-00000210”, “DIAL_TRUNK=1”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-dialout-trunk:2] GosubIf(“SIP/voxbeam_inbound-00000210”, “0?sub-pincheck,s,1()”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-dialout-trunk:3] GotoIf(“SIP/voxbeam_inbound-00000210”, “0?disabletrunk,1”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-dialout-trunk:4] Set(“SIP/voxbeam_inbound-00000210”, “DIAL_NUMBER=IAX2/Cloud-JED/30”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-dialout-trunk:5] Set(“SIP/voxbeam_inbound-00000210”, “DIAL_TRUNK_OPTIONS=Ttr”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-dialout-trunk:6] Set(“SIP/voxbeam_inbound-00000210”, “OUTBOUND_GROUP=OUT_1”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-dialout-trunk:7] GotoIf(“SIP/voxbeam_inbound-00000210”, “1?nomax”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx_builtins.c: Goto (macro-dialout-trunk,s,9)
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/voxbeam_inbound-00000210”, “1?skipoutcid”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx_builtins.c: Goto (macro-dialout-trunk,s,12)
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-dialout-trunk:12] GosubIf(“SIP/voxbeam_inbound-00000210”, “0?sub-flp-1,s,1()”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-dialout-trunk:13] Set(“SIP/voxbeam_inbound-00000210”, “OUTNUM=IAX2/Cloud-JED/30”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-dialout-trunk:14] Set(“SIP/voxbeam_inbound-00000210”, “custom=IAX2/Cloud-JED”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-dialout-trunk:15] ExecIf(“SIP/voxbeam_inbound-00000210”, “1?Set(DIAL_TRUNK_OPTIONS=M(setmusic^techworksonholdmessageeng)Ttr)”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-dialout-trunk:16] ExecIf(“SIP/voxbeam_inbound-00000210”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^techworksonholdmessageeng)TtrM(confirm))”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-dialout-trunk:17] Macro(“SIP/voxbeam_inbound-00000210”, “dialout-trunk-predial-hook,”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/voxbeam_inbound-00000210”, “”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/voxbeam_inbound-00000210”, “1?skipcrm”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx_builtins.c: Goto (macro-dialout-trunk,s,24)
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-dialout-trunk:24] NoOp(“SIP/voxbeam_inbound-00000210”, “CRM Finished”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-dialout-trunk:25] GotoIf(“SIP/voxbeam_inbound-00000210”, “0?bypass,1”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-dialout-trunk:26] ExecIf(“SIP/voxbeam_inbound-00000210”, “0?Set(CONNECTEDLINE(num,i)=IAX2/Cloud-JED/30)”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-dialout-trunk:27] ExecIf(“SIP/voxbeam_inbound-00000210”, “0?Set(CONNECTEDLINE(name,i)=CID:+966560555543)”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-dialout-trunk:28] ExecIf(“SIP/voxbeam_inbound-00000210”, “0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)+966560555543)”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-dialout-trunk:29] GotoIf(“SIP/voxbeam_inbound-00000210”, “0?customtrunk”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-dialout-trunk:30] Dial(“SIP/voxbeam_inbound-00000210”, “IAX2/Cloud-JED/IAX2/Cloud-JED/30,300,M(setmusic^techworksonholdmessageeng)Ttr”) in new stack
[2017-06-16 00:31:53] VERBOSE[8401][C-00000217] app_dial.c: Called IAX2/Cloud-JED/IAX2/Cloud-JED/30
[2017-06-16 00:31:55] VERBOSE[8401][C-00000217] chan_iax2.c: Hungup ‘IAX2/Cloud-JED-26021’
[2017-06-16 00:31:55] VERBOSE[8401][C-00000217] app_dial.c: Everyone is busy/congested at this time (1:0/0/1)
[2017-06-16 00:31:55] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-dialout-trunk:31] NoOp(“SIP/voxbeam_inbound-00000210”, “Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 50”) in new stack
[2017-06-16 00:31:55] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-dialout-trunk:32] GotoIf(“SIP/voxbeam_inbound-00000210”, “0?continue,1:s-CHANUNAVAIL,1”) in new stack
[2017-06-16 00:31:55] VERBOSE[8401][C-00000217] pbx_builtins.c: Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
[2017-06-16 00:31:55] VERBOSE[8401][C-00000217] pbx.c: Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set(“SIP/voxbeam_inbound-00000210”, “RC=50”) in new stack
[2017-06-16 00:31:55] VERBOSE[8401][C-00000217] pbx.c: Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto(“SIP/voxbeam_inbound-00000210”, “50,1”) in new stack
[2017-06-16 00:31:55] VERBOSE[8401][C-00000217] pbx_builtins.c: Goto (macro-dialout-trunk,50,1)
[2017-06-16 00:31:55] VERBOSE[8401][C-00000217] pbx.c: Executing [50@macro-dialout-trunk:1] Goto(“SIP/voxbeam_inbound-00000210”, “continue,1”) in new stack
[2017-06-16 00:31:55] VERBOSE[8401][C-00000217] pbx_builtins.c: Goto (macro-dialout-trunk,continue,1)
[2017-06-16 00:31:55] VERBOSE[8401][C-00000217] pbx.c: Executing [continue@macro-dialout-trunk:1] NoOp(“SIP/voxbeam_inbound-00000210”, “TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 50 - failing through to other trunks”) in new stack
[2017-06-16 00:31:55] VERBOSE[8401][C-00000217] pbx.c: Executing [continue@macro-dialout-trunk:2] ExecIf(“SIP/voxbeam_inbound-00000210”, “0?Set(CALLERID(number)=)”) in new stack
[2017-06-16 00:31:55] VERBOSE[8401][C-00000217] pbx.c: Executing [IAX2/Cloud-JED/30@from-internal:8] Macro(“SIP/voxbeam_inbound-00000210”, “outisbusy,”) in new stack
[2017-06-16 00:31:55] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-outisbusy:1] Progress(“SIP/voxbeam_inbound-00000210”, “”) in new stack
[2017-06-16 00:31:55] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-outisbusy:2] GotoIf(“SIP/voxbeam_inbound-00000210”, “0?emergency,1”) in new stack
[2017-06-16 00:31:55] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-outisbusy:3] GotoIf(“SIP/voxbeam_inbound-00000210”, “1?intracompany,1”) in new stack
[2017-06-16 00:31:55] VERBOSE[8401][C-00000217] pbx_builtins.c: Goto (macro-outisbusy,intracompany,1)
[2017-06-16 00:31:55] VERBOSE[8401][C-00000217] pbx.c: Executing [intracompany@macro-outisbusy:1] Playback(“SIP/voxbeam_inbound-00000210”, “all-circuits-busy-now&please-try-call-later, noanswer”) in new stack
[2017-06-16 00:31:55] VERBOSE[8401][C-00000217] file.c: Playing ‘all-circuits-busy-now.ulaw’ (language ‘en’)
[2017-06-16 00:31:57] VERBOSE[8401][C-00000217] file.c: Playing ‘please-try-call-later.ulaw’ (language ‘en’)
[2017-06-16 00:31:59] VERBOSE[8401][C-00000217] pbx.c: Executing [intracompany@macro-outisbusy:2] Congestion(“SIP/voxbeam_inbound-00000210”, “20”) in new stack
[2017-06-16 00:31:59] VERBOSE[8401][C-00000217] app_macro.c: Spawn extension (macro-outisbusy, intracompany, 2) exited non-zero on ‘SIP/voxbeam_inbound-00000210’ in macro ‘outisbusy’
[2017-06-16 00:31:59] VERBOSE[8401][C-00000217] pbx.c: Spawn extension (from-internal, IAX2/Cloud-JED/30, 8) exited non-zero on ‘SIP/voxbeam_inbound-00000210’
[2017-06-16 00:31:59] VERBOSE[8401][C-00000217] pbx.c: Executing [h@from-internal:1] Macro(“SIP/voxbeam_inbound-00000210”, “hangupcall”) in new stack
[2017-06-16 00:31:59] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-hangupcall:1] GotoIf(“SIP/voxbeam_inbound-00000210”, “1?theend”) in new stack
[2017-06-16 00:31:59] VERBOSE[8401][C-00000217] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2017-06-16 00:31:59] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-hangupcall:3] ExecIf(“SIP/voxbeam_inbound-00000210”, “0?Set(CDR(recordingfile)=)”) in new stack
[2017-06-16 00:31:59] VERBOSE[8401][C-00000217] pbx.c: Executing [s@macro-hangupcall:4] Hangup(“SIP/voxbeam_inbound-00000210”, “”) in new stack
[2017-06-16 00:31:59] VERBOSE[8401][C-00000217] app_macro.c: Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘SIP/voxbeam_inbound-00000210’ in macro ‘hangupcall’
[2017-06-16 00:31:59] VERBOSE[8401][C-00000217] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/voxbeam_inbound-00000210’
[2017-06-16 00:31:59] VERBOSE[8401][C-00000217] app_stack.c: SIP/voxbeam_inbound-00000210 Internal Gosub(crm-hangup,s,1) start
[2017-06-16 00:31:59] VERBOSE[8401][C-00000217] pbx.c: Executing [s@crm-hangup:1] NoOp(“SIP/voxbeam_inbound-00000210”, “Sending Hangup to CRM”) in new stack
[2017-06-16 00:31:59] VERBOSE[8401][C-00000217] pbx.c: Executing [s@crm-hangup:2] NoOp(“SIP/voxbeam_inbound-00000210”, “HANGUP CAUSE: 50”) in new stack
[2017-06-16 00:31:59] VERBOSE[8401][C-00000217] pbx.c: Executing [s@crm-hangup:3] ExecIf(“SIP/voxbeam_inbound-00000210”, “0?Set(_CRMVOICEMAIL=)”) in new stack
[2017-06-16 00:31:59] VERBOSE[8401][C-00000217] pbx.c: Executing [s@crm-hangup:4] NoOp(“SIP/voxbeam_inbound-00000210”, “MASTER CHANNEL: 1497562305.529 = 1497562305.529”) in new stack
[2017-06-16 00:31:59] VERBOSE[8401][C-00000217] pbx.c: Executing [s@crm-hangup:5] GotoIf(“SIP/voxbeam_inbound-00000210”, “0?return”) in new stack
[2017-06-16 00:31:59] VERBOSE[8401][C-00000217] pbx.c: Executing [s@crm-hangup:6] Set(“SIP/voxbeam_inbound-00000210”, “_CRMHANGUP=1”) in new stack
[2017-06-16 00:31:59] VERBOSE[8401][C-00000217] pbx.c: Executing [s@crm-hangup:7] AGI(“SIP/voxbeam_inbound-00000210”, “sangomacrm.agi”) in new stack
[2017-06-16 00:31:59] VERBOSE[8401][C-00000217] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
[2017-06-16 00:31:59] WARNING[2171] chan_sip.c: Retransmission timeout reached on transmission 3415dd419b89d254f66627ce38993ee1 for seqno 1 (Critical Response) – See
Packet timed out after 32000ms with no response
[2017-06-16 00:31:59] VERBOSE[8401][C-00000217] res_agi.c: AGI Script sangomacrm.agi completed, returning 0
[2017-06-16 00:31:59] VERBOSE[8401][C-00000217] pbx.c: Executing [s@crm-hangup:8] Return(“SIP/voxbeam_inbound-00000210”, “”) in new stack
[2017-06-16 00:31:59] VERBOSE[8401][C-00000217] app_stack.c: Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/voxbeam_inbound-00000210’
[2017-06-16 00:31:59] VERBOSE[8401][C-00000217] app_stack.c: SIP/voxbeam_inbound-00000210 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=

Any idea?

The terms you are using make me think you are using FreePBX, I’d recommend asking for help on their forum at https://community.freepbx.org , Most of the people here are not familiar with FreePBX specifics.