Non-complete external call

freepbx*CLI>
  == Setting global variable 'SIPDOMAIN' to '10.0.60.175'
  == 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 [[email protected]:1] Macro("PJSIP/8007-000000ba", "user-callerid,LIMIT,EXTERNAL,") in new stack
    -- Executing [[email protected]:1] Set("PJSIP/8007-000000ba", "TOUCH_MONITOR=1553201240.186") in new stack
    -- Executing [[email protected]:2] Set("PJSIP/8007-000000ba", "AMPUSER=8007") in new stack
    -- Executing [[email protected]:3] GotoIf("PJSIP/8007-000000ba", "0?report") in new stack
    -- Executing [[email protected]:4] ExecIf("PJSIP/8007-000000ba", "1?Set(REALCALLERIDNUM=8007)") in new stack
    -- Executing [[email protected]:5] Set("PJSIP/8007-000000ba", "AMPUSER=8007") in new stack
    -- Executing [[email protected]:6] GotoIf("PJSIP/8007-000000ba", "0?limit") in new stack
    -- Executing [[email protected]:7] Set("PJSIP/8007-000000ba", "AMPUSERCIDNAME=8007") in new stack
    -- Executing [[email protected]:8] ExecIf("PJSIP/8007-000000ba", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
    -- Executing [[email protected]:9] GotoIf("PJSIP/8007-000000ba", "0?report") in new stack
    -- Executing [[email protected]:10] Set("PJSIP/8007-000000ba", "AMPUSERCID=8007") in new stack
    -- Executing [[email protected]:11] Set("PJSIP/8007-000000ba", "__DIAL_OPTIONS=HhTtr") in new stack
    -- Executing [[email protected]:12] Set("PJSIP/8007-000000ba", "CALLERID(all)="8007" <8007>") in new stack
    -- Executing [[email protected]:13] GotoIf("PJSIP/8007-000000ba", "0?limit") in new stack
    -- Executing [[email protected]:14] ExecIf("PJSIP/8007-000000ba", "1?Set(GROUP(concurrency_limit)=8007)") in new stack
    -- Executing [[email protected]:15] ExecIf("PJSIP/8007-000000ba", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [[email protected]:16] NoOp("PJSIP/8007-000000ba", "Macro Depth is 1") in new stack
    -- Executing [[email protected]:17] GotoIf("PJSIP/8007-000000ba", "1?report2:macroerror") in new stack
    -- Goto (macro-user-callerid,s,18)
    -- Executing [[email protected]:18] GotoIf("PJSIP/8007-000000ba", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,37)
    -- Executing [[email protected]:37] Set("PJSIP/8007-000000ba", "CALLERID(number)=8007") in new stack
    -- Executing [[email protected]:38] Set("PJSIP/8007-000000ba", "CALLERID(name)=8007") in new stack
    -- Executing [[email protected]:39] GotoIf("PJSIP/8007-000000ba", "0?cnum") in new stack
    -- Executing [[email protected]:40] Set("PJSIP/8007-000000ba", "CDR(cnam)=8007") in new stack
    -- Executing [[email protected]:41] Set("PJSIP/8007-000000ba", "CDR(cnum)=8007") in new stack
    -- Executing [[email protected]:42] Set("PJSIP/8007-000000ba", "CHANNEL(language)=en") in new stack
    -- Executing [[email protected]:2] Gosub("PJSIP/8007-000000ba", "sub-record-check,s,1(out,0999103460,dontcare)") in new stack
    -- Executing [[email protected]:1] GotoIf("PJSIP/8007-000000ba", "0?initialized") in new stack
    -- Executing [[email protected]:2] Set("PJSIP/8007-000000ba", "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [[email protected]:3] Set("PJSIP/8007-000000ba", "NOW=1553201240") in new stack
    -- Executing [[email protected]:4] Set("PJSIP/8007-000000ba", "__DAY=21") in new stack
    -- Executing [[email protected]:5] Set("PJSIP/8007-000000ba", "__MONTH=03") in new stack
    -- Executing [[email protected]:6] Set("PJSIP/8007-000000ba", "__YEAR=2019") in new stack
    -- Executing [[email protected]:7] Set("PJSIP/8007-000000ba", "__TIMESTR=20190321-204720") in new stack
    -- Executing [[email protected]:8] Set("PJSIP/8007-000000ba", "__FROMEXTEN=8007") in new stack
    -- Executing [[email protected]:9] Set("PJSIP/8007-000000ba", "__MON_FMT=wav") in new stack
    -- Executing [[email protected]:10] NoOp("PJSIP/8007-000000ba", "Recordings initialized") in new stack
    -- Executing [[email protected]:11] ExecIf("PJSIP/8007-000000ba", "0?Set(ARG3=dontcare)") in new stack
    -- Executing [[email protected]:12] Set("PJSIP/8007-000000ba", "REC_POLICY_MODE_SAVE=") in new stack
    -- Executing [[email protected]:13] ExecIf("PJSIP/8007-000000ba", "0?Set(REC_STATUS=NO)") in new stack
    -- Executing [[email protected]:14] GotoIf("PJSIP/8007-000000ba", "3?checkaction") in new stack
    -- Goto (sub-record-check,s,17)
    -- Executing [[email protected]:17] GotoIf("PJSIP/8007-000000ba", "1?sub-record-check,out,1") in new stack
    -- Goto (sub-record-check,out,1)
    -- Executing [[email protected]:1] NoOp("PJSIP/8007-000000ba", "Outbound Recording Check from 8007 to 0999103460") in new stack
    -- Executing [[email protected]:2] Set("PJSIP/8007-000000ba", "RECMODE=dontcare") in new stack
    -- Executing [[email protected]:3] ExecIf("PJSIP/8007-000000ba", "1?Goto(routewins)") in new stack
    -- Goto (sub-record-check,out,7)
    -- Executing [[email protected]:7] Gosub("PJSIP/8007-000000ba", "recordcheck,1(dontcare,out,0999103460)") in new stack
    -- Executing [[email protected]:1] NoOp("PJSIP/8007-000000ba", "Starting recording check against dontcare") in new stack
    -- Executing [[email protected]:2] Goto("PJSIP/8007-000000ba", "dontcare") in new stack
    -- Goto (sub-record-check,recordcheck,3)
    -- Executing [[email protected]:3] Return("PJSIP/8007-000000ba", "") in new stack
    -- Executing [[email protected]:8] Return("PJSIP/8007-000000ba", "") in new stack
    -- Executing [[email protected]:3] ExecIf("PJSIP/8007-000000ba", "0 ?Set(CDR(accountcode)=)") in new stack
    -- Executing [[email protected]:4] Set("PJSIP/8007-000000ba", "MOHCLASS=default") in new stack
    -- Executing [[email protected]:5] Set("PJSIP/8007-000000ba", "_NODEST=") in new stack
    -- Executing [[email protected]:6] Macro("PJSIP/8007-000000ba", "dialout-trunk,1,0999103460,,off") in new stack
    -- Executing [[email protected]:1] Set("PJSIP/8007-000000ba", "DIAL_TRUNK=1") in new stack
    -- Executing [[email protected]:2] ExecIf("PJSIP/8007-000000ba", "0?Set(DIAL_OPTIONS=Hhtr)") in new stack
    -- Executing [[email protected]:3] GosubIf("PJSIP/8007-000000ba", "0?sub-pincheck,s,1()") in new stack
    -- Executing [[email protected]:4] ExecIf("PJSIP/8007-000000ba", "0?Set(CALLERID(num)=8007)") in new stack
    -- Executing [[email protected]:5] GotoIf("PJSIP/8007-000000ba", "0?disabletrunk,1") in new stack
    -- Executing [[email protected]:6] Set("PJSIP/8007-000000ba", "DIAL_NUMBER=0999103460") in new stack
    -- Executing [[email protected]:7] Set("PJSIP/8007-000000ba", "DIAL_TRUNK_OPTIONS=HhTtr") in new stack
    -- Executing [[email protected]:8] Set("PJSIP/8007-000000ba", "OUTBOUND_GROUP=OUT_1") in new stack
    -- Executing [[email protected]:9] Set("PJSIP/8007-000000ba", "DIAL_TRUNK_OPTIONS=T") in new stack
    -- Executing [[email protected]:10] GotoIf("PJSIP/8007-000000ba", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,12)
    -- Executing [[email protected]:12] GotoIf("PJSIP/8007-000000ba", "0?skipoutcid") in new stack
    -- Executing [[email protected]:13] Macro("PJSIP/8007-000000ba", "outbound-callerid,1") in new stack
    -- Executing [[email protected]:1] NoOp("PJSIP/8007-000000ba", "8007") in new stack
    -- Executing [[email protected]:2] NoOp("PJSIP/8007-000000ba", "") in new stack
    -- Executing [[email protected]:3] NoOp("PJSIP/8007-000000ba", "off") in new stack
    -- Executing [[email protected]:4] ExecIf("PJSIP/8007-000000ba", "0?Set(CALLERPRES(name-pres)=)") in new stack
    -- Executing [[email protected]:5] ExecIf("PJSIP/8007-000000ba", "0?Set(CALLERPRES(num-pres)=)") in new stack
    -- Executing [[email protected]:6] ExecIf("PJSIP/8007-000000ba", "0?Set(REALCALLERIDNUM=8007)") in new stack
    -- Executing [[email protected]:7] ExecIf("PJSIP/8007-000000ba", "0?Set(AMPUSER=8007)") in new stack
    -- Executing [[email protected]:8] GotoIf("PJSIP/8007-000000ba", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [[email protected]:12] Set("PJSIP/8007-000000ba", "USEROUTCID=8007") in new stack
    -- Executing [[email protected]:13] Set("PJSIP/8007-000000ba", "EMERGENCYCID=") in new stack
    -- Executing [[email protected]:14] Set("PJSIP/8007-000000ba", "TRUNKOUTCID=") in new stack
    -- Executing [[email protected]:15] GotoIf("PJSIP/8007-000000ba", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,20)
    -- Executing [[email protected]:20] ExecIf("PJSIP/8007-000000ba", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [[email protected]:21] ExecIf("PJSIP/8007-000000ba", "1?Set(CALLERID(all)=8007)") in new stack
    -- Executing [[email protected]:22] ExecIf("PJSIP/8007-000000ba", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [[email protected]:23] ExecIf("PJSIP/8007-000000ba", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
    -- Executing [[email protected]:24] ExecIf("PJSIP/8007-000000ba", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
    -- Executing [[email protected]:25] Set("PJSIP/8007-000000ba", "CDR(outbound_cnum)=8007") in new stack
    -- Executing [[email protected]:26] Set("PJSIP/8007-000000ba", "CDR(outbound_cnam)=") in new stack
    -- Executing [[email protected]:14] GosubIf("PJSIP/8007-000000ba", "0?sub-flp-1,s,1()") in new stack
    -- Executing [[email protected]:15] Set("PJSIP/8007-000000ba", "OUTNUM=0999103460") in new stack
    -- Executing [[email protected]:16] Set("PJSIP/8007-000000ba", "custom=PJSIP") in new stack
    -- Executing [[email protected]:17] ExecIf("PJSIP/8007-000000ba", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)") in new stack
    -- Executing [[email protected]:18] ExecIf("PJSIP/8007-000000ba", "0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))") in new stack
    -- Executing [[email protected]:19] Macro("PJSIP/8007-000000ba", "dialout-trunk-predial-hook,") in new stack
    -- Executing [[email protected]:1] MacroExit("PJSIP/8007-000000ba", "") in new stack
    -- Executing [[email protected]:20] GotoIf("PJSIP/8007-000000ba", "0?skipcrm") in new stack
    -- Executing [[email protected]:21] Set("PJSIP/8007-000000ba", "__CRM_DIRECTION=OUTBOUND") in new stack
    -- Executing [[email protected]:22] Set("PJSIP/8007-000000ba", "__CRM_DESTINATION=0999103460") in new stack
    -- Executing [[email protected]:23] Set("PJSIP/8007-000000ba", "__CRM_SOURCE=8007") in new stack
    -- Executing [[email protected]:24] AGI("PJSIP/8007-000000ba", "sangomacrm.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
    -- <PJSIP/8007-000000ba>AGI Script sangomacrm.agi completed, returning 0
    -- Executing [[email protected]:25] Set("PJSIP/8007-000000ba", "CHANNEL(hangup_handler_push)=crm-hangup,s,1") in new stack
    -- Executing [[email protected]:26] NoOp("PJSIP/8007-000000ba", "CRM Finished") in new stack
    -- Executing [[email protected]:27] GotoIf("PJSIP/8007-000000ba", "0?bypass,1") in new stack
    -- Executing [[email protected]:28] ExecIf("PJSIP/8007-000000ba", "1?Set(CONNECTEDLINE(num,i)=0999103460)") in new stack
    -- Executing [[email protected]:29] ExecIf("PJSIP/8007-000000ba", "1?Set(CONNECTEDLINE(name,i)=CID:8007)") in new stack
    -- Executing [[email protected]:30] ExecIf("PJSIP/8007-000000ba", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)8007)") in new stack
    -- Executing [[email protected]:31] GotoIf("PJSIP/8007-000000ba", "0?customtrunk") in new stack
    -- Executing [[email protected]:32] Dial("PJSIP/8007-000000ba", "PJSIP/[email protected],300,Tb(func-apply-sipheaders^s^1,(1))") in new stack
    -- PJSIP/6350-000000bb Internal Gosub(func-apply-sipheaders,s,1(1)) start
    -- Executing [[email protected]:1] ExecIf("PJSIP/6350-000000bb", "0?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)") in new stack
    -- Executing [[email protected]:2] NoOp("PJSIP/6350-000000bb", "Applying SIP Headers to channel PJSIP/6350-000000bb") in new stack
    -- Executing [[email protected]:3] Set("PJSIP/6350-000000bb", "TECH=PJSIP") in new stack
    -- Executing [[email protected]:4] Set("PJSIP/6350-000000bb", "SIPHEADERKEYS=") in new stack
    -- Executing [[email protected]:5] While("PJSIP/6350-000000bb", "0") in new stack
    -- Jumping to priority 12
    -- Executing [[email protected]:13] Return("PJSIP/6350-000000bb", "") in new stack
  == Spawn extension (from-pstn-toheader, 0999103460, 1) exited non-zero on 'PJSIP/6350-000000bb'
    -- PJSIP/6350-000000bb Internal Gosub(func-apply-sipheaders,s,1(1)) complete GOSUB_RETVAL=
    -- Called PJSIP/[email protected]
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [[email protected]:33] NoOp("PJSIP/8007-000000ba", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 1") in new stack
    -- Executing [[email protected]:34] GotoIf("PJSIP/8007-000000ba", "0?continue,1:s-CHANUNAVAIL,1") in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
    -- Executing [[email protected]:1] Set("PJSIP/8007-000000ba", "RC=1") in new stack
    -- Executing [[email protected]:2] Goto("PJSIP/8007-000000ba", "1,1") in new stack
    -- Goto (macro-dialout-trunk,1,1)
    -- Executing [[email protected]:1] Goto("PJSIP/8007-000000ba", "s-INVALIDNMBR,1") in new stack
    -- Goto (macro-dialout-trunk,s-INVALIDNMBR,1)
    -- Executing [[email protected]:1] NoOp("PJSIP/8007-000000ba", "Dial failed due to trunk reporting Address Incomplete - giving up") in new stack
    -- Executing [[email protected]:2] Progress("PJSIP/8007-000000ba", "") in new stack
    -- Executing [[email protected]:3] Playback("PJSIP/8007-000000ba", "ss-noservice,noanswer") in new stack
    -- <PJSIP/8007-000000ba> Playing 'ss-noservice.ulaw' (language 'en')
    -- Executing [[email protected]:4] Busy("PJSIP/8007-000000ba", "20") in new stack
  == Spawn extension (macro-dialout-trunk, s-INVALIDNMBR, 4) exited non-zero on 'PJSIP/8007-000000ba' in macro 'dialout-trunk'
  == Spawn extension (from-internal, 0999103460, 6) exited non-zero on 'PJSIP/8007-000000ba'
    -- Executing [[email protected]:1] Macro("PJSIP/8007-000000ba", "hangupcall") in new stack
    -- Executing [[email protected]:1] GotoIf("PJSIP/8007-000000ba", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,3)
    -- Executing [[email protected]:3] ExecIf("PJSIP/8007-000000ba", "0?Set(CDR(recordingfile)=)") in new stack
    -- Executing [[email protected]:4] NoOp("PJSIP/8007-000000ba", " monior file= ") in new stack
    -- Executing [[email protected]:5] AGI("PJSIP/8007-000000ba", "attendedtransfer-rec-restart.php,,") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
    -- <PJSIP/8007-000000ba>AGI Script attendedtransfer-rec-restart.php completed, returning 0
    -- Executing [[email protected]:6] Hangup("PJSIP/8007-000000ba", "") in new stack
  == Spawn extension (macro-hangupcall, s, 6) exited non-zero on 'PJSIP/8007-000000ba' in macro 'hangupcall'
  == Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/8007-000000ba'
    -- PJSIP/8007-000000ba Internal Gosub(crm-hangup,s,1) start
    -- Executing [[email protected]:1] NoOp("PJSIP/8007-000000ba", "Sending Hangup to CRM") in new stack
    -- Executing [[email protected]:2] NoOp("PJSIP/8007-000000ba", "HANGUP CAUSE: 17") in new stack
    -- Executing [[email protected]:3] ExecIf("PJSIP/8007-000000ba", "0?Set(__CRM_VOICEMAIL=)") in new stack
    -- Executing [[email protected]:4] NoOp("PJSIP/8007-000000ba", "MASTER CHANNEL: 1553201240.186 = 1553201240.186") in new stack
    -- Executing [[email protected]:5] GotoIf("PJSIP/8007-000000ba", "0?return") in new stack
    -- Executing [[email protected]:6] Set("PJSIP/8007-000000ba", "__CRM_HANGUP=1") in new stack
    -- Executing [[email protected]:7] AGI("PJSIP/8007-000000ba", "sangomacrm.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
    -- <PJSIP/8007-000000ba>AGI Script sangomacrm.agi completed, returning 0
    -- Executing [[email protected]:8] Return("PJSIP/8007-000000ba", "") in new stack
  == Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/8007-000000ba'
    -- PJSIP/8007-000000ba Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=

The provider didn’t like how you sent them the number. They rejected the call.

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