Misc Destination , works but no sound [SOLVED]


(Claudio Pelosi) #1

Use Misc Destination on some FreePBX smoothly

But now I have a FreePBX that is a strange thing:

In practice Misc Destination functioning properly but it does not hear the sound it in fattening of outlet …

It is strange that the PBX might be doing it because other calls have no problems

Obviously I tried to deflect Misc Destination on different numbers and the result does not change

Some notes: FreePBX updated and Asterisk is 13.13.1

The machine runs on a PC and is connected to the Internet with draytek router with dedicated DMZ IP

I really hope for a tip thanks

I enclose one of the events log:

[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [0192076480@from-pstn-toheader:1] NoOp("SIP/0192076480_in-0000042b", "Attempting to extract DID from SIP To header") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [0192076480@from-pstn-toheader:2] GotoIf("SIP/0192076480_in-0000042b", "1?SIP") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx_builtins.c: Goto (from-pstn-toheader,0192076480,6)
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [0192076480@from-pstn-toheader:6] Goto("SIP/0192076480_in-0000042b", "from-pstn,0192076480,1") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx_builtins.c: Goto (from-pstn,0192076480,1)
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [0192076480@from-pstn:1] Set("SIP/0192076480_in-0000042b", "__DIRECTION=INBOUND") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [0192076480@from-pstn:2] Gosub("SIP/0192076480_in-0000042b", "sub-record-check,s,1(in,0192076480,dontcare)") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@sub-record-check:1] GotoIf("SIP/0192076480_in-0000042b", "0?initialized") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@sub-record-check:2] Set("SIP/0192076480_in-0000042b", "__REC_STATUS=INITIALIZED") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@sub-record-check:3] Set("SIP/0192076480_in-0000042b", "NOW=1489759909") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@sub-record-check:4] Set("SIP/0192076480_in-0000042b", "__DAY=17") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@sub-record-check:5] Set("SIP/0192076480_in-0000042b", "__MONTH=03") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@sub-record-check:6] Set("SIP/0192076480_in-0000042b", "__YEAR=2017") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@sub-record-check:7] Set("SIP/0192076480_in-0000042b", "__TIMESTR=20170317-151149") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@sub-record-check:8] Set("SIP/0192076480_in-0000042b", "__FROMEXTEN=unknown") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@sub-record-check:9] Set("SIP/0192076480_in-0000042b", "__MON_FMT=wav") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@sub-record-check:10] NoOp("SIP/0192076480_in-0000042b", "Recordings initialized") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@sub-record-check:11] ExecIf("SIP/0192076480_in-0000042b", "0?Set(ARG3=dontcare)") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@sub-record-check:12] Set("SIP/0192076480_in-0000042b", "REC_POLICY_MODE_SAVE=") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@sub-record-check:13] ExecIf("SIP/0192076480_in-0000042b", "0?Set(REC_STATUS=NO)") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@sub-record-check:14] GotoIf("SIP/0192076480_in-0000042b", "2?checkaction") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx_builtins.c: Goto (sub-record-check,s,17)
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@sub-record-check:17] GotoIf("SIP/0192076480_in-0000042b", "1?sub-record-check,in,1") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx_builtins.c: Goto (sub-record-check,in,1)
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [in@sub-record-check:1] NoOp("SIP/0192076480_in-0000042b", "Inbound Recording Check to 0192076480") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [in@sub-record-check:2] Set("SIP/0192076480_in-0000042b", "FROMEXTEN=unknown") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [in@sub-record-check:3] ExecIf("SIP/0192076480_in-0000042b", "10?Set(FROMEXTEN=0182586863)") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [in@sub-record-check:4] Gosub("SIP/0192076480_in-0000042b", "recordcheck,1(dontcare,in,0192076480)") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp("SIP/0192076480_in-0000042b", "Starting recording check against dontcare") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [recordcheck@sub-record-check:2] Goto("SIP/0192076480_in-0000042b", "dontcare") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx_builtins.c: Goto (sub-record-check,recordcheck,3)
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [recordcheck@sub-record-check:3] Return("SIP/0192076480_in-0000042b", "") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [in@sub-record-check:5] Return("SIP/0192076480_in-0000042b", "") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [0192076480@from-pstn:3] Set("SIP/0192076480_in-0000042b", "__FROM_DID=0192076480") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [0192076480@from-pstn:4] Set("SIP/0192076480_in-0000042b", "CDR(did)=0192076480") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [0192076480@from-pstn:5] ExecIf("SIP/0192076480_in-0000042b", "1 ?Set(CALLERID(name)=0182586863)") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [0192076480@from-pstn:6] Set("SIP/0192076480_in-0000042b", "__MOHCLASS=") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [0192076480@from-pstn:7] Set("SIP/0192076480_in-0000042b", "__REVERSAL_REJECT=FALSE") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [0192076480@from-pstn:8] GotoIf("SIP/0192076480_in-0000042b", "1?post-reverse-charge") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx_builtins.c: Goto (from-pstn,0192076480,10)
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [0192076480@from-pstn:10] NoOp("SIP/0192076480_in-0000042b", "") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [0192076480@from-pstn:11] Set("SIP/0192076480_in-0000042b", "__CALLINGNAMEPRES_SV=allowed_not_screened") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [0192076480@from-pstn:12] Set("SIP/0192076480_in-0000042b", "__CALLINGNUMPRES_SV=allowed_not_screened") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [0192076480@from-pstn:13] Set("SIP/0192076480_in-0000042b", "CALLERID(name-pres)=allowed_not_screened") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [0192076480@from-pstn:14] Set("SIP/0192076480_in-0000042b", "CALLERID(num-pres)=allowed_not_screened") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [0192076480@from-pstn:15] NoOp("SIP/0192076480_in-0000042b", "CallerID Entry Point") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [0192076480@from-pstn:16] Goto("SIP/0192076480_in-0000042b", "app-daynight,0,1") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx_builtins.c: Goto (app-daynight,0,1)
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [0@app-daynight:1] GotoIf("SIP/0192076480_in-0000042b", "0?app-announcement-2,s,1:timeconditions,1,1") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx_builtins.c: Goto (timeconditions,1,1)
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [1@timeconditions:1] Set("SIP/0192076480_in-0000042b", "DB(TC/1/INUSESTATE)=INUSE") in new stack
[2017-03-17 15:11:49] VERBOSE[5622][C-000001e6] pbx.c: Executing [1@timeconditions:2] Set("SIP/0192076480_in-0000042b", "DB(TC/1/NOT_INUSESTATE)=NOT_INUSE") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [1@timeconditions:3] GotoIfTime("SIP/0192076480_in-0000042b", "08:59-12:00,mon-sat,*,*,Europe/Rome?truestate") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [1@timeconditions:4] GotoIfTime("SIP/0192076480_in-0000042b", "15:30-18:30,mon-fri,*,*,Europe/Rome?truestate") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [1@timeconditions:5] GotoIf("SIP/0192076480_in-0000042b", "0?truegoto") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [1@timeconditions:6] ExecIf("SIP/0192076480_in-0000042b", "0?Set(DB(TC/1)=)") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [1@timeconditions:7] Set("SIP/0192076480_in-0000042b", "DEVICE_STATE(Custom:TC1)=INUSE") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [1@timeconditions:8] ExecIf("SIP/0192076480_in-0000042b", "0?Set(DEVICE_STATE(Custom:TCSTICKY)=INUSE)") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [1@timeconditions:9] GotoIf("SIP/0192076480_in-0000042b", "1?ext-miscdests,1,1") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx_builtins.c: Goto (ext-miscdests,1,1)
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [1@ext-miscdests:1] NoOp("SIP/0192076480_in-0000042b", "MiscDest: Call center") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [1@ext-miscdests:2] Goto("SIP/0192076480_in-0000042b", "from-internal,0912533780,1") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx_builtins.c: Goto (from-internal,0912533780,1)
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [0912533780@from-internal:1] Macro("SIP/0192076480_in-0000042b", "user-callerid,LIMIT,EXTERNAL,") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-user-callerid:1] Set("SIP/0192076480_in-0000042b", "TOUCH_MONITOR=1489759909.1071") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-user-callerid:2] Set("SIP/0192076480_in-0000042b", "AMPUSER=0182586863") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-user-callerid:3] GotoIf("SIP/0192076480_in-0000042b", "0?report") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-user-callerid:4] ExecIf("SIP/0192076480_in-0000042b", "1?Set(REALCALLERIDNUM=0182586863)") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-user-callerid:5] Set("SIP/0192076480_in-0000042b", "AMPUSER=") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-user-callerid:6] GotoIf("SIP/0192076480_in-0000042b", "0?limit") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-user-callerid:7] Set("SIP/0192076480_in-0000042b", "AMPUSERCIDNAME=") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-user-callerid:8] GotoIf("SIP/0192076480_in-0000042b", "1?report") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx_builtins.c: Goto (macro-user-callerid,s,14)
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-user-callerid:14] GotoIf("SIP/0192076480_in-0000042b", "1?continue") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx_builtins.c: Goto (macro-user-callerid,s,27)
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-user-callerid:27] Set("SIP/0192076480_in-0000042b", "CALLERID(number)=0182586863") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-user-callerid:28] Set("SIP/0192076480_in-0000042b", "CALLERID(name)=0182586863") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-user-callerid:29] GotoIf("SIP/0192076480_in-0000042b", "0?cnum") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-user-callerid:30] Set("SIP/0192076480_in-0000042b", "CDR(cnam)=0182586863") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-user-callerid:31] Set("SIP/0192076480_in-0000042b", "CDR(cnum)=0182586863") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-user-callerid:32] Set("SIP/0192076480_in-0000042b", "CHANNEL(language)=it") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [0912533780@from-internal:2] Gosub("SIP/0192076480_in-0000042b", "sub-record-check,s,1(out,0912533780,dontcare)") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@sub-record-check:1] GotoIf("SIP/0192076480_in-0000042b", "10?initialized") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx_builtins.c: Goto (sub-record-check,s,10)
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@sub-record-check:10] NoOp("SIP/0192076480_in-0000042b", "Recordings initialized") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@sub-record-check:11] ExecIf("SIP/0192076480_in-0000042b", "0?Set(ARG3=dontcare)") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@sub-record-check:12] Set("SIP/0192076480_in-0000042b", "REC_POLICY_MODE_SAVE=") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@sub-record-check:13] ExecIf("SIP/0192076480_in-0000042b", "0?Set(REC_STATUS=NO)") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@sub-record-check:14] GotoIf("SIP/0192076480_in-0000042b", "3?checkaction") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx_builtins.c: Goto (sub-record-check,s,17)
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@sub-record-check:17] GotoIf("SIP/0192076480_in-0000042b", "1?sub-record-check,out,1") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx_builtins.c: Goto (sub-record-check,out,1)
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [out@sub-record-check:1] NoOp("SIP/0192076480_in-0000042b", "Outbound Recording Check from 0182586863 to 0912533780") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [out@sub-record-check:2] Set("SIP/0192076480_in-0000042b", "RECMODE=") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [out@sub-record-check:3] ExecIf("SIP/0192076480_in-0000042b", "1?Goto(routewins)") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx_builtins.c: Goto (sub-record-check,out,7)
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [out@sub-record-check:7] Gosub("SIP/0192076480_in-0000042b", "recordcheck,1(dontcare,out,0912533780)") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp("SIP/0192076480_in-0000042b", "Starting recording check against dontcare") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [recordcheck@sub-record-check:2] Goto("SIP/0192076480_in-0000042b", "dontcare") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx_builtins.c: Goto (sub-record-check,recordcheck,3)
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [recordcheck@sub-record-check:3] Return("SIP/0192076480_in-0000042b", "") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [out@sub-record-check:8] Return("SIP/0192076480_in-0000042b", "") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [0912533780@from-internal:3] Set("SIP/0192076480_in-0000042b", "MOHCLASS=default") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [0912533780@from-internal:4] Set("SIP/0192076480_in-0000042b", "_NODEST=") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [0912533780@from-internal:5] Macro("SIP/0192076480_in-0000042b", "dialout-trunk,4,0912533780,,on") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-dialout-trunk:1] Set("SIP/0192076480_in-0000042b", "DIAL_TRUNK=4") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-dialout-trunk:2] GosubIf("SIP/0192076480_in-0000042b", "0?sub-pincheck,s,1()") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-dialout-trunk:3] GotoIf("SIP/0192076480_in-0000042b", "0?disabletrunk,1") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-dialout-trunk:4] Set("SIP/0192076480_in-0000042b", "DIAL_NUMBER=0912533780") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-dialout-trunk:5] Set("SIP/0192076480_in-0000042b", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-dialout-trunk:6] Set("SIP/0192076480_in-0000042b", "OUTBOUND_GROUP=OUT_4") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-dialout-trunk:7] GotoIf("SIP/0192076480_in-0000042b", "0?nomax") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-dialout-trunk:8] GotoIf("SIP/0192076480_in-0000042b", "0?chanfull") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-dialout-trunk:9] GotoIf("SIP/0192076480_in-0000042b", "0?skipoutcid") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-dialout-trunk:10] Set("SIP/0192076480_in-0000042b", "DIAL_TRUNK_OPTIONS=Tt") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-dialout-trunk:11] Macro("SIP/0192076480_in-0000042b", "outbound-callerid,4") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-outbound-callerid:1] ExecIf("SIP/0192076480_in-0000042b", "1?Set(CALLERPRES(name-pres)=allowed_not_screened)") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-outbound-callerid:2] ExecIf("SIP/0192076480_in-0000042b", "1?Set(CALLERPRES(num-pres)=allowed_not_screened)") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-outbound-callerid:3] ExecIf("SIP/0192076480_in-0000042b", "0?Set(REALCALLERIDNUM=0182586863)") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-outbound-callerid:4] GotoIf("SIP/0192076480_in-0000042b", "1?normcid") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx_builtins.c: Goto (macro-outbound-callerid,s,7)
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-outbound-callerid:7] Set("SIP/0192076480_in-0000042b", "USEROUTCID=") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-outbound-callerid:8] Set("SIP/0192076480_in-0000042b", "EMERGENCYCID=") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-outbound-callerid:9] Set("SIP/0192076480_in-0000042b", "TRUNKOUTCID=019669628") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-outbound-callerid:10] GotoIf("SIP/0192076480_in-0000042b", "1?trunkcid") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx_builtins.c: Goto (macro-outbound-callerid,s,15)
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-outbound-callerid:15] ExecIf("SIP/0192076480_in-0000042b", "1?Set(CALLERID(all)=019669628)") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-outbound-callerid:16] ExecIf("SIP/0192076480_in-0000042b", "0?Set(CALLERID(all)=)") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-outbound-callerid:17] ExecIf("SIP/0192076480_in-0000042b", "0?Set(CALLERID(all)=)") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-outbound-callerid:18] ExecIf("SIP/0192076480_in-0000042b", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-outbound-callerid:19] ExecIf("SIP/0192076480_in-0000042b", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-outbound-callerid:20] Set("SIP/0192076480_in-0000042b", "CDR(outbound_cnum)=019669628") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-outbound-callerid:21] Set("SIP/0192076480_in-0000042b", "CDR(outbound_cnam)=") in new stack
[2017-03-17 15:11:52] WARNING[1904] func_cdr.c: CDR requires a value (CDR(variable)=value)
)[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-dialout-trunk:12] GosubIf("SIP/0192076480_in-0000042b", "0?sub-flp-4,s,1()") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-dialout-trunk:13] Set("SIP/0192076480_in-0000042b", "OUTNUM=0912533780") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-dialout-trunk:14] Set("SIP/0192076480_in-0000042b", "custom=SIP/0192076480_out") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-dialout-trunk:15] ExecIf("SIP/0192076480_in-0000042b", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-dialout-trunk:16] ExecIf("SIP/0192076480_in-0000042b", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-dialout-trunk:17] Macro("SIP/0192076480_in-0000042b", "dialout-trunk-predial-hook,") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/0192076480_in-0000042b", "") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-dialout-trunk:18] GotoIf("SIP/0192076480_in-0000042b", "0?bypass,1") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-dialout-trunk:19] ExecIf("SIP/0192076480_in-0000042b", "0?Set(CONNECTEDLINE(num,i)=0912533780)") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-dialout-trunk:20] ExecIf("SIP/0192076480_in-0000042b", "0?Set(CONNECTEDLINE(name,i)=CID:019669628)") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-dialout-trunk:21] ExecIf("SIP/0192076480_in-0000042b", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)019669628)") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-dialout-trunk:22] GotoIf("SIP/0192076480_in-0000042b", "0?customtrunk") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-dialout-trunk:23] Dial("SIP/0192076480_in-0000042b", "SIP/0192076480_out/0912533780,300,Tt") in new stack
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] netsock2.c: Using SIP RTP TOS bits 184
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] netsock2.c: Using SIP RTP CoS mark 5
[2017-03-17 15:11:52] VERBOSE[5622][C-000001e6] app_dial.c: Called SIP/0192076480_out/0912533780
[2017-03-17 15:12:02] VERBOSE[1868] asterisk.c: Remote UNIX connection
[2017-03-17 15:12:02] VERBOSE[5758] asterisk.c: Remote UNIX connection disconnected
[2017-03-17 15:12:02] VERBOSE[1868] asterisk.c: Remote UNIX connection
[2017-03-17 15:12:02] VERBOSE[5761] asterisk.c: Remote UNIX connection disconnected
[2017-03-17 15:12:04] VERBOSE[5622][C-000001e6] app_dial.c: SIP/0192076480_out-0000042c is making progress passing it to SIP/0192076480_in-0000042b
[2017-03-17 15:12:05] VERBOSE[5622][C-000001e6] app_dial.c: SIP/0192076480_out-0000042c answered SIP/0192076480_in-0000042b
[2017-03-17 15:12:05] VERBOSE[5792][C-000001e6] bridge_channel.c: Channel SIP/0192076480_out-0000042c joined 'simple_bridge' basic-bridge <a79cf786-b268-4178-97d3-dc5f7c2cdc13>
[2017-03-17 15:12:05] VERBOSE[5622][C-000001e6] bridge_channel.c: Channel SIP/0192076480_in-0000042b joined 'simple_bridge' basic-bridge <a79cf786-b268-4178-97d3-dc5f7c2cdc13>
[2017-03-17 15:12:09] VERBOSE[5622][C-000001e6] bridge_channel.c: Channel SIP/0192076480_in-0000042b left 'simple_bridge' basic-bridge <a79cf786-b268-4178-97d3-dc5f7c2cdc13>
[2017-03-17 15:12:09] VERBOSE[5792][C-000001e6] bridge_channel.c: Channel SIP/0192076480_out-0000042c left 'simple_bridge' basic-bridge <a79cf786-b268-4178-97d3-dc5f7c2cdc13>
[2017-03-17 15:12:09] VERBOSE[5622][C-000001e6] app_macro.c: Spawn extension (macro-dialout-trunk, s, 23) exited non-zero on 'SIP/0192076480_in-0000042b' in macro 'dialout-trunk'
[2017-03-17 15:12:09] VERBOSE[5622][C-000001e6] pbx.c: Spawn extension (from-internal, 0912533780, 5) exited non-zero on 'SIP/0192076480_in-0000042b'
[2017-03-17 15:12:09] VERBOSE[5622][C-000001e6] pbx.c: Executing [h@from-internal:1] Macro("SIP/0192076480_in-0000042b", "hangupcall") in new stack
[2017-03-17 15:12:09] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-hangupcall:1] GotoIf("SIP/0192076480_in-0000042b", "1?theend") in new stack
[2017-03-17 15:12:09] VERBOSE[5622][C-000001e6] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2017-03-17 15:12:09] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-hangupcall:3] ExecIf("SIP/0192076480_in-0000042b", "0?Set(CDR(recordingfile)=)") in new stack
[2017-03-17 15:12:09] VERBOSE[5622][C-000001e6] pbx.c: Executing [s@macro-hangupcall:4] Hangup("SIP/0192076480_in-0000042b", "") in new stack
[2017-03-17 15:12:09] VERBOSE[5622][C-000001e6] app_macro.c: Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/0192076480_in-0000042b' in macro 'hangupcall'
[2017-03-17 15:12:09] VERBOSE[5622][C-000001e6] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/0192076480_in-0000042b'

(Greg Snover) #2

It’s not opening the Audio Channels - under Chan-SIP Settings, at the bottom, add progressinband=yes, save and reload and it should work.


(Claudio Pelosi) #3

I tried, I enclose picture has not changed still does not pass audio
maybe I should have done differently?


(Claudio Pelosi) #4

Do not forget me, no one has an idea?


(Claudio Pelosi) #5

Solved in a very strange

I read online that some have solved the problem by activating the relavazione fax on incoming routes

You will not believe but it’s been like that for us …

On the fax form actually now work the misc destination

I hope it gives iuto someone and above would be nice for someone to explain to me why ???


(Andrew Nagy) #6

Misc Destination does not answer the channel. Enabling fax on incoming routes answers the channel.


(Gary Iredale) #7

I can confirm that this has worked for me also (July 2021). When I enable fax detection on the inbound route the audio works when the call is passed over to a misc destination.


(Itzik) #8

Fax detection may cause issues, rather force the channel to answer.


#9

Fax detection or otherwise forcing the channel to answer will immediately start billing (for you and/or the caller, depending on your respective services) and will also show the call as ‘answered’ in your CDR and the caller’s, even if the call is abandoned before anyone picks up.

A better solution is (in your router/firewall) to forward the RTP port range (default is UDP 10000-20000) to the PBX LAN address. If this doesn’t help, paste a log of a failing call, including SIP trace, at pastebin.freepbx.org and post the link here. Depending on trunk type, at the Asterisk command prompt, type
pjsip set logger on
or
sip set debug on
before making the test call.


(Dave Burgess) #10

Just to be pedantic, Fax detection forces the channel to answer and immediately starts billing too, which is why it works.

The firewall redirection really is the “right” way to go.