Uk dahdi pots freepbx a200 issue

a200cards
dahdi
Tags: #<Tag:0x00007f7024362360> #<Tag:0x00007f70243621a8>

(Pricie1991) #1

I’m wondering if someone could point me in the right direction of where my problem could be.

I have a freepbx 15 server running with a Sangoma A200 with 1 fxo card.

I’m trying to get my dahdi module working however if I call in from external the call will ring the extension and i’ll either get no voice either way or a very high pitch bleeping noise.

If I listen to the call recording I can hear the audio from both sides.

I’ve been reading post:

https://pbxinaflash.com/community/threads/chan_dahdi-conf-problem.9019/

https://pbxinaflash.com/community/threads/dahdi-trunk-no-audio-on-out-bound.9924/page-3

but haven’t been able to resolve my issue.

System currently isn’t in production and just testing purposes currently until i’m happy its running correctly.

Please see below some of my dahdi config files:

/etc/asterisk/chan_dahdi.conf

[general]

; generated by module

#include chan_dahdi_general.conf

; for user additions not provided by module

#include chan_dahdi_general_custom.conf

[channels]

language=en

busydetect=yes

busycount=3

usecallerid=yes

callwaiting=no

usecallingpres=yes

threewaycalling=yes

transfer=yes

cancallforward=yes

callreturn=yes

echocancel=yes

echocancelwhenbridged=no

echotraining=no

immediate=no

faxdetect=no

rxgain=0

txgain=0

alawoverride=0

alawoverride_checkbox=0

answeronpolarityswitch=no

boostringer=0

boostringer_checkbox=0

cidsignalling=v23

cidstart=polarity

echocan_nlp_max_supp=

echocan_nlp_threshold=

echocan_nlp_type=0

fastringer=0

fastringer_checkbox=0

fxs_honor_mode=0

fxs_honor_mode_checkbox=0

lowpower=0

lowpower_checkbox=0

module_name=wctdm24xxp

mwi=none

mwi_checkbox=0

neon_offlimit=

neon_voltage=

opermode=UK

opermode_checkbox=0

sendcalleridafter=2

; for user additions not provided by module

#include chan_dahdi_channels_custom.conf

/etc/modprobe.d/dahdi.conf

options wctdm24xxp opermode=UK

/etc/asterisk/dahdi-channels.conf

; Span 1: WRTDM/0 “wrtdm Board 1” (MASTER)

;;; line=“1 WRTDM/0/0 FXSKS (In use) (EC: WANPIPE_HWEC - INACTIVE)”

signalling=fxs_ks

callerid=asreceived

group=0

context=from-analog

channel => 1

callerid=

group=

context=default

;;; line=“2 WRTDM/0/1 FXSKS (In use) (EC: WANPIPE_HWEC - INACTIVE)”

signalling=fxs_ks

callerid=asreceived

group=0

context=from-analog

channel => 2

callerid=

group=

context=default

If anyone could help I would be very grateful.


(James Zhu) #2

please add more asterisk CLI log.


(Kapil Gupta) #3

Hi @pricie1991 for no audio or audio issue you would first want to isolate the issue i.e. issue is from FXO side or issue is from asterisk/extension(IP) side.

Asterisk logs are useful to find out if its not a simple configuration issue.

If you like to go deep in troubleshooting then I would suggest first confirm your normal extension to extension call works fine and if yes then worth to take tcpdump on IP to capture extension side of RTP and Card / Wanpipe recording to check if incoming audio from FXO itself is good or not. Also there is utility in DAHDI called dahdi_monitor to monitor/record the audio towards FXO side.

Thanks
Kapil


(Pricie1991) #4

Thanks for the replies, yes i can confirm that extension to extension calling is fine and can hear each other no problems.

Below is log of call out and call in neither work.

In call:

freepbxCLI>
– Starting simple switch on ‘DAHDI/1-1’
freepbx
CLI>
– Executing [s@from-analog:1] NoOp(“DAHDI/1-1”, "Entering from-dahdi with DID == ") in new stack
– Executing [s@from-analog:2] Ringing(“DAHDI/1-1”, “”) in new stack
– Executing [s@from-analog:3] Set(“DAHDI/1-1”, “DID=s”) in new stack
– Executing [s@from-analog:4] NoOp(“DAHDI/1-1”, “DID is now s”) in new stack
– Executing [s@from-analog:5] GotoIf(“DAHDI/1-1”, “1?dahdiok:checkzap”) in new stack
– Goto (from-analog,s,9)
– Executing [s@from-analog:9] NoOp(“DAHDI/1-1”, “Is a DAHDi Channel”) in new stack
– Executing [s@from-analog:10] Set(“DAHDI/1-1”, “CHAN=1-1”) in new stack
– Executing [s@from-analog:11] Set(“DAHDI/1-1”, “CHAN=1”) in new stack
– Executing [s@from-analog:12] Macro(“DAHDI/1-1”, “from-dahdi-1,s,1”) in new stack
[2020-02-14 18:20:27] WARNING[5409][C-00000006]: app_macro.c:329 _macro_exec: No such context ‘macro-from-dahdi-1’ for macro ‘from-dahdi-1’. Was called by s@from-analog
– Executing [s@from-analog:13] NoOp(“DAHDI/1-1”, “Returned from Macro from-dahdi-1”) in new stack
– Executing [s@from-analog:14] Goto(“DAHDI/1-1”, “from-pstn,s,1”) in new stack
– Goto (from-pstn,s,1)
– Executing [s@from-pstn:1] Set(“DAHDI/1-1”, “__DIRECTION=INBOUND”) in new stack
– Executing [s@from-pstn:2] Set(“DAHDI/1-1”, “CHANNEL(language)=en”) in new stack
– Executing [s@from-pstn:3] Gosub(“DAHDI/1-1”, “sub-record-check,s,1(in,s,dontcare)”) in new stack
– Executing [s@sub-record-check:1] GotoIf(“DAHDI/1-1”, “0?initialized”) in new stack
– Executing [s@sub-record-check:2] Set(“DAHDI/1-1”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [s@sub-record-check:3] Set(“DAHDI/1-1”, “NOW=1581704427”) in new stack
– Executing [s@sub-record-check:4] Set(“DAHDI/1-1”, “__DAY=14”) in new stack
– Executing [s@sub-record-check:5] Set(“DAHDI/1-1”, “__MONTH=02”) in new stack
– Executing [s@sub-record-check:6] Set(“DAHDI/1-1”, “__YEAR=2020”) in new stack
– Executing [s@sub-record-check:7] Set(“DAHDI/1-1”, “__TIMESTR=20200214-182027”) in new stack
– Executing [s@sub-record-check:8] Set(“DAHDI/1-1”, “__FROMEXTEN=unknown”) in new stack
– Executing [s@sub-record-check:9] Set(“DAHDI/1-1”, “__MON_FMT=wav”) in new stack
– Executing [s@sub-record-check:10] NoOp(“DAHDI/1-1”, “Recordings initialized”) in new stack
– Executing [s@sub-record-check:11] ExecIf(“DAHDI/1-1”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [s@sub-record-check:12] Set(“DAHDI/1-1”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [s@sub-record-check:13] ExecIf(“DAHDI/1-1”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [s@sub-record-check:14] GotoIf(“DAHDI/1-1”, “2?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [s@sub-record-check:17] GotoIf(“DAHDI/1-1”, “1?sub-record-check,in,1”) in new stack
– Goto (sub-record-check,in,1)
– Executing [in@sub-record-check:1] NoOp(“DAHDI/1-1”, “Inbound Recording Check to s”) in new stack
– Executing [in@sub-record-check:2] Set(“DAHDI/1-1”, “FROMEXTEN=unknown”) in new stack
– Executing [in@sub-record-check:3] ExecIf(“DAHDI/1-1”, “0?Set(FROMEXTEN=)”) in new stack
– Executing [in@sub-record-check:4] Gosub(“DAHDI/1-1”, “recordcheck,1(dontcare,in,s)”) in new stack
– Executing [recordcheck@sub-record-check:1] NoOp(“DAHDI/1-1”, “Starting recording check against dontcare”) in new stack
– Executing [recordcheck@sub-record-check:2] Goto(“DAHDI/1-1”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [recordcheck@sub-record-check:3] Return(“DAHDI/1-1”, “”) in new stack
– Executing [in@sub-record-check:5] Return(“DAHDI/1-1”, “”) in new stack
– Executing [s@from-pstn:4] Set(“DAHDI/1-1”, “CHANNEL(tonezone)=uk”) in new stack
– Executing [s@from-pstn:5] ExecIf(“DAHDI/1-1”, “1?Set(__FROM_DID=s)”) in new stack
– Executing [s@from-pstn:6] Set(“DAHDI/1-1”, “returnhere=1”) in new stack
– Executing [s@from-pstn:7] Gosub(“DAHDI/1-1”, “app-blacklist-check,s,1()”) in new stack
– Executing [s@app-blacklist-check:1] GotoIf(“DAHDI/1-1”, “0?blacklisted”) in new stack
– Executing [s@app-blacklist-check:2] Set(“DAHDI/1-1”, “CALLED_BLACKLIST=1”) in new stack
– Executing [s@app-blacklist-check:3] Return(“DAHDI/1-1”, “”) in new stack
– Executing [s@from-pstn:8] Set(“DAHDI/1-1”, “CDR(did)=s”) in new stack
– Executing [s@from-pstn:9] GotoIf(“DAHDI/1-1”, “0?”) in new stack
– Executing [s@from-pstn:10] ExecIf(“DAHDI/1-1”, “1 ?Set(CALLERID(name)=)”) in new stack
– Executing [s@from-pstn:11] Set(“DAHDI/1-1”, “__MOHCLASS=”) in new stack
– Executing [s@from-pstn:12] Ringing(“DAHDI/1-1”, “”) in new stack
– Executing [s@from-pstn:13] Set(“DAHDI/1-1”, “__RINGINGSENT=TRUE”) in new stack
– Executing [s@from-pstn:14] Set(“DAHDI/1-1”, “__REVERSAL_REJECT=FALSE”) in new stack
– Executing [s@from-pstn:15] GotoIf(“DAHDI/1-1”, “1?post-reverse-charge”) in new stack
– Goto (from-pstn,s,17)
– Executing [s@from-pstn:17] NoOp(“DAHDI/1-1”, “”) in new stack
– Executing [s@from-pstn:18] Set(“DAHDI/1-1”, “__CALLINGNAMEPRES_SV=allowed_not_screened”) in new stack
– Executing [s@from-pstn:19] Set(“DAHDI/1-1”, “__CALLINGNUMPRES_SV=allowed_not_screened”) in new stack
– Executing [s@from-pstn:20] Set(“DAHDI/1-1”, “CALLERID(name-pres)=allowed_not_screened”) in new stack
– Executing [s@from-pstn:21] Set(“DAHDI/1-1”, “CALLERID(num-pres)=allowed_not_screened”) in new stack
– Executing [s@from-pstn:22] NoOp(“DAHDI/1-1”, “CallerID Entry Point”) in new stack
– Executing [s@from-pstn:23] Goto(“DAHDI/1-1”, “from-did-direct,101,1”) in new stack
– Goto (from-did-direct,101,1)
– Executing [101@from-did-direct:1] GotoIf(“DAHDI/1-1”, “1?ext-local,101,1:followme-check,101,1”) in new stack
– Goto (ext-local,101,1)
– Executing [101@ext-local:1] Set(“DAHDI/1-1”, “__RINGTIMER=15”) in new stack
– Executing [101@ext-local:2] Macro(“DAHDI/1-1”, “exten-vm,novm,101,0,0,0”) in new stack
– Executing [s@macro-exten-vm:1] Macro(“DAHDI/1-1”, “user-callerid,”) in new stack
– Executing [s@macro-user-callerid:1] Set(“DAHDI/1-1”, “TOUCH_MONITOR=1581704417.5”) in new stack
– Executing [s@macro-user-callerid:2] Set(“DAHDI/1-1”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:3] Set(“DAHDI/1-1”, “HOTDESCKCHAN=1-1”) in new stack
– Executing [s@macro-user-callerid:4] Set(“DAHDI/1-1”, “HOTDESKEXTEN=1”) in new stack
– Executing [s@macro-user-callerid:5] Set(“DAHDI/1-1”, “HOTDESKCALL=0”) in new stack
– Executing [s@macro-user-callerid:6] ExecIf(“DAHDI/1-1”, “0?Set(HOTDESKCALL=1)”) in new stack
– Executing [s@macro-user-callerid:7] ExecIf(“DAHDI/1-1”, “0?Set(CALLERID(name)=)”) in new stack
– Executing [s@macro-user-callerid:8] GotoIf(“DAHDI/1-1”, “0?report”) in new stack
– Executing [s@macro-user-callerid:9] ExecIf(“DAHDI/1-1”, “1?Set(REALCALLERIDNUM=)”) in new stack
– Executing [s@macro-user-callerid:10] Set(“DAHDI/1-1”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:11] GotoIf(“DAHDI/1-1”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:12] Set(“DAHDI/1-1”, “AMPUSERCIDNAME=”) in new stack
– Executing [s@macro-user-callerid:13] ExecIf(“DAHDI/1-1”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
– Executing [s@macro-user-callerid:14] GotoIf(“DAHDI/1-1”, “1?report”) in new stack
– Goto (macro-user-callerid,s,22)
– Executing [s@macro-user-callerid:22] NoOp(“DAHDI/1-1”, “Macro Depth is 2”) in new stack
– Executing [s@macro-user-callerid:23] GotoIf(“DAHDI/1-1”, “1?report2:macroerror”) in new stack
– Goto (macro-user-callerid,s,24)
– Executing [s@macro-user-callerid:24] GotoIf(“DAHDI/1-1”, “0?continue”) in new stack
– Executing [s@macro-user-callerid:25] ExecIf(“DAHDI/1-1”, “1?Set(__CALLEE_ACCOUNCODE=)”) in new stack
– Executing [s@macro-user-callerid:26] Set(“DAHDI/1-1”, “__TTL=64”) in new stack
– Executing [s@macro-user-callerid:27] GotoIf(“DAHDI/1-1”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,43)
– Executing [s@macro-user-callerid:43] Set(“DAHDI/1-1”, “CALLERID(number)=”) in new stack
– Executing [s@macro-user-callerid:44] Set(“DAHDI/1-1”, “CALLERID(name)=”) in new stack
– Executing [s@macro-user-callerid:45] GotoIf(“DAHDI/1-1”, “1?cnum”) in new stack
– Goto (macro-user-callerid,s,47)
– Executing [s@macro-user-callerid:47] Set(“DAHDI/1-1”, “CDR(cnum)=”) in new stack
– Executing [s@macro-user-callerid:48] Set(“DAHDI/1-1”, “CHANNEL(language)=en”) in new stack
– Executing [s@macro-exten-vm:2] Set(“DAHDI/1-1”, “RingGroupMethod=none”) in new stack
– Executing [s@macro-exten-vm:3] Set(“DAHDI/1-1”, “__EXTTOCALL=101”) in new stack
– Executing [s@macro-exten-vm:4] Set(“DAHDI/1-1”, “__PICKUPMARK=101”) in new stack
– Executing [s@macro-exten-vm:5] Set(“DAHDI/1-1”, “RT=”) in new stack
[2020-02-14 18:20:27] WARNING[5409][C-00000006]: chan_sip.c:23160 func_header_read: This function can only be used on SIP channels.
– Executing [s@macro-exten-vm:6] ExecIf(“DAHDI/1-1”, “0?Macro(vm,novm,DIRECTDIAL,)”) in new stack
[2020-02-14 18:20:27] WARNING[5409][C-00000006]: chan_sip.c:23160 func_header_read: This function can only be used on SIP channels.
[2020-02-14 18:20:27] WARNING[5409][C-00000006]: chan_sip.c:23160 func_header_read: This function can only be used on SIP channels.
– Executing [s@macro-exten-vm:7] ExecIf(“DAHDI/1-1”, “0?MacroExit()”) in new stack
[2020-02-14 18:20:27] WARNING[5409][C-00000006]: chan_sip.c:23160 func_header_read: This function can only be used on SIP channels.
[2020-02-14 18:20:27] WARNING[5409][C-00000006]: chan_sip.c:23160 func_header_read: This function can only be used on SIP channels.
– Executing [s@macro-exten-vm:8] ExecIf(“DAHDI/1-1”, “0?Gosub(ext-intercom,*80101,1())”) in new stack
[2020-02-14 18:20:27] WARNING[5409][C-00000006]: chan_sip.c:23160 func_header_read: This function can only be used on SIP channels.
[2020-02-14 18:20:27] WARNING[5409][C-00000006]: chan_sip.c:23160 func_header_read: This function can only be used on SIP channels.
– Executing [s@macro-exten-vm:9] ExecIf(“DAHDI/1-1”, “0?MacroExit()”) in new stack
[2020-02-14 18:20:27] WARNING[5409][C-00000006]: chan_sip.c:23160 func_header_read: This function can only be used on SIP channels.
[2020-02-14 18:20:27] WARNING[5409][C-00000006]: chan_sip.c:23160 func_header_read: This function can only be used on SIP channels.
– Executing [s@macro-exten-vm:10] ExecIf(“DAHDI/1-1”, “0?ChanSpy(PJSIP/101,q)”) in new stack
[2020-02-14 18:20:27] WARNING[5409][C-00000006]: chan_sip.c:23160 func_header_read: This function can only be used on SIP channels.
[2020-02-14 18:20:27] WARNING[5409][C-00000006]: chan_sip.c:23160 func_header_read: This function can only be used on SIP channels.
– Executing [s@macro-exten-vm:11] ExecIf(“DAHDI/1-1”, “0?MacroExit()”) in new stack
[2020-02-14 18:20:27] WARNING[5409][C-00000006]: chan_sip.c:23160 func_header_read: This function can only be used on SIP channels.
[2020-02-14 18:20:27] ERROR[5409][C-00000006]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
– Executing [s@macro-exten-vm:12] ExecIf(“DAHDI/1-1”, “0?Macro(vm,novm,DIRECTDIAL,)”) in new stack
[2020-02-14 18:20:27] ERROR[5409][C-00000006]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
[2020-02-14 18:20:27] ERROR[5409][C-00000006]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
– Executing [s@macro-exten-vm:13] ExecIf(“DAHDI/1-1”, “0?MacroExit()”) in new stack
[2020-02-14 18:20:27] ERROR[5409][C-00000006]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
[2020-02-14 18:20:27] ERROR[5409][C-00000006]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
– Executing [s@macro-exten-vm:14] ExecIf(“DAHDI/1-1”, “0?Gosub(ext-intercom,*80101,1())”) in new stack
[2020-02-14 18:20:27] ERROR[5409][C-00000006]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
[2020-02-14 18:20:27] ERROR[5409][C-00000006]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
– Executing [s@macro-exten-vm:15] ExecIf(“DAHDI/1-1”, “0?MacroExit()”) in new stack
[2020-02-14 18:20:27] ERROR[5409][C-00000006]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
[2020-02-14 18:20:27] ERROR[5409][C-00000006]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
– Executing [s@macro-exten-vm:16] ExecIf(“DAHDI/1-1”, “0?ChanSpy(PJSIP/101,q)”) in new stack
[2020-02-14 18:20:27] ERROR[5409][C-00000006]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
[2020-02-14 18:20:27] ERROR[5409][C-00000006]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
– Executing [s@macro-exten-vm:17] ExecIf(“DAHDI/1-1”, “0?MacroExit()”) in new stack
[2020-02-14 18:20:27] ERROR[5409][C-00000006]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
– Executing [s@macro-exten-vm:18] Gosub(“DAHDI/1-1”, “sub-record-check,s,1(exten,101,dontcare)”) in new stack
– Executing [s@sub-record-check:1] GotoIf(“DAHDI/1-1”, “7?initialized”) in new stack
– Goto (sub-record-check,s,10)
– Executing [s@sub-record-check:10] NoOp(“DAHDI/1-1”, “Recordings initialized”) in new stack
– Executing [s@sub-record-check:11] ExecIf(“DAHDI/1-1”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [s@sub-record-check:12] Set(“DAHDI/1-1”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [s@sub-record-check:13] ExecIf(“DAHDI/1-1”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [s@sub-record-check:14] GotoIf(“DAHDI/1-1”, “5?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [s@sub-record-check:17] GotoIf(“DAHDI/1-1”, “1?sub-record-check,exten,1”) in new stack
– Goto (sub-record-check,exten,1)
– Executing [exten@sub-record-check:1] NoOp(“DAHDI/1-1”, “Exten Recording Check between unknown and 101”) in new stack
– Executing [exten@sub-record-check:2] Set(“DAHDI/1-1”, “CALLTYPE=external”) in new stack
– Executing [exten@sub-record-check:3] ExecIf(“DAHDI/1-1”, “0?Set(CALLTYPE=)”) in new stack
– Executing [exten@sub-record-check:4] Set(“DAHDI/1-1”, “CALLEE=dontcare”) in new stack
– Executing [exten@sub-record-check:5] ExecIf(“DAHDI/1-1”, “0?Set(CALLEE=dontcare)”) in new stack
– Executing [exten@sub-record-check:6] GotoIf(“DAHDI/1-1”, “1?callee”) in new stack
– Goto (sub-record-check,exten,11)
– Executing [exten@sub-record-check:11] Gosub(“DAHDI/1-1”, “recordcheck,1(dontcare,external,101)”) in new stack
– Executing [recordcheck@sub-record-check:1] NoOp(“DAHDI/1-1”, “Starting recording check against dontcare”) in new stack
– Executing [recordcheck@sub-record-check:2] Goto(“DAHDI/1-1”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [recordcheck@sub-record-check:3] Return(“DAHDI/1-1”, “”) in new stack
– Executing [exten@sub-record-check:12] Return(“DAHDI/1-1”, “”) in new stack
– Executing [s@macro-exten-vm:19] GotoIf(“DAHDI/1-1”, “1?macrodial”) in new stack
– Goto (macro-exten-vm,s,25)
– Executing [s@macro-exten-vm:25] GosubIf(“DAHDI/1-1”, “0?clrheader,1()”) in new stack
– Executing [s@macro-exten-vm:26] Macro(“DAHDI/1-1”, “dial-one,HhTtr,101”) in new stack
– Executing [s@macro-dial-one:1] Set(“DAHDI/1-1”, “DEXTEN=101”) in new stack
– Executing [s@macro-dial-one:2] ExecIf(“DAHDI/1-1”, “0?Set(__EXTTOCALL=101)”) in new stack
– Executing [s@macro-dial-one:3] Set(“DAHDI/1-1”, “DIALSTATUS_CW=”) in new stack
– Executing [s@macro-dial-one:4] GosubIf(“DAHDI/1-1”, “0?screen,1()”) in new stack
– Executing [s@macro-dial-one:5] GosubIf(“DAHDI/1-1”, “0?cf,1()”) in new stack
– Executing [s@macro-dial-one:6] GotoIf(“DAHDI/1-1”, “1?skip1”) in new stack
– Goto (macro-dial-one,s,9)
– Executing [s@macro-dial-one:9] GotoIf(“DAHDI/1-1”, “0?nodial”) in new stack
– Executing [s@macro-dial-one:10] GotoIf(“DAHDI/1-1”, “0?continue”) in new stack
– Executing [s@macro-dial-one:11] Set(“DAHDI/1-1”, “EXTHASCW=ENABLED”) in new stack
– Executing [s@macro-dial-one:12] GotoIf(“DAHDI/1-1”, “0?next1:cwinusebusy”) in new stack
– Goto (macro-dial-one,s,24)
– Executing [s@macro-dial-one:24] GotoIf(“DAHDI/1-1”, “0?next3:continue”) in new stack
– Goto (macro-dial-one,s,26)
– Executing [s@macro-dial-one:26] GotoIf(“DAHDI/1-1”, “0?nodial”) in new stack
– Executing [s@macro-dial-one:27] GosubIf(“DAHDI/1-1”, “1?dstring,1():dlocal,1()”) in new stack
– Executing [dstring@macro-dial-one:1] Set(“DAHDI/1-1”, “DSTRING=”) in new stack
– Executing [dstring@macro-dial-one:2] Set(“DAHDI/1-1”, “DEVICES=101”) in new stack
– Executing [dstring@macro-dial-one:3] ExecIf(“DAHDI/1-1”, “0?Return()”) in new stack
– Executing [dstring@macro-dial-one:4] ExecIf(“DAHDI/1-1”, “0?Set(DEVICES=01)”) in new stack
– Executing [dstring@macro-dial-one:5] Set(“DAHDI/1-1”, “LOOPCNT=1”) in new stack
– Executing [dstring@macro-dial-one:6] Set(“DAHDI/1-1”, “ITER=1”) in new stack
– Executing [dstring@macro-dial-one:7] Set(“DAHDI/1-1”, “THISDIAL=PJSIP/101”) in new stack
– Executing [dstring@macro-dial-one:8] GotoIf(“DAHDI/1-1”, “0?docheck”) in new stack
– Executing [dstring@macro-dial-one:9] NoOp(“DAHDI/1-1”, “Debug: Found PJSIP Destination PJSIP/101”) in new stack
– Executing [dstring@macro-dial-one:10] GotoIf(“DAHDI/1-1”, “0?doset”) in new stack
– Executing [dstring@macro-dial-one:11] NoOp(“DAHDI/1-1”, “Debug: Updating PJSIP Destination with PJSIP_DIAL_CONTACTS”) in new stack
– Executing [dstring@macro-dial-one:12] Set(“DAHDI/1-1”, “THISDIAL=PJSIP/101/sip:101@192.168.5.2:5060”) in new stack
– Executing [dstring@macro-dial-one:13] ExecIf(“DAHDI/1-1”, “0?Set(DIALSTATUS=CHANUNAVAIL)”) in new stack
– Executing [dstring@macro-dial-one:14] GotoIf(“DAHDI/1-1”, “0?skipset”) in new stack
– Executing [dstring@macro-dial-one:15] Set(“DAHDI/1-1”, “DSTRING=PJSIP/101/sip:101@192.168.5.2:5060&”) in new stack
– Executing [dstring@macro-dial-one:16] Set(“DAHDI/1-1”, “ITER=2”) in new stack
– Executing [dstring@macro-dial-one:17] GotoIf(“DAHDI/1-1”, “0?begin”) in new stack
– Executing [dstring@macro-dial-one:18] ExecIf(“DAHDI/1-1”, “0?Return()”) in new stack
– Executing [dstring@macro-dial-one:19] Set(“DAHDI/1-1”, “DSTRING=PJSIP/101/sip:101@192.168.5.2:5060”) in new stack
– Executing [dstring@macro-dial-one:20] Return(“DAHDI/1-1”, “”) in new stack
– Executing [s@macro-dial-one:28] GotoIf(“DAHDI/1-1”, “0?nodial”) in new stack
– Executing [s@macro-dial-one:29] GotoIf(“DAHDI/1-1”, “0?skiptrace”) in new stack
– Executing [s@macro-dial-one:30] GosubIf(“DAHDI/1-1”, “0?ctset,1():ctclear,1()”) in new stack
– Executing [ctclear@macro-dial-one:1] NoOp(“DAHDI/1-1”, "Deleting: CALLTRACE/101 ") in new stack
– Executing [ctclear@macro-dial-one:2] Return(“DAHDI/1-1”, “”) in new stack
– Executing [s@macro-dial-one:31] Set(“DAHDI/1-1”, “D_OPTIONS=HhTtr”) in new stack
– Executing [s@macro-dial-one:32] GosubIf(“DAHDI/1-1”, “0?func-set-sipheader,s,1(Alert-Info,)”) in new stack
– Executing [s@macro-dial-one:33] NoOp(“DAHDI/1-1”, "Blind Transfer: , Attended Transfer: , User: , Alert Info: ") in new stack
– Executing [s@macro-dial-one:34] ExecIf(“DAHDI/1-1”, “0?Set(ALERT_INFO=)”) in new stack
– Executing [s@macro-dial-one:35] ExecIf(“DAHDI/1-1”, “0?Set(ALERT_INFO=)”) in new stack
– Executing [s@macro-dial-one:36] ExecIf(“DAHDI/1-1”, “0?Set(ALERT_INFO=)”) in new stack
– Executing [s@macro-dial-one:37] ExecIf(“DAHDI/1-1”, “0?Set(ALERT_INFO=Normal;volume=)”) in new stack
– Executing [s@macro-dial-one:38] ExecIf(“DAHDI/1-1”, “0?Set(ALERT_INFO=Normal;volume=)”) in new stack
– Executing [s@macro-dial-one:39] GosubIf(“DAHDI/1-1”, “0?func-set-sipheader,s,1(Alert-Info,)”) in new stack
– Executing [s@macro-dial-one:40] ExecIf(“DAHDI/1-1”, “0?Set(CHANNEL(musicclass)=)”) in new stack
– Executing [s@macro-dial-one:41] GosubIf(“DAHDI/1-1”, “0?qwait,1()”) in new stack
– Executing [s@macro-dial-one:42] Set(“DAHDI/1-1”, “__CWIGNORE=”) in new stack
– Executing [s@macro-dial-one:43] Set(“DAHDI/1-1”, “__KEEPCID=TRUE”) in new stack
– Executing [s@macro-dial-one:44] GotoIf(“DAHDI/1-1”, “0?usegoto,1”) in new stack
– Executing [s@macro-dial-one:45] GotoIf(“DAHDI/1-1”, “1?godial”) in new stack
– Goto (macro-dial-one,s,50)
– Executing [s@macro-dial-one:50] Macro(“DAHDI/1-1”, “dialout-one-predial-hook,”) in new stack
– Executing [s@macro-dialout-one-predial-hook:1] MacroExit(“DAHDI/1-1”, “”) in new stack
– Executing [s@macro-dial-one:51] ExecIf(“DAHDI/1-1”, “1?Set(D_OPTIONS=HhtrI)”) in new stack
– Executing [s@macro-dial-one:52] ExecIf(“DAHDI/1-1”, “0?Set(CWRING=r(callwaiting)):Set(CWRING=)”) in new stack
– Executing [s@macro-dial-one:53] NoOp(“DAHDI/1-1”, “”) in new stack
– Executing [s@macro-dial-one:54] ExecIf(“DAHDI/1-1”, “0?Set(D_OPTIONS=HhtrIg)”) in new stack
– Executing [s@macro-dial-one:55] Dial(“DAHDI/1-1”, “PJSIP/101/sip:101@192.168.5.2:5060,HhtrIb(func-apply-sipheaders^s^1)”) in new stack
– PJSIP/101-00000003 Internal Gosub(func-apply-sipheaders,s,1) start
– Executing [s@func-apply-sipheaders:1] NoOp(“PJSIP/101-00000003”, “Applying SIP Headers to channel PJSIP/101-00000003”) in new stack
– Executing [s@func-apply-sipheaders:2] Set(“PJSIP/101-00000003”, “TECH=PJSIP”) in new stack
– Executing [s@func-apply-sipheaders:3] Set(“PJSIP/101-00000003”, “SIPHEADERKEYS=”) in new stack
– Executing [s@func-apply-sipheaders:4] While(“PJSIP/101-00000003”, “0”) in new stack
– Jumping to priority 12
– Executing [s@func-apply-sipheaders:13] Return(“PJSIP/101-00000003”, “”) in new stack
== Spawn extension (from-internal, 101, 1) exited non-zero on ‘PJSIP/101-00000003’
– PJSIP/101-00000003 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
– Called PJSIP/101/sip:101@192.168.5.2:5060
== Using SIP RTP Audio TOS bits 184
== Using SIP RTP Audio TOS bits 184 in TCLASS field.
== Using SIP RTP Audio CoS mark 5
– Connected line update to DAHDI/1-1 prevented.
– PJSIP/101-00000003 is ringing
– PJSIP/101-00000003 is ringing
> 0x7f6a2c0792a0 – Strict RTP learning after remote address set to: 192.168.5.2:12468
– PJSIP/101-00000003 answered DAHDI/1-1
– Channel PJSIP/101-00000003 joined ‘simple_bridge’ basic-bridge <41eda9a4-d73c-4984-b0d9-a99dedf801b1>
– Channel DAHDI/1-1 joined ‘simple_bridge’ basic-bridge <41eda9a4-d73c-4984-b0d9-a99dedf801b1>
> 0x7f6a2c0792a0 – Strict RTP switching to RTP target address 192.168.5.2:12468 as source
> 0x7f6a2c0792a0 – Strict RTP learning complete - Locking on source address 192.168.5.2:12468
– Channel PJSIP/101-00000003 left ‘simple_bridge’ basic-bridge <41eda9a4-d73c-4984-b0d9-a99dedf801b1>
– Channel DAHDI/1-1 left ‘simple_bridge’ basic-bridge <41eda9a4-d73c-4984-b0d9-a99dedf801b1>
== Spawn extension (macro-dial-one, s, 55) exited non-zero on ‘DAHDI/1-1’ in macro ‘dial-one’
== Spawn extension (macro-exten-vm, s, 26) exited non-zero on ‘DAHDI/1-1’ in macro ‘exten-vm’
== Spawn extension (ext-local, 101, 2) exited non-zero on ‘DAHDI/1-1’
– Executing [h@ext-local:1] Macro(“DAHDI/1-1”, “hangupcall,”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“DAHDI/1-1”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [s@macro-hangupcall:3] ExecIf(“DAHDI/1-1”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [s@macro-hangupcall:4] NoOp(“DAHDI/1-1”, "PJSIP/101-00000003 montior file= ") in new stack
– Executing [s@macro-hangupcall:5] GotoIf(“DAHDI/1-1”, “1?skipagi”) in new stack
– Goto (macro-hangupcall,s,7)
– Executing [s@macro-hangupcall:7] Hangup(“DAHDI/1-1”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘DAHDI/1-1’ in macro ‘hangupcall’
== Spawn extension (ext-local, h, 1) exited non-zero on ‘DAHDI/1-1’
– Hanging up on ‘DAHDI/1-1’
– Hungup ‘DAHDI/1-1’


(Pricie1991) #5

Out call:

== Setting global variable ‘SIPDOMAIN’ to ‘192.168.10.5’
== Using SIP RTP Audio TOS bits 184
== Using SIP RTP Audio TOS bits 184 in TCLASS field.
== Using SIP RTP Audio CoS mark 5
– Executing [07581406771@from-internal:1] Macro(“PJSIP/101-00000004”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
– Executing [s@macro-user-callerid:1] Set(“PJSIP/101-00000004”, “TOUCH_MONITOR=1581705829.6”) in new stack
– Executing [s@macro-user-callerid:2] Set(“PJSIP/101-00000004”, “AMPUSER=101”) in new stack
– Executing [s@macro-user-callerid:3] Set(“PJSIP/101-00000004”, “HOTDESCKCHAN=101-00000004”) in new stack
– Executing [s@macro-user-callerid:4] Set(“PJSIP/101-00000004”, “HOTDESKEXTEN=101”) in new stack
– Executing [s@macro-user-callerid:5] Set(“PJSIP/101-00000004”, “HOTDESKCALL=0”) in new stack
– Executing [s@macro-user-callerid:6] ExecIf(“PJSIP/101-00000004”, “0?Set(HOTDESKCALL=1)”) in new stack
– Executing [s@macro-user-callerid:7] ExecIf(“PJSIP/101-00000004”, “0?Set(CALLERID(name)=)”) in new stack
– Executing [s@macro-user-callerid:8] GotoIf(“PJSIP/101-00000004”, “0?report”) in new stack
– Executing [s@macro-user-callerid:9] ExecIf(“PJSIP/101-00000004”, “1?Set(REALCALLERIDNUM=101)”) in new stack
– Executing [s@macro-user-callerid:10] Set(“PJSIP/101-00000004”, “AMPUSER=101”) in new stack
– Executing [s@macro-user-callerid:11] GotoIf(“PJSIP/101-00000004”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:12] Set(“PJSIP/101-00000004”, “AMPUSERCIDNAME=Lydia Price”) in new stack
– Executing [s@macro-user-callerid:13] ExecIf(“PJSIP/101-00000004”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
– Executing [s@macro-user-callerid:14] GotoIf(“PJSIP/101-00000004”, “0?report”) in new stack
– Executing [s@macro-user-callerid:15] Set(“PJSIP/101-00000004”, “AMPUSERCID=101”) in new stack
– Executing [s@macro-user-callerid:16] Set(“PJSIP/101-00000004”, “__DIAL_OPTIONS=HhTtr”) in new stack
– Executing [s@macro-user-callerid:17] Set(“PJSIP/101-00000004”, “CALLERID(all)=“Lydia Price” <101>”) in new stack
– Executing [s@macro-user-callerid:18] ExecIf(“PJSIP/101-00000004”, “0?Set(CALLERID(all)=EXTERNAL)”) in new stack
– Executing [s@macro-user-callerid:19] GotoIf(“PJSIP/101-00000004”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:20] ExecIf(“PJSIP/101-00000004”, “1?Set(GROUP(concurrency_limit)=101)”) in new stack
– Executing [s@macro-user-callerid:21] ExecIf(“PJSIP/101-00000004”, “0?Set(CHANNEL(language)=)”) in new stack
– Executing [s@macro-user-callerid:22] NoOp(“PJSIP/101-00000004”, “Macro Depth is 1”) in new stack
– Executing [s@macro-user-callerid:23] GotoIf(“PJSIP/101-00000004”, “1?report2:macroerror”) in new stack
– Goto (macro-user-callerid,s,24)
– Executing [s@macro-user-callerid:24] GotoIf(“PJSIP/101-00000004”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,43)
– Executing [s@macro-user-callerid:43] Set(“PJSIP/101-00000004”, “CALLERID(number)=101”) in new stack
– Executing [s@macro-user-callerid:44] Set(“PJSIP/101-00000004”, “CALLERID(name)=Lydia Price”) in new stack
– Executing [s@macro-user-callerid:45] GotoIf(“PJSIP/101-00000004”, “0?cnum”) in new stack
– Executing [s@macro-user-callerid:46] Set(“PJSIP/101-00000004”, “CDR(cnam)=Lydia Price”) in new stack
– Executing [s@macro-user-callerid:47] Set(“PJSIP/101-00000004”, “CDR(cnum)=101”) in new stack
– Executing [s@macro-user-callerid:48] Set(“PJSIP/101-00000004”, “CHANNEL(language)=en”) in new stack
– Executing [07581406771@from-internal:2] Gosub(“PJSIP/101-00000004”, “sub-record-check,s,1(out,07581406771,dontcare)”) in new stack
– Executing [s@sub-record-check:1] GotoIf(“PJSIP/101-00000004”, “0?initialized”) in new stack
– Executing [s@sub-record-check:2] Set(“PJSIP/101-00000004”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [s@sub-record-check:3] Set(“PJSIP/101-00000004”, “NOW=1581705829”) in new stack
– Executing [s@sub-record-check:4] Set(“PJSIP/101-00000004”, “__DAY=14”) in new stack
– Executing [s@sub-record-check:5] Set(“PJSIP/101-00000004”, “__MONTH=02”) in new stack
– Executing [s@sub-record-check:6] Set(“PJSIP/101-00000004”, “__YEAR=2020”) in new stack
– Executing [s@sub-record-check:7] Set(“PJSIP/101-00000004”, “__TIMESTR=20200214-184349”) in new stack
– Executing [s@sub-record-check:8] Set(“PJSIP/101-00000004”, “__FROMEXTEN=101”) in new stack
– Executing [s@sub-record-check:9] Set(“PJSIP/101-00000004”, “__MON_FMT=wav”) in new stack
– Executing [s@sub-record-check:10] NoOp(“PJSIP/101-00000004”, “Recordings initialized”) in new stack
– Executing [s@sub-record-check:11] ExecIf(“PJSIP/101-00000004”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [s@sub-record-check:12] Set(“PJSIP/101-00000004”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [s@sub-record-check:13] ExecIf(“PJSIP/101-00000004”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [s@sub-record-check:14] GotoIf(“PJSIP/101-00000004”, “3?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [s@sub-record-check:17] GotoIf(“PJSIP/101-00000004”, “1?sub-record-check,out,1”) in new stack
– Goto (sub-record-check,out,1)
– Executing [out@sub-record-check:1] NoOp(“PJSIP/101-00000004”, “Outbound Recording Check from 101 to 07581406771”) in new stack
– Executing [out@sub-record-check:2] Set(“PJSIP/101-00000004”, “RECMODE=dontcare”) in new stack
– Executing [out@sub-record-check:3] ExecIf(“PJSIP/101-00000004”, “1?Goto(routewins)”) in new stack
– Goto (sub-record-check,out,7)
– Executing [out@sub-record-check:7] Gosub(“PJSIP/101-00000004”, “recordcheck,1(dontcare,out,07581406771)”) in new stack
– Executing [recordcheck@sub-record-check:1] NoOp(“PJSIP/101-00000004”, “Starting recording check against dontcare”) in new stack
– Executing [recordcheck@sub-record-check:2] Goto(“PJSIP/101-00000004”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [recordcheck@sub-record-check:3] Return(“PJSIP/101-00000004”, “”) in new stack
– Executing [out@sub-record-check:8] Return(“PJSIP/101-00000004”, “”) in new stack
– Executing [07581406771@from-internal:3] ExecIf(“PJSIP/101-00000004”, “0 ?Set(CDR(accountcode)=)”) in new stack
– Executing [07581406771@from-internal:4] Set(“PJSIP/101-00000004”, “MOHCLASS=default”) in new stack
– Executing [07581406771@from-internal:5] Set(“PJSIP/101-00000004”, “_NODEST=”) in new stack
– Executing [07581406771@from-internal:6] Macro(“PJSIP/101-00000004”, “dialout-trunk,1,07581406771,off”) in new stack
– Executing [s@macro-dialout-trunk:1] Set(“PJSIP/101-00000004”, “DIAL_TRUNK=1”) in new stack
– Executing [s@macro-dialout-trunk:2] ExecIf(“PJSIP/101-00000004”, “0?Set(DIAL_OPTIONS=Hhtr)”) in new stack
– Executing [s@macro-dialout-trunk:3] GosubIf(“PJSIP/101-00000004”, “0?sub-pincheck,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:4] ExecIf(“PJSIP/101-00000004”, “0?Set(CALLERID(num)=101)”) in new stack
– Executing [s@macro-dialout-trunk:5] GotoIf(“PJSIP/101-00000004”, “0?disabletrunk,1”) in new stack
– Executing [s@macro-dialout-trunk:6] Set(“PJSIP/101-00000004”, “DIAL_NUMBER=07581406771”) in new stack
– Executing [s@macro-dialout-trunk:7] Set(“PJSIP/101-00000004”, “DIAL_TRUNK_OPTIONS=HhTtr”) in new stack
– Executing [s@macro-dialout-trunk:8] Set(“PJSIP/101-00000004”, “OUTBOUND_GROUP=OUT_1”) in new stack
– Executing [s@macro-dialout-trunk:9] Set(“PJSIP/101-00000004”, “DIAL_TRUNK_OPTIONS=T”) in new stack
– Executing [s@macro-dialout-trunk:10] GotoIf(“PJSIP/101-00000004”, “0?nomax”) in new stack
– Executing [s@macro-dialout-trunk:11] GotoIf(“PJSIP/101-00000004”, “0?chanfull”) in new stack
– Executing [s@macro-dialout-trunk:12] GotoIf(“PJSIP/101-00000004”, “0?skipoutcid”) in new stack
– Executing [s@macro-dialout-trunk:13] Macro(“PJSIP/101-00000004”, “outbound-callerid,1”) in new stack
– Executing [s@macro-outbound-callerid:1] NoOp(“PJSIP/101-00000004”, “101”) in new stack
– Executing [s@macro-outbound-callerid:2] NoOp(“PJSIP/101-00000004”, “”) in new stack
– Executing [s@macro-outbound-callerid:3] NoOp(“PJSIP/101-00000004”, “off”) in new stack
– Executing [s@macro-outbound-callerid:4] ExecIf(“PJSIP/101-00000004”, “0?Set(CALLERPRES(name-pres)=)”) in new stack
– Executing [s@macro-outbound-callerid:5] ExecIf(“PJSIP/101-00000004”, “0?Set(CALLERPRES(num-pres)=)”) in new stack
– Executing [s@macro-outbound-callerid:6] Set(“PJSIP/101-00000004”, “HOTDESCKCHAN=101-00000004”) in new stack
– Executing [s@macro-outbound-callerid:7] Set(“PJSIP/101-00000004”, “HOTDESKEXTEN=101”) in new stack
– Executing [s@macro-outbound-callerid:8] Set(“PJSIP/101-00000004”, “HOTDESKCALL=0”) in new stack
– Executing [s@macro-outbound-callerid:9] ExecIf(“PJSIP/101-00000004”, “0?Set(HOTDESKCALL=1)”) in new stack
– Executing [s@macro-outbound-callerid:10] ExecIf(“PJSIP/101-00000004”, “0?Set(CALLERID(name)=)”) in new stack
– Executing [s@macro-outbound-callerid:11] Set(“PJSIP/101-00000004”, “ALLOWTHISROUTE=NO”) in new stack
– Executing [s@macro-outbound-callerid:12] ExecIf(“PJSIP/101-00000004”, “0?Set(ALLOWTHISROUTE=YES)”) in new stack
– Executing [s@macro-outbound-callerid:13] ExecIf(“PJSIP/101-00000004”, “0?Hangup()”) in new stack
– Executing [s@macro-outbound-callerid:14] ExecIf(“PJSIP/101-00000004”, “0?Set(REALCALLERIDNUM=101)”) in new stack
– Executing [s@macro-outbound-callerid:15] ExecIf(“PJSIP/101-00000004”, “0?Set(AMPUSER=101)”) in new stack
– Executing [s@macro-outbound-callerid:16] GotoIf(“PJSIP/101-00000004”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,20)
– Executing [s@macro-outbound-callerid:20] Set(“PJSIP/101-00000004”, “USEROUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:21] Set(“PJSIP/101-00000004”, “EMERGENCYCID=”) in new stack
– Executing [s@macro-outbound-callerid:22] ExecIf(“PJSIP/101-00000004”, “0?Set(EMERGENCYCID=)”) in new stack
– Executing [s@macro-outbound-callerid:23] Set(“PJSIP/101-00000004”, “TRUNKOUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:24] GotoIf(“PJSIP/101-00000004”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,30)
– Executing [s@macro-outbound-callerid:30] ExecIf(“PJSIP/101-00000004”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:31] ExecIf(“PJSIP/101-00000004”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:32] ExecIf(“PJSIP/101-00000004”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:33] ExecIf(“PJSIP/101-00000004”, “0?Set(CALLERID(all)=101)”) in new stack
– Executing [s@macro-outbound-callerid:34] Set(“PJSIP/101-00000004”, “TIOHIDE=no”) in new stack
– Executing [s@macro-outbound-callerid:35] ExecIf(“PJSIP/101-00000004”, “0?Set(CALLERPRES(name-pres)=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:36] ExecIf(“PJSIP/101-00000004”, “0?Set(CALLERPRES(num-pres)=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:37] ExecIf(“PJSIP/101-00000004”, “0?Set(CALLERPRES(name-pres)=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:38] ExecIf(“PJSIP/101-00000004”, “0?Set(CALLERPRES(num-pres)=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:39] Set(“PJSIP/101-00000004”, “CDR(outbound_cnum)=101”) in new stack
– Executing [s@macro-outbound-callerid:40] Set(“PJSIP/101-00000004”, “CDR(outbound_cnam)=Lydia Price”) in new stack
– Executing [s@macro-dialout-trunk:14] GosubIf(“PJSIP/101-00000004”, “0?sub-flp-1,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:15] Set(“PJSIP/101-00000004”, “OUTNUM=07581406771”) in new stack
– Executing [s@macro-dialout-trunk:16] Set(“PJSIP/101-00000004”, “custom=DAHDI/g0”) in new stack
– Executing [s@macro-dialout-trunk:17] ExecIf(“PJSIP/101-00000004”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)”) in new stack
– Executing [s@macro-dialout-trunk:18] ExecIf(“PJSIP/101-00000004”, “0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))”) in new stack
– Executing [s@macro-dialout-trunk:19] Macro(“PJSIP/101-00000004”, “dialout-trunk-predial-hook,”) in new stack
– Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“PJSIP/101-00000004”, “”) in new stack
– Executing [s@macro-dialout-trunk:20] GotoIf(“PJSIP/101-00000004”, “0?bypass,1”) in new stack
– Executing [s@macro-dialout-trunk:21] ExecIf(“PJSIP/101-00000004”, “1?Set(CONNECTEDLINE(num,i)=07581406771)”) in new stack
– Executing [s@macro-dialout-trunk:22] ExecIf(“PJSIP/101-00000004”, “1?Set(CONNECTEDLINE(name,i)=CID:101)”) in new stack
– Executing [s@macro-dialout-trunk:23] ExecIf(“PJSIP/101-00000004”, “0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)101)”) in new stack
– Executing [s@macro-dialout-trunk:24] GotoIf(“PJSIP/101-00000004”, “0?customtrunk”) in new stack
– Executing [s@macro-dialout-trunk:25] ExecIf(“PJSIP/101-00000004”, “0?Set(DIAL_TRUNK_OPTIONS=)”) in new stack
– Executing [s@macro-dialout-trunk:26] Dial(“PJSIP/101-00000004”, “DAHDI/g0/07581406771,300,Tb(func-apply-sipheaders^s^1,(1))”) in new stack
– DAHDI/1-1 Internal Gosub(func-apply-sipheaders,s,1(1)) start
– Executing [s@func-apply-sipheaders:1] NoOp(“DAHDI/1-1”, “Applying SIP Headers to channel DAHDI/1-1”) in new stack
– Executing [s@func-apply-sipheaders:2] Set(“DAHDI/1-1”, “TECH=DAHDI”) in new stack
– Executing [s@func-apply-sipheaders:3] Set(“DAHDI/1-1”, “SIPHEADERKEYS=”) in new stack
– Executing [s@func-apply-sipheaders:4] While(“DAHDI/1-1”, “0”) in new stack
– Jumping to priority 12
– Executing [s@func-apply-sipheaders:13] Return(“DAHDI/1-1”, “”) in new stack
== Spawn extension (from-analog, 07581406771, 1) exited non-zero on ‘DAHDI/1-1’
– DAHDI/1-1 Internal Gosub(func-apply-sipheaders,s,1(1)) complete GOSUB_RETVAL=
– Called DAHDI/g0/07581406771
– DAHDI/1-1 answered PJSIP/101-00000004
> 0x7f854000ea60 – Strict RTP learning after remote address set to: 192.168.5.2:12494
– Channel DAHDI/1-1 joined ‘simple_bridge’ basic-bridge <4536af76-00c3-41fd-9e8f-85d66b22c857>
– Channel PJSIP/101-00000004 joined ‘simple_bridge’ basic-bridge <4536af76-00c3-41fd-9e8f-85d66b22c857>
> 0x7f854000ea60 – Strict RTP switching to RTP target address 192.168.5.2:12494 as source
– Channel PJSIP/101-00000004 left ‘simple_bridge’ basic-bridge <4536af76-00c3-41fd-9e8f-85d66b22c857>
== Spawn extension (macro-dialout-trunk, s, 26) exited non-zero on ‘PJSIP/101-00000004’ in macro ‘dialout-trunk’
== Spawn extension (from-internal, 07581406771, 6) exited non-zero on ‘PJSIP/101-00000004’
– Executing [h@from-internal:1] Macro(“PJSIP/101-00000004”, “hangupcall”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“PJSIP/101-00000004”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Channel DAHDI/1-1 left ‘simple_bridge’ basic-bridge <4536af76-00c3-41fd-9e8f-85d66b22c857>
– Hanging up on ‘DAHDI/1-1’
– Hungup ‘DAHDI/1-1’
– Executing [s@macro-hangupcall:3] ExecIf(“PJSIP/101-00000004”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [s@macro-hangupcall:4] NoOp(“PJSIP/101-00000004”, "DAHDI/1-1 montior file= ") in new stack
– Executing [s@macro-hangupcall:5] GotoIf(“PJSIP/101-00000004”, “1?skipagi”) in new stack
– Goto (macro-hangupcall,s,7)
– Executing [s@macro-hangupcall:7] Hangup(“PJSIP/101-00000004”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘PJSIP/101-00000004’ in macro ‘hangupcall’
== Spawn extension (from-internal, h, 1) exited non-zero on ‘PJSIP/101-00000004’


(Pricie1991) #6

Do these logs show where the issue maybe?


(system) closed #7

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