No Audio ....At All

configuration
freepbx
Tags: #<Tag:0x00007fafc3d6a388> #<Tag:0x00007fafc3d6a1d0>

(Mgbolts) #1

Hi, Hoping someone can give me a couple of pointers to try an find the issue.

I have no audio in and out on both ends. The call connects and but zip sound. This applies to internal and external calls and also calls to the PBX (eg Conf). I have tried inside and outside of the firewall (on client side) using Zoiper. There is no FW on the hosted PBX, as yet.

This is a new brand new ISO install of FPBX14 running Asterisk 13. It has been installed on vultr cloud. I have been running a server for some time on our own exsi server. A new business acquisition has me considering and testing a cloud solution (if I can get it to work…).

The network is essentially the internet as the PBX has its own external IP. I am running everything as chansip on 5060. The NAT option is still selected (in Asterisk/Chansip Settings) although I have tried without…

Thank you for your time…

Please see below the dump from Asterisk for an internal call

freepbx*CLI>
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [2220@from-internal:1] GotoIf(“SIP/62100-0000000e”, “1?ext-local,2220,1:followme-check,2220,1”) in new stack
– Goto (ext-local,2220,1)
– Executing [2220@ext-local:1] Set(“SIP/62100-0000000e”, “__RINGTIMER=15”) in new stack
– Executing [2220@ext-local:2] Macro(“SIP/62100-0000000e”, “exten-vm,novm,2220,0,0,0”) in new stack
– Executing [s@macro-exten-vm:1] Macro(“SIP/62100-0000000e”, “user-callerid,”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/62100-0000000e”, “TOUCH_MONITOR=1566724095.14”) in new stack
– Executing [s@macro-user-callerid:2] Set(“SIP/62100-0000000e”, “AMPUSER=62100”) in new stack
– Executing [s@macro-user-callerid:3] GotoIf(“SIP/62100-0000000e”, “0?report”) in new stack
– Executing [s@macro-user-callerid:4] ExecIf(“SIP/62100-0000000e”, “1?Set(REALCALLERIDNUM=62100)”) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/62100-0000000e”, “AMPUSER=62100”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“SIP/62100-0000000e”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:7] Set(“SIP/62100-0000000e”, “AMPUSERCIDNAME=Mark Zoiper”) in new stack
– Executing [s@macro-user-callerid:8] ExecIf(“SIP/62100-0000000e”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
– Executing [s@macro-user-callerid:9] GotoIf(“SIP/62100-0000000e”, “0?report”) in new stack
– Executing [s@macro-user-callerid:10] Set(“SIP/62100-0000000e”, “AMPUSERCID=62100”) in new stack
– Executing [s@macro-user-callerid:11] Set(“SIP/62100-0000000e”, “__DIAL_OPTIONS=HhTtr”) in new stack
– Executing [s@macro-user-callerid:12] Set(“SIP/62100-0000000e”, “CALLERID(all)=“Mark Zoiper” <62100>”) in new stack
– Executing [s@macro-user-callerid:13] GotoIf(“SIP/62100-0000000e”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:14] ExecIf(“SIP/62100-0000000e”, “0?Set(GROUP(concurrency_limit)=62100)”) in new stack
– Executing [s@macro-user-callerid:15] ExecIf(“SIP/62100-0000000e”, “0?Set(CHANNEL(language)=)”) in new stack
– Executing [s@macro-user-callerid:16] NoOp(“SIP/62100-0000000e”, “Macro Depth is 2”) in new stack
– Executing [s@macro-user-callerid:17] GotoIf(“SIP/62100-0000000e”, “1?report2:macroerror”) in new stack
– Goto (macro-user-callerid,s,18)
– Executing [s@macro-user-callerid:18] GotoIf(“SIP/62100-0000000e”, “0?continue”) in new stack
– Executing [s@macro-user-callerid:19] ExecIf(“SIP/62100-0000000e”, “1?Set(__CALLEE_ACCOUNCODE=)”) in new stack
– Executing [s@macro-user-callerid:20] Set(“SIP/62100-0000000e”, “__TTL=64”) in new stack
– Executing [s@macro-user-callerid:21] GotoIf(“SIP/62100-0000000e”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,37)
– Executing [s@macro-user-callerid:37] Set(“SIP/62100-0000000e”, “CALLERID(number)=62100”) in new stack
– Executing [s@macro-user-callerid:38] Set(“SIP/62100-0000000e”, “CALLERID(name)=Mark Zoiper”) in new stack
– Executing [s@macro-user-callerid:39] GotoIf(“SIP/62100-0000000e”, “0?cnum”) in new stack
– Executing [s@macro-user-callerid:40] Set(“SIP/62100-0000000e”, “CDR(cnam)=Mark Zoiper”) in new stack
– Executing [s@macro-user-callerid:41] Set(“SIP/62100-0000000e”, “CDR(cnum)=62100”) in new stack
– Executing [s@macro-user-callerid:42] Set(“SIP/62100-0000000e”, “CHANNEL(language)=en”) in new stack
– Executing [s@macro-exten-vm:2] Set(“SIP/62100-0000000e”, “RingGroupMethod=none”) in new stack
– Executing [s@macro-exten-vm:3] Set(“SIP/62100-0000000e”, “__EXTTOCALL=2220”) in new stack
– Executing [s@macro-exten-vm:4] Set(“SIP/62100-0000000e”, “__PICKUPMARK=2220”) in new stack
– Executing [s@macro-exten-vm:5] Set(“SIP/62100-0000000e”, “RT=”) in new stack
– Executing [s@macro-exten-vm:6] ExecIf(“SIP/62100-0000000e”, “0?Macro(vm,novm,DIRECTDIAL,)”) in new stack
– Executing [s@macro-exten-vm:7] ExecIf(“SIP/62100-0000000e”, “0?MacroExit()”) in new stack
– Executing [s@macro-exten-vm:8] ExecIf(“SIP/62100-0000000e”, “0?Gosub(ext-intercom,*802220,1())”) in new stack
– Executing [s@macro-exten-vm:9] ExecIf(“SIP/62100-0000000e”, “0?MacroExit()”) in new stack
– Executing [s@macro-exten-vm:10] ExecIf(“SIP/62100-0000000e”, “0?ChanSpy(SIP/2220,q)”) in new stack
– Executing [s@macro-exten-vm:11] ExecIf(“SIP/62100-0000000e”, “0?MacroExit()”) in new stack
[2019-08-25 09:08:15] ERROR[11865][C-00000009]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
– Executing [s@macro-exten-vm:12] ExecIf(“SIP/62100-0000000e”, “0?Macro(vm,novm,DIRECTDIAL,)”) in new stack
[2019-08-25 09:08:15] ERROR[11865][C-00000009]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
[2019-08-25 09:08:15] ERROR[11865][C-00000009]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
– Executing [s@macro-exten-vm:13] ExecIf(“SIP/62100-0000000e”, “0?MacroExit()”) in new stack
[2019-08-25 09:08:15] ERROR[11865][C-00000009]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
[2019-08-25 09:08:15] ERROR[11865][C-00000009]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
– Executing [s@macro-exten-vm:14] ExecIf(“SIP/62100-0000000e”, "0?Gosub(ext-intercom,802220,1())") in new stack
[2019-08-25 09:08:15] ERROR[11865][C-00000009]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
[2019-08-25 09:08:15] ERROR[11865][C-00000009]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
– Executing [s@macro-exten-vm:15] ExecIf(“SIP/62100-0000000e”, “0?MacroExit()”) in new stack
[2019-08-25 09:08:15] ERROR[11865][C-00000009]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
[2019-08-25 09:08:15] ERROR[11865][C-00000009]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
– Executing [s@macro-exten-vm:16] ExecIf(“SIP/62100-0000000e”, “0?ChanSpy(SIP/2220,q)”) in new stack
[2019-08-25 09:08:15] ERROR[11865][C-00000009]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
[2019-08-25 09:08:15] ERROR[11865][C-00000009]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
– Executing [s@macro-exten-vm:17] ExecIf(“SIP/62100-0000000e”, “0?MacroExit()”) in new stack
[2019-08-25 09:08:15] ERROR[11865][C-00000009]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
– Executing [s@macro-exten-vm:18] Gosub(“SIP/62100-0000000e”, “sub-record-check,s,1(exten,2220,dontcare)”) in new stack
– Executing [s@sub-record-check:1] GotoIf(“SIP/62100-0000000e”, “0?initialized”) in new stack
– Executing [s@sub-record-check:2] Set(“SIP/62100-0000000e”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [s@sub-record-check:3] Set(“SIP/62100-0000000e”, “NOW=1566724095”) in new stack
– Executing [s@sub-record-check:4] Set(“SIP/62100-0000000e”, “__DAY=25”) in new stack
– Executing [s@sub-record-check:5] Set(“SIP/62100-0000000e”, “__MONTH=08”) in new stack
– Executing [s@sub-record-check:6] Set(“SIP/62100-0000000e”, “__YEAR=2019”) in new stack
– Executing [s@sub-record-check:7] Set(“SIP/62100-0000000e”, “__TIMESTR=20190825-090815”) in new stack
– Executing [s@sub-record-check:8] Set(“SIP/62100-0000000e”, “__FROMEXTEN=62100”) in new stack
– Executing [s@sub-record-check:9] Set(“SIP/62100-0000000e”, “__MON_FMT=wav”) in new stack
– Executing [s@sub-record-check:10] NoOp(“SIP/62100-0000000e”, “Recordings initialized”) in new stack
– Executing [s@sub-record-check:11] ExecIf(“SIP/62100-0000000e”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [s@sub-record-check:12] Set(“SIP/62100-0000000e”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [s@sub-record-check:13] ExecIf(“SIP/62100-0000000e”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [s@sub-record-check:14] GotoIf(“SIP/62100-0000000e”, “5?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [s@sub-record-check:17] GotoIf(“SIP/62100-0000000e”, “1?sub-record-check,exten,1”) in new stack
– Goto (sub-record-check,exten,1)
– Executing [exten@sub-record-check:1] NoOp(“SIP/62100-0000000e”, “Exten Recording Check between 62100 and 2220”) in new stack
– Executing [exten@sub-record-check:2] Set(“SIP/62100-0000000e”, “CALLTYPE=internal”) in new stack
– Executing [exten@sub-record-check:3] ExecIf(“SIP/62100-0000000e”, “0?Set(CALLTYPE=)”) in new stack
– Executing [exten@sub-record-check:4] Set(“SIP/62100-0000000e”, “CALLEE=dontcare”) in new stack
– Executing [exten@sub-record-check:5] ExecIf(“SIP/62100-0000000e”, “0?Set(CALLEE=dontcare)”) in new stack
– Executing [exten@sub-record-check:6] GotoIf(“SIP/62100-0000000e”, “0?callee”) in new stack
– Executing [exten@sub-record-check:7] GotoIf(“SIP/62100-0000000e”, “1?caller”) in new stack
– Goto (sub-record-check,exten,13)
– Executing [exten@sub-record-check:13] Set(“SIP/62100-0000000e”, “RECMODE=dontcare”) in new stack
– Executing [exten@sub-record-check:14] ExecIf(“SIP/62100-0000000e”, “0?Set(RECMODE=dontcare)”) in new stack
– Executing [exten@sub-record-check:15] ExecIf(“SIP/62100-0000000e”, “1?Set(RECMODE=dontcare)”) in new stack
– Executing [exten@sub-record-check:16] Gosub(“SIP/62100-0000000e”, “recordcheck,1(dontcare,internal,2220)”) in new stack
– Executing [recordcheck@sub-record-check:1] NoOp(“SIP/62100-0000000e”, “Starting recording check against dontcare”) in new stack
– Executing [recordcheck@sub-record-check:2] Goto(“SIP/62100-0000000e”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [recordcheck@sub-record-check:3] Return(“SIP/62100-0000000e”, “”) in new stack
– Executing [exten@sub-record-check:17] Return(“SIP/62100-0000000e”, “”) in new stack
– Executing [s@macro-exten-vm:19] GotoIf(“SIP/62100-0000000e”, “1?macrodial”) in new stack
– Goto (macro-exten-vm,s,25)
– Executing [s@macro-exten-vm:25] GosubIf(“SIP/62100-0000000e”, “0?clrheader,1()”) in new stack
– Executing [s@macro-exten-vm:26] Macro(“SIP/62100-0000000e”, “dial-one,HhTtr,2220”) in new stack
– Executing [s@macro-dial-one:1] Set(“SIP/62100-0000000e”, “DEXTEN=2220”) in new stack
– Executing [s@macro-dial-one:2] Set(“SIP/62100-0000000e”, “__CRM_SOURCE=62100”) in new stack
– Executing [s@macro-dial-one:3] ExecIf(“SIP/62100-0000000e”, “0?Set(__EXTTOCALL=2220)”) in new stack
– Executing [s@macro-dial-one:4] Set(“SIP/62100-0000000e”, “DIALSTATUS_CW=”) in new stack
– Executing [s@macro-dial-one:5] GosubIf(“SIP/62100-0000000e”, “0?screen,1()”) in new stack
– Executing [s@macro-dial-one:6] GosubIf(“SIP/62100-0000000e”, “0?cf,1()”) in new stack
– Executing [s@macro-dial-one:7] GotoIf(“SIP/62100-0000000e”, “1?skip1”) in new stack
– Goto (macro-dial-one,s,10)
– Executing [s@macro-dial-one:10] GotoIf(“SIP/62100-0000000e”, “0?nodial”) in new stack
– Executing [s@macro-dial-one:11] GotoIf(“SIP/62100-0000000e”, “0?continue”) in new stack
– Executing [s@macro-dial-one:12] Set(“SIP/62100-0000000e”, “EXTHASCW=ENABLED”) in new stack
– Executing [s@macro-dial-one:13] GotoIf(“SIP/62100-0000000e”, “0?next1:cwinusebusy”) in new stack
– Goto (macro-dial-one,s,25)
– Executing [s@macro-dial-one:25] GotoIf(“SIP/62100-0000000e”, “0?next3:continue”) in new stack
– Goto (macro-dial-one,s,27)
– Executing [s@macro-dial-one:27] GotoIf(“SIP/62100-0000000e”, “0?nodial”) in new stack
– Executing [s@macro-dial-one:28] GosubIf(“SIP/62100-0000000e”, “1?dstring,1():dlocal,1()”) in new stack
– Executing [dstring@macro-dial-one:1] Set(“SIP/62100-0000000e”, “DSTRING=”) in new stack
– Executing [dstring@macro-dial-one:2] Set(“SIP/62100-0000000e”, “DEVICES=2220”) in new stack
– Executing [dstring@macro-dial-one:3] ExecIf(“SIP/62100-0000000e”, “0?Return()”) in new stack
– Executing [dstring@macro-dial-one:4] ExecIf(“SIP/62100-0000000e”, “0?Set(DEVICES=220)”) in new stack
– Executing [dstring@macro-dial-one:5] Set(“SIP/62100-0000000e”, “LOOPCNT=1”) in new stack
– Executing [dstring@macro-dial-one:6] Set(“SIP/62100-0000000e”, “ITER=1”) in new stack
– Executing [dstring@macro-dial-one:7] Set(“SIP/62100-0000000e”, “THISDIAL=SIP/2220”) in new stack
– Executing [dstring@macro-dial-one:8] GosubIf(“SIP/62100-0000000e”, “1?zap2dahdi,1()”) in new stack
– Executing [zap2dahdi@macro-dial-one:1] ExecIf(“SIP/62100-0000000e”, “0?Return()”) in new stack
– Executing [zap2dahdi@macro-dial-one:2] Set(“SIP/62100-0000000e”, “NEWDIAL=”) in new stack
– Executing [zap2dahdi@macro-dial-one:3] Set(“SIP/62100-0000000e”, “LOOPCNT2=1”) in new stack
– Executing [zap2dahdi@macro-dial-one:4] Set(“SIP/62100-0000000e”, “ITER2=1”) in new stack
– Executing [zap2dahdi@macro-dial-one:5] Set(“SIP/62100-0000000e”, “THISPART2=SIP/2220”) in new stack
– Executing [zap2dahdi@macro-dial-one:6] ExecIf(“SIP/62100-0000000e”, “0?Set(THISPART2=DAHDI/2220)”) in new stack
– Executing [zap2dahdi@macro-dial-one:7] Set(“SIP/62100-0000000e”, “NEWDIAL=SIP/2220&”) in new stack
– Executing [zap2dahdi@macro-dial-one:8] Set(“SIP/62100-0000000e”, “ITER2=2”) in new stack
– Executing [zap2dahdi@macro-dial-one:9] GotoIf(“SIP/62100-0000000e”, “0?begin2”) in new stack
– Executing [zap2dahdi@macro-dial-one:10] Set(“SIP/62100-0000000e”, “THISDIAL=SIP/2220”) in new stack
– Executing [zap2dahdi@macro-dial-one:11] Return(“SIP/62100-0000000e”, “”) in new stack
– Executing [dstring@macro-dial-one:9] GotoIf(“SIP/62100-0000000e”, “1?docheck”) in new stack
– Goto (macro-dial-one,dstring,15)
– Executing [dstring@macro-dial-one:15] GotoIf(“SIP/62100-0000000e”, “0?skipset”) in new stack
– Executing [dstring@macro-dial-one:16] Set(“SIP/62100-0000000e”, “DSTRING=SIP/2220&”) in new stack
– Executing [dstring@macro-dial-one:17] Set(“SIP/62100-0000000e”, “ITER=2”) in new stack
– Executing [dstring@macro-dial-one:18] GotoIf(“SIP/62100-0000000e”, “0?begin”) in new stack
– Executing [dstring@macro-dial-one:19] ExecIf(“SIP/62100-0000000e”, “0?Return()”) in new stack
– Executing [dstring@macro-dial-one:20] Set(“SIP/62100-0000000e”, “DSTRING=SIP/2220”) in new stack
– Executing [dstring@macro-dial-one:21] Return(“SIP/62100-0000000e”, “”) in new stack
– Executing [s@macro-dial-one:29] GotoIf(“SIP/62100-0000000e”, “0?nodial”) in new stack
– Executing [s@macro-dial-one:30] GotoIf(“SIP/62100-0000000e”, “0?skiptrace”) in new stack
– Executing [s@macro-dial-one:31] GosubIf(“SIP/62100-0000000e”, “1?ctset,1():ctclear,1()”) in new stack
– Executing [ctset@macro-dial-one:1] Set(“SIP/62100-0000000e”, “DB(CALLTRACE/2220)=62100”) in new stack
– Executing [ctset@macro-dial-one:2] Return(“SIP/62100-0000000e”, “”) in new stack
– Executing [s@macro-dial-one:32] Set(“SIP/62100-0000000e”, “D_OPTIONS=HhTtr”) in new stack
– Executing [s@macro-dial-one:33] GosubIf(“SIP/62100-0000000e”, “0?func-set-sipheader,s,1(Alert-Info,)”) in new stack
– Executing [s@macro-dial-one:34] NoOp(“SIP/62100-0000000e”, "Blind Transfer: , Attended Transfer: , User: 62100, Alert Info: ") in new stack
– Executing [s@macro-dial-one:35] ExecIf(“SIP/62100-0000000e”, “1?Set(ALERT_INFO=)”) in new stack
– Executing [s@macro-dial-one:36] ExecIf(“SIP/62100-0000000e”, “0?Set(ALERT_INFO=)”) in new stack
– Executing [s@macro-dial-one:37] ExecIf(“SIP/62100-0000000e”, “0?Set(ALERT_INFO=)”) in new stack
– Executing [s@macro-dial-one:38] ExecIf(“SIP/62100-0000000e”, “0?Set(ALERT_INFO=Normal;volume=)”) in new stack
– Executing [s@macro-dial-one:39] ExecIf(“SIP/62100-0000000e”, “0?Set(ALERT_INFO=Normal;volume=)”) in new stack
– Executing [s@macro-dial-one:40] GosubIf(“SIP/62100-0000000e”, “0?func-set-sipheader,s,1(Alert-Info,)”) in new stack
– Executing [s@macro-dial-one:41] ExecIf(“SIP/62100-0000000e”, “0?Set(CHANNEL(musicclass)=)”) in new stack
– Executing [s@macro-dial-one:42] GosubIf(“SIP/62100-0000000e”, “0?qwait,1()”) in new stack
– Executing [s@macro-dial-one:43] Set(“SIP/62100-0000000e”, “__CWIGNORE=”) in new stack
– Executing [s@macro-dial-one:44] Set(“SIP/62100-0000000e”, “__KEEPCID=TRUE”) in new stack
– Executing [s@macro-dial-one:45] GotoIf(“SIP/62100-0000000e”, “0?usegoto,1”) in new stack
– Executing [s@macro-dial-one:46] GotoIf(“SIP/62100-0000000e”, “0?godial”) in new stack
– Executing [s@macro-dial-one:47] Gosub(“SIP/62100-0000000e”, “sub-presencestate-display,s,1(2220)”) in new stack
– Executing [s@sub-presencestate-display:1] Goto(“SIP/62100-0000000e”, “state-not_set,1”) in new stack
– Goto (sub-presencestate-display,state-not_set,1)
– Executing [state-not_set@sub-presencestate-display:1] Set(“SIP/62100-0000000e”, “PRESENCESTATE_DISPLAY=”) in new stack
– Executing [state-not_set@sub-presencestate-display:2] Return(“SIP/62100-0000000e”, “”) in new stack
– Executing [s@macro-dial-one:48] Set(“SIP/62100-0000000e”, “CONNECTEDLINE(name,i)=Brad Lingo”) in new stack
– Executing [s@macro-dial-one:49] Set(“SIP/62100-0000000e”, “CONNECTEDLINE(num)=2220”) in new stack
– Executing [s@macro-dial-one:50] Set(“SIP/62100-0000000e”, “D_OPTIONS=HhTtrI”) in new stack
– Executing [s@macro-dial-one:51] Macro(“SIP/62100-0000000e”, “dialout-one-predial-hook,”) in new stack
– Executing [s@macro-dialout-one-predial-hook:1] MacroExit(“SIP/62100-0000000e”, “”) in new stack
– Executing [s@macro-dial-one:52] ExecIf(“SIP/62100-0000000e”, “0?Set(D_OPTIONS=HhtrII)”) in new stack
– Executing [s@macro-dial-one:53] NoOp(“SIP/62100-0000000e”, “”) in new stack
– Executing [s@macro-dial-one:54] ExecIf(“SIP/62100-0000000e”, “0?Set(D_OPTIONS=HhTtrIg)”) in new stack
– Executing [s@macro-dial-one:55] Dial(“SIP/62100-0000000e”, “SIP/2220,HhTtrIb(func-apply-sipheaders^s^1)”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– SIP/2220-0000000f Internal Gosub(func-apply-sipheaders,s,1) start
– Executing [s@func-apply-sipheaders:1] ExecIf(“SIP/2220-0000000f”, “0?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)”) in new stack
– Executing [s@func-apply-sipheaders:2] NoOp(“SIP/2220-0000000f”, “Applying SIP Headers to channel SIP/2220-0000000f”) in new stack
– Executing [s@func-apply-sipheaders:3] Set(“SIP/2220-0000000f”, “TECH=SIP”) in new stack
– Executing [s@func-apply-sipheaders:4] Set(“SIP/2220-0000000f”, “SIPHEADERKEYS=”) in new stack
– Executing [s@func-apply-sipheaders:5] While(“SIP/2220-0000000f”, “0”) in new stack
– Jumping to priority 12
– Executing [s@func-apply-sipheaders:13] Return(“SIP/2220-0000000f”, “”) in new stack
== Spawn extension (from-internal, 2220, 1) exited non-zero on ‘SIP/2220-0000000f’
– SIP/2220-0000000f Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
– Called SIP/2220
– Connected line update to SIP/62100-0000000e prevented.
– SIP/2220-0000000f is ringing
– Connected line update to SIP/62100-0000000e prevented.
– SIP/2220-0000000f answered SIP/62100-0000000e
– Channel SIP/2220-0000000f joined ‘simple_bridge’ basic-bridge <152249db-cc3e-455d-9a18-33a617ef7771>
– Channel SIP/62100-0000000e joined ‘simple_bridge’ basic-bridge <152249db-cc3e-455d-9a18-33a617ef7771>
– Channel SIP/2220-0000000f left ‘simple_bridge’ basic-bridge <152249db-cc3e-455d-9a18-33a617ef7771>
– Channel SIP/62100-0000000e left ‘simple_bridge’ basic-bridge <152249db-cc3e-455d-9a18-33a617ef7771>
== Spawn extension (macro-dial-one, s, 55) exited non-zero on ‘SIP/62100-0000000e’ in macro ‘dial-one’
== Spawn extension (macro-exten-vm, s, 26) exited non-zero on ‘SIP/62100-0000000e’ in macro ‘exten-vm’
== Spawn extension (ext-local, 2220, 2) exited non-zero on ‘SIP/62100-0000000e’
– Executing [h@ext-local:1] Macro(“SIP/62100-0000000e”, “hangupcall,”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“SIP/62100-0000000e”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [s@macro-hangupcall:3] ExecIf(“SIP/62100-0000000e”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [s@macro-hangupcall:4] NoOp(“SIP/62100-0000000e”, "SIP/2220-0000000f montior file= ") in new stack
– Executing [s@macro-hangupcall:5] GotoIf(“SIP/62100-0000000e”, “1?skipagi”) in new stack
– Goto (macro-hangupcall,s,7)
– Executing [s@macro-hangupcall:7] Hangup(“SIP/62100-0000000e”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘SIP/62100-0000000e’ in macro ‘hangupcall’
== Spawn extension (ext-local, h, 1) exited non-zero on ‘SIP/62100-0000000e’
freepbx
CLI>

Here also is the Cal Event Logger from the GUI:

Time Event Type UniqueID LinkedID Cid num Extension Context Channel Name
Sun, Aug 25, 2019 5:08 PM BRIDGE_EXIT 1566724095.15 1566724095.14 2220 from-internal SIP/2220-0000000f
Sun, Aug 25, 2019 5:08 PM HANGUP 1566724095.15 1566724095.14 2220 from-internal SIP/2220-0000000f
Sun, Aug 25, 2019 5:08 PM CHAN_END 1566724095.15 1566724095.14 2220 from-internal SIP/2220-0000000f
Sun, Aug 25, 2019 5:08 PM BRIDGE_EXIT 1566724095.14 1566724095.14 62100 s macro-dial-one SIP/62100-0000000e
Sun, Aug 25, 2019 5:08 PM HANGUP 1566724095.14 1566724095.14 62100 h ext-local SIP/62100-0000000e
Sun, Aug 25, 2019 5:08 PM CHAN_END 1566724095.14 1566724095.14 62100 h ext-local SIP/62100-0000000e
Sun, Aug 25, 2019 5:08 PM LINKEDID_END 1566724095.14 1566724095.14 62100 h ext-local SIP/62100-0000000e
Sun, Aug 25, 2019 5:08 PM ANSWER 1566724095.15 1566724095.14 2220 2220 from-internal SIP/2220-0000000f
Sun, Aug 25, 2019 5:08 PM ANSWER 1566724095.14 1566724095.14 62100 s macro-dial-one SIP/62100-0000000e
Sun, Aug 25, 2019 5:08 PM BRIDGE_ENTER 1566724095.15 1566724095.14 2220 from-internal SIP/2220-0000000f
Sun, Aug 25, 2019 5:08 PM BRIDGE_ENTER 1566724095.14 1566724095.14 62100 s macro-dial-one SIP/62100-0000000e
Sun, Aug 25, 2019 5:08 PM CHAN_START 1566724095.14 1566724095.14 62100 2220 from-internal SIP/62100-0000000e
Sun, Aug 25, 2019 5:08 PM CHAN_START 1566724095.15 1566724095.14 2220 s from-internal SIP/2220-0000000f

(Mgbolts) #2

OK, good news, I have a result. Turns out it was the endpoint (extension) NAT setting under the advanced tab. Changed it to auto comedia and we have a result! Now to do some more reading to understand why!

Thanks All :slight_smile:

PS. Its somewhat irrelevant as the network topo will change upon implementing the VPN…


(Avayax) #3

When you make a call from your phone it sends a SIP invite to your server, which contains an IP address in its SDP header where it instructs Asterisk to send audio to.

If you set the endpoint to comedia, Asterisk will ignore that IP address and instead wait for audio from the endpoint and send audio back to the port and IP address it received it from.

I suspect the IP address offered in the SDP header is the private address of your phone behind NAT, to which audio can’t be sent, instead of the public IP address of the router.


(Mgbolts) #4

Thanks for the clarification!


(system) closed #5

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