AWS Free PBX No Sound

Hi all I’ve currently transitioned to aws or amazon web services for hosting my freepbx server but i’m having this one issue when i call out there is no sound on either end plus i’m unable to call into the freepbx server on the main phone line i get a busy tone. thanks for all the help you guys can give in advance

2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-user-callerid:1] Set(“SIP/251-00000004”, “TOUCH_MONITOR=1551024221.4”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-user-callerid:2] Set(“SIP/251-00000004”, “AMPUSER=251”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-user-callerid:3] GotoIf(“SIP/251-00000004”, “0?report”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-user-callerid:4] ExecIf(“SIP/251-00000004”, “1?Set(REALCALLERIDNUM=251)”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-user-callerid:5] Set(“SIP/251-00000004”, “AMPUSER=251”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-user-callerid:6] GotoIf(“SIP/251-00000004”, “0?limit”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-user-callerid:7] Set(“SIP/251-00000004”, “AMPUSERCIDNAME=Christopher Miguez”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-user-callerid:8] ExecIf(“SIP/251-00000004”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-user-callerid:9] GotoIf(“SIP/251-00000004”, “0?report”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-user-callerid:10] Set(“SIP/251-00000004”, “AMPUSERCID=251”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-user-callerid:11] Set(“SIP/251-00000004”, “__DIAL_OPTIONS=Ttr”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-user-callerid:12] Set(“SIP/251-00000004”, “CALLERID(all)=“Christopher Miguez” <251>”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-user-callerid:13] GotoIf(“SIP/251-00000004”, “0?limit”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-user-callerid:14] ExecIf(“SIP/251-00000004”, “1?Set(GROUP(concurrency_limit)=251)”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-user-callerid:15] ExecIf(“SIP/251-00000004”, “0?Set(CHANNEL(language)=)”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-user-callerid:16] NoOp(“SIP/251-00000004”, “Macro Depth is 1”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-user-callerid:17] GotoIf(“SIP/251-00000004”, “1?report2:macroerror”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx_builtins.c: Goto (macro-user-callerid,s,18)
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-user-callerid:18] GotoIf(“SIP/251-00000004”, “1?continue”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx_builtins.c: Goto (macro-user-callerid,s,37)
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-user-callerid:37] Set(“SIP/251-00000004”, “CALLERID(number)=251”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-user-callerid:38] Set(“SIP/251-00000004”, “CALLERID(name)=Christopher Miguez”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-user-callerid:39] GotoIf(“SIP/251-00000004”, “0?cnum”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-user-callerid:40] Set(“SIP/251-00000004”, “CDR(cnam)=Christopher Miguez”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-user-callerid:41] Set(“SIP/251-00000004”, “CDR(cnum)=251”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-user-callerid:42] Set(“SIP/251-00000004”, “CHANNEL(language)=en”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [96823006910@from-internal:2] Gosub(“SIP/251-00000004”, “sub-record-check,s,1(out,96823006910,force)”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@sub-record-check:1] GotoIf(“SIP/251-00000004”, “0?initialized”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@sub-record-check:2] Set(“SIP/251-00000004”, “__REC_STATUS=INITIALIZED”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@sub-record-check:3] Set(“SIP/251-00000004”, “NOW=1551024221”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@sub-record-check:4] Set(“SIP/251-00000004”, “__DAY=24”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@sub-record-check:5] Set(“SIP/251-00000004”, “__MONTH=02”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@sub-record-check:6] Set(“SIP/251-00000004”, “__YEAR=2019”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@sub-record-check:7] Set(“SIP/251-00000004”, “__TIMESTR=20190224-160341”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@sub-record-check:8] Set(“SIP/251-00000004”, “__FROMEXTEN=251”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@sub-record-check:9] Set(“SIP/251-00000004”, “__MON_FMT=wav”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@sub-record-check:10] NoOp(“SIP/251-00000004”, “Recordings initialized”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@sub-record-check:11] ExecIf(“SIP/251-00000004”, “0?Set(ARG3=dontcare)”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@sub-record-check:12] Set(“SIP/251-00000004”, “REC_POLICY_MODE_SAVE=”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@sub-record-check:13] ExecIf(“SIP/251-00000004”, “0?Set(REC_STATUS=NO)”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@sub-record-check:14] GotoIf(“SIP/251-00000004”, “3?checkaction”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx_builtins.c: Goto (sub-record-check,s,17)
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@sub-record-check:17] GotoIf(“SIP/251-00000004”, “1?sub-record-check,out,1”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx_builtins.c: Goto (sub-record-check,out,1)
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [out@sub-record-check:1] NoOp(“SIP/251-00000004”, “Outbound Recording Check from 251 to 96823006910”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [out@sub-record-check:2] Set(“SIP/251-00000004”, “RECMODE=force”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [out@sub-record-check:3] ExecIf(“SIP/251-00000004”, “0?Goto(routewins)”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [out@sub-record-check:4] ExecIf(“SIP/251-00000004”, “1?Goto(routewins)”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx_builtins.c: Goto (sub-record-check,out,7)
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [out@sub-record-check:7] Gosub(“SIP/251-00000004”, “recordcheck,1(force,out,96823006910)”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp(“SIP/251-00000004”, “Starting recording check against force”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [recordcheck@sub-record-check:2] Goto(“SIP/251-00000004”, “force”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx_builtins.c: Goto (sub-record-check,recordcheck,5)
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [recordcheck@sub-record-check:5] Set(“SIP/251-00000004”, “__REC_POLICY_MODE=FORCE”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [recordcheck@sub-record-check:6] GotoIf(“SIP/251-00000004”, “1?startrec”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx_builtins.c: Goto (sub-record-check,recordcheck,16)
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [recordcheck@sub-record-check:16] NoOp(“SIP/251-00000004”, “Starting recording: out, 96823006910”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [recordcheck@sub-record-check:17] Set(“SIP/251-00000004”, “__CALLFILENAME=out-96823006910-251-20190224-160341-1551024221.4”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [recordcheck@sub-record-check:18] MixMonitor(“SIP/251-00000004”, “2019/02/24/out-96823006910-251-20190224-160341-1551024221.4.wav,abi(LOCAL_MIXMON_ID),”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [recordcheck@sub-record-check:19] Set(“SIP/251-00000004”, “__MIXMON_ID=0x7f3a58057ee0”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [recordcheck@sub-record-check:20] Set(“SIP/251-00000004”, “__RECORD_ID=SIP/251-00000004”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [recordcheck@sub-record-check:21] Set(“SIP/251-00000004”, “__REC_STATUS=RECORDING”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [recordcheck@sub-record-check:22] Set(“SIP/251-00000004”, “CDR(recordingfile)=out-96823006910-251-20190224-160341-1551024221.4.wav”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [recordcheck@sub-record-check:23] Return(“SIP/251-00000004”, “”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [out@sub-record-check:8] Return(“SIP/251-00000004”, “”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [96823006910@from-internal:3] ExecIf(“SIP/251-00000004”, “0 ?Set(CDR(accountcode)=)”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [96823006910@from-internal:4] Set(“SIP/251-00000004”, “MOHCLASS=default”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [96823006910@from-internal:5] ExecIf(“SIP/251-00000004”, “0?Set(TRUNKCIDOVERRIDE=16822266684)”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [96823006910@from-internal:6] Set(“SIP/251-00000004”, “_NODEST=”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [96823006910@from-internal:7] Macro(“SIP/251-00000004”, “dialout-trunk,1,16823006910,off”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:1] Set(“SIP/251-00000004”, “DIAL_TRUNK=1”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:2] ExecIf(“SIP/251-00000004”, “0?Set(DIAL_OPTIONS=tr)”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:3] GosubIf(“SIP/251-00000004”, “0?sub-pincheck,s,1()”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:4] ExecIf(“SIP/251-00000004”, “0?Set(CALLERID(num)=251)”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:5] GotoIf(“SIP/251-00000004”, “0?disabletrunk,1”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:6] Set(“SIP/251-00000004”, “DIAL_NUMBER=16823006910”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:7] Set(“SIP/251-00000004”, “DIAL_TRUNK_OPTIONS=Ttr”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:8] Set(“SIP/251-00000004”, “OUTBOUND_GROUP=OUT_1”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:9] Set(“SIP/251-00000004”, “DIAL_TRUNK_OPTIONS=T”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:10] GotoIf(“SIP/251-00000004”, “0?nomax”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:11] GotoIf(“SIP/251-00000004”, “0?chanfull”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:12] GotoIf(“SIP/251-00000004”, “0?skipoutcid”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:13] Macro(“SIP/251-00000004”, “outbound-callerid,1”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-outbound-callerid:1] NoOp(“SIP/251-00000004”, “251”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-outbound-callerid:2] NoOp(“SIP/251-00000004”, “”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-outbound-callerid:3] NoOp(“SIP/251-00000004”, “all”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-outbound-callerid:4] ExecIf(“SIP/251-00000004”, “0?Set(CALLERPRES(name-pres)=)”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-outbound-callerid:5] ExecIf(“SIP/251-00000004”, “0?Set(CALLERPRES(num-pres)=)”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-outbound-callerid:6] ExecIf(“SIP/251-00000004”, “0?Set(REALCALLERIDNUM=251)”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-outbound-callerid:7] ExecIf(“SIP/251-00000004”, “0?Set(AMPUSER=251)”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-outbound-callerid:8] GotoIf(“SIP/251-00000004”, “1?normcid”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx_builtins.c: Goto (macro-outbound-callerid,s,12)
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-outbound-callerid:12] Set(“SIP/251-00000004”, “USEROUTCID=Christopher Miguez”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-outbound-callerid:13] Set(“SIP/251-00000004”, “EMERGENCYCID=”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-outbound-callerid:14] Set(“SIP/251-00000004”, “TRUNKOUTCID=16822266684”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-outbound-callerid:15] GotoIf(“SIP/251-00000004”, “1?trunkcid”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx_builtins.c: Goto (macro-outbound-callerid,s,20)
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-outbound-callerid:20] ExecIf(“SIP/251-00000004”, “1?Set(CALLERID(all)=16822266684)”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-outbound-callerid:21] ExecIf(“SIP/251-00000004”, “1?Set(CALLERID(all)=Christopher Miguez)”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-outbound-callerid:22] ExecIf(“SIP/251-00000004”, “1?Set(CALLERID(all)=16822266684)”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-outbound-callerid:23] ExecIf(“SIP/251-00000004”, “0?Set(CALLERPRES(name-pres)=prohib_passed_screen)”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-outbound-callerid:24] ExecIf(“SIP/251-00000004”, “0?Set(CALLERPRES(num-pres)=prohib_passed_screen)”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-outbound-callerid:25] Set(“SIP/251-00000004”, “CDR(outbound_cnum)=16822266684”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-outbound-callerid:26] Set(“SIP/251-00000004”, “CDR(outbound_cnam)=”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:14] GosubIf(“SIP/251-00000004”, “0?sub-flp-1,s,1()”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:15] Set(“SIP/251-00000004”, “OUTNUM=16823006910”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:16] Set(“SIP/251-00000004”, “custom=SIP/gotrunk”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:17] ExecIf(“SIP/251-00000004”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:18] ExecIf(“SIP/251-00000004”, “0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:19] Macro(“SIP/251-00000004”, “dialout-trunk-predial-hook,”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/251-00000004”, “”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:20] GotoIf(“SIP/251-00000004”, “0?skipcrm”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:21] Set(“SIP/251-00000004”, “__CRM_DIRECTION=OUTBOUND”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:22] Set(“SIP/251-00000004”, “__CRM_DESTINATION=16823006910”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:23] Set(“SIP/251-00000004”, “__CRM_SOURCE=251”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:24] AGI(“SIP/251-00000004”, “sangomacrm.agi”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
[2019-02-24 16:03:41] VERBOSE[3328][C-00000002] app_mixmonitor.c: Begin MixMonitor Recording SIP/251-00000004
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] res_agi.c: <SIP/251-00000004>AGI Script sangomacrm.agi completed, returning 0
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:25] Set(“SIP/251-00000004”, “CHANNEL(hangup_handler_push)=crm-hangup,s,1”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:26] NoOp(“SIP/251-00000004”, “CRM Finished”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:27] GotoIf(“SIP/251-00000004”, “0?bypass,1”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:28] ExecIf(“SIP/251-00000004”, “1?Set(CONNECTEDLINE(num,i)=16823006910)”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:29] ExecIf(“SIP/251-00000004”, “1?Set(CONNECTEDLINE(name,i)=CID:16822266684)”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:30] ExecIf(“SIP/251-00000004”, “0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)16822266684)”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:31] GotoIf(“SIP/251-00000004”, “0?customtrunk”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:32] Dial(“SIP/251-00000004”, “SIP/gotrunk/16823006910,300,Tb(func-apply-sipheaders^s^1,(1))”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] netsock2.c: Using SIP RTP TOS bits 184
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] netsock2.c: Using SIP RTP CoS mark 5
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] app_stack.c: SIP/gotrunk-00000005 Internal Gosub(func-apply-sipheaders,s,1(1)) start
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@func-apply-sipheaders:1] ExecIf(“SIP/gotrunk-00000005”, “0?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@func-apply-sipheaders:2] NoOp(“SIP/gotrunk-00000005”, “Applying SIP Headers to channel SIP/gotrunk-00000005”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@func-apply-sipheaders:3] Set(“SIP/gotrunk-00000005”, “TECH=SIP”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@func-apply-sipheaders:4] Set(“SIP/gotrunk-00000005”, “SIPHEADERKEYS=”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@func-apply-sipheaders:5] While(“SIP/gotrunk-00000005”, “0”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] app_while.c: Jumping to priority 12
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] pbx.c: Executing [s@func-apply-sipheaders:13] Return(“SIP/gotrunk-00000005”, “”) in new stack
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] app_stack.c: Spawn extension (from-trunk, 96823006910, 1) exited non-zero on ‘SIP/gotrunk-00000005’
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] app_stack.c: SIP/gotrunk-00000005 Internal Gosub(func-apply-sipheaders,s,1(1)) complete GOSUB_RETVAL=
[2019-02-24 16:03:41] VERBOSE[3326][C-00000002] app_dial.c: Called SIP/gotrunk/16823006910
[2019-02-24 16:03:43] VERBOSE[3326][C-00000002] app_dial.c: SIP/gotrunk-00000005 is making progress passing it to SIP/251-00000004
[2019-02-24 16:03:44] VERBOSE[3326][C-00000002] app_dial.c: SIP/gotrunk-00000005 is ringing
[2019-02-24 16:03:44] WARNING[3326][C-00000002] translate.c: no samples for ulawtolin
[2019-02-24 16:03:46] VERBOSE[3326][C-00000002] app_dial.c: SIP/gotrunk-00000005 requested media update control 26, passing it to SIP/251-00000004
[2019-02-24 16:03:46] VERBOSE[3326][C-00000002] app_dial.c: SIP/gotrunk-00000005 answered SIP/251-00000004
[2019-02-24 16:03:46] VERBOSE[3346][C-00000002] bridge_channel.c: Channel SIP/gotrunk-00000005 joined ‘simple_bridge’ basic-bridge <51778390-6941-4370-a157-2c110638e617>
[2019-02-24 16:03:46] VERBOSE[3326][C-00000002] bridge_channel.c: Channel SIP/251-00000004 joined ‘simple_bridge’ basic-bridge <51778390-6941-4370-a157-2c110638e617>
[2019-02-24 16:03:52] WARNING[2517] chan_sip.c: Retransmission timeout reached on transmission [email protected] for seqno 102 (Critical Response) – See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
Packet timed out after 6401ms with no response
[2019-02-24 16:03:52] WARNING[2517] chan_sip.c: Hanging up call [email protected] - no reply to our critical packet (see https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions).
[2019-02-24 16:03:52] VERBOSE[3326][C-00000002] bridge_channel.c: Channel SIP/251-00000004 left ‘simple_bridge’ basic-bridge <51778390-6941-4370-a157-2c110638e617>
[2019-02-24 16:03:52] VERBOSE[3326][C-00000002] app_macro.c: Spawn extension (macro-dialout-trunk, s, 32) exited non-zero on ‘SIP/251-00000004’ in macro ‘dialout-trunk’
[2019-02-24 16:03:52] VERBOSE[3326][C-00000002] pbx.c: Spawn extension (from-internal, 96823006910, 7) exited non-zero on ‘SIP/251-00000004’
[2019-02-24 16:03:52] VERBOSE[3326][C-00000002] pbx.c: Executing [h@from-internal:1] Macro(“SIP/251-00000004”, “hangupcall”) in new stack
[2019-02-24 16:03:52] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-hangupcall:1] GotoIf(“SIP/251-00000004”, “1?theend”) in new stack
[2019-02-24 16:03:52] VERBOSE[3326][C-00000002] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2019-02-24 16:03:52] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-hangupcall:3] ExecIf(“SIP/251-00000004”, “0?Set(CDR(recordingfile)=)”) in new stack
[2019-02-24 16:03:52] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-hangupcall:4] NoOp(“SIP/251-00000004”, “SIP/gotrunk-00000005 monior file= /var/spool/asterisk/monitor/2019/02/24/out-96823006910-251-20190224-160341-1551024221.4.wav”) in new stack
[2019-02-24 16:03:52] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-hangupcall:5] AGI(“SIP/251-00000004”, “attendedtransfer-rec-restart.php,SIP/gotrunk-00000005,/var/spool/asterisk/monitor/2019/02/24/out-96823006910-251-20190224-160341-1551024221.4.wav”) in new stack
[2019-02-24 16:03:52] VERBOSE[3326][C-00000002] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
[2019-02-24 16:03:52] VERBOSE[3346][C-00000002] bridge_channel.c: Channel SIP/gotrunk-00000005 left ‘simple_bridge’ basic-bridge <51778390-6941-4370-a157-2c110638e617>
[2019-02-24 16:03:53] VERBOSE[3326][C-00000002] res_agi.c: <SIP/251-00000004>AGI Script attendedtransfer-rec-restart.php completed, returning 0
[2019-02-24 16:03:53] VERBOSE[3326][C-00000002] pbx.c: Executing [s@macro-hangupcall:6] Hangup(“SIP/251-00000004”, “”) in new stack
[2019-02-24 16:03:53] VERBOSE[3326][C-00000002] app_macro.c: Spawn extension (macro-hangupcall, s, 6) exited non-zero on ‘SIP/251-00000004’ in macro ‘hangupcall’
[2019-02-24 16:03:53] VERBOSE[3326][C-00000002] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/251-00000004’
[2019-02-24 16:03:53] VERBOSE[3326][C-00000002] app_stack.c: SIP/251-00000004 Internal Gosub(crm-hangup,s,1) start
[2019-02-24 16:03:53] VERBOSE[3326][C-00000002] pbx.c: Executing [s@crm-hangup:1] NoOp(“SIP/251-00000004”, “Sending Hangup to CRM”) in new stack
[2019-02-24 16:03:53] VERBOSE[3326][C-00000002] pbx.c: Executing [s@crm-hangup:2] NoOp(“SIP/251-00000004”, “HANGUP CAUSE: 18”) in new stack
[2019-02-24 16:03:53] VERBOSE[3326][C-00000002] pbx.c: Executing [s@crm-hangup:3] ExecIf(“SIP/251-00000004”, “0?Set(__CRM_VOICEMAIL=)”) in new stack
[2019-02-24 16:03:53] VERBOSE[3326][C-00000002] pbx.c: Executing [s@crm-hangup:4] NoOp(“SIP/251-00000004”, “MASTER CHANNEL: 1551024221.4 = 1551024221.4”) in new stack
[2019-02-24 16:03:53] VERBOSE[3326][C-00000002] pbx.c: Executing [s@crm-hangup:5] GotoIf(“SIP/251-00000004”, “0?return”) in new stack
[2019-02-24 16:03:53] VERBOSE[3326][C-00000002] pbx.c: Executing [s@crm-hangup:6] Set(“SIP/251-00000004”, “__CRM_HANGUP=1”) in new stack
[2019-02-24 16:03:53] VERBOSE[3326][C-00000002] pbx.c: Executing [s@crm-hangup:7] AGI(“SIP/251-00000004”, “sangomacrm.agi”) in new stack
[2019-02-24 16:03:53] VERBOSE[3326][C-00000002] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
[2019-02-24 16:03:53] VERBOSE[3326][C-00000002] res_agi.c: <SIP/251-00000004>AGI Script sangomacrm.agi completed, returning 0
[2019-02-24 16:03:53] VERBOSE[3326][C-00000002] pbx.c: Executing [s@crm-hangup:8] Return(“SIP/251-00000004”, “”) in new stack
[2019-02-24 16:03:53] VERBOSE[3326][C-00000002] app_stack.c: Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/251-00000004’
[2019-02-24 16:03:53] VERBOSE[3326][C-00000002] app_stack.c: SIP/251-00000004 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
[2019-02-24 16:03:53] VERBOSE[3328][C-00000002] app_mixmonitor.c: MixMonitor close filestream (mixed)
[2019-02-24 16:03:53] VERBOSE[3328][C-00000002] app_mixmonitor.c: End MixMonitor Recording SIP/251-00000004

This is 100% Firewall/NAT. You’re on AWS which means you’re behind NAT. It doesn’t matter if someone chimes in later and says “Yeah but AWS is 1-to-1 NAT” it doesn’t matter, it’s still NAT.

Do you have the PBX setup with the proper external IP, which would be the public IP AWS gives you. The AWS firewall is setup properly as well?

1 Like

As @BlazeStudios says. Make sure that UDP ports 10000 to 20000 are open in the AWS firewall. Note that when you change network settings such as External Address, you must restart (not just reload) Asterisk.

Debug the simplest thing that doesn’t work:
Try *60 (speaking clock). If that’s ok, try *43 (echo test). If that’s ok, try calling from one extension to another. Only if that’s also ok, test with a trunk.

If you still have trouble, at the Asterisk command line type
sip set debug on
then make your failing test call. The SIP traffic will appear in the Asterisk log, mixed in with the Asterisk activity.

i i’m not a aws expert at all is there anyway you guys can guide me threw how to fix it or no (if not then its ok) thanks

We can’t guide you how to fix it, because we don’t know what’s wrong. Check the obvious stuff as @BlazeStudios and I suggested. If it still doesn’t work, find the simplest case that fails, get some logs, paste them at https://pastebin.freepbx.org/ and post the link here.

Start by making sure you have the necessary ports open:

Ports FreePBX uses:
https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=2ahUKEwjzgP_R1d7gAhXQjp4KHSl9DLUQFjAAegQICRAC&url=https%3A%2F%2Fwiki.freepbx.org%2Fspaces%2Fflyingpdf%2Fpdfpageexport.action%3FpageId%3D5538035&usg=AOvVaw2x1f5e9BA_riNOQnSwMJtz

FreePBX NAT Wiki v12:
https://wiki.freepbx.org/display/FPG/NAT+Configuration+FreePBX+12

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.