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 [[email protected]:1] Macro(“SIP/80.75.130.83-00001d52”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
– Executing [[email protected]:1] Set(“SIP/80.75.130.83-00001d52”, “TOUCH_MONITOR=1602253083.7506”) in new stack
– Executing [[email protected]:2] Set(“SIP/80.75.130.83-00001d52”, “AMPUSER=79826773052”) in new stack
– Executing [[email protected]:3] Set(“SIP/80.75.130.83-00001d52”, “HOTDESCKCHAN=80.75.130.83-00001d52”) in new stack
– Executing [[email protected]:4] Set(“SIP/80.75.130.83-00001d52”, “HOTDESKEXTEN=80.75.130.83”) in new stack
– Executing [[email protected]:5] Set(“SIP/80.75.130.83-00001d52”, “HOTDESKCALL=0”) in new stack
– Executing [[email protected]:6] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(HOTDESKCALL=1)”) in new stack
– Executing [[email protected]:7] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(CALLERID(name)=)”) in new stack
– Executing [[email protected]:8] GotoIf(“SIP/80.75.130.83-00001d52”, “0?report”) in new stack
– Executing [[email protected]:9] ExecIf(“SIP/80.75.130.83-00001d52”, “1?Set(REALCALLERIDNUM=79826773052)”) in new stack
– Executing [[email protected]:10] Set(“SIP/80.75.130.83-00001d52”, “AMPUSER=”) in new stack
– Executing [[email protected]:11] GotoIf(“SIP/80.75.130.83-00001d52”, “0?limit”) in new stack
– Executing [[email protected]:12] Set(“SIP/80.75.130.83-00001d52”, “AMPUSERCIDNAME=”) in new stack
– Executing [[email protected]:13] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
– Executing [[email protected]:14] GotoIf(“SIP/80.75.130.83-00001d52”, “1?report”) in new stack
– Goto (macro-user-callerid,s,23)
– Executing [[email protected]:23] NoOp(“SIP/80.75.130.83-00001d52”, “Macro Depth is 1”) in new stack
– Executing [[email protected]:24] GotoIf(“SIP/80.75.130.83-00001d52”, “1?report2:macroerror”) in new stack
– Goto (macro-user-callerid,s,25)
– Executing [[email protected]:25] GotoIf(“SIP/80.75.130.83-00001d52”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,44)
– Executing [[email protected]:44] Set(“SIP/80.75.130.83-00001d52”, “CALLERID(number)=79826773052”) in new stack
– Executing [[email protected]:45] Set(“SIP/80.75.130.83-00001d52”, “CALLERID(name)=”) in new stack
– Executing [[email protected]:46] GotoIf(“SIP/80.75.130.83-00001d52”, “1?cnum”) in new stack
– Goto (macro-user-callerid,s,48)
– Executing [[email protected]:48] Set(“SIP/80.75.130.83-00001d52”, “CDR(cnum)=79826773052”) in new stack
– Executing [[email protected]:49] Set(“SIP/80.75.130.83-00001d52”, “CHANNEL(language)=en”) in new stack
– Executing [[email protected]:2] Gosub(“SIP/80.75.130.83-00001d52”, “sub-record-check,s,1(out,73452212634,dontcare)”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/80.75.130.83-00001d52”, “0?initialized”) in new stack
– Executing [[email protected]:2] Set(“SIP/80.75.130.83-00001d52”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [[email protected]:3] Set(“SIP/80.75.130.83-00001d52”, “NOW=1602253083”) in new stack
– Executing [[email protected]:4] Set(“SIP/80.75.130.83-00001d52”, “__DAY=09”) in new stack
– Executing [[email protected]:5] Set(“SIP/80.75.130.83-00001d52”, “__MONTH=10”) in new stack
– Executing [[email protected]:6] Set(“SIP/80.75.130.83-00001d52”, “__YEAR=2020”) in new stack
– Executing [[email protected]:7] Set(“SIP/80.75.130.83-00001d52”, “__TIMESTR=20201009-191803”) in new stack
– Executing [[email protected]:8] Set(“SIP/80.75.130.83-00001d52”, “__FROMEXTEN=79826773052”) in new stack
– Executing [[email protected]:9] Set(“SIP/80.75.130.83-00001d52”, “__MON_FMT=wav”) in new stack
– Executing [[email protected]:10] NoOp(“SIP/80.75.130.83-00001d52”, “Recordings initialized”) in new stack
– Executing [[email protected]:11] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [[email protected]:12] Set(“SIP/80.75.130.83-00001d52”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [[email protected]:13] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [[email protected]:14] GotoIf(“SIP/80.75.130.83-00001d52”, “3?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [[email protected]:17] GotoIf(“SIP/80.75.130.83-00001d52”, “1?sub-record-check,out,1”) in new stack
– Goto (sub-record-check,out,1)
– Executing [[email protected]:1] NoOp(“SIP/80.75.130.83-00001d52”, “Outbound Recording Check from 79826773052 to 73452212634”) in new stack
– Executing [[email protected]:2] Set(“SIP/80.75.130.83-00001d52”, “RECMODE=”) in new stack
– Executing [[email protected]:3] ExecIf(“SIP/80.75.130.83-00001d52”, “1?Goto(routewins)”) in new stack
– Goto (sub-record-check,out,7)
– Executing [[email protected]:7] Gosub(“SIP/80.75.130.83-00001d52”, “recordcheck,1(dontcare,out,73452212634)”) in new stack
– Executing [[email protected]:1] NoOp(“SIP/80.75.130.83-00001d52”, “Starting recording check against dontcare”) in new stack
– Executing [[email protected]:2] Goto(“SIP/80.75.130.83-00001d52”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [[email protected]:3] Return(“SIP/80.75.130.83-00001d52”, “”) in new stack
– Executing [[email protected]:8] Return(“SIP/80.75.130.83-00001d52”, “”) in new stack
– Executing [[email protected]:3] ExecIf(“SIP/80.75.130.83-00001d52”, “0 ?Set(CDR(accountcode)=)”) in new stack
– Executing [[email protected]:4] Set(“SIP/80.75.130.83-00001d52”, “_ROUTEID=4”) in new stack
– Executing [[email protected]:5] Set(“SIP/80.75.130.83-00001d52”, “_ROUTENAME=MTT_Tumen”) in new stack
– Executing [[email protected]:6] Set(“SIP/80.75.130.83-00001d52”, “MOHCLASS=default”) in new stack
– Executing [[email protected]:7] ExecIf(“SIP/80.75.130.83-00001d52”, “1?Set(TRUNKCIDOVERRIDE=73452212634)”) in new stack
– Executing [[email protected]:8] Set(“SIP/80.75.130.83-00001d52”, “_CALLERIDNAMEINTERNAL=”) in new stack
– Executing [[email protected]:9] Set(“SIP/80.75.130.83-00001d52”, “_CALLERIDNUMINTERNAL=79826773052”) in new stack
– Executing [[email protected]:10] Set(“SIP/80.75.130.83-00001d52”, “_EMAILNOTIFICATION=FALSE”) in new stack
– Executing [[email protected]:11] Set(“SIP/80.75.130.83-00001d52”, “_NODEST=”) in new stack
– Executing [[email protected]:12] Macro(“SIP/80.75.130.83-00001d52”, “dialout-trunk,3,73452212634,off”) in new stack
– Executing [[email protected]:1] Set(“SIP/80.75.130.83-00001d52”, “DIAL_TRUNK=3”) in new stack
– Executing [[email protected]:2] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(DIAL_OPTIONS=Hhtr)”) in new stack
– Executing [[email protected]:3] GosubIf(“SIP/80.75.130.83-00001d52”, “0?sub-pincheck,s,1()”) in new stack
– Executing [[email protected]:4] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(CALLERID(num)=)”) in new stack
– Executing [[email protected]:5] GotoIf(“SIP/80.75.130.83-00001d52”, “0?disabletrunk,1”) in new stack
– Executing [[email protected]:6] Set(“SIP/80.75.130.83-00001d52”, “DIAL_NUMBER=73452212634”) in new stack
– Executing [[email protected]:7] Set(“SIP/80.75.130.83-00001d52”, “DIAL_TRUNK_OPTIONS=HhTtr”) in new stack
– Executing [[email protected]:8] Set(“SIP/80.75.130.83-00001d52”, “OUTBOUND_GROUP=OUT_3”) in new stack
– Executing [[email protected]:9] Set(“SIP/80.75.130.83-00001d52”, “DIAL_TRUNK_OPTIONS=T”) in new stack
– Executing [[email protected]:10] GotoIf(“SIP/80.75.130.83-00001d52”, “1?nomax”) in new stack
– Goto (macro-dialout-trunk,s,12)
– Executing [[email protected]:12] GotoIf(“SIP/80.75.130.83-00001d52”, “0?skipoutcid”) in new stack
– Executing [[email protected]:13] Macro(“SIP/80.75.130.83-00001d52”, “outbound-callerid,3”) in new stack
– Executing [[email protected]:1] NoOp(“SIP/80.75.130.83-00001d52”, “79826773052”) in new stack
– Executing [[email protected]:2] NoOp(“SIP/80.75.130.83-00001d52”, “”) in new stack
– Executing [[email protected]:3] NoOp(“SIP/80.75.130.83-00001d52”, “off”) in new stack
– Executing [[email protected]:4] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(CALLERPRES(name-pres)=)”) in new stack
– Executing [[email protected]:5] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(CALLERPRES(num-pres)=)”) in new stack
– Executing [[email protected]:6] Set(“SIP/80.75.130.83-00001d52”, “HOTDESCKCHAN=80.75.130.83-00001d52”) in new stack
– Executing [[email protected]:7] Set(“SIP/80.75.130.83-00001d52”, “HOTDESKEXTEN=80.75.130.83”) in new stack
– Executing [[email protected]:8] Set(“SIP/80.75.130.83-00001d52”, “HOTDESKCALL=0”) in new stack
– Executing [[email protected]:9] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(HOTDESKCALL=1)”) in new stack
– Executing [[email protected]:10] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(CALLERID(name)=)”) in new stack
– Executing [[email protected]:11] Set(“SIP/80.75.130.83-00001d52”, “ALLOWTHISROUTE=NO”) in new stack
– Executing [[email protected]:12] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(ALLOWTHISROUTE=YES)”) in new stack
– Executing [[email protected]:13] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Hangup()”) in new stack
– Executing [[email protected]:14] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(REALCALLERIDNUM=79826773052)”) in new stack
– Executing [[email protected]:15] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(AMPUSER=79826773052)”) in new stack
– Executing [[email protected]:16] GotoIf(“SIP/80.75.130.83-00001d52”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,20)
– Executing [[email protected]:20] Set(“SIP/80.75.130.83-00001d52”, “USEROUTCID=”) in new stack
– Executing [[email protected]:21] Set(“SIP/80.75.130.83-00001d52”, “EMERGENCYCID=”) in new stack
– Executing [[email protected]:22] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(EMERGENCYCID=)”) in new stack
– Executing [[email protected]:23] Set(“SIP/80.75.130.83-00001d52”, “TRUNKOUTCID=73452212634”) in new stack
– Executing [[email protected]:24] GotoIf(“SIP/80.75.130.83-00001d52”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,30)
– Executing [[email protected]:30] ExecIf(“SIP/80.75.130.83-00001d52”, “1?Set(CALLERID(all)=73452212634)”) in new stack
– Executing [[email protected]:31] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [[email protected]:32] ExecIf(“SIP/80.75.130.83-00001d52”, “1?Set(CALLERID(all)=73452212634)”) in new stack
– Executing [[email protected]:33] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(CALLERID(all)=79826773052)”) in new stack
– Executing [[email protected]:34] Set(“SIP/80.75.130.83-00001d52”, “TIOHIDE=no”) in new stack
– Executing [[email protected]:35] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(CALLERPRES(name-pres)=prohib_passed_screen)”) in new stack
– Executing [[email protected]:36] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(CALLERPRES(num-pres)=prohib_passed_screen)”) in new stack
– Executing [[email protected]:37] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(CALLERPRES(name-pres)=prohib_passed_screen)”) in new stack
– Executing [[email protected]:38] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(CALLERPRES(num-pres)=prohib_passed_screen)”) in new stack
– Executing [[email protected]:39] Set(“SIP/80.75.130.83-00001d52”, “CDR(outbound_cnum)=73452212634”) in new stack
– Executing [[email protected]:40] Set(“SIP/80.75.130.83-00001d52”, “CDR(outbound_cnam)=”) in new stack
– Executing [[email protected]:14] GosubIf(“SIP/80.75.130.83-00001d52”, “1?sub-flp-3,s,1()”) in new stack
– Executing [[email protected]:1] ExecIf(“SIP/80.75.130.83-00001d52”, “1?Return()”) in new stack
– Executing [[email protected]:15] Set(“SIP/80.75.130.83-00001d52”, “OUTNUM=73452212634”) in new stack
– Executing [[email protected]:16] Set(“SIP/80.75.130.83-00001d52”, “custom=SIP/Tumen”) in new stack
– Executing [[email protected]:17] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)”) in new stack
– Executing [[email protected]:18] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))”) in new stack
– Executing [[email protected]:19] Macro(“SIP/80.75.130.83-00001d52”, “dialout-trunk-predial-hook,”) in new stack
– Executing [[email protected]:1] MacroExit(“SIP/80.75.130.83-00001d52”, “”) in new stack
– Executing [[email protected]:20] GotoIf(“SIP/80.75.130.83-00001d52”, “0?skipcrm”) in new stack
– Executing [[email protected]:21] Set(“SIP/80.75.130.83-00001d52”, “__CRM_DIRECTION=OUTBOUND”) in new stack
– Executing [[email protected]:22] Set(“SIP/80.75.130.83-00001d52”, “__CRM_DESTINATION=73452212634”) in new stack
– Executing [[email protected]:23] Set(“SIP/80.75.130.83-00001d52”, “__CRM_SOURCE=”) in new stack
– Executing [[email protected]: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 [[email protected]:25] Set(“SIP/80.75.130.83-00001d52”, “CHANNEL(hangup_handler_push)=crm-hangup,s,1”) in new stack
– Executing [[email protected]:26] NoOp(“SIP/80.75.130.83-00001d52”, “CRM Finished”) in new stack
– Executing [[email protected]nk:27] GotoIf(“SIP/80.75.130.83-00001d52”, “0?bypass,1”) in new stack
– Executing [[email protected]:28] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(CONNECTEDLINE(num,i)=73452212634)”) in new stack
– Executing [[email protected]:29] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(CONNECTEDLINE(name,i)=CID:73452212634)”) in new stack
– Executing [[email protected]:30] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)73452212634)”) in new stack
– Executing [[email protected]:31] GotoIf(“SIP/80.75.130.83-00001d52”, “0?customtrunk”) in new stack
– Executing [[email protected]:32] ExecIf(“SIP/80.75.130.83-00001d52”, “0?Set(DIAL_TRUNK_OPTIONS=)”) in new stack
– Executing [[email protected]:33] Set(“SIP/80.75.130.83-00001d52”, “HASH(__SIPHEADERS,Alert-Info)=unset”) in new stack
– Executing [[email protected]: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 [[email protected]:1] ExecIf(“SIP/Tumen-00001d53”, “0?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)”) in new stack
– Executing [[email protected]:2] NoOp(“SIP/Tumen-00001d53”, “Applying SIP Headers to channel SIP/Tumen-00001d53”) in new stack
– Executing [[email protected]:3] Set(“SIP/Tumen-00001d53”, “TECH=SIP”) in new stack
– Executing [[email protected]:4] Set(“SIP/Tumen-00001d53”, “SIPHEADERKEYS=Alert-Info”) in new stack
– Executing [[email protected]:5] While(“SIP/Tumen-00001d53”, “1”) in new stack
– Executing [[email protected]:6] Set(“SIP/Tumen-00001d53”, “sipheader=unset”) in new stack
– Executing [[email protected]:7] ExecIf(“SIP/Tumen-00001d53”, “1?SIPRemoveHeader(Alert-Info:)”) in new stack
– Executing [[email protected]:8] ExecIf(“SIP/Tumen-00001d53”, “0?Set(PJSIP_HEADER(remove,Alert-Info)=)”) in new stack
– Executing [[email protected]:9] ExecIf(“SIP/Tumen-00001d53”, “0?Set(sipheader=http://127.0.0.1;info=unset)”) in new stack
– Executing [[email protected]:10] ExecIf(“SIP/Tumen-00001d53”, “0?Set(sipheader=http://127.0.0.1unset)”) in new stack
– Executing [[email protected]:11] ExecIf(“SIP/Tumen-00001d53”, “0?SIPAddHeader(Alert-Info:unset)”) in new stack
– Executing [[email protected]:12] ExecIf(“SIP/Tumen-00001d53”, “0?Set(PJSIP_HEADER(add,Alert-Info)=unset)”) in new stack
– Executing [[email protected]:13] EndWhile(“SIP/Tumen-00001d53”, “”) in new stack
– Executing [[email protected]:5] While(“SIP/Tumen-00001d53”, “0”) in new stack
– Executing [[email protected]: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 [[email protected]:1] Macro(“SIP/80.75.130.83-00001d54”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
– Executing [[email protected]:1] Set(“SIP/80.75.130.83-00001d54”, “TOUCH_MONITOR=1602253085.7508”) in new stack
– Executing [[email protected]:2] Set(“SIP/80.75.130.83-00001d54”, “AMPUSER=73452212634”) in new stack
– Executing [[email protected]ser-callerid:3] Set(“SIP/80.75.130.83-00001d54”, “HOTDESCKCHAN=80.75.130.83-00001d54”) in new stack
– Executing [[email protected]:4] Set(“SIP/80.75.130.83-00001d54”, “HOTDESKEXTEN=80.75.130.83”) in new stack
– Executing [[email protected]:5] Set(“SIP/80.75.130.83-00001d54”, “HOTDESKCALL=0”) in new stack
– Executing [[email protected]:6] ExecIf(“SIP/80.75.130.83-00001d54”, “0?Set(HOTDESKCALL=1)”) in new stack
– Executing [[email protected]:7] ExecIf(“SIP/80.75.130.83-00001d54”, “0?Set(CALLERID(name)=)”) in new stack
– Executing [[email protected]:8] GotoIf(“SIP/80.75.130.83-00001d54”, “0?report”) in new stack
– Executing [[email protected]:9] ExecIf(“SIP/80.75.130.83-00001d54”, “1?Set(REALCALLERIDNUM=73452212634)”) in new stack
– Executing [[email protected]:10] Set(“SIP/80.75.130.83-00001d54”, “AMPUSER=”) in new stack
– Executing [[email protected]:11] GotoIf(“SIP/80.75.130.83-00001d54”, “0?limit”) in new stack
– Executing [[email protected]:12] Set(“SIP/80.75.130.83-00001d54”, “AMPUSERCIDNAME=”) in new stack
– Executing [[email protected]:13] ExecIf(“SIP/80.75.130.83-00001d54”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
– Executing [[email protected]:14] GotoIf(“SIP/80.75.130.83-00001d54”, “1?report”) in new stack
– Goto (macro-user-callerid,s,23)
– Executing [[email protected]:23] NoOp(“SIP/80.75.130.83-00001d54”, “Macro Depth is 1”) in new stack
– Executing [[email protected]:24] GotoIf(“SIP/80.75.130.83-00001d54”, “1?report2:macroerror”) in new stack
– Goto (macro-user-callerid,s,25)
– Executing [[email protected]:25] GotoIf(“SIP/80.75.130.83-00001d54”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,44)
– Executing [[email protected]:44] Set(“SIP/80.75.130.83-00001d54”, “CALLERID(number)=73452212634”) in new stack
– Executing [[email protected]:45] Set(“SIP/80.75.130.83-00001d54”, “CALLERID(name)=73452212828”) in new stack
– Executing [[email protected]:46] GotoIf(“SIP/80.75.130.83-00001d54”, “0?cnum”) in new stack
– Executing [[email protected]:47] Set(“SIP/80.75.130.83-00001d54”, “CDR(cnam)=73452212828”) in new stack
– Executing [[email protected]:48] Set(“SIP/80.75.130.83-00001d54”, “CDR(cnum)=73452212634”) in new stack
– Executing [[email protected]:49] Set(“SIP/80.75.130.83-00001d54”, “CHANNEL(language)=en”) in new stack
– Executing [[email protected]:2] Gosub(“SIP/80.75.130.83-00001d54”, “sub-record-check,s,1(out,73452212634,dontcare)”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/80.75.130.83-00001d54”, “0?initialized”) in new stack
– Executing [[email protected]:2] Set(“SIP/80.75.130.83-00001d54”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [[email protected]:3] Set(“SIP/80.75.130.83-00001d54”, “NOW=1602253085”) in new stack
– Executing [[email protected]:4] Set(“SIP/80.75.130.83-00001d54”, “__DAY=09”) in new stack
– Executing [[email protected]:5] Set(“SIP/80.75.130.83-00001d54”, “__MONTH=10”) in new stack
– Executing [[email protected]:6] Set(“SIP/80.75.130.83-00001d54”, “__YEAR=2020”) in new stack
– Executing [[email protected]:7] Set(“SIP/80.75.130.83-00001d54”, “__TIMESTR=20201009-191805”) in new stack
– Executing [[email protected]:8] Set(“SIP/80.75.130.83-00001d54”, “__FROMEXTEN=73452212634”) in new stack
– Executing [[email protected]:9] Set(“SIP/80.75.130.83-00001d54”, “__MON_FMT=wav”) in new stack
– Executing [[email protected]:10] NoOp(“SIP/80.75.130.83-00001d54”, “Recordings initialized”) in new stack
– Executing [[email protected]:11] ExecIf(“SIP/80.75.130.83-00001d54”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [[email protected]:12] Set(“SIP/80.75.130.83-00001d54”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [[email protected]:13] ExecIf(“SIP/80.75.130.83-00001d54”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [[email protected]:14] GotoIf(“SIP/80.75.130.83-00001d54”, “3?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [[email protected]:17] GotoIf(“SIP/80.75.130.83-00001d54”, “1?sub-record-check,out,1”) in new stack
– Goto (sub-record-check,out,1)
– Executing [[email protected]:1] NoOp(“SIP/80.75.130.83-00001d54”, “Outbound Recording Check from 73452212634 to 73452212634”) in new stack
– Executing [[email protected]:2] Set(“SIP/80.75.130.83-00001d54”, “RECMODE=”) in new stack
– Executing [[email protected]:3] ExecIf(“SIP/80.75.130.83-00001d54”, “1?Goto(routewins)”) in new stack
– Goto (sub-record-check,out,7)
– Executing [[email protected]:7] Gosub(“SIP/80.75.130.83-00001d54”, “recordcheck,1(dontcare,out,73452212634)”) in new stack
– Executing [[email protected]:1] NoOp(“SIP/80.75.130.83-00001d54”, “Starting recording check against dontcare”) in new stack
– Executing [[email protected]:2] Goto(“SIP/80.75.130.83-00001d54”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [[email protected]:3] Return(“SIP/80.75.130.83-00001d54”, “”) in new stack
– Executing [[email protected]:8] Return(“SIP/80.75.130.83-00001d54”, “”) in new stack
– Executing [[email protected]:3] ExecIf(“SIP/80.75.130.83-00001d54”, “0 ?Set(CDR(accountcode)=)”) in new stack
– Executing [[email protected]:4] Set(“SIP/80.75.130.83-00001d54”, “_ROUTEID=4”) in new stack
– Executing [[email protected]:5] Set(“SIP/80.75.130.83-00001d54”, “_ROUTENAME=MTT_Tumen”) in new stack
– Executing [[email protected]:6] Set(“SIP/80.75.130.83-00001d54”, “MOHCLASS=default”) in new stack
– Executing [[email protected]:7] ExecIf(“SIP/80.75.130.83-00001d54”, “1?Set(TRUNKCIDOVERRIDE=73452212634)”) in new stack
– Executing [[email protected]:8] Set(“SIP/80.75.130.83-00001d54”, “_CALLERIDNAMEINTERNAL=73452212828”) in new stack
– Executing [[email protected]:9] Set(“SIP/80.75.130.83-00001d54”, “_CALLERIDNUMINTERNAL=73452212634”) in new stack
– Executing [[email protected]:10] Set(“SIP/80.75.130.83-00001d54”, “_EMAILNOTIFICATION=FALSE”) in new stack
– Executing [[email protected]:11] Set(“SIP/80.75.130.83-00001d54”, “_NODEST=”) in new stack
– Executing [[email protected]:12] Macro(“SIP/80.75.130.83-00001d54”, “dialout-trunk,3,73452212634,off”) in new stack
– Executing [[email protected]:1] Set(“SIP/80.75.130.83-00001d54”, “DIAL_TRUNK=3”) in new stack
– Executing [[email protected]:2] ExecIf(“SIP/80.75.130.83-00001d54”, “0?Set(DIAL_OPTIONS=Hhtr)”) in new stack
– Executing [[email protected]:3] GosubIf(“SIP/80.75.130.83-00001d54”, “0?sub-pincheck,s,1()”) in new stack
– Executing [[email protected]:4] ExecIf(“SIP/80.75.130.83-00001d54”, “0?Set(CALLERID(num)=)”) in new stack
– Executing [[email protected]:5] GotoIf(“SIP/80.75.130.83-00001d54”, “0?disabletrunk,1”) in new stack
– Executing [[email protected]:6] Set(“SIP/80.75.130.83-00001d54”, “DIAL_NUMBER=73452212634”) in new stack
– Executing [[email protected]:7] Set(“SIP/80.75.130.83-00001d54”, “DIAL_TRUNK_OPTIONS=HhTtr”) in new stack
– Executing [[email protected]:8] Set(“SIP/80.75.130.83-00001d54”, “OUTBOUND_GROUP=OUT_3”) in new stack
– Executing [[email protected]:9] Set(“SIP/80.75.130.83-00001d54”, “DIAL_TRUNK_OPTIONS=T”) in new stack
– Executing [[email protected]: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 [[email protected]:1] ExecIf("SIP/Tumen-00001d57", "0?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)") in new stack
-- Executing [[email protected]:2] NoOp("SIP/Tumen-00001d57", "Applying SIP Headers to channel SIP/Tumen-00001d57") in new stack
-- Executing [[email protected]:3] Set("SIP/Tumen-00001d57", "TECH=SIP") in new stack
-- Executing [[email protected]:4] Set("SIP/Tumen-00001d57", "SIPHEADERKEYS=Alert-Info") in new stack
-- Executing [[email protected]:5] While("SIP/Tumen-00001d57", "1") in new stack
-- Executing [[email protected]:6] Set("SIP/Tumen-00001d57", "sipheader=unset") in new stack
-- Executing [[email protected]:7] ExecIf("SIP/Tumen-00001d57", "1?SIPRemoveHeader(Alert-Info:)") in new stack
-- Executing [[email protected]:8] ExecIf("SIP/Tumen-00001d57", "0?Set(PJSIP_HEADER(remove,Alert-Info)=)") in new stack
-- Executing [[email protected]:9] ExecIf("SIP/Tumen-00001d57", "0?Set(sipheader=<http://127.0.0.1>;info=unset)") in new stack
-- Executing [[email protected]:10] ExecIf("SIP/Tumen-00001d57", "0?Set(sipheader=<http://127.0.0.1>unset)") in new stack
-- Executing [[email protected]:11] ExecIf("SIP/Tumen-00001d57", "0?SIPAddHeader(Alert-Info:unset)") in new stack
-- Executing [[email protected]:12] ExecIf("SIP/Tumen-00001d57", "0?Set(PJSIP_HEADER(add,Alert-Info)=unset)") in new stack
-- Executing [[email protected]:13] EndWhile("SIP/Tumen-00001d57", "") in new stack
-- Executing [[email protected]:5] While("SIP/Tumen-00001d57", "0") in new stack
-- Executing [[email protected]: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 [[email protected]:1] NoOp(“SIP/80.75.130.83-00001d58”, “Sending Hangup to CRM”) in new stack
– Executing [[email protected]:2] NoOp(“SIP/80.75.130.83-00001d58”, “HANGUP CAUSE: 16”) in new stack
– Executing [[email protected]:3] ExecIf(“SIP/80.75.130.83-00001d58”, “0?Set(__CRM_VOICEMAIL=)”) in new stack
– Executing [[email protected]:4] NoOp(“SIP/80.75.130.83-00001d58”, “MASTER CHANNEL: 1602253087.7512 = 1602253087.7512”) in new stack
– Executing [[email protected]:5] GotoIf(“SIP/80.75.130.83-00001d58”, “0?return”) in new stack
– Executing [[email protected]:6] Set(“SIP/80.75.130.83-00001d58”, “__CRM_HANGUP=1”) in new stack
– Executing [[email protected]: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.