Incoming call, caller hears silence not ringing phone not ringing

Hello. Incoming call, caller hears silence not ringing. Phone also not ringing. Outgoing calls works fine.When i set the sip line on the phone to direct everything works fine
cli outpoot
Asterisk 13.36.0, Copyright © 1999 - 2014, Digium, Inc. and others.

Connected to Asterisk 13.36.0 currently running on freepbx (pid = 2556)
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
> 0x7f8fb83de4b0 – Strict RTP learning after remote address set to: 80.75.130.83:50618
– Executing [73452212634@from-internal:1] Macro(“SIP/80.75.130.83-00001d52”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/80.75.130.83-00001d52”, “TOUCH_MONITOR=1602253083.7506”) in new stack
– Executing [s@macro-user-callerid:2] Set(“SIP/80.75.130.83-00001d52”, “AMPUSER=79826773052”) in new stack
– Executing [s@macro-user-callerid:3] Set(“SIP/80.75.130.83-00001d52”, “HOTDESCKCHAN=80.75.130.83-00001d52”) in new stack
– Executing [s@macro-user-callerid:4] Set(“SIP/80.75.130.83-00001d52”, “HOTDESKEXTEN=80.75.130.83”) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/80.75.130.83-00001d52”, “HOTDESKCALL=0”) in new stack
– Executing [s@macro-user-callerid:6] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(HOTDESKCALL=1)”) in new stack
– Executing [s@macro-user-callerid:7] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(CALLERID(name)=)”) in new stack
– Executing [s@macro-user-callerid:8] GotoIf(“SIP/80.75.130.83-00001d52”, “0?report”) in new stack
– Executing [s@macro-user-callerid:9] ExecIf(“SIP/80.75.130.83-00001d52”, “1?Set(REALCALLERIDNUM=79826773052)”) in new stack
– Executing [s@macro-user-callerid:10] Set(“SIP/80.75.130.83-00001d52”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:11] GotoIf(“SIP/80.75.130.83-00001d52”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:12] Set(“SIP/80.75.130.83-00001d52”, “AMPUSERCIDNAME=”) in new stack
– Executing [s@macro-user-callerid:13] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
– Executing [s@macro-user-callerid:14] GotoIf(“SIP/80.75.130.83-00001d52”, “1?report”) in new stack
– Goto (macro-user-callerid,s,23)
– Executing [s@macro-user-callerid:23] NoOp(“SIP/80.75.130.83-00001d52”, “Macro Depth is 1”) in new stack
– Executing [s@macro-user-callerid:24] GotoIf(“SIP/80.75.130.83-00001d52”, “1?report2:macroerror”) in new stack
– Goto (macro-user-callerid,s,25)
– Executing [s@macro-user-callerid:25] GotoIf(“SIP/80.75.130.83-00001d52”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,44)
– Executing [s@macro-user-callerid:44] Set(“SIP/80.75.130.83-00001d52”, “CALLERID(number)=79826773052”) in new stack
– Executing [s@macro-user-callerid:45] Set(“SIP/80.75.130.83-00001d52”, “CALLERID(name)=”) in new stack
– Executing [s@macro-user-callerid:46] GotoIf(“SIP/80.75.130.83-00001d52”, “1?cnum”) in new stack
– Goto (macro-user-callerid,s,48)
– Executing [s@macro-user-callerid:48] Set(“SIP/80.75.130.83-00001d52”, “CDR(cnum)=79826773052”) in new stack
– Executing [s@macro-user-callerid:49] Set(“SIP/80.75.130.83-00001d52”, “CHANNEL(language)=en”) in new stack
– Executing [73452212634@from-internal:2] Gosub(“SIP/80.75.130.83-00001d52”, “sub-record-check,s,1(out,73452212634,dontcare)”) in new stack
– Executing [s@sub-record-check:1] GotoIf(“SIP/80.75.130.83-00001d52”, “0?initialized”) in new stack
– Executing [s@sub-record-check:2] Set(“SIP/80.75.130.83-00001d52”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [s@sub-record-check:3] Set(“SIP/80.75.130.83-00001d52”, “NOW=1602253083”) in new stack
– Executing [s@sub-record-check:4] Set(“SIP/80.75.130.83-00001d52”, “__DAY=09”) in new stack
– Executing [s@sub-record-check:5] Set(“SIP/80.75.130.83-00001d52”, “__MONTH=10”) in new stack
– Executing [s@sub-record-check:6] Set(“SIP/80.75.130.83-00001d52”, “__YEAR=2020”) in new stack
– Executing [s@sub-record-check:7] Set(“SIP/80.75.130.83-00001d52”, “__TIMESTR=20201009-191803”) in new stack
– Executing [s@sub-record-check:8] Set(“SIP/80.75.130.83-00001d52”, “__FROMEXTEN=79826773052”) in new stack
– Executing [s@sub-record-check:9] Set(“SIP/80.75.130.83-00001d52”, “__MON_FMT=wav”) in new stack
– Executing [s@sub-record-check:10] NoOp(“SIP/80.75.130.83-00001d52”, “Recordings initialized”) in new stack
– Executing [s@sub-record-check:11] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [s@sub-record-check:12] Set(“SIP/80.75.130.83-00001d52”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [s@sub-record-check:13] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [s@sub-record-check:14] GotoIf(“SIP/80.75.130.83-00001d52”, “3?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [s@sub-record-check:17] GotoIf(“SIP/80.75.130.83-00001d52”, “1?sub-record-check,out,1”) in new stack
– Goto (sub-record-check,out,1)
– Executing [out@sub-record-check:1] NoOp(“SIP/80.75.130.83-00001d52”, “Outbound Recording Check from 79826773052 to 73452212634”) in new stack
– Executing [out@sub-record-check:2] Set(“SIP/80.75.130.83-00001d52”, “RECMODE=”) in new stack
– Executing [out@sub-record-check:3] ExecIf(“SIP/80.75.130.83-00001d52”, “1?Goto(routewins)”) in new stack
– Goto (sub-record-check,out,7)
– Executing [out@sub-record-check:7] Gosub(“SIP/80.75.130.83-00001d52”, “recordcheck,1(dontcare,out,73452212634)”) in new stack
– Executing [recordcheck@sub-record-check:1] NoOp(“SIP/80.75.130.83-00001d52”, “Starting recording check against dontcare”) in new stack
– Executing [recordcheck@sub-record-check:2] Goto(“SIP/80.75.130.83-00001d52”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [recordcheck@sub-record-check:3] Return(“SIP/80.75.130.83-00001d52”, “”) in new stack
– Executing [out@sub-record-check:8] Return(“SIP/80.75.130.83-00001d52”, “”) in new stack
– Executing [73452212634@from-internal:3] ExecIf(“SIP/80.75.130.83-00001d52”, “0 ?Set(CDR(accountcode)=)”) in new stack
– Executing [73452212634@from-internal:4] Set(“SIP/80.75.130.83-00001d52”, “_ROUTEID=4”) in new stack
– Executing [73452212634@from-internal:5] Set(“SIP/80.75.130.83-00001d52”, “_ROUTENAME=MTT_Tumen”) in new stack
– Executing [73452212634@from-internal:6] Set(“SIP/80.75.130.83-00001d52”, “MOHCLASS=default”) in new stack
– Executing [73452212634@from-internal:7] ExecIf(“SIP/80.75.130.83-00001d52”, “1?Set(TRUNKCIDOVERRIDE=73452212634)”) in new stack
– Executing [73452212634@from-internal:8] Set(“SIP/80.75.130.83-00001d52”, “_CALLERIDNAMEINTERNAL=”) in new stack
– Executing [73452212634@from-internal:9] Set(“SIP/80.75.130.83-00001d52”, “_CALLERIDNUMINTERNAL=79826773052”) in new stack
– Executing [73452212634@from-internal:10] Set(“SIP/80.75.130.83-00001d52”, “_EMAILNOTIFICATION=FALSE”) in new stack
– Executing [73452212634@from-internal:11] Set(“SIP/80.75.130.83-00001d52”, “_NODEST=”) in new stack
– Executing [73452212634@from-internal:12] Macro(“SIP/80.75.130.83-00001d52”, “dialout-trunk,3,73452212634,off”) in new stack
– Executing [s@macro-dialout-trunk:1] Set(“SIP/80.75.130.83-00001d52”, “DIAL_TRUNK=3”) in new stack
– Executing [s@macro-dialout-trunk:2] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(DIAL_OPTIONS=Hhtr)”) in new stack
– Executing [s@macro-dialout-trunk:3] GosubIf(“SIP/80.75.130.83-00001d52”, “0?sub-pincheck,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:4] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(CALLERID(num)=)”) in new stack
– Executing [s@macro-dialout-trunk:5] GotoIf(“SIP/80.75.130.83-00001d52”, “0?disabletrunk,1”) in new stack
– Executing [s@macro-dialout-trunk:6] Set(“SIP/80.75.130.83-00001d52”, “DIAL_NUMBER=73452212634”) in new stack
– Executing [s@macro-dialout-trunk:7] Set(“SIP/80.75.130.83-00001d52”, “DIAL_TRUNK_OPTIONS=HhTtr”) in new stack
– Executing [s@macro-dialout-trunk:8] Set(“SIP/80.75.130.83-00001d52”, “OUTBOUND_GROUP=OUT_3”) in new stack
– Executing [s@macro-dialout-trunk:9] Set(“SIP/80.75.130.83-00001d52”, “DIAL_TRUNK_OPTIONS=T”) in new stack
– Executing [s@macro-dialout-trunk:10] GotoIf(“SIP/80.75.130.83-00001d52”, “1?nomax”) in new stack
– Goto (macro-dialout-trunk,s,12)
– Executing [s@macro-dialout-trunk:12] GotoIf(“SIP/80.75.130.83-00001d52”, “0?skipoutcid”) in new stack
– Executing [s@macro-dialout-trunk:13] Macro(“SIP/80.75.130.83-00001d52”, “outbound-callerid,3”) in new stack
– Executing [s@macro-outbound-callerid:1] NoOp(“SIP/80.75.130.83-00001d52”, “79826773052”) in new stack
– Executing [s@macro-outbound-callerid:2] NoOp(“SIP/80.75.130.83-00001d52”, “”) in new stack
– Executing [s@macro-outbound-callerid:3] NoOp(“SIP/80.75.130.83-00001d52”, “off”) in new stack
– Executing [s@macro-outbound-callerid:4] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(CALLERPRES(name-pres)=)”) in new stack
– Executing [s@macro-outbound-callerid:5] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(CALLERPRES(num-pres)=)”) in new stack
– Executing [s@macro-outbound-callerid:6] Set(“SIP/80.75.130.83-00001d52”, “HOTDESCKCHAN=80.75.130.83-00001d52”) in new stack
– Executing [s@macro-outbound-callerid:7] Set(“SIP/80.75.130.83-00001d52”, “HOTDESKEXTEN=80.75.130.83”) in new stack
– Executing [s@macro-outbound-callerid:8] Set(“SIP/80.75.130.83-00001d52”, “HOTDESKCALL=0”) in new stack
– Executing [s@macro-outbound-callerid:9] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(HOTDESKCALL=1)”) in new stack
– Executing [s@macro-outbound-callerid:10] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(CALLERID(name)=)”) in new stack
– Executing [s@macro-outbound-callerid:11] Set(“SIP/80.75.130.83-00001d52”, “ALLOWTHISROUTE=NO”) in new stack
– Executing [s@macro-outbound-callerid:12] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(ALLOWTHISROUTE=YES)”) in new stack
– Executing [s@macro-outbound-callerid:13] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Hangup()”) in new stack
– Executing [s@macro-outbound-callerid:14] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(REALCALLERIDNUM=79826773052)”) in new stack
– Executing [s@macro-outbound-callerid:15] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(AMPUSER=79826773052)”) in new stack
– Executing [s@macro-outbound-callerid:16] GotoIf(“SIP/80.75.130.83-00001d52”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,20)
– Executing [s@macro-outbound-callerid:20] Set(“SIP/80.75.130.83-00001d52”, “USEROUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:21] Set(“SIP/80.75.130.83-00001d52”, “EMERGENCYCID=”) in new stack
– Executing [s@macro-outbound-callerid:22] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(EMERGENCYCID=)”) in new stack
– Executing [s@macro-outbound-callerid:23] Set(“SIP/80.75.130.83-00001d52”, “TRUNKOUTCID=73452212634”) in new stack
– Executing [s@macro-outbound-callerid:24] GotoIf(“SIP/80.75.130.83-00001d52”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,30)
– Executing [s@macro-outbound-callerid:30] ExecIf(“SIP/80.75.130.83-00001d52”, “1?Set(CALLERID(all)=73452212634)”) in new stack
– Executing [s@macro-outbound-callerid:31] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:32] ExecIf(“SIP/80.75.130.83-00001d52”, “1?Set(CALLERID(all)=73452212634)”) in new stack
– Executing [s@macro-outbound-callerid:33] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(CALLERID(all)=79826773052)”) in new stack
– Executing [s@macro-outbound-callerid:34] Set(“SIP/80.75.130.83-00001d52”, “TIOHIDE=no”) in new stack
– Executing [s@macro-outbound-callerid:35] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(CALLERPRES(name-pres)=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:36] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(CALLERPRES(num-pres)=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:37] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(CALLERPRES(name-pres)=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:38] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(CALLERPRES(num-pres)=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:39] Set(“SIP/80.75.130.83-00001d52”, “CDR(outbound_cnum)=73452212634”) in new stack
– Executing [s@macro-outbound-callerid:40] Set(“SIP/80.75.130.83-00001d52”, “CDR(outbound_cnam)=”) in new stack
– Executing [s@macro-dialout-trunk:14] GosubIf(“SIP/80.75.130.83-00001d52”, “1?sub-flp-3,s,1()”) in new stack
– Executing [s@sub-flp-3:1] ExecIf(“SIP/80.75.130.83-00001d52”, “1?Return()”) in new stack
– Executing [s@macro-dialout-trunk:15] Set(“SIP/80.75.130.83-00001d52”, “OUTNUM=73452212634”) in new stack
– Executing [s@macro-dialout-trunk:16] Set(“SIP/80.75.130.83-00001d52”, “custom=SIP/Tumen”) in new stack
– Executing [s@macro-dialout-trunk:17] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)”) in new stack
– Executing [s@macro-dialout-trunk:18] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))”) in new stack
– Executing [s@macro-dialout-trunk:19] Macro(“SIP/80.75.130.83-00001d52”, “dialout-trunk-predial-hook,”) in new stack
– Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/80.75.130.83-00001d52”, “”) in new stack
– Executing [s@macro-dialout-trunk:20] GotoIf(“SIP/80.75.130.83-00001d52”, “0?skipcrm”) in new stack
– Executing [s@macro-dialout-trunk:21] Set(“SIP/80.75.130.83-00001d52”, “__CRM_DIRECTION=OUTBOUND”) in new stack
– Executing [s@macro-dialout-trunk:22] Set(“SIP/80.75.130.83-00001d52”, “__CRM_DESTINATION=73452212634”) in new stack
– Executing [s@macro-dialout-trunk:23] Set(“SIP/80.75.130.83-00001d52”, “__CRM_SOURCE=”) in new stack
– Executing [s@macro-dialout-trunk:24] AGI(“SIP/80.75.130.83-00001d52”, “sangomacrm.agi”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
– <SIP/80.75.130.83-00001d52>AGI Script sangomacrm.agi completed, returning 0
– Executing [s@macro-dialout-trunk:25] Set(“SIP/80.75.130.83-00001d52”, “CHANNEL(hangup_handler_push)=crm-hangup,s,1”) in new stack
– Executing [s@macro-dialout-trunk:26] NoOp(“SIP/80.75.130.83-00001d52”, “CRM Finished”) in new stack
– Executing [s@macro-dialout-trunk:27] GotoIf(“SIP/80.75.130.83-00001d52”, “0?bypass,1”) in new stack
– Executing [s@macro-dialout-trunk:28] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(CONNECTEDLINE(num,i)=73452212634)”) in new stack
– Executing [s@macro-dialout-trunk:29] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(CONNECTEDLINE(name,i)=CID:73452212634)”) in new stack
– Executing [s@macro-dialout-trunk:30] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)73452212634)”) in new stack
– Executing [s@macro-dialout-trunk:31] GotoIf(“SIP/80.75.130.83-00001d52”, “0?customtrunk”) in new stack
– Executing [s@macro-dialout-trunk:32] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(DIAL_TRUNK_OPTIONS=)”) in new stack
– Executing [s@macro-dialout-trunk:33] Set(“SIP/80.75.130.83-00001d52”, “HASH(__SIPHEADERS,Alert-Info)=unset”) in new stack
– Executing [s@macro-dialout-trunk:34] Dial(“SIP/80.75.130.83-00001d52”, “SIP/Tumen/73452212634,300,Tb(func-apply-sipheaders^s^1,(3))U(sub-send-obroute-email^73452212634^73452212634^3^1602253083^^73452212634)”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– SIP/Tumen-00001d53 Internal Gosub(func-apply-sipheaders,s,1(3)) start
– Executing [s@func-apply-sipheaders:1] ExecIf(“SIP/Tumen-00001d53”, “0?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)”) in new stack
– Executing [s@func-apply-sipheaders:2] NoOp(“SIP/Tumen-00001d53”, “Applying SIP Headers to channel SIP/Tumen-00001d53”) in new stack
– Executing [s@func-apply-sipheaders:3] Set(“SIP/Tumen-00001d53”, “TECH=SIP”) in new stack
– Executing [s@func-apply-sipheaders:4] Set(“SIP/Tumen-00001d53”, “SIPHEADERKEYS=Alert-Info”) in new stack
– Executing [s@func-apply-sipheaders:5] While(“SIP/Tumen-00001d53”, “1”) in new stack
– Executing [s@func-apply-sipheaders:6] Set(“SIP/Tumen-00001d53”, “sipheader=unset”) in new stack
– Executing [s@func-apply-sipheaders:7] ExecIf(“SIP/Tumen-00001d53”, “1?SIPRemoveHeader(Alert-Info:)”) in new stack
– Executing [s@func-apply-sipheaders:8] ExecIf(“SIP/Tumen-00001d53”, “0?Set(PJSIP_HEADER(remove,Alert-Info)=)”) in new stack
– Executing [s@func-apply-sipheaders:9] ExecIf(“SIP/Tumen-00001d53”, “0?Set(sipheader=http://127.0.0.1;info=unset)”) in new stack
– Executing [s@func-apply-sipheaders:10] ExecIf(“SIP/Tumen-00001d53”, “0?Set(sipheader=http://127.0.0.1unset)”) in new stack
– Executing [s@func-apply-sipheaders:11] ExecIf(“SIP/Tumen-00001d53”, “0?SIPAddHeader(Alert-Info:unset)”) in new stack
– Executing [s@func-apply-sipheaders:12] ExecIf(“SIP/Tumen-00001d53”, “0?Set(PJSIP_HEADER(add,Alert-Info)=unset)”) in new stack
– Executing [s@func-apply-sipheaders:13] EndWhile(“SIP/Tumen-00001d53”, “”) in new stack
– Executing [s@func-apply-sipheaders:5] While(“SIP/Tumen-00001d53”, “0”) in new stack
– Executing [s@func-apply-sipheaders:14] Return(“SIP/Tumen-00001d53”, “”) in new stack
== Spawn extension (from-trunk-sip-Tumen, 73452212634, 1) exited non-zero on ‘SIP/Tumen-00001d53’
– SIP/Tumen-00001d53 Internal Gosub(func-apply-sipheaders,s,1(3)) complete GOSUB_RETVAL=
– Called SIP/Tumen/73452212634
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
> 0x7f8fb82a8550 – Strict RTP learning after remote address set to: 80.75.130.83:50544
– Executing [73452212634@from-internal:1] Macro(“SIP/80.75.130.83-00001d54”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/80.75.130.83-00001d54”, “TOUCH_MONITOR=1602253085.7508”) in new stack
– Executing [s@macro-user-callerid:2] Set(“SIP/80.75.130.83-00001d54”, “AMPUSER=73452212634”) in new stack
– Executing [s@macro-user-callerid:3] Set(“SIP/80.75.130.83-00001d54”, “HOTDESCKCHAN=80.75.130.83-00001d54”) in new stack
– Executing [s@macro-user-callerid:4] Set(“SIP/80.75.130.83-00001d54”, “HOTDESKEXTEN=80.75.130.83”) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/80.75.130.83-00001d54”, “HOTDESKCALL=0”) in new stack
– Executing [s@macro-user-callerid:6] ExecIf(“SIP/80.75.130.83-00001d54”, “0?Set(HOTDESKCALL=1)”) in new stack
– Executing [s@macro-user-callerid:7] ExecIf(“SIP/80.75.130.83-00001d54”, “0?Set(CALLERID(name)=)”) in new stack
– Executing [s@macro-user-callerid:8] GotoIf(“SIP/80.75.130.83-00001d54”, “0?report”) in new stack
– Executing [s@macro-user-callerid:9] ExecIf(“SIP/80.75.130.83-00001d54”, “1?Set(REALCALLERIDNUM=73452212634)”) in new stack
– Executing [s@macro-user-callerid:10] Set(“SIP/80.75.130.83-00001d54”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:11] GotoIf(“SIP/80.75.130.83-00001d54”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:12] Set(“SIP/80.75.130.83-00001d54”, “AMPUSERCIDNAME=”) in new stack
– Executing [s@macro-user-callerid:13] ExecIf(“SIP/80.75.130.83-00001d54”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
– Executing [s@macro-user-callerid:14] GotoIf(“SIP/80.75.130.83-00001d54”, “1?report”) in new stack
– Goto (macro-user-callerid,s,23)
– Executing [s@macro-user-callerid:23] NoOp(“SIP/80.75.130.83-00001d54”, “Macro Depth is 1”) in new stack
– Executing [s@macro-user-callerid:24] GotoIf(“SIP/80.75.130.83-00001d54”, “1?report2:macroerror”) in new stack
– Goto (macro-user-callerid,s,25)
– Executing [s@macro-user-callerid:25] GotoIf(“SIP/80.75.130.83-00001d54”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,44)
– Executing [s@macro-user-callerid:44] Set(“SIP/80.75.130.83-00001d54”, “CALLERID(number)=73452212634”) in new stack
– Executing [s@macro-user-callerid:45] Set(“SIP/80.75.130.83-00001d54”, “CALLERID(name)=73452212828”) in new stack
– Executing [s@macro-user-callerid:46] GotoIf(“SIP/80.75.130.83-00001d54”, “0?cnum”) in new stack
– Executing [s@macro-user-callerid:47] Set(“SIP/80.75.130.83-00001d54”, “CDR(cnam)=73452212828”) in new stack
– Executing [s@macro-user-callerid:48] Set(“SIP/80.75.130.83-00001d54”, “CDR(cnum)=73452212634”) in new stack
– Executing [s@macro-user-callerid:49] Set(“SIP/80.75.130.83-00001d54”, “CHANNEL(language)=en”) in new stack
– Executing [73452212634@from-internal:2] Gosub(“SIP/80.75.130.83-00001d54”, “sub-record-check,s,1(out,73452212634,dontcare)”) in new stack
– Executing [s@sub-record-check:1] GotoIf(“SIP/80.75.130.83-00001d54”, “0?initialized”) in new stack
– Executing [s@sub-record-check:2] Set(“SIP/80.75.130.83-00001d54”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [s@sub-record-check:3] Set(“SIP/80.75.130.83-00001d54”, “NOW=1602253085”) in new stack
– Executing [s@sub-record-check:4] Set(“SIP/80.75.130.83-00001d54”, “__DAY=09”) in new stack
– Executing [s@sub-record-check:5] Set(“SIP/80.75.130.83-00001d54”, “__MONTH=10”) in new stack
– Executing [s@sub-record-check:6] Set(“SIP/80.75.130.83-00001d54”, “__YEAR=2020”) in new stack
– Executing [s@sub-record-check:7] Set(“SIP/80.75.130.83-00001d54”, “__TIMESTR=20201009-191805”) in new stack
– Executing [s@sub-record-check:8] Set(“SIP/80.75.130.83-00001d54”, “__FROMEXTEN=73452212634”) in new stack
– Executing [s@sub-record-check:9] Set(“SIP/80.75.130.83-00001d54”, “__MON_FMT=wav”) in new stack
– Executing [s@sub-record-check:10] NoOp(“SIP/80.75.130.83-00001d54”, “Recordings initialized”) in new stack
– Executing [s@sub-record-check:11] ExecIf(“SIP/80.75.130.83-00001d54”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [s@sub-record-check:12] Set(“SIP/80.75.130.83-00001d54”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [s@sub-record-check:13] ExecIf(“SIP/80.75.130.83-00001d54”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [s@sub-record-check:14] GotoIf(“SIP/80.75.130.83-00001d54”, “3?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [s@sub-record-check:17] GotoIf(“SIP/80.75.130.83-00001d54”, “1?sub-record-check,out,1”) in new stack
– Goto (sub-record-check,out,1)
– Executing [out@sub-record-check:1] NoOp(“SIP/80.75.130.83-00001d54”, “Outbound Recording Check from 73452212634 to 73452212634”) in new stack
– Executing [out@sub-record-check:2] Set(“SIP/80.75.130.83-00001d54”, “RECMODE=”) in new stack
– Executing [out@sub-record-check:3] ExecIf(“SIP/80.75.130.83-00001d54”, “1?Goto(routewins)”) in new stack
– Goto (sub-record-check,out,7)
– Executing [out@sub-record-check:7] Gosub(“SIP/80.75.130.83-00001d54”, “recordcheck,1(dontcare,out,73452212634)”) in new stack
– Executing [recordcheck@sub-record-check:1] NoOp(“SIP/80.75.130.83-00001d54”, “Starting recording check against dontcare”) in new stack
– Executing [recordcheck@sub-record-check:2] Goto(“SIP/80.75.130.83-00001d54”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [recordcheck@sub-record-check:3] Return(“SIP/80.75.130.83-00001d54”, “”) in new stack
– Executing [out@sub-record-check:8] Return(“SIP/80.75.130.83-00001d54”, “”) in new stack
– Executing [73452212634@from-internal:3] ExecIf(“SIP/80.75.130.83-00001d54”, “0 ?Set(CDR(accountcode)=)”) in new stack
– Executing [73452212634@from-internal:4] Set(“SIP/80.75.130.83-00001d54”, “_ROUTEID=4”) in new stack
– Executing [73452212634@from-internal:5] Set(“SIP/80.75.130.83-00001d54”, “_ROUTENAME=MTT_Tumen”) in new stack
– Executing [73452212634@from-internal:6] Set(“SIP/80.75.130.83-00001d54”, “MOHCLASS=default”) in new stack
– Executing [73452212634@from-internal:7] ExecIf(“SIP/80.75.130.83-00001d54”, “1?Set(TRUNKCIDOVERRIDE=73452212634)”) in new stack
– Executing [73452212634@from-internal:8] Set(“SIP/80.75.130.83-00001d54”, “_CALLERIDNAMEINTERNAL=73452212828”) in new stack
– Executing [73452212634@from-internal:9] Set(“SIP/80.75.130.83-00001d54”, “_CALLERIDNUMINTERNAL=73452212634”) in new stack
– Executing [73452212634@from-internal:10] Set(“SIP/80.75.130.83-00001d54”, “_EMAILNOTIFICATION=FALSE”) in new stack
– Executing [73452212634@from-internal:11] Set(“SIP/80.75.130.83-00001d54”, “_NODEST=”) in new stack
– Executing [73452212634@from-internal:12] Macro(“SIP/80.75.130.83-00001d54”, “dialout-trunk,3,73452212634,off”) in new stack
– Executing [s@macro-dialout-trunk:1] Set(“SIP/80.75.130.83-00001d54”, “DIAL_TRUNK=3”) in new stack
– Executing [s@macro-dialout-trunk:2] ExecIf(“SIP/80.75.130.83-00001d54”, “0?Set(DIAL_OPTIONS=Hhtr)”) in new stack
– Executing [s@macro-dialout-trunk:3] GosubIf(“SIP/80.75.130.83-00001d54”, “0?sub-pincheck,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:4] ExecIf(“SIP/80.75.130.83-00001d54”, “0?Set(CALLERID(num)=)”) in new stack
– Executing [s@macro-dialout-trunk:5] GotoIf(“SIP/80.75.130.83-00001d54”, “0?disabletrunk,1”) in new stack
– Executing [s@macro-dialout-trunk:6] Set(“SIP/80.75.130.83-00001d54”, “DIAL_NUMBER=73452212634”) in new stack
– Executing [s@macro-dialout-trunk:7] Set(“SIP/80.75.130.83-00001d54”, “DIAL_TRUNK_OPTIONS=HhTtr”) in new stack
– Executing [s@macro-dialout-trunk:8] Set(“SIP/80.75.130.83-00001d54”, “OUTBOUND_GROUP=OUT_3”) in new stack
– Executing [s@macro-dialout-trunk:9] Set(“SIP/80.75.130.83-00001d54”, “DIAL_TRUNK_OPTIONS=T”) in new stack
– Executing [s@macro-dialout-trunk:10] GotoIf(“SIP/80.75.130.83-00001d54”, “1?nomax”) in new stack

-- SIP/Tumen-00001d57 Internal Gosub(func-apply-sipheaders,s,1(3)) start
-- Executing [s@func-apply-sipheaders:1] ExecIf("SIP/Tumen-00001d57", "0?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)") in new stack
-- Executing [s@func-apply-sipheaders:2] NoOp("SIP/Tumen-00001d57", "Applying SIP Headers to channel SIP/Tumen-00001d57") in new stack
-- Executing [s@func-apply-sipheaders:3] Set("SIP/Tumen-00001d57", "TECH=SIP") in new stack
-- Executing [s@func-apply-sipheaders:4] Set("SIP/Tumen-00001d57", "SIPHEADERKEYS=Alert-Info") in new stack
-- Executing [s@func-apply-sipheaders:5] While("SIP/Tumen-00001d57", "1") in new stack
-- Executing [s@func-apply-sipheaders:6] Set("SIP/Tumen-00001d57", "sipheader=unset") in new stack
-- Executing [s@func-apply-sipheaders:7] ExecIf("SIP/Tumen-00001d57", "1?SIPRemoveHeader(Alert-Info:)") in new stack
-- Executing [s@func-apply-sipheaders:8] ExecIf("SIP/Tumen-00001d57", "0?Set(PJSIP_HEADER(remove,Alert-Info)=)") in new stack
-- Executing [s@func-apply-sipheaders:9] ExecIf("SIP/Tumen-00001d57", "0?Set(sipheader=<http://127.0.0.1>;info=unset)") in new stack
-- Executing [s@func-apply-sipheaders:10] ExecIf("SIP/Tumen-00001d57", "0?Set(sipheader=<http://127.0.0.1>unset)") in new stack
-- Executing [s@func-apply-sipheaders:11] ExecIf("SIP/Tumen-00001d57", "0?SIPAddHeader(Alert-Info:unset)") in new stack
-- Executing [s@func-apply-sipheaders:12] ExecIf("SIP/Tumen-00001d57", "0?Set(PJSIP_HEADER(add,Alert-Info)=unset)") in new stack
-- Executing [s@func-apply-sipheaders:13] EndWhile("SIP/Tumen-00001d57", "") in new stack
-- Executing [s@func-apply-sipheaders:5] While("SIP/Tumen-00001d57", "0") in new stack
-- Executing [s@func-apply-sipheaders:14] Return("SIP/Tumen-00001d57", "") in new stack

== Spawn extension (from-trunk-sip-Tumen, 73452212634, 1) exited non-zero on ‘SIP/Tumen-00001d57’
– SIP/Tumen-00001d57 Internal Gosub(func-apply-sipheaders,s,1(3)) complete GOSUB_RETVAL=
– Called SIP/Tumen/73452212634

== Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘SIP/80.75.130.83-00001d58’ in macro ‘hangupcall’
== Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/80.75.130.83-00001d58’
– SIP/80.75.130.83-00001d58 Internal Gosub(crm-hangup,s,1) start
– Executing [s@crm-hangup:1] NoOp(“SIP/80.75.130.83-00001d58”, “Sending Hangup to CRM”) in new stack
– Executing [s@crm-hangup:2] NoOp(“SIP/80.75.130.83-00001d58”, “HANGUP CAUSE: 16”) in new stack
– Executing [s@crm-hangup:3] ExecIf(“SIP/80.75.130.83-00001d58”, “0?Set(__CRM_VOICEMAIL=)”) in new stack
– Executing [s@crm-hangup:4] NoOp(“SIP/80.75.130.83-00001d58”, “MASTER CHANNEL: 1602253087.7512 = 1602253087.7512”) in new stack
– Executing [s@crm-hangup:5] GotoIf(“SIP/80.75.130.83-00001d58”, “0?return”) in new stack
– Executing [s@crm-hangup:6] Set(“SIP/80.75.130.83-00001d58”, “__CRM_HANGUP=1”) in new stack
– Executing [s@crm-hangup:7] AGI(“SIP/80.75.130.83-00001d58”, “sangomacrm.agi”) in new stack

I already tried everything I could, I would be grateful for any help

What dial options are you using on your inbound routes/trunks?

There is a “ring” option (R for outbound and r for inbound, IIRC) that tells the system to generate a “ring” tone on an inbound call.

Thanks for your reply. By default, there was T, when I changed to r, I started to go ringing when there was an incoming call. However, the extensionion is not receiving a signal. I can make calls from an extension to another extension.

I reinstall freepbx and now everything works how it should

1 Like

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