Untitled

From znf, 1 Year ago, written in Plain Text, viewed 24 times.
URL https://pastebin.freepbx.org/view/83e89bca Embed
Download Paste or View Raw
  1.     -- Executing [40215694656@from-pstn:4] Set("PJSIP/40215694656-0000005f", "__FROM_DID=40215694656") in new stack
  2.     -- Executing [40215694656@from-pstn:5] Set("PJSIP/40215694656-0000005f", "CDR(did)=40215694656") in new stack
  3.     -- Executing [40215694656@from-pstn:6] ExecIf("PJSIP/40215694656-0000005f", "0 ?Set(CALLERID(name)=40215694650)") in new stack
  4.     -- Executing [40215694656@from-pstn:7] Set("PJSIP/40215694656-0000005f", "__MOHCLASS=") in new stack
  5.     -- Executing [40215694656@from-pstn:8] Set("PJSIP/40215694656-0000005f", "__REVERSAL_REJECT=FALSE") in new stack
  6.     -- Executing [40215694656@from-pstn:9] GotoIf("PJSIP/40215694656-0000005f", "1?post-reverse-charge") in new stack
  7.     -- Goto (from-pstn,40215694656,11)
  8.     -- Executing [40215694656@from-pstn:11] NoOp("PJSIP/40215694656-0000005f", "") in new stack
  9.     -- Executing [40215694656@from-pstn:12] Set("PJSIP/40215694656-0000005f", "__CALLINGNAMEPRES_SV=allowed_not_screened") in new stack
  10.     -- Executing [40215694656@from-pstn:13] Set("PJSIP/40215694656-0000005f", "__CALLINGNUMPRES_SV=allowed_not_screened") in new stack
  11.     -- Executing [40215694656@from-pstn:14] Set("PJSIP/40215694656-0000005f", "CALLERID(name-pres)=allowed_not_screened") in new stack
  12.     -- Executing [40215694656@from-pstn:15] Set("PJSIP/40215694656-0000005f", "CALLERID(num-pres)=allowed_not_screened") in new stack
  13.     -- Executing [40215694656@from-pstn:16] Gosub("PJSIP/40215694656-0000005f", "cidlookup,cidlookup_2,1()") in new stack
  14.     -- Executing [cidlookup_2@cidlookup:1] GotoIf("PJSIP/40215694656-0000005f", "1?cidlookup,cidlookup_return,1") in new stack
  15.     -- Goto (cidlookup,cidlookup_return,1)
  16.     -- Executing [cidlookup_return@cidlookup:1] ExecIf("PJSIP/40215694656-0000005f", "1?Set(CALLERID(name)=Razvan Roman)") in new stack
  17.     -- Executing [cidlookup_return@cidlookup:2] Return("PJSIP/40215694656-0000005f", "") in new stack
  18.     -- Executing [40215694656@from-pstn:17] Set("PJSIP/40215694656-0000005f", "CIDSFSCHEME=YmFzZV9EZWZhdWx0") in new stack
  19.     -- Executing [40215694656@from-pstn:18] AGI("PJSIP/40215694656-0000005f", "/var/www/html/admin/modules/superfecta/agi/superfecta.agi") in new stack
  20.     -- Launched AGI Script /var/www/html/admin/modules/superfecta/agi/superfecta.agi
  21.  /var/www/html/admin/modules/superfecta/agi/superfecta.agi: Executing Scheme..
  22.  /var/www/html/admin/modules/superfecta/agi/superfecta.agi: Scheme Asked is: Default
  23.  /var/www/html/admin/modules/superfecta/agi/superfecta.agi: The DID is: 40215694656
  24.  /var/www/html/admin/modules/superfecta/agi/superfecta.agi: The CNUM is: 40215694650
  25.  /var/www/html/admin/modules/superfecta/agi/superfecta.agi: The CNAME is: Razvan Roman
  26.  /var/www/html/admin/modules/superfecta/agi/superfecta.agi:
  27.  /var/www/html/admin/modules/superfecta/agi/superfecta.agi: Starting scheme Default
  28.  /var/www/html/admin/modules/superfecta/agi/superfecta.agi: Converting result to UTF-8
  29.  /var/www/html/admin/modules/superfecta/agi/superfecta.agi: Setting caller id to:  Razvan Roman
  30.  /var/www/html/admin/modules/superfecta/agi/superfecta.agi: CID Determined to be: 'Razvan Roman'
  31.  /var/www/html/admin/modules/superfecta/agi/superfecta.agi: Attempting to set lookupcid
  32.     -- <PJSIP/40215694656-0000005f>AGI Script /var/www/html/admin/modules/superfecta/agi/superfecta.agi completed, returning 0
  33.     -- Executing [40215694656@from-pstn:19] Set("PJSIP/40215694656-0000005f", "CALLERID(name)=Razvan Roman") in new stack
  34.     -- Executing [40215694656@from-pstn:20] NoOp("PJSIP/40215694656-0000005f", "CallerID Entry Point") in new stack
  35.     -- Executing [40215694656@from-pstn:21] Set("PJSIP/40215694656-0000005f", "__CRM_DIRECTION=INBOUND") in new stack
  36.     -- Executing [40215694656@from-pstn:22] Set("PJSIP/40215694656-0000005f", "__CRM_SOURCE=40215694650") in new stack
  37.     -- Executing [40215694656@from-pstn:23] Set("PJSIP/40215694656-0000005f", "__CRM_LINKEDID=1516650146.141") in new stack
  38.     -- Executing [40215694656@from-pstn:24] ExecIf("PJSIP/40215694656-0000005f", "1?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)") in new stack
  39.     -- Executing [40215694656@from-pstn:25] Goto("PJSIP/40215694656-0000005f", "from-did-direct,201,1") in new stack
  40.     -- Goto (from-did-direct,201,1)
  41.     -- Executing [201@from-did-direct:1] GotoIf("PJSIP/40215694656-0000005f", "0?ext-local,201,1:followme-check,201,1") in new stack
  42.     -- Goto (followme-check,201,1)
  43.     -- Executing [201@followme-check:1] Gosub("PJSIP/40215694656-0000005f", "followme-sub,201,1()") in new stack
  44.     -- Executing [201@followme-sub:1] Macro("PJSIP/40215694656-0000005f", "user-callerid,") in new stack
  45.     -- Executing [s@macro-user-callerid:1] Set("PJSIP/40215694656-0000005f", "TOUCH_MONITOR=1516650146.141") in new stack
  46.     -- Executing [s@macro-user-callerid:2] Set("PJSIP/40215694656-0000005f", "AMPUSER=40215694650") in new stack
  47.     -- Executing [s@macro-user-callerid:3] GotoIf("PJSIP/40215694656-0000005f", "0?report") in new stack
  48.     -- Executing [s@macro-user-callerid:4] ExecIf("PJSIP/40215694656-0000005f", "1?Set(REALCALLERIDNUM=40215694650)") in new stack
  49.     -- Executing [s@macro-user-callerid:5] Set("PJSIP/40215694656-0000005f", "AMPUSER=") in new stack
  50.     -- Executing [s@macro-user-callerid:6] GotoIf("PJSIP/40215694656-0000005f", "0?limit") in new stack
  51.     -- Executing [s@macro-user-callerid:7] Set("PJSIP/40215694656-0000005f", "AMPUSERCIDNAME=") in new stack
  52.     -- Executing [s@macro-user-callerid:8] ExecIf("PJSIP/40215694656-0000005f", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
  53.     -- Executing [s@macro-user-callerid:9] GotoIf("PJSIP/40215694656-0000005f", "1?report") in new stack
  54.     -- Goto (macro-user-callerid,s,16)
  55.     -- Executing [s@macro-user-callerid:16] NoOp("PJSIP/40215694656-0000005f", "Macro Depth is 1") in new stack
  56.     -- Executing [s@macro-user-callerid:17] GotoIf("PJSIP/40215694656-0000005f", "1?report2:macroerror") in new stack
  57.     -- Goto (macro-user-callerid,s,19)
  58.     -- Executing [s@macro-user-callerid:19] GotoIf("PJSIP/40215694656-0000005f", "0?continue") in new stack
  59.     -- Executing [s@macro-user-callerid:20] Set("PJSIP/40215694656-0000005f", "__TTL=64") in new stack
  60.     -- Executing [s@macro-user-callerid:21] GotoIf("PJSIP/40215694656-0000005f", "1?continue") in new stack
  61.     -- Goto (macro-user-callerid,s,37)
  62.     -- Executing [s@macro-user-callerid:37] Set("PJSIP/40215694656-0000005f", "CALLERID(number)=40215694650") in new stack
  63.     -- Executing [s@macro-user-callerid:38] Set("PJSIP/40215694656-0000005f", "CALLERID(name)=Razvan Roman") in new stack
  64.     -- Executing [s@macro-user-callerid:39] GotoIf("PJSIP/40215694656-0000005f", "0?cnum") in new stack
  65.     -- Executing [s@macro-user-callerid:40] Set("PJSIP/40215694656-0000005f", "CDR(cnam)=Razvan Roman") in new stack
  66.     -- Executing [s@macro-user-callerid:41] Set("PJSIP/40215694656-0000005f", "CDR(cnum)=40215694650") in new stack
  67.     -- Executing [s@macro-user-callerid:42] Set("PJSIP/40215694656-0000005f", "CHANNEL(language)=en") in new stack
  68.     -- Executing [201@followme-sub:2] Set("PJSIP/40215694656-0000005f", "DIAL_OPTIONS=TtrI") in new stack
  69.     -- Executing [201@followme-sub:3] Set("PJSIP/40215694656-0000005f", "CONNECTEDLINE(num,i)=201") in new stack
  70.     -- Executing [201@followme-sub:4] Gosub("PJSIP/40215694656-0000005f", "sub-presencestate-display,s,1(201)") in new stack
  71.     -- Executing [s@sub-presencestate-display:1] Goto("PJSIP/40215694656-0000005f", "state-available,1") in new stack
  72.     -- Goto (sub-presencestate-display,state-available,1)
  73.     -- Executing [state-available@sub-presencestate-display:1] Set("PJSIP/40215694656-0000005f", "PRESENCESTATE_DISPLAY=(Available)") in new stack
  74.     -- Executing [state-available@sub-presencestate-display:2] Return("PJSIP/40215694656-0000005f", "") in new stack
  75.     -- Executing [201@followme-sub:5] Set("PJSIP/40215694656-0000005f", "CONNECTEDLINE(name)=System Administrator(Available)") in new stack
  76.     -- Executing [201@followme-sub:6] Set("PJSIP/40215694656-0000005f", "FM_DIALSTATUS=NOT_INUSE") in new stack
  77.     -- Executing [201@followme-sub:7] Set("PJSIP/40215694656-0000005f", "__EXTTOCALL=201") in new stack
  78.     -- Executing [201@followme-sub:8] Set("PJSIP/40215694656-0000005f", "__PICKUPMARK=201") in new stack
  79.     -- Executing [201@followme-sub:9] Macro("PJSIP/40215694656-0000005f", "blkvm-setifempty,") in new stack
  80.     -- Executing [s@macro-blkvm-setifempty:1] GotoIf("PJSIP/40215694656-0000005f", "1?init") in new stack
  81.     -- Goto (macro-blkvm-setifempty,s,4)
  82.     -- Executing [s@macro-blkvm-setifempty:4] Set("PJSIP/40215694656-0000005f", "__BLKVM_CHANNEL=PJSIP/40215694656-0000005f") in new stack
  83.     -- Executing [s@macro-blkvm-setifempty:5] Set("PJSIP/40215694656-0000005f", "SHARED(BLKVM,PJSIP/40215694656-0000005f)=TRUE") in new stack
  84.     -- Executing [s@macro-blkvm-setifempty:6] Set("PJSIP/40215694656-0000005f", "GOSUB_RETVAL=TRUE") in new stack
  85.     -- Executing [s@macro-blkvm-setifempty:7] MacroExit("PJSIP/40215694656-0000005f", "") in new stack
  86.     -- Executing [201@followme-sub:10] GotoIf("PJSIP/40215694656-0000005f", "1?skipov") in new stack
  87.     -- Goto (followme-sub,201,13)
  88.     -- Executing [201@followme-sub:13] Set("PJSIP/40215694656-0000005f", "RRNODEST=") in new stack
  89.     -- Executing [201@followme-sub:14] Set("PJSIP/40215694656-0000005f", "__NODEST=201") in new stack
  90.     -- Executing [201@followme-sub:15] GosubIf("PJSIP/40215694656-0000005f", "0?sub-fmsetcid,s,1()") in new stack
  91.     -- Executing [201@followme-sub:16] GotoIf("PJSIP/40215694656-0000005f", "1?skipprepend") in new stack
  92.     -- Goto (followme-sub,201,18)
  93.     -- Executing [201@followme-sub:18] Set("PJSIP/40215694656-0000005f", "RecordMethod=Group") in new stack
  94.     -- Executing [201@followme-sub:19] Gosub("PJSIP/40215694656-0000005f", "sub-record-check,s,1(exten,201,)") in new stack
  95.     -- Executing [s@sub-record-check:1] GotoIf("PJSIP/40215694656-0000005f", "11?initialized") in new stack
  96.     -- Goto (sub-record-check,s,10)
  97.     -- Executing [s@sub-record-check:10] NoOp("PJSIP/40215694656-0000005f", "Recordings initialized") in new stack
  98.     -- Executing [s@sub-record-check:11] ExecIf("PJSIP/40215694656-0000005f", "1?Set(ARG3=dontcare)") in new stack
  99.     -- Executing [s@sub-record-check:12] Set("PJSIP/40215694656-0000005f", "REC_POLICY_MODE_SAVE=") in new stack
  100.     -- Executing [s@sub-record-check:13] ExecIf("PJSIP/40215694656-0000005f", "0?Set(REC_STATUS=NO)") in new stack
  101.     -- Executing [s@sub-record-check:14] GotoIf("PJSIP/40215694656-0000005f", "5?checkaction") in new stack
  102.     -- Goto (sub-record-check,s,17)
  103.     -- Executing [s@sub-record-check:17] GotoIf("PJSIP/40215694656-0000005f", "1?sub-record-check,exten,1") in new stack
  104.     -- Goto (sub-record-check,exten,1)
  105.     -- Executing [exten@sub-record-check:1] NoOp("PJSIP/40215694656-0000005f", "Exten Recording Check between 40215694650 and 201") in new stack
  106.     -- Executing [exten@sub-record-check:2] Set("PJSIP/40215694656-0000005f", "CALLTYPE=external") in new stack
  107.     -- Executing [exten@sub-record-check:3] ExecIf("PJSIP/40215694656-0000005f", "0?Set(CALLTYPE=)") in new stack
  108.     -- Executing [exten@sub-record-check:4] Set("PJSIP/40215694656-0000005f", "CALLEE=force") in new stack
  109.     -- Executing [exten@sub-record-check:5] ExecIf("PJSIP/40215694656-0000005f", "0?Set(CALLEE=dontcare)") in new stack
  110.     -- Executing [exten@sub-record-check:6] GotoIf("PJSIP/40215694656-0000005f", "1?callee") in new stack
  111.     -- Goto (sub-record-check,exten,11)
  112.     -- Executing [exten@sub-record-check:11] Gosub("PJSIP/40215694656-0000005f", "recordcheck,1(force,external,201)") in new stack
  113.     -- Executing [recordcheck@sub-record-check:1] NoOp("PJSIP/40215694656-0000005f", "Starting recording check against force") in new stack
  114.     -- Executing [recordcheck@sub-record-check:2] Goto("PJSIP/40215694656-0000005f", "force") in new stack
  115.     -- Goto (sub-record-check,recordcheck,5)
  116.     -- Executing [recordcheck@sub-record-check:5] Set("PJSIP/40215694656-0000005f", "__REC_POLICY_MODE=FORCE") in new stack
  117.     -- Executing [recordcheck@sub-record-check:6] GotoIf("PJSIP/40215694656-0000005f", "1?startrec") in new stack
  118.     -- Goto (sub-record-check,recordcheck,16)
  119.     -- Executing [recordcheck@sub-record-check:16] NoOp("PJSIP/40215694656-0000005f", "Starting recording: external, 201") in new stack
  120.     -- Executing [recordcheck@sub-record-check:17] Set("PJSIP/40215694656-0000005f", "AUDIOHOOK_INHERIT(MixMonitor)=yes") in new stack
  121.     -- Executing [recordcheck@sub-record-check:18] Set("PJSIP/40215694656-0000005f", "__CALLFILENAME=external-201-40215694650-20180122-194226-1516650146.141") in new stack
  122.     -- Executing [recordcheck@sub-record-check:19] MixMonitor("PJSIP/40215694656-0000005f", "2018/01/22/external-201-40215694650-20180122-194226-1516650146.141.wav,abi(LOCAL_MIXMON_ID),") in new stack
  123.     -- Executing [recordcheck@sub-record-check:20] Set("PJSIP/40215694656-0000005f", "__MIXMON_ID=0x7f35f4003360") in new stack
  124.     -- Executing [recordcheck@sub-record-check:21] Set("PJSIP/40215694656-0000005f", "__RECORD_ID=PJSIP/40215694656-0000005f") in new stack
  125.     -- Executing [recordcheck@sub-record-check:22] Set("PJSIP/40215694656-0000005f", "__REC_STATUS=RECORDING") in new stack
  126.     -- Executing [recordcheck@sub-record-check:23] Set("PJSIP/40215694656-0000005f", "CDR(recordingfile)=external-201-40215694650-20180122-194226-1516650146.141.wav") in new stack
  127.     -- Executing [recordcheck@sub-record-check:24] Return("PJSIP/40215694656-0000005f", "") in new stack
  128.     -- Executing [exten@sub-record-check:12] Return("PJSIP/40215694656-0000005f", "") in new stack
  129.     -- Executing [201@followme-sub:20] GotoIf("PJSIP/40215694656-0000005f", "1?skipdring") in new stack
  130.     -- Goto (followme-sub,201,23)
  131.     -- Executing [201@followme-sub:23] Set("PJSIP/40215694656-0000005f", "STRATEGY=ringall") in new stack
  132.     -- Executing [201@followme-sub:24] Set("PJSIP/40215694656-0000005f", "__RVOL=") in new stack
  133.     -- Executing [201@followme-sub:25] GotoIf("PJSIP/40215694656-0000005f", "0?skipsimple") in new stack
  134.     -- Executing [201@followme-sub:26] GotoIf("PJSIP/40215694656-0000005f", "1 ?skipsimple") in new stack
  135.     -- Goto (followme-sub,201,28)
  136.     -- Executing [201@followme-sub:28] Set("PJSIP/40215694656-0000005f", "RingGroupMethod=ringall") in new stack
  137.     -- Executing [201@followme-sub:29] Set("PJSIP/40215694656-0000005f", "_FMGRP=201") in new stack
  138.     -- Executing [201@followme-sub:30] GotoIf("PJSIP/40215694656-0000005f", "1?DIALGRP") in new stack
  139.     -- Goto (followme-sub,201,34)
  140.     -- Executing [201@followme-sub:34] ExecIf("PJSIP/40215694656-0000005f", "0?Set(DOPTS=TtrI):Set(DOPTS=m(default)TtI)") in new stack
  141.     -- Executing [201@followme-sub:35] Set("PJSIP/40215694656-0000005f", "__ALT_CONFIRM_MSG=") in new stack
  142.     -- Executing [201@followme-sub:36] GotoIf("PJSIP/40215694656-0000005f", "0?doconfirm") in new stack
  143.     -- Executing [201@followme-sub:37] GotoIf("PJSIP/40215694656-0000005f", "0?ringallv21") in new stack
  144.     -- Executing [201@followme-sub:38] Macro("PJSIP/40215694656-0000005f", "dial,20,m(default)TtI,40748881658#") in new stack
  145.     -- Executing [s@macro-dial:1] NoOp("PJSIP/40215694656-0000005f", "Blind Transfer: , Attended Transfer: , User: , Alert Info: ") in new stack
  146.     -- Executing [s@macro-dial:2] Set("PJSIP/40215694656-0000005f", "__CRM_SOURCE=40215694650") in new stack
  147.     -- Executing [s@macro-dial:3] ExecIf("PJSIP/40215694656-0000005f", "0?Set(ALERT_INFO=)") in new stack
  148.     -- Executing [s@macro-dial:4] ExecIf("PJSIP/40215694656-0000005f", "0?Set(ALERT_INFO=)") in new stack
  149.     -- Executing [s@macro-dial:5] ExecIf("PJSIP/40215694656-0000005f", "0?Set(ALERT_INFO=)") in new stack
  150.     -- Executing [s@macro-dial:6] ExecIf("PJSIP/40215694656-0000005f", "0?Set(CHANNEL(musicclass)=)") in new stack
  151.     -- Executing [s@macro-dial:7] AGI("PJSIP/40215694656-0000005f", "dialparties.agi") in new stack
  152.   == Begin MixMonitor Recording PJSIP/40215694656-0000005f
  153.     -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
  154.  dialparties.agi: Starting New Dialparties.agi
  155.  dialparties.agi: Caller ID name is 'Razvan Roman' number is '40215694650'
  156.  dialparties.agi: CW Ignore is:
  157.  dialparties.agi: CF Ignore is:
  158.  dialparties.agi: CW IN_USE/BUSY is: 1
  159.        > dialparties.agi: USE_CONFIRMATION:  'FALSE'
  160.        > dialparties.agi: RINGGROUP_INDEX:   ''
  161.  dialparties.agi: Methodology of ring is  'ringall'
  162.     -- dialparties.agi: Added extension 40748881658# to extension map
  163.     -- dialparties.agi: Extension 40748881658# cf is disabled
  164.        > dialparties.agi: extnum 40748881658# has:  cw: 0; hascfb: 0 [] hascfu: 0 []
  165.        > dialparties.agi: Built External dialstring component for 40748881658: Local/40748881658@from-internal/n
  166.     -- dialparties.agi: Filtered ARG3: 40748881658
  167.        > dialparties.agi: NODEST: 201 adding M(auto-blkvm) to dialopts: m(default)TtIM(auto-blkvm)
  168.        > dialparties.agi: NODEST: 201 blkvm enabled macro already in dialopts: m(default)TtIM(auto-blkvm)
  169.  dialparties.agi: RVOL_MODE ''
  170.  dialparties.agi: RVOL is:
  171.  dialparties.agi: RVOLPARENT is:
  172.     -- <PJSIP/40215694656-0000005f>AGI Script dialparties.agi completed, returning 0
  173.     -- Executing [s@macro-dial:10] NoOp("PJSIP/40215694656-0000005f", "Returned from dialparties with groups to dial") in new stack
  174.     -- Executing [s@macro-dial:11] NoOp("PJSIP/40215694656-0000005f", "ringall array  ") in new stack
  175.     -- Executing [s@macro-dial:12] Set("PJSIP/40215694656-0000005f", "__FMGL_DIAL=") in new stack
  176.     -- Executing [s@macro-dial:13] Set("PJSIP/40215694656-0000005f", "LOOPCNT=1") in new stack
  177.     -- Executing [s@macro-dial:14] Set("PJSIP/40215694656-0000005f", "ITER=1") in new stack
  178.     -- Executing [s@macro-dial:15] Set("PJSIP/40215694656-0000005f", "EXTTOCALL=40748881658") in new stack
  179.     -- Executing [s@macro-dial:16] NoOp("PJSIP/40215694656-0000005f", "Working with 40748881658") in new stack
  180.     -- Executing [s@macro-dial:17] ExecIf("PJSIP/40215694656-0000005f", "0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)") in new stack
  181.     -- Executing [s@macro-dial:18] ExecIf("PJSIP/40215694656-0000005f", "0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)") in new stack
  182.     -- Executing [s@macro-dial:19] Set("PJSIP/40215694656-0000005f", "ITER=2") in new stack
  183.     -- Executing [s@macro-dial:20] GotoIf("PJSIP/40215694656-0000005f", "0?ndloopbegin") in new stack
  184.     -- Executing [s@macro-dial:21] Macro("PJSIP/40215694656-0000005f", "dial-ringall-predial-hook,") in new stack
  185.     -- Executing [s@macro-dial-ringall-predial-hook:1] MacroExit("PJSIP/40215694656-0000005f", "") in new stack
  186.     -- Executing [s@macro-dial:22] Dial("PJSIP/40215694656-0000005f", "Local/40748881658@from-internal/n,20,m(default)tIM(auto-blkvm)b(func-apply-sipheaders^s^1),") in new stack
  187.     -- Local/40748881658@from-internal-00000017;1 Internal Gosub(func-apply-sipheaders,s,1) start
  188.     -- Executing [s@func-apply-sipheaders:1] ExecIf("Local/40748881658@from-internal-00000017;1", "1?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)") in new stack
  189.     -- Executing [s@func-apply-sipheaders:2] NoOp("Local/40748881658@from-internal-00000017;1", "Applying SIP Headers to channel") in new stack
  190.     -- Executing [s@func-apply-sipheaders:3] Set("Local/40748881658@from-internal-00000017;1", "SIPHEADERKEYS=") in new stack
  191.     -- Executing [s@func-apply-sipheaders:4] While("Local/40748881658@from-internal-00000017;1", "0") in new stack
  192.     -- Jumping to priority 7
  193.     -- Executing [s@func-apply-sipheaders:8] Return("Local/40748881658@from-internal-00000017;1", "") in new stack
  194.   == Spawn extension (from-internal, 201, 1) exited non-zero on 'Local/40748881658@from-internal-00000017;1'
  195.     -- Local/40748881658@from-internal-00000017;1 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
  196.     -- Called Local/40748881658@from-internal/n
  197.     -- Started music on hold, class 'default', on channel 'PJSIP/40215694656-0000005f'
  198. [2018-01-22 19:42:26] WARNING[14204][C-00000023]: translate.c:407 framein: no samples for ulawtolin
  199.        > 0x7f35c81003c0 -- Strict RTP learning after remote address set to: 193.16.148.244:41816
  200.     -- Executing [40748881658@from-internal:1] Macro("Local/40748881658@from-internal-00000017;2", "user-callerid,LIMIT,EXTERNAL,") in new stack
  201.     -- Executing [s@macro-user-callerid:1] Set("Local/40748881658@from-internal-00000017;2", "TOUCH_MONITOR=1516650146.143") in new stack
  202.     -- Executing [s@macro-user-callerid:2] Set("Local/40748881658@from-internal-00000017;2", "AMPUSER=40215694650") in new stack
  203.     -- Executing [s@macro-user-callerid:3] GotoIf("Local/40748881658@from-internal-00000017;2", "0?report") in new stack
  204.     -- Executing [s@macro-user-callerid:4] ExecIf("Local/40748881658@from-internal-00000017;2", "1?Set(REALCALLERIDNUM=40215694650)") in new stack
  205.     -- PJSIP/40215694651-0000005e is ringing
  206.     -- Executing [s@macro-user-callerid:5] Set("Local/40748881658@from-internal-00000017;2", "AMPUSER=") in new stack
  207.     -- Executing [s@macro-user-callerid:6] GotoIf("Local/40748881658@from-internal-00000017;2", "0?limit") in new stack
  208.     -- Executing [s@macro-user-callerid:7] Set("Local/40748881658@from-internal-00000017;2", "AMPUSERCIDNAME=") in new stack
  209.     -- Executing [s@macro-user-callerid:8] ExecIf("Local/40748881658@from-internal-00000017;2", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
  210.     -- Executing [s@macro-user-callerid:9] GotoIf("Local/40748881658@from-internal-00000017;2", "1?report") in new stack
  211.     -- Goto (macro-user-callerid,s,16)
  212.     -- Executing [s@macro-user-callerid:16] NoOp("Local/40748881658@from-internal-00000017;2", "Macro Depth is 1") in new stack
  213.     -- Executing [s@macro-user-callerid:17] GotoIf("Local/40748881658@from-internal-00000017;2", "1?report2:macroerror") in new stack
  214.     -- Goto (macro-user-callerid,s,19)
  215.     -- Executing [s@macro-user-callerid:19] GotoIf("Local/40748881658@from-internal-00000017;2", "1?continue") in new stack
  216.     -- Goto (macro-user-callerid,s,37)
  217.     -- Executing [s@macro-user-callerid:37] Set("Local/40748881658@from-internal-00000017;2", "CALLERID(number)=40215694650") in new stack
  218.     -- Executing [s@macro-user-callerid:38] Set("Local/40748881658@from-internal-00000017;2", "CALLERID(name)=Razvan Roman") in new stack
  219.     -- Executing [s@macro-user-callerid:39] GotoIf("Local/40748881658@from-internal-00000017;2", "0?cnum") in new stack
  220.     -- Executing [s@macro-user-callerid:40] Set("Local/40748881658@from-internal-00000017;2", "CDR(cnam)=Razvan Roman") in new stack
  221.     -- Executing [s@macro-user-callerid:41] Set("Local/40748881658@from-internal-00000017;2", "CDR(cnum)=40215694650") in new stack
  222.     -- Executing [s@macro-user-callerid:42] Set("Local/40748881658@from-internal-00000017;2", "CHANNEL(language)=en") in new stack
  223.     -- Executing [40748881658@from-internal:2] Gosub("Local/40748881658@from-internal-00000017;2", "sub-record-check,s,1(out,40748881658,dontcare)") in new stack
  224.     -- Executing [s@sub-record-check:1] GotoIf("Local/40748881658@from-internal-00000017;2", "0?initialized") in new stack
  225.     -- Executing [s@sub-record-check:2] Set("Local/40748881658@from-internal-00000017;2", "__REC_STATUS=INITIALIZED") in new stack
  226.     -- Executing [s@sub-record-check:3] Set("Local/40748881658@from-internal-00000017;2", "NOW=1516650146") in new stack
  227.     -- Executing [s@sub-record-check:4] Set("Local/40748881658@from-internal-00000017;2", "__DAY=22") in new stack
  228.     -- Executing [s@sub-record-check:5] Set("Local/40748881658@from-internal-00000017;2", "__MONTH=01") in new stack
  229.     -- Executing [s@sub-record-check:6] Set("Local/40748881658@from-internal-00000017;2", "__YEAR=2018") in new stack
  230.     -- Executing [s@sub-record-check:7] Set("Local/40748881658@from-internal-00000017;2", "__TIMESTR=20180122-194226") in new stack
  231.     -- Executing [s@sub-record-check:8] Set("Local/40748881658@from-internal-00000017;2", "__FROMEXTEN=40215694650") in new stack
  232.     -- Executing [s@sub-record-check:9] Set("Local/40748881658@from-internal-00000017;2", "__MON_FMT=wav") in new stack
  233.     -- Executing [s@sub-record-check:10] NoOp("Local/40748881658@from-internal-00000017;2", "Recordings initialized") in new stack
  234.     -- Executing [s@sub-record-check:11] ExecIf("Local/40748881658@from-internal-00000017;2", "0?Set(ARG3=dontcare)") in new stack
  235.     -- Executing [s@sub-record-check:12] Set("Local/40748881658@from-internal-00000017;2", "REC_POLICY_MODE_SAVE=FORCE") in new stack
  236.     -- Executing [s@sub-record-check:13] ExecIf("Local/40748881658@from-internal-00000017;2", "0?Set(REC_STATUS=NO)") in new stack
  237.     -- Executing [s@sub-record-check:14] GotoIf("Local/40748881658@from-internal-00000017;2", "3?checkaction") in new stack
  238.     -- Goto (sub-record-check,s,17)
  239.     -- Executing [s@sub-record-check:17] GotoIf("Local/40748881658@from-internal-00000017;2", "1?sub-record-check,out,1") in new stack
  240.     -- Goto (sub-record-check,out,1)
  241.     -- Executing [out@sub-record-check:1] NoOp("Local/40748881658@from-internal-00000017;2", "Outbound Recording Check from 40215694650 to 40748881658") in new stack
  242.     -- Executing [out@sub-record-check:2] Set("Local/40748881658@from-internal-00000017;2", "RECMODE=") in new stack
  243.     -- Executing [out@sub-record-check:3] ExecIf("Local/40748881658@from-internal-00000017;2", "1?Goto(routewins)") in new stack
  244.     -- Goto (sub-record-check,out,7)
  245.     -- Executing [out@sub-record-check:7] Gosub("Local/40748881658@from-internal-00000017;2", "recordcheck,1(dontcare,out,40748881658)") in new stack
  246.     -- Executing [recordcheck@sub-record-check:1] NoOp("Local/40748881658@from-internal-00000017;2", "Starting recording check against dontcare") in new stack
  247.     -- Executing [recordcheck@sub-record-check:2] Goto("Local/40748881658@from-internal-00000017;2", "dontcare") in new stack
  248.     -- Goto (sub-record-check,recordcheck,3)
  249.     -- Executing [recordcheck@sub-record-check:3] Return("Local/40748881658@from-internal-00000017;2", "") in new stack
  250.     -- Executing [out@sub-record-check:8] Return("Local/40748881658@from-internal-00000017;2", "") in new stack
  251.     -- Executing [40748881658@from-internal:3] ExecIf("Local/40748881658@from-internal-00000017;2", "0 ?Set(CDR(accountcode)=)") in new stack
  252.     -- Executing [40748881658@from-internal:4] Set("Local/40748881658@from-internal-00000017;2", "MOHCLASS=default") in new stack
  253.     -- Executing [40748881658@from-internal:5] ExecIf("Local/40748881658@from-internal-00000017;2", "0?Set(TRUNKCIDOVERRIDE=Sysadmin <40215694656>)") in new stack
  254.     -- Executing [40748881658@from-internal:6] Set("Local/40748881658@from-internal-00000017;2", "_NODEST=") in new stack
  255.     -- Executing [40748881658@from-internal:7] Macro("Local/40748881658@from-internal-00000017;2", "dialout-trunk,1,40748881658,,on") in new stack
  256.     -- Executing [s@macro-dialout-trunk:1] Set("Local/40748881658@from-internal-00000017;2", "DIAL_TRUNK=1") in new stack
  257.     -- Executing [s@macro-dialout-trunk:2] GosubIf("Local/40748881658@from-internal-00000017;2", "0?sub-pincheck,s,1()") in new stack
  258.     -- Executing [s@macro-dialout-trunk:3] ExecIf("Local/40748881658@from-internal-00000017;2", "0?Set(CALLERID(num)=)") in new stack
  259.     -- Executing [s@macro-dialout-trunk:4] GotoIf("Local/40748881658@from-internal-00000017;2", "0?disabletrunk,1") in new stack
  260.     -- Executing [s@macro-dialout-trunk:5] Set("Local/40748881658@from-internal-00000017;2", "DIAL_NUMBER=40748881658") in new stack
  261.     -- Executing [s@macro-dialout-trunk:6] Set("Local/40748881658@from-internal-00000017;2", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
  262.     -- Executing [s@macro-dialout-trunk:7] Set("Local/40748881658@from-internal-00000017;2", "OUTBOUND_GROUP=OUT_1") in new stack
  263.     -- Executing [s@macro-dialout-trunk:8] Set("Local/40748881658@from-internal-00000017;2", "DIAL_TRUNK_OPTIONS=Tt") in new stack
  264.     -- Executing [s@macro-dialout-trunk:9] GotoIf("Local/40748881658@from-internal-00000017;2", "0?nomax") in new stack
  265.     -- Executing [s@macro-dialout-trunk:10] GotoIf("Local/40748881658@from-internal-00000017;2", "0?chanfull") in new stack
  266.     -- Executing [s@macro-dialout-trunk:11] GotoIf("Local/40748881658@from-internal-00000017;2", "0?skipoutcid") in new stack
  267.     -- Executing [s@macro-dialout-trunk:12] Macro("Local/40748881658@from-internal-00000017;2", "outbound-callerid,1") in new stack
  268.     -- Executing [s@macro-outbound-callerid:1] NoOp("Local/40748881658@from-internal-00000017;2", "40215694650") in new stack
  269.     -- Executing [s@macro-outbound-callerid:2] NoOp("Local/40748881658@from-internal-00000017;2", "TRUE") in new stack
  270.     -- Executing [s@macro-outbound-callerid:3] NoOp("Local/40748881658@from-internal-00000017;2", "off") in new stack
  271.     -- Executing [s@macro-outbound-callerid:4] ExecIf("Local/40748881658@from-internal-00000017;2", "1?Set(CALLERPRES(name-pres)=allowed_not_screened)") in new stack
  272.     -- Executing [s@macro-outbound-callerid:5] ExecIf("Local/40748881658@from-internal-00000017;2", "1?Set(CALLERPRES(num-pres)=allowed_not_screened)") in new stack
  273.     -- Executing [s@macro-outbound-callerid:6] ExecIf("Local/40748881658@from-internal-00000017;2", "0?Set(REALCALLERIDNUM=40215694650)") in new stack
  274.     -- Executing [s@macro-outbound-callerid:7] GotoIf("Local/40748881658@from-internal-00000017;2", "0?normcid") in new stack
  275.     -- Executing [s@macro-outbound-callerid:8] Set("Local/40748881658@from-internal-00000017;2", "USEROUTCID=40215694650") in new stack
  276.     -- Executing [s@macro-outbound-callerid:9] GotoIf("Local/40748881658@from-internal-00000017;2", "0?normcid") in new stack
  277.     -- Executing [s@macro-outbound-callerid:10] GotoIf("Local/40748881658@from-internal-00000017;2", "1?bypass") in new stack
  278.     -- Goto (macro-outbound-callerid,s,12)
  279.     -- Executing [s@macro-outbound-callerid:12] Set("Local/40748881658@from-internal-00000017;2", "EMERGENCYCID=") in new stack
  280.     -- Executing [s@macro-outbound-callerid:13] Set("Local/40748881658@from-internal-00000017;2", "TRUNKOUTCID=40215694656") in new stack
  281.     -- Executing [s@macro-outbound-callerid:14] GotoIf("Local/40748881658@from-internal-00000017;2", "1?trunkcid") in new stack
  282.     -- Goto (macro-outbound-callerid,s,19)
  283.     -- Executing [s@macro-outbound-callerid:19] ExecIf("Local/40748881658@from-internal-00000017;2", "1?Set(CALLERID(all)=40215694656)") in new stack
  284.     -- Executing [s@macro-outbound-callerid:20] ExecIf("Local/40748881658@from-internal-00000017;2", "1?Set(CALLERID(all)=40215694650)") in new stack
  285.     -- Executing [s@macro-outbound-callerid:21] ExecIf("Local/40748881658@from-internal-00000017;2", "0?Set(CALLERID(all)=)") in new stack
  286.     -- Executing [s@macro-outbound-callerid:22] ExecIf("Local/40748881658@from-internal-00000017;2", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
  287.     -- Executing [s@macro-outbound-callerid:23] ExecIf("Local/40748881658@from-internal-00000017;2", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
  288.     -- Executing [s@macro-outbound-callerid:24] Set("Local/40748881658@from-internal-00000017;2", "CDR(outbound_cnum)=40215694650") in new stack
  289.     -- Executing [s@macro-outbound-callerid:25] Set("Local/40748881658@from-internal-00000017;2", "CDR(outbound_cnam)=") in new stack
  290.     -- Executing [s@macro-dialout-trunk:13] GosubIf("Local/40748881658@from-internal-00000017;2", "0?sub-flp-1,s,1()") in new stack
  291.     -- Executing [s@macro-dialout-trunk:14] Set("Local/40748881658@from-internal-00000017;2", "OUTNUM=40748881658") in new stack
  292.     -- Executing [s@macro-dialout-trunk:15] Set("Local/40748881658@from-internal-00000017;2", "custom=PJSIP") in new stack
  293.     -- Executing [s@macro-dialout-trunk:16] ExecIf("Local/40748881658@from-internal-00000017;2", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
  294.     -- Executing [s@macro-dialout-trunk:17] ExecIf("Local/40748881658@from-internal-00000017;2", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
  295.     -- Executing [s@macro-dialout-trunk:18] Macro("Local/40748881658@from-internal-00000017;2", "dialout-trunk-predial-hook,") in new stack
  296.     -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("Local/40748881658@from-internal-00000017;2", "") in new stack
  297.     -- Executing [s@macro-dialout-trunk:19] GotoIf("Local/40748881658@from-internal-00000017;2", "1?skipcrm") in new stack
  298.     -- Goto (macro-dialout-trunk,s,25)
  299.     -- Executing [s@macro-dialout-trunk:25] NoOp("Local/40748881658@from-internal-00000017;2", "CRM Finished") in new stack
  300.     -- Executing [s@macro-dialout-trunk:26] GotoIf("Local/40748881658@from-internal-00000017;2", "0?bypass,1") in new stack
  301.     -- Executing [s@macro-dialout-trunk:27] ExecIf("Local/40748881658@from-internal-00000017;2", "0?Set(CONNECTEDLINE(num,i)=40748881658)") in new stack
  302.     -- Executing [s@macro-dialout-trunk:28] ExecIf("Local/40748881658@from-internal-00000017;2", "0?Set(CONNECTEDLINE(name,i)=CID:40215694650)") in new stack
  303.     -- Executing [s@macro-dialout-trunk:29] ExecIf("Local/40748881658@from-internal-00000017;2", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)40215694650)") in new stack
  304.     -- Executing [s@macro-dialout-trunk:30] GotoIf("Local/40748881658@from-internal-00000017;2", "0?customtrunk") in new stack
  305.     -- Executing [s@macro-dialout-trunk:31] Dial("Local/40748881658@from-internal-00000017;2", "PJSIP/40748881658@40215694656,300,Tt") in new stack
  306.     -- Called PJSIP/40748881658@40215694656
  307.     -- Connected line update to PJSIP/40215694656-0000005f prevented.
  308.        > 0x7f35c8172110 -- Strict RTP learning after remote address set to: 193.16.148.244:41820
  309.     -- PJSIP/40215694656-00000060 is making progress passing it to Local/40748881658@from-internal-00000017;2
  310.        > 0x7f35c8172110 -- Strict RTP switching to RTP target address 193.16.148.244:41820 as source
  311.     -- Local/40748881658@from-internal-00000017;1 is making progress passing it to PJSIP/40215694656-0000005f
  312.        > 0x7f35c8172110 -- Strict RTP learning complete - Locking on source address 193.16.148.244:41820
  313.   == Everyone is busy/congested at this time (1:0/0/1)
  314.     -- Executing [s@macro-dialout-trunk:32] NoOp("Local/40748881658@from-internal-00000017;2", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 21") in new stack
  315.     -- Executing [s@macro-dialout-trunk:33] GotoIf("Local/40748881658@from-internal-00000017;2", "1?continue,1:s-CHANUNAVAIL,1") in new stack
  316.     -- Goto (macro-dialout-trunk,continue,1)
  317.     -- Executing [continue@macro-dialout-trunk:1] NoOp("Local/40748881658@from-internal-00000017;2", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 21 - failing through to other trunks") in new stack
  318.     -- Executing [continue@macro-dialout-trunk:2] ExecIf("Local/40748881658@from-internal-00000017;2", "0?Set(CALLERID(number)=)") in new stack
  319.     -- Executing [40748881658@from-internal:8] Macro("Local/40748881658@from-internal-00000017;2", "dialout-trunk,7,40748881658,,on") in new stack
  320.     -- Executing [s@macro-dialout-trunk:1] Set("Local/40748881658@from-internal-00000017;2", "DIAL_TRUNK=7") in new stack
  321.     -- Executing [s@macro-dialout-trunk:2] GosubIf("Local/40748881658@from-internal-00000017;2", "0?sub-pincheck,s,1()") in new stack
  322.     -- Executing [s@macro-dialout-trunk:3] ExecIf("Local/40748881658@from-internal-00000017;2", "0?Set(CALLERID(num)=)") in new stack
  323.     -- Executing [s@macro-dialout-trunk:4] GotoIf("Local/40748881658@from-internal-00000017;2", "0?disabletrunk,1") in new stack
  324.     -- Executing [s@macro-dialout-trunk:5] Set("Local/40748881658@from-internal-00000017;2", "DIAL_NUMBER=40748881658") in new stack
  325.     -- Executing [s@macro-dialout-trunk:6] Set("Local/40748881658@from-internal-00000017;2", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
  326.     -- Executing [s@macro-dialout-trunk:7] Set("Local/40748881658@from-internal-00000017;2", "OUTBOUND_GROUP=OUT_7") in new stack
  327.     -- Executing [s@macro-dialout-trunk:8] Set("Local/40748881658@from-internal-00000017;2", "DIAL_TRUNK_OPTIONS=Tt") in new stack
  328.     -- Executing [s@macro-dialout-trunk:9] GotoIf("Local/40748881658@from-internal-00000017;2", "0?nomax") in new stack
  329.     -- Executing [s@macro-dialout-trunk:10] GotoIf("Local/40748881658@from-internal-00000017;2", "0?chanfull") in new stack
  330.     -- Executing [s@macro-dialout-trunk:11] GotoIf("Local/40748881658@from-internal-00000017;2", "0?skipoutcid") in new stack
  331.     -- Executing [s@macro-dialout-trunk:12] Macro("Local/40748881658@from-internal-00000017;2", "outbound-callerid,7") in new stack
  332.     -- Executing [s@macro-outbound-callerid:1] NoOp("Local/40748881658@from-internal-00000017;2", "40215694650") in new stack
  333.     -- Executing [s@macro-outbound-callerid:2] NoOp("Local/40748881658@from-internal-00000017;2", "TRUE") in new stack
  334.     -- Executing [s@macro-outbound-callerid:3] NoOp("Local/40748881658@from-internal-00000017;2", "off") in new stack
  335.     -- Executing [s@macro-outbound-callerid:4] ExecIf("Local/40748881658@from-internal-00000017;2", "1?Set(CALLERPRES(name-pres)=allowed_not_screened)") in new stack
  336.     -- Executing [s@macro-outbound-callerid:5] ExecIf("Local/40748881658@from-internal-00000017;2", "1?Set(CALLERPRES(num-pres)=allowed_not_screened)") in new stack
  337.     -- Executing [s@macro-outbound-callerid:6] ExecIf("Local/40748881658@from-internal-00000017;2", "0?Set(REALCALLERIDNUM=40215694650)") in new stack
  338.     -- Executing [s@macro-outbound-callerid:7] GotoIf("Local/40748881658@from-internal-00000017;2", "0?normcid") in new stack
  339.     -- Executing [s@macro-outbound-callerid:8] Set("Local/40748881658@from-internal-00000017;2", "USEROUTCID=40215694650") in new stack
  340.     -- Executing [s@macro-outbound-callerid:9] GotoIf("Local/40748881658@from-internal-00000017;2", "0?normcid") in new stack
  341.     -- Executing [s@macro-outbound-callerid:10] GotoIf("Local/40748881658@from-internal-00000017;2", "1?bypass") in new stack
  342.     -- Goto (macro-outbound-callerid,s,12)
  343.     -- Executing [s@macro-outbound-callerid:12] Set("Local/40748881658@from-internal-00000017;2", "EMERGENCYCID=") in new stack
  344.     -- Executing [s@macro-outbound-callerid:13] Set("Local/40748881658@from-internal-00000017;2", "TRUNKOUTCID=40215694655") in new stack
  345.     -- Executing [s@macro-outbound-callerid:14] GotoIf("Local/40748881658@from-internal-00000017;2", "1?trunkcid") in new stack
  346.     -- Goto (macro-outbound-callerid,s,19)
  347.     -- Executing [s@macro-outbound-callerid:19] ExecIf("Local/40748881658@from-internal-00000017;2", "1?Set(CALLERID(all)=40215694655)") in new stack
  348.     -- Executing [s@macro-outbound-callerid:20] ExecIf("Local/40748881658@from-internal-00000017;2", "1?Set(CALLERID(all)=40215694650)") in new stack
  349.     -- Executing [s@macro-outbound-callerid:21] ExecIf("Local/40748881658@from-internal-00000017;2", "0?Set(CALLERID(all)=)") in new stack
  350.     -- Executing [s@macro-outbound-callerid:22] ExecIf("Local/40748881658@from-internal-00000017;2", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
  351.     -- Executing [s@macro-outbound-callerid:23] ExecIf("Local/40748881658@from-internal-00000017;2", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
  352.     -- Executing [s@macro-outbound-callerid:24] Set("Local/40748881658@from-internal-00000017;2", "CDR(outbound_cnum)=40215694650") in new stack
  353.     -- Executing [s@macro-outbound-callerid:25] Set("Local/40748881658@from-internal-00000017;2", "CDR(outbound_cnam)=") in new stack
  354.     -- Executing [s@macro-dialout-trunk:13] GosubIf("Local/40748881658@from-internal-00000017;2", "0?sub-flp-7,s,1()") in new stack
  355.     -- Executing [s@macro-dialout-trunk:14] Set("Local/40748881658@from-internal-00000017;2", "OUTNUM=40748881658") in new stack
  356.     -- Executing [s@macro-dialout-trunk:15] Set("Local/40748881658@from-internal-00000017;2", "custom=PJSIP") in new stack
  357.     -- Executing [s@macro-dialout-trunk:16] ExecIf("Local/40748881658@from-internal-00000017;2", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
  358.     -- Executing [s@macro-dialout-trunk:17] ExecIf("Local/40748881658@from-internal-00000017;2", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
  359.     -- Executing [s@macro-dialout-trunk:18] Macro("Local/40748881658@from-internal-00000017;2", "dialout-trunk-predial-hook,") in new stack
  360.     -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("Local/40748881658@from-internal-00000017;2", "") in new stack
  361.     -- Executing [s@macro-dialout-trunk:19] GotoIf("Local/40748881658@from-internal-00000017;2", "1?skipcrm") in new stack
  362.     -- Goto (macro-dialout-trunk,s,25)
  363.     -- Executing [s@macro-dialout-trunk:25] NoOp("Local/40748881658@from-internal-00000017;2", "CRM Finished") in new stack
  364.     -- Executing [s@macro-dialout-trunk:26] GotoIf("Local/40748881658@from-internal-00000017;2", "0?bypass,1") in new stack
  365.     -- Executing [s@macro-dialout-trunk:27] ExecIf("Local/40748881658@from-internal-00000017;2", "0?Set(CONNECTEDLINE(num,i)=40748881658)") in new stack
  366.     -- Executing [s@macro-dialout-trunk:28] ExecIf("Local/40748881658@from-internal-00000017;2", "0?Set(CONNECTEDLINE(name,i)=CID:40215694650)") in new stack
  367.     -- Executing [s@macro-dialout-trunk:29] ExecIf("Local/40748881658@from-internal-00000017;2", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)40215694650)") in new stack
  368.     -- Executing [s@macro-dialout-trunk:30] GotoIf("Local/40748881658@from-internal-00000017;2", "0?customtrunk") in new stack
  369.     -- Executing [s@macro-dialout-trunk:31] Dial("Local/40748881658@from-internal-00000017;2", "PJSIP/40748881658@40215694655,300,Tt") in new stack
  370.     -- Called PJSIP/40748881658@40215694655
  371.        > 0x7f35c8172110 -- Strict RTP learning after remote address set to: 193.16.148.244:41824
  372.     -- PJSIP/40215694655-00000061 is making progress passing it to Local/40748881658@from-internal-00000017;2
  373.     -- Local/40748881658@from-internal-00000017;1 is making progress passing it to PJSIP/40215694656-0000005f
  374.        > 0x7f35c8172110 -- Strict RTP switching to RTP target address 193.16.148.244:41824 as source
  375.        > 0x7f35c8172110 -- Strict RTP learning complete - Locking on source address 193.16.148.244:41824
  376.   == Everyone is busy/congested at this time (1:0/0/1)
  377.     -- Executing [s@macro-dialout-trunk:32] NoOp("Local/40748881658@from-internal-00000017;2", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 21") in new stack
  378.     -- Executing [s@macro-dialout-trunk:33] GotoIf("Local/40748881658@from-internal-00000017;2", "1?continue,1:s-CHANUNAVAIL,1") in new stack
  379.     -- Goto (macro-dialout-trunk,continue,1)
  380.     -- Executing [continue@macro-dialout-trunk:1] NoOp("Local/40748881658@from-internal-00000017;2", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 21 - failing through to other trunks") in new stack
  381.     -- Executing [continue@macro-dialout-trunk:2] ExecIf("Local/40748881658@from-internal-00000017;2", "0?Set(CALLERID(number)=)") in new stack
  382.     -- Executing [40748881658@from-internal:9] Macro("Local/40748881658@from-internal-00000017;2", "dialout-trunk,2,40748881658,,on") in new stack
  383.     -- Executing [s@macro-dialout-trunk:1] Set("Local/40748881658@from-internal-00000017;2", "DIAL_TRUNK=2") in new stack
  384.     -- Executing [s@macro-dialout-trunk:2] GosubIf("Local/40748881658@from-internal-00000017;2", "0?sub-pincheck,s,1()") in new stack
  385.     -- Executing [s@macro-dialout-trunk:3] ExecIf("Local/40748881658@from-internal-00000017;2", "0?Set(CALLERID(num)=)") in new stack
  386.     -- Executing [s@macro-dialout-trunk:4] GotoIf("Local/40748881658@from-internal-00000017;2", "0?disabletrunk,1") in new stack
  387.     -- Executing [s@macro-dialout-trunk:5] Set("Local/40748881658@from-internal-00000017;2", "DIAL_NUMBER=40748881658") in new stack
  388.     -- Executing [s@macro-dialout-trunk:6] Set("Local/40748881658@from-internal-00000017;2", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
  389.     -- Executing [s@macro-dialout-trunk:7] Set("Local/40748881658@from-internal-00000017;2", "OUTBOUND_GROUP=OUT_2") in new stack
  390.     -- Executing [s@macro-dialout-trunk:8] Set("Local/40748881658@from-internal-00000017;2", "DIAL_TRUNK_OPTIONS=Tt") in new stack
  391.     -- Executing [s@macro-dialout-trunk:9] GotoIf("Local/40748881658@from-internal-00000017;2", "0?nomax") in new stack
  392.     -- Executing [s@macro-dialout-trunk:10] GotoIf("Local/40748881658@from-internal-00000017;2", "0?chanfull") in new stack
  393.     -- Executing [s@macro-dialout-trunk:11] GotoIf("Local/40748881658@from-internal-00000017;2", "0?skipoutcid") in new stack
  394.     -- Executing [s@macro-dialout-trunk:12] Macro("Local/40748881658@from-internal-00000017;2", "outbound-callerid,2") in new stack
  395.     -- Executing [s@macro-outbound-callerid:1] NoOp("Local/40748881658@from-internal-00000017;2", "40215694650") in new stack
  396.     -- Executing [s@macro-outbound-callerid:2] NoOp("Local/40748881658@from-internal-00000017;2", "TRUE") in new stack
  397.     -- Executing [s@macro-outbound-callerid:3] NoOp("Local/40748881658@from-internal-00000017;2", "off") in new stack
  398.     -- Executing [s@macro-outbound-callerid:4] ExecIf("Local/40748881658@from-internal-00000017;2", "1?Set(CALLERPRES(name-pres)=allowed_not_screened)") in new stack
  399.     -- Executing [s@macro-outbound-callerid:5] ExecIf("Local/40748881658@from-internal-00000017;2", "1?Set(CALLERPRES(num-pres)=allowed_not_screened)") in new stack
  400.     -- Executing [s@macro-outbound-callerid:6] ExecIf("Local/40748881658@from-internal-00000017;2", "0?Set(REALCALLERIDNUM=40215694650)") in new stack
  401.     -- Executing [s@macro-outbound-callerid:7] GotoIf("Local/40748881658@from-internal-00000017;2", "0?normcid") in new stack
  402.     -- Executing [s@macro-outbound-callerid:8] Set("Local/40748881658@from-internal-00000017;2", "USEROUTCID=40215694650") in new stack
  403.     -- Executing [s@macro-outbound-callerid:9] GotoIf("Local/40748881658@from-internal-00000017;2", "0?normcid") in new stack
  404.     -- Executing [s@macro-outbound-callerid:10] GotoIf("Local/40748881658@from-internal-00000017;2", "1?bypass") in new stack
  405.     -- Goto (macro-outbound-callerid,s,12)
  406.     -- Executing [s@macro-outbound-callerid:12] Set("Local/40748881658@from-internal-00000017;2", "EMERGENCYCID=") in new stack
  407.     -- Executing [s@macro-outbound-callerid:13] Set("Local/40748881658@from-internal-00000017;2", "TRUNKOUTCID=40215694654") in new stack
  408.     -- Executing [s@macro-outbound-callerid:14] GotoIf("Local/40748881658@from-internal-00000017;2", "1?trunkcid") in new stack
  409.     -- Goto (macro-outbound-callerid,s,19)
  410.     -- Executing [s@macro-outbound-callerid:19] ExecIf("Local/40748881658@from-internal-00000017;2", "1?Set(CALLERID(all)=40215694654)") in new stack
  411.     -- Executing [s@macro-outbound-callerid:20] ExecIf("Local/40748881658@from-internal-00000017;2", "1?Set(CALLERID(all)=40215694650)") in new stack
  412.     -- Executing [s@macro-outbound-callerid:21] ExecIf("Local/40748881658@from-internal-00000017;2", "0?Set(CALLERID(all)=)") in new stack
  413.     -- Executing [s@macro-outbound-callerid:22] ExecIf("Local/40748881658@from-internal-00000017;2", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
  414.     -- Executing [s@macro-outbound-callerid:23] ExecIf("Local/40748881658@from-internal-00000017;2", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
  415.     -- Executing [s@macro-outbound-callerid:24] Set("Local/40748881658@from-internal-00000017;2", "CDR(outbound_cnum)=40215694650") in new stack
  416.     -- Executing [s@macro-outbound-callerid:25] Set("Local/40748881658@from-internal-00000017;2", "CDR(outbound_cnam)=") in new stack
  417.     -- Executing [s@macro-dialout-trunk:13] GosubIf("Local/40748881658@from-internal-00000017;2", "0?sub-flp-2,s,1()") in new stack
  418.     -- Executing [s@macro-dialout-trunk:14] Set("Local/40748881658@from-internal-00000017;2", "OUTNUM=40748881658") in new stack
  419.     -- Executing [s@macro-dialout-trunk:15] Set("Local/40748881658@from-internal-00000017;2", "custom=PJSIP") in new stack
  420.     -- Executing [s@macro-dialout-trunk:16] ExecIf("Local/40748881658@from-internal-00000017;2", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
  421.     -- Executing [s@macro-dialout-trunk:17] ExecIf("Local/40748881658@from-internal-00000017;2", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
  422.     -- Executing [s@macro-dialout-trunk:18] Macro("Local/40748881658@from-internal-00000017;2", "dialout-trunk-predial-hook,") in new stack
  423.     -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("Local/40748881658@from-internal-00000017;2", "") in new stack
  424.     -- Executing [s@macro-dialout-trunk:19] GotoIf("Local/40748881658@from-internal-00000017;2", "1?skipcrm") in new stack
  425.     -- Goto (macro-dialout-trunk,s,25)
  426.     -- Executing [s@macro-dialout-trunk:25] NoOp("Local/40748881658@from-internal-00000017;2", "CRM Finished") in new stack
  427.     -- Executing [s@macro-dialout-trunk:26] GotoIf("Local/40748881658@from-internal-00000017;2", "0?bypass,1") in new stack
  428.     -- Executing [s@macro-dialout-trunk:27] ExecIf("Local/40748881658@from-internal-00000017;2", "0?Set(CONNECTEDLINE(num,i)=40748881658)") in new stack
  429.     -- Executing [s@macro-dialout-trunk:28] ExecIf("Local/40748881658@from-internal-00000017;2", "0?Set(CONNECTEDLINE(name,i)=CID:40215694650)") in new stack
  430.     -- Executing [s@macro-dialout-trunk:29] ExecIf("Local/40748881658@from-internal-00000017;2", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)40215694650)") in new stack
  431.     -- Executing [s@macro-dialout-trunk:30] GotoIf("Local/40748881658@from-internal-00000017;2", "0?customtrunk") in new stack
  432.     -- Executing [s@macro-dialout-trunk:31] Dial("Local/40748881658@from-internal-00000017;2", "PJSIP/40748881658@40215694654,300,Tt") in new stack
  433.     -- Called PJSIP/40748881658@40215694654
  434.        > 0x7f35c8172110 -- Strict RTP learning after remote address set to: 193.16.148.244:41828
  435.     -- PJSIP/40215694654-00000062 is making progress passing it to Local/40748881658@from-internal-00000017;2
  436.     -- Local/40748881658@from-internal-00000017;1 is making progress passing it to PJSIP/40215694656-0000005f
  437.        > 0x7f35c8172110 -- Strict RTP switching to RTP target address 193.16.148.244:41828 as source
  438. [2018-01-22 19:42:33] WARNING[5303]: res_pjsip_pubsub.c:685 subscription_get_handler_from_rdata: No registered subscribe handler for event call-info
  439. [2018-01-22 19:42:33] WARNING[5303]: res_pjsip_pubsub.c:685 subscription_get_handler_from_rdata: No registered subscribe handler for event call-info
  440. [2018-01-22 19:42:34] WARNING[5303]: res_pjsip_pubsub.c:685 subscription_get_handler_from_rdata: No registered subscribe handler for event call-info
  441. [2018-01-22 19:42:34] WARNING[5303]: res_pjsip_pubsub.c:685 subscription_get_handler_from_rdata: No registered subscribe handler for event call-info
  442.        > 0x7f35c8172110 -- Strict RTP learning complete - Locking on source address 193.16.148.244:41828
  443.   == Spawn extension (macro-dialout-trunk, s, 31) exited non-zero on 'PJSIP/300-00000057' in macro 'dialout-trunk'
  444.   == Spawn extension (from-internal, 0215694656, 7) exited non-zero on 'PJSIP/300-00000057'
  445.     -- Executing [h@from-internal:1] Macro("PJSIP/300-00000057", "hangupcall") in new stack
  446.     -- Executing [s@macro-hangupcall:1] GotoIf("PJSIP/300-00000057", "1?theend") in new stack
  447.     -- Goto (macro-hangupcall,s,3)
  448.     -- Executing [s@macro-hangupcall:3] Gosub("PJSIP/300-00000057", "sub-missedcallnotify,s,1()") in new stack
  449.     -- Executing [s@sub-missedcallnotify:1] ExecIf("PJSIP/300-00000057", "0?System(echo "" | mail -s "MissedCall () - Appnor Sales <40215694650>" )") in new stack
  450.     -- Executing [s@sub-missedcallnotify:2] ExecIf("PJSIP/300-00000057", "0?System(echo "" | mail -s "MissedCallGroup () - Appnor Sales <40215694650>" )") in new stack
  451.     -- PJSIP/300-00000057 Internal Gosub(crm-hangup,s,1) start
  452.     -- Executing [s@crm-hangup:1] NoOp("PJSIP/300-00000057", "Sending Hangup to CRM") in new stack
  453.     -- Executing [s@crm-hangup:2] NoOp("PJSIP/300-00000057", "HANGUP CAUSE: 21") in new stack
  454.     -- Executing [s@crm-hangup:3] ExecIf("PJSIP/300-00000057", "0?Set(__CRM_VOICEMAIL=)") in new stack
  455.     -- Executing [s@crm-hangup:4] NoOp("PJSIP/300-00000057", "MASTER CHANNEL: 1516650128.131 = 1516650128.131") in new stack
  456.     -- Executing [s@crm-hangup:5] GotoIf("PJSIP/300-00000057", "0?return") in new stack
  457.     -- Executing [s@crm-hangup:6] Set("PJSIP/300-00000057", "__CRM_HANGUP=1") in new stack
  458.     -- Executing [s@crm-hangup:7] AGI("PJSIP/300-00000057", "sangomacrm.agi") in new stack
  459.     -- Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
  460.     -- Stopped music on hold on PJSIP/40215694656-0000005f
  461.     -- Local/40748881658@from-internal-00000017;1 Internal Gosub(crm-hangup,s,1) start
  462.     -- Executing [s@crm-hangup:1] NoOp("Local/40748881658@from-internal-00000017;1", "Sending Hangup to CRM") in new stack
  463.     -- Executing [s@crm-hangup:2] NoOp("Local/40748881658@from-internal-00000017;1", "HANGUP CAUSE: 0") in new stack
  464.     -- Executing [s@crm-hangup:3] ExecIf("Local/40748881658@from-internal-00000017;1", "0?Set(__CRM_VOICEMAIL=)") in new stack
  465.     -- Executing [s@crm-hangup:4] NoOp("Local/40748881658@from-internal-00000017;1", "MASTER CHANNEL: 1516650146.142 = 1516650146.141") in new stack
  466.     -- Executing [s@crm-hangup:5] GotoIf("Local/40748881658@from-internal-00000017;1", "1?return") in new stack
  467.     -- Goto (crm-hangup,s,8)
  468.     -- Executing [s@crm-hangup:8] Return("Local/40748881658@from-internal-00000017;1", "") in new stack
  469.   == Spawn extension (from-internal, 201, 1) exited non-zero on 'Local/40748881658@from-internal-00000017;1'
  470.     -- Local/40748881658@from-internal-00000017;1 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
  471.   == Spawn extension (macro-dialout-trunk, s, 31) exited non-zero on 'Local/40748881658@from-internal-00000017;2' in macro 'dialout-trunk'
  472.   == Spawn extension (from-internal, 40748881658, 9) exited non-zero on 'Local/40748881658@from-internal-00000017;2'
  473.     -- Executing [h@from-internal:1] Macro("Local/40748881658@from-internal-00000017;2", "hangupcall") in new stack
  474.     -- Executing [s@macro-hangupcall:1] GotoIf("Local/40748881658@from-internal-00000017;2", "1?theend") in new stack
  475.     -- Goto (macro-hangupcall,s,3)
  476.     -- Executing [s@macro-hangupcall:3] Gosub("Local/40748881658@from-internal-00000017;2", "sub-missedcallnotify,s,1()") in new stack
  477.     -- Executing [s@sub-missedcallnotify:1] ExecIf("Local/40748881658@from-internal-00000017;2", "0?System(echo "" | mail -s "MissedCall () -  <40215694650>" )") in new stack
  478.   == Spawn extension (macro-dial, s, 22) exited non-zero on 'PJSIP/40215694656-0000005f' in macro 'dial'
  479.   == Spawn extension (followme-sub, 201, 38) exited non-zero on 'PJSIP/40215694656-0000005f'
  480.     -- PJSIP/40215694656-0000005f Internal Gosub(crm-hangup,s,1) start
  481.     -- Executing [s@crm-hangup:1] NoOp("PJSIP/40215694656-0000005f", "Sending Hangup to CRM") in new stack
  482.     -- Executing [s@crm-hangup:2] NoOp("PJSIP/40215694656-0000005f", "HANGUP CAUSE: 127") in new stack
  483.     -- Executing [s@sub-missedcallnotify:2] ExecIf("Local/40748881658@from-internal-00000017;2", "0?System(echo "" | mail -s "MissedCallGroup () -  <40215694650>" )") in new stack
  484.     -- Executing [s@crm-hangup:3] ExecIf("PJSIP/40215694656-0000005f", "0?Set(__CRM_VOICEMAIL=)") in new stack
  485.     -- Executing [s@crm-hangup:4] NoOp("PJSIP/40215694656-0000005f", "MASTER CHANNEL: 1516650146.141 = 1516650146.141") in new stack
  486.     -- Executing [s@crm-hangup:5] GotoIf("PJSIP/40215694656-0000005f", "0?return") in new stack
  487.     -- Executing [s@crm-hangup:6] Set("PJSIP/40215694656-0000005f", "__CRM_HANGUP=1") in new stack
  488.     -- Executing [s@crm-hangup:7] AGI("PJSIP/40215694656-0000005f", "sangomacrm.agi") in new stack
  489.     -- Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
  490.     -- <PJSIP/40215694656-0000005f>AGI Script sangomacrm.agi completed, returning 0
  491.     -- <PJSIP/300-00000057>AGI Script sangomacrm.agi completed, returning 0
  492.     -- Executing [s@crm-hangup:8] Return("PJSIP/40215694656-0000005f", "") in new stack
  493.   == Spawn extension (followme-sub, 201, 38) exited non-zero on 'PJSIP/40215694656-0000005f'
  494.     -- PJSIP/40215694656-0000005f Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
  495.   == MixMonitor close filestream (mixed)
  496.   == End MixMonitor Recording PJSIP/40215694656-0000005f
  497.     -- Executing [s@crm-hangup:8] Return("PJSIP/300-00000057", "") in new stack
  498.   == Spawn extension (sub-missedcallnotify, s, 4) exited non-zero on 'PJSIP/300-00000057'
  499.     -- PJSIP/300-00000057 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
  500.   == Setting global variable 'SIPDOMAIN' to '10.11.12.118'
  501.     -- Executing [201@from-internal:1] GotoIf("PJSIP/300-00000063", "0?ext-local,201,1:followme-check,201,1") in new stack
  502.     -- Goto (followme-check,201,1)
  503.     -- Executing [201@followme-check:1] Gosub("PJSIP/300-00000063", "followme-sub,201,1()") in new stack
  504.     -- Executing [201@followme-sub:1] Macro("PJSIP/300-00000063", "user-callerid,") in new stack
  505.     -- Executing [s@macro-user-callerid:1] Set("PJSIP/300-00000063", "TOUCH_MONITOR=1516650160.147") in new stack
  506.     -- Executing [s@macro-user-callerid:2] Set("PJSIP/300-00000063", "AMPUSER=300") in new stack
  507.     -- Executing [s@macro-user-callerid:3] GotoIf("PJSIP/300-00000063", "0?report") in new stack
  508.     -- Executing [s@macro-user-callerid:4] ExecIf("PJSIP/300-00000063", "1?Set(REALCALLERIDNUM=300)") in new stack
  509.     -- Executing [s@macro-user-callerid:5] Set("PJSIP/300-00000063", "AMPUSER=300") in new stack
  510.     -- Executing [s@macro-user-callerid:6] GotoIf("PJSIP/300-00000063", "0?limit") in new stack
  511.     -- Executing [s@macro-user-callerid:7] Set("PJSIP/300-00000063", "AMPUSERCIDNAME=Appnor Sales") in new stack
  512.     -- Executing [s@macro-user-callerid:8] ExecIf("PJSIP/300-00000063", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
  513.     -- Executing [s@macro-user-callerid:9] GotoIf("PJSIP/300-00000063", "0?report") in new stack
  514.     -- Executing [s@macro-user-callerid:10] Set("PJSIP/300-00000063", "AMPUSERCID=300") in new stack
  515.     -- Executing [s@macro-user-callerid:11] Set("PJSIP/300-00000063", "__DIAL_OPTIONS=Ttr") in new stack
  516.     -- Executing [s@macro-user-callerid:12] Set("PJSIP/300-00000063", "CALLERID(all)="Appnor Sales" <300>") in new stack
  517.     -- Executing [s@macro-user-callerid:13] GotoIf("PJSIP/300-00000063", "0?limit") in new stack
  518.     -- Executing [s@macro-user-callerid:14] ExecIf("PJSIP/300-00000063", "0?Set(GROUP(concurrency_limit)=300)") in new stack
  519.     -- Executing [s@macro-user-callerid:15] ExecIf("PJSIP/300-00000063", "0?Set(CHANNEL(language)=)") in new stack
  520.     -- Executing [s@macro-user-callerid:16] NoOp("PJSIP/300-00000063", "Macro Depth is 1") in new stack
  521.     -- Executing [s@macro-user-callerid:17] GotoIf("PJSIP/300-00000063", "1?report2:macroerror") in new stack
  522.     -- Goto (macro-user-callerid,s,19)
  523.     -- Executing [s@macro-user-callerid:19] GotoIf("PJSIP/300-00000063", "0?continue") in new stack
  524.     -- Executing [s@macro-user-callerid:20] Set("PJSIP/300-00000063", "__TTL=64") in new stack
  525.     -- Executing [s@macro-user-callerid:21] GotoIf("PJSIP/300-00000063", "1?continue") in new stack
  526.     -- Goto (macro-user-callerid,s,37)
  527.     -- Executing [s@macro-user-callerid:37] Set("PJSIP/300-00000063", "CALLERID(number)=300") in new stack
  528.     -- Executing [s@macro-user-callerid:38] Set("PJSIP/300-00000063", "CALLERID(name)=Appnor Sales") in new stack
  529.     -- Executing [s@macro-user-callerid:39] GotoIf("PJSIP/300-00000063", "0?cnum") in new stack
  530.     -- Executing [s@macro-user-callerid:40] Set("PJSIP/300-00000063", "CDR(cnam)=Appnor Sales") in new stack
  531.     -- Executing [s@macro-user-callerid:41] Set("PJSIP/300-00000063", "CDR(cnum)=300") in new stack
  532.     -- Executing [s@macro-user-callerid:42] Set("PJSIP/300-00000063", "CHANNEL(language)=en") in new stack
  533.     -- Executing [201@followme-sub:2] Set("PJSIP/300-00000063", "DIAL_OPTIONS=TtrI") in new stack
  534.     -- Executing [201@followme-sub:3] Set("PJSIP/300-00000063", "CONNECTEDLINE(num,i)=201") in new stack
  535.     -- Executing [201@followme-sub:4] Gosub("PJSIP/300-00000063", "sub-presencestate-display,s,1(201)") in new stack
  536.     -- Executing [s@sub-presencestate-display:1] Goto("PJSIP/300-00000063", "state-available,1") in new stack
  537.     -- Goto (sub-presencestate-display,state-available,1)
  538.     -- Executing [state-available@sub-presencestate-display:1] Set("PJSIP/300-00000063", "PRESENCESTATE_DISPLAY=(Available)") in new stack
  539.     -- Executing [state-available@sub-presencestate-display:2] Return("PJSIP/300-00000063", "") in new stack
  540.     -- Executing [201@followme-sub:5] Set("PJSIP/300-00000063", "CONNECTEDLINE(name)=System Administrator(Available)") in new stack
  541.     -- Executing [201@followme-sub:6] Set("PJSIP/300-00000063", "FM_DIALSTATUS=NOT_INUSE") in new stack
  542.     -- Executing [201@followme-sub:7] Set("PJSIP/300-00000063", "__EXTTOCALL=201") in new stack
  543.     -- Executing [201@followme-sub:8] Set("PJSIP/300-00000063", "__PICKUPMARK=201") in new stack
  544.     -- Executing [201@followme-sub:9] Macro("PJSIP/300-00000063", "blkvm-setifempty,") in new stack
  545.     -- Executing [s@macro-blkvm-setifempty:1] GotoIf("PJSIP/300-00000063", "1?init") in new stack
  546.     -- Goto (macro-blkvm-setifempty,s,4)
  547.     -- Executing [s@macro-blkvm-setifempty:4] Set("PJSIP/300-00000063", "__BLKVM_CHANNEL=PJSIP/300-00000063") in new stack
  548.     -- Executing [s@macro-blkvm-setifempty:5] Set("PJSIP/300-00000063", "SHARED(BLKVM,PJSIP/300-00000063)=TRUE") in new stack
  549.     -- Executing [s@macro-blkvm-setifempty:6] Set("PJSIP/300-00000063", "GOSUB_RETVAL=TRUE") in new stack
  550.     -- Executing [s@macro-blkvm-setifempty:7] MacroExit("PJSIP/300-00000063", "") in new stack
  551.     -- Executing [201@followme-sub:10] GotoIf("PJSIP/300-00000063", "1?skipov") in new stack
  552.     -- Goto (followme-sub,201,13)
  553.     -- Executing [201@followme-sub:13] Set("PJSIP/300-00000063", "RRNODEST=") in new stack
  554.     -- Executing [201@followme-sub:14] Set("PJSIP/300-00000063", "__NODEST=201") in new stack
  555.     -- Executing [201@followme-sub:15] GosubIf("PJSIP/300-00000063", "0?sub-fmsetcid,s,1()") in new stack
  556.     -- Executing [201@followme-sub:16] GotoIf("PJSIP/300-00000063", "1?skipprepend") in new stack
  557.     -- Goto (followme-sub,201,18)
  558.     -- Executing [201@followme-sub:18] Set("PJSIP/300-00000063", "RecordMethod=Group") in new stack
  559.     -- Executing [201@followme-sub:19] Gosub("PJSIP/300-00000063", "sub-record-check,s,1(exten,201,)") in new stack
  560.     -- Executing [s@sub-record-check:1] GotoIf("PJSIP/300-00000063", "0?initialized") in new stack
  561.     -- Executing [s@sub-record-check:2] Set("PJSIP/300-00000063", "__REC_STATUS=INITIALIZED") in new stack
  562.     -- Executing [s@sub-record-check:3] Set("PJSIP/300-00000063", "NOW=1516650160") in new stack
  563.     -- Executing [s@sub-record-check:4] Set("PJSIP/300-00000063", "__DAY=22") in new stack
  564.     -- Executing [s@sub-record-check:5] Set("PJSIP/300-00000063", "__MONTH=01") in new stack
  565.     -- Executing [s@sub-record-check:6] Set("PJSIP/300-00000063", "__YEAR=2018") in new stack
  566.     -- Executing [s@sub-record-check:7] Set("PJSIP/300-00000063", "__TIMESTR=20180122-194240") in new stack
  567.     -- Executing [s@sub-record-check:8] Set("PJSIP/300-00000063", "__FROMEXTEN=300") in new stack
  568.     -- Executing [s@sub-record-check:9] Set("PJSIP/300-00000063", "__MON_FMT=wav") in new stack
  569.     -- Executing [s@sub-record-check:10] NoOp("PJSIP/300-00000063", "Recordings initialized") in new stack
  570.     -- Executing [s@sub-record-check:11] ExecIf("PJSIP/300-00000063", "1?Set(ARG3=dontcare)") in new stack
  571.     -- Executing [s@sub-record-check:12] Set("PJSIP/300-00000063", "REC_POLICY_MODE_SAVE=") in new stack
  572.     -- Executing [s@sub-record-check:13] ExecIf("PJSIP/300-00000063", "0?Set(REC_STATUS=NO)") in new stack
  573.     -- Executing [s@sub-record-check:14] GotoIf("PJSIP/300-00000063", "5?checkaction") in new stack
  574.     -- Goto (sub-record-check,s,17)
  575.     -- Executing [s@sub-record-check:17] GotoIf("PJSIP/300-00000063", "1?sub-record-check,exten,1") in new stack
  576.     -- Goto (sub-record-check,exten,1)
  577.     -- Executing [exten@sub-record-check:1] NoOp("PJSIP/300-00000063", "Exten Recording Check between 300 and 201") in new stack
  578.     -- Executing [exten@sub-record-check:2] Set("PJSIP/300-00000063", "CALLTYPE=internal") in new stack
  579.     -- Executing [exten@sub-record-check:3] ExecIf("PJSIP/300-00000063", "0?Set(CALLTYPE=)") in new stack
  580.     -- Executing [exten@sub-record-check:4] Set("PJSIP/300-00000063", "CALLEE=force") in new stack
  581.     -- Executing [exten@sub-record-check:5] ExecIf("PJSIP/300-00000063", "0?Set(CALLEE=dontcare)") in new stack
  582.     -- Executing [exten@sub-record-check:6] GotoIf("PJSIP/300-00000063", "0?callee") in new stack
  583.     -- Executing [exten@sub-record-check:7] GotoIf("PJSIP/300-00000063", "0?caller") in new stack
  584.     -- Executing [exten@sub-record-check:8] ExecIf("PJSIP/300-00000063", "2?Set(CALLER_PRI=10):Set(CALLER_PRI=0)") in new stack
  585.     -- Executing [exten@sub-record-check:9] ExecIf("PJSIP/300-00000063", "2?Set(CALLEE_PRI=10):Set(CALLEE_PRI=0)") in new stack
  586.     -- Executing [exten@sub-record-check:10] GotoIf("PJSIP/300-00000063", "1?caller:callee") in new stack
  587.     -- Goto (sub-record-check,exten,13)
  588.     -- Executing [exten@sub-record-check:13] Set("PJSIP/300-00000063", "RECMODE=dontcare") in new stack
  589.     -- Executing [exten@sub-record-check:14] ExecIf("PJSIP/300-00000063", "0?Set(RECMODE=dontcare)") in new stack
  590.     -- Executing [exten@sub-record-check:15] ExecIf("PJSIP/300-00000063", "1?Set(RECMODE=force)") in new stack
  591.     -- Executing [exten@sub-record-check:16] Gosub("PJSIP/300-00000063", "recordcheck,1(force,internal,201)") in new stack
  592.     -- Executing [recordcheck@sub-record-check:1] NoOp("PJSIP/300-00000063", "Starting recording check against force") in new stack
  593.     -- Executing [recordcheck@sub-record-check:2] Goto("PJSIP/300-00000063", "force") in new stack
  594.     -- Goto (sub-record-check,recordcheck,5)
  595.     -- Executing [recordcheck@sub-record-check:5] Set("PJSIP/300-00000063", "__REC_POLICY_MODE=FORCE") in new stack
  596.     -- Executing [recordcheck@sub-record-check:6] GotoIf("PJSIP/300-00000063", "1?startrec") in new stack
  597.     -- Goto (sub-record-check,recordcheck,16)
  598.     -- Executing [recordcheck@sub-record-check:16] NoOp("PJSIP/300-00000063", "Starting recording: internal, 201") in new stack
  599.     -- Executing [recordcheck@sub-record-check:17] Set("PJSIP/300-00000063", "AUDIOHOOK_INHERIT(MixMonitor)=yes") in new stack
  600.     -- Executing [recordcheck@sub-record-check:18] Set("PJSIP/300-00000063", "__CALLFILENAME=internal-201-300-20180122-194240-1516650160.147") in new stack
  601.     -- Executing [recordcheck@sub-record-check:19] MixMonitor("PJSIP/300-00000063", "2018/01/22/internal-201-300-20180122-194240-1516650160.147.wav,abi(LOCAL_MIXMON_ID),") in new stack
  602.     -- Executing [recordcheck@sub-record-check:20] Set("PJSIP/300-00000063", "__MIXMON_ID=0x7f35c002e700") in new stack
  603.     -- Executing [recordcheck@sub-record-check:21] Set("PJSIP/300-00000063", "__RECORD_ID=PJSIP/300-00000063") in new stack
  604.     -- Executing [recordcheck@sub-record-check:22] Set("PJSIP/300-00000063", "__REC_STATUS=RECORDING") in new stack
  605.     -- Executing [recordcheck@sub-record-check:23] Set("PJSIP/300-00000063", "CDR(recordingfile)=internal-201-300-20180122-194240-1516650160.147.wav") in new stack
  606.     -- Executing [recordcheck@sub-record-check:24] Return("PJSIP/300-00000063", "") in new stack
  607.     -- Executing [exten@sub-record-check:17] Return("PJSIP/300-00000063", "") in new stack
  608.     -- Executing [201@followme-sub:20] GotoIf("PJSIP/300-00000063", "1?skipdring") in new stack
  609.     -- Goto (followme-sub,201,23)
  610.     -- Executing [201@followme-sub:23] Set("PJSIP/300-00000063", "STRATEGY=ringall") in new stack
  611.     -- Executing [201@followme-sub:24] Set("PJSIP/300-00000063", "__RVOL=") in new stack
  612.     -- Executing [201@followme-sub:25] GotoIf("PJSIP/300-00000063", "0?skipsimple") in new stack
  613.     -- Executing [201@followme-sub:26] GotoIf("PJSIP/300-00000063", "1 ?skipsimple") in new stack
  614.     -- Goto (followme-sub,201,28)
  615.     -- Executing [201@followme-sub:28] Set("PJSIP/300-00000063", "RingGroupMethod=ringall") in new stack
  616.     -- Executing [201@followme-sub:29] Set("PJSIP/300-00000063", "_FMGRP=201") in new stack
  617.     -- Executing [201@followme-sub:30] GotoIf("PJSIP/300-00000063", "1?DIALGRP") in new stack
  618.     -- Goto (followme-sub,201,34)
  619.     -- Executing [201@followme-sub:34] ExecIf("PJSIP/300-00000063", "0?Set(DOPTS=TtrI):Set(DOPTS=m(default)TtI)") in new stack
  620.     -- Executing [201@followme-sub:35] Set("PJSIP/300-00000063", "__ALT_CONFIRM_MSG=") in new stack
  621.     -- Executing [201@followme-sub:36] GotoIf("PJSIP/300-00000063", "0?doconfirm") in new stack
  622.     -- Executing [201@followme-sub:37] GotoIf("PJSIP/300-00000063", "0?ringallv21") in new stack
  623.     -- Executing [201@followme-sub:38] Macro("PJSIP/300-00000063", "dial,20,m(default)TtI,40748881658#") in new stack
  624.     -- Executing [s@macro-dial:1] NoOp("PJSIP/300-00000063", "Blind Transfer: , Attended Transfer: , User: 300, Alert Info: ") in new stack
  625.     -- Executing [s@macro-dial:2] Set("PJSIP/300-00000063", "__CRM_SOURCE=300") in new stack
  626.     -- Executing [s@macro-dial:3] ExecIf("PJSIP/300-00000063", "1?Set(ALERT_INFO=)") in new stack
  627.     -- Executing [s@macro-dial:4] ExecIf("PJSIP/300-00000063", "0?Set(ALERT_INFO=)") in new stack
  628.     -- Executing [s@macro-dial:5] ExecIf("PJSIP/300-00000063", "0?Set(ALERT_INFO=)") in new stack
  629.     -- Executing [s@macro-dial:6] ExecIf("PJSIP/300-00000063", "0?Set(CHANNEL(musicclass)=)") in new stack
  630.     -- Executing [s@macro-dial:7] AGI("PJSIP/300-00000063", "dialparties.agi") in new stack
  631.     -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
  632.   == Begin MixMonitor Recording PJSIP/300-00000063
  633.  dialparties.agi: Starting New Dialparties.agi
  634.  dialparties.agi: Caller ID name is 'Appnor Sales' number is '300'
  635.  dialparties.agi: CW Ignore is:
  636.  dialparties.agi: CF Ignore is:
  637.  dialparties.agi: CW IN_USE/BUSY is: 1
  638.        > dialparties.agi: USE_CONFIRMATION:  'FALSE'
  639.        > dialparties.agi: RINGGROUP_INDEX:   ''
  640.  dialparties.agi: Methodology of ring is  'ringall'
  641.     -- dialparties.agi: Added extension 40748881658# to extension map
  642.     -- dialparties.agi: Extension 40748881658# cf is disabled
  643.        > dialparties.agi: extnum 40748881658# has:  cw: 0; hascfb: 0 [] hascfu: 0 []
  644.        > dialparties.agi: Built External dialstring component for 40748881658: Local/40748881658@from-internal/n
  645.     -- dialparties.agi: Filtered ARG3: 40748881658
  646.        > dialparties.agi: NODEST: 201 adding M(auto-blkvm) to dialopts: m(default)TtIM(auto-blkvm)
  647.        > dialparties.agi: NODEST: 201 blkvm enabled macro already in dialopts: m(default)TtIM(auto-blkvm)
  648.  dialparties.agi: RVOL_MODE ''
  649.  dialparties.agi: RVOL is:
  650.  dialparties.agi: RVOLPARENT is:
  651.     -- <PJSIP/300-00000063>AGI Script dialparties.agi completed, returning 0
  652.     -- Executing [s@macro-dial:10] NoOp("PJSIP/300-00000063", "Returned from dialparties with groups to dial") in new stack
  653.     -- Executing [s@macro-dial:11] NoOp("PJSIP/300-00000063", "ringall array  ") in new stack
  654.     -- Executing [s@macro-dial:12] Set("PJSIP/300-00000063", "__FMGL_DIAL=") in new stack
  655.     -- Executing [s@macro-dial:13] Set("PJSIP/300-00000063", "LOOPCNT=1") in new stack
  656.     -- Executing [s@macro-dial:14] Set("PJSIP/300-00000063", "ITER=1") in new stack
  657.     -- Executing [s@macro-dial:15] Set("PJSIP/300-00000063", "EXTTOCALL=40748881658") in new stack
  658.     -- Executing [s@macro-dial:16] NoOp("PJSIP/300-00000063", "Working with 40748881658") in new stack
  659.     -- Executing [s@macro-dial:17] ExecIf("PJSIP/300-00000063", "0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)") in new stack
  660.     -- Executing [s@macro-dial:18] ExecIf("PJSIP/300-00000063", "0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)") in new stack
  661.     -- Executing [s@macro-dial:19] Set("PJSIP/300-00000063", "ITER=2") in new stack
  662.     -- Executing [s@macro-dial:20] GotoIf("PJSIP/300-00000063", "0?ndloopbegin") in new stack
  663.     -- Executing [s@macro-dial:21] Macro("PJSIP/300-00000063", "dial-ringall-predial-hook,") in new stack
  664.     -- Executing [s@macro-dial-ringall-predial-hook:1] MacroExit("PJSIP/300-00000063", "") in new stack
  665.     -- Executing [s@macro-dial:22] Dial("PJSIP/300-00000063", "Local/40748881658@from-internal/n,20,m(default)TtIM(auto-blkvm)b(func-apply-sipheaders^s^1),") in new stack
  666.     -- Local/40748881658@from-internal-00000018;1 Internal Gosub(func-apply-sipheaders,s,1) start
  667.     -- Executing [s@func-apply-sipheaders:1] ExecIf("Local/40748881658@from-internal-00000018;1", "0?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)") in new stack
  668.     -- Executing [s@func-apply-sipheaders:2] NoOp("Local/40748881658@from-internal-00000018;1", "Applying SIP Headers to channel") in new stack
  669.     -- Executing [s@func-apply-sipheaders:3] Set("Local/40748881658@from-internal-00000018;1", "SIPHEADERKEYS=") in new stack
  670.     -- Executing [s@func-apply-sipheaders:4] While("Local/40748881658@from-internal-00000018;1", "0") in new stack
  671.     -- Jumping to priority 7
  672.     -- Executing [s@func-apply-sipheaders:8] Return("Local/40748881658@from-internal-00000018;1", "") in new stack
  673.   == Spawn extension (from-internal, 201, 1) exited non-zero on 'Local/40748881658@from-internal-00000018;1'
  674.     -- Local/40748881658@from-internal-00000018;1 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
  675.     -- Called Local/40748881658@from-internal/n
  676.     -- Started music on hold, class 'default', on channel 'PJSIP/300-00000063'
  677. [2018-01-22 19:42:40] WARNING[14256][C-00000024]: translate.c:407 framein: no samples for ulawtolin
  678.     -- Executing [40748881658@from-internal:1] Macro("Local/40748881658@from-internal-00000018;2", "user-callerid,LIMIT,EXTERNAL,") in new stack
  679.        > 0x7f35c8172110 -- Strict RTP learning after remote address set to: 10.11.12.154:16430
  680.     -- Executing [s@macro-user-callerid:1] Set("Local/40748881658@from-internal-00000018;2", "TOUCH_MONITOR=1516650160.149") in new stack
  681.     -- Executing [s@macro-user-callerid:2] Set("Local/40748881658@from-internal-00000018;2", "AMPUSER=300") in new stack
  682.     -- Executing [s@macro-user-callerid:3] GotoIf("Local/40748881658@from-internal-00000018;2", "0?report") in new stack
  683.     -- Executing [s@macro-user-callerid:4] ExecIf("Local/40748881658@from-internal-00000018;2", "1?Set(REALCALLERIDNUM=300)") in new stack
  684.     -- Executing [s@macro-user-callerid:5] Set("Local/40748881658@from-internal-00000018;2", "AMPUSER=300") in new stack
  685.     -- Executing [s@macro-user-callerid:6] GotoIf("Local/40748881658@from-internal-00000018;2", "0?limit") in new stack
  686.     -- Executing [s@macro-user-callerid:7] Set("Local/40748881658@from-internal-00000018;2", "AMPUSERCIDNAME=Appnor Sales") in new stack
  687.     -- Executing [s@macro-user-callerid:8] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
  688.     -- Executing [s@macro-user-callerid:9] GotoIf("Local/40748881658@from-internal-00000018;2", "0?report") in new stack
  689.     -- Executing [s@macro-user-callerid:10] Set("Local/40748881658@from-internal-00000018;2", "AMPUSERCID=300") in new stack
  690.     -- Executing [s@macro-user-callerid:11] Set("Local/40748881658@from-internal-00000018;2", "__DIAL_OPTIONS=Ttr") in new stack
  691.     -- Executing [s@macro-user-callerid:12] Set("Local/40748881658@from-internal-00000018;2", "CALLERID(all)="Appnor Sales" <300>") in new stack
  692.     -- Executing [s@macro-user-callerid:13] GotoIf("Local/40748881658@from-internal-00000018;2", "0?limit") in new stack
  693.     -- Executing [s@macro-user-callerid:14] ExecIf("Local/40748881658@from-internal-00000018;2", "1?Set(GROUP(concurrency_limit)=300)") in new stack
  694.     -- Executing [s@macro-user-callerid:15] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(CHANNEL(language)=)") in new stack
  695.     -- Executing [s@macro-user-callerid:16] NoOp("Local/40748881658@from-internal-00000018;2", "Macro Depth is 1") in new stack
  696.     -- Executing [s@macro-user-callerid:17] GotoIf("Local/40748881658@from-internal-00000018;2", "1?report2:macroerror") in new stack
  697.     -- Goto (macro-user-callerid,s,19)
  698.     -- Executing [s@macro-user-callerid:19] GotoIf("Local/40748881658@from-internal-00000018;2", "1?continue") in new stack
  699.     -- Goto (macro-user-callerid,s,37)
  700.     -- Executing [s@macro-user-callerid:37] Set("Local/40748881658@from-internal-00000018;2", "CALLERID(number)=300") in new stack
  701.     -- Executing [s@macro-user-callerid:38] Set("Local/40748881658@from-internal-00000018;2", "CALLERID(name)=Appnor Sales") in new stack
  702.     -- Executing [s@macro-user-callerid:39] GotoIf("Local/40748881658@from-internal-00000018;2", "0?cnum") in new stack
  703.     -- Executing [s@macro-user-callerid:40] Set("Local/40748881658@from-internal-00000018;2", "CDR(cnam)=Appnor Sales") in new stack
  704.     -- Executing [s@macro-user-callerid:41] Set("Local/40748881658@from-internal-00000018;2", "CDR(cnum)=300") in new stack
  705.     -- Executing [s@macro-user-callerid:42] Set("Local/40748881658@from-internal-00000018;2", "CHANNEL(language)=en") in new stack
  706.     -- Executing [40748881658@from-internal:2] Gosub("Local/40748881658@from-internal-00000018;2", "sub-record-check,s,1(out,40748881658,dontcare)") in new stack
  707.     -- Executing [s@sub-record-check:1] GotoIf("Local/40748881658@from-internal-00000018;2", "3?initialized") in new stack
  708.     -- Goto (sub-record-check,s,10)
  709.     -- Executing [s@sub-record-check:10] NoOp("Local/40748881658@from-internal-00000018;2", "Recordings initialized") in new stack
  710.     -- Executing [s@sub-record-check:11] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(ARG3=dontcare)") in new stack
  711.     -- Executing [s@sub-record-check:12] Set("Local/40748881658@from-internal-00000018;2", "REC_POLICY_MODE_SAVE=FORCE") in new stack
  712.     -- Executing [s@sub-record-check:13] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(REC_STATUS=NO)") in new stack
  713.     -- Executing [s@sub-record-check:14] GotoIf("Local/40748881658@from-internal-00000018;2", "3?checkaction") in new stack
  714.     -- Goto (sub-record-check,s,17)
  715.     -- Executing [s@sub-record-check:17] GotoIf("Local/40748881658@from-internal-00000018;2", "1?sub-record-check,out,1") in new stack
  716.     -- Goto (sub-record-check,out,1)
  717.     -- Executing [out@sub-record-check:1] NoOp("Local/40748881658@from-internal-00000018;2", "Outbound Recording Check from 300 to 40748881658") in new stack
  718.     -- Executing [out@sub-record-check:2] Set("Local/40748881658@from-internal-00000018;2", "RECMODE=dontcare") in new stack
  719.     -- Executing [out@sub-record-check:3] ExecIf("Local/40748881658@from-internal-00000018;2", "1?Goto(routewins)") in new stack
  720.     -- Goto (sub-record-check,out,7)
  721.     -- Executing [out@sub-record-check:7] Gosub("Local/40748881658@from-internal-00000018;2", "recordcheck,1(dontcare,out,40748881658)") in new stack
  722.     -- Executing [recordcheck@sub-record-check:1] NoOp("Local/40748881658@from-internal-00000018;2", "Starting recording check against dontcare") in new stack
  723.     -- Executing [recordcheck@sub-record-check:2] Goto("Local/40748881658@from-internal-00000018;2", "dontcare") in new stack
  724.     -- Goto (sub-record-check,recordcheck,3)
  725.     -- Executing [recordcheck@sub-record-check:3] Return("Local/40748881658@from-internal-00000018;2", "") in new stack
  726.     -- Executing [out@sub-record-check:8] Return("Local/40748881658@from-internal-00000018;2", "") in new stack
  727.     -- Executing [40748881658@from-internal:3] ExecIf("Local/40748881658@from-internal-00000018;2", "0 ?Set(CDR(accountcode)=)") in new stack
  728.     -- Executing [40748881658@from-internal:4] Set("Local/40748881658@from-internal-00000018;2", "MOHCLASS=default") in new stack
  729.     -- Executing [40748881658@from-internal:5] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(TRUNKCIDOVERRIDE=Sysadmin <40215694656>)") in new stack
  730.     -- Executing [40748881658@from-internal:6] Set("Local/40748881658@from-internal-00000018;2", "_NODEST=") in new stack
  731.     -- Executing [40748881658@from-internal:7] Macro("Local/40748881658@from-internal-00000018;2", "dialout-trunk,1,40748881658,,on") in new stack
  732.     -- Executing [s@macro-dialout-trunk:1] Set("Local/40748881658@from-internal-00000018;2", "DIAL_TRUNK=1") in new stack
  733.     -- Executing [s@macro-dialout-trunk:2] GosubIf("Local/40748881658@from-internal-00000018;2", "0?sub-pincheck,s,1()") in new stack
  734.     -- Executing [s@macro-dialout-trunk:3] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(CALLERID(num)=300)") in new stack
  735.     -- Executing [s@macro-dialout-trunk:4] GotoIf("Local/40748881658@from-internal-00000018;2", "0?disabletrunk,1") in new stack
  736.     -- Executing [s@macro-dialout-trunk:5] Set("Local/40748881658@from-internal-00000018;2", "DIAL_NUMBER=40748881658") in new stack
  737.     -- Executing [s@macro-dialout-trunk:6] Set("Local/40748881658@from-internal-00000018;2", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
  738.     -- Executing [s@macro-dialout-trunk:7] Set("Local/40748881658@from-internal-00000018;2", "OUTBOUND_GROUP=OUT_1") in new stack
  739.     -- Executing [s@macro-dialout-trunk:8] Set("Local/40748881658@from-internal-00000018;2", "DIAL_TRUNK_OPTIONS=Tt") in new stack
  740.     -- Executing [s@macro-dialout-trunk:9] GotoIf("Local/40748881658@from-internal-00000018;2", "0?nomax") in new stack
  741.     -- Executing [s@macro-dialout-trunk:10] GotoIf("Local/40748881658@from-internal-00000018;2", "0?chanfull") in new stack
  742.     -- Executing [s@macro-dialout-trunk:11] GotoIf("Local/40748881658@from-internal-00000018;2", "0?skipoutcid") in new stack
  743.     -- Executing [s@macro-dialout-trunk:12] Macro("Local/40748881658@from-internal-00000018;2", "outbound-callerid,1") in new stack
  744.     -- Executing [s@macro-outbound-callerid:1] NoOp("Local/40748881658@from-internal-00000018;2", "300") in new stack
  745.     -- Executing [s@macro-outbound-callerid:2] NoOp("Local/40748881658@from-internal-00000018;2", "TRUE") in new stack
  746.     -- Executing [s@macro-outbound-callerid:3] NoOp("Local/40748881658@from-internal-00000018;2", "off") in new stack
  747.     -- Executing [s@macro-outbound-callerid:4] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(CALLERPRES(name-pres)=)") in new stack
  748.        > 0x7f35c8172110 -- Strict RTP switching to RTP target address 10.11.12.154:16430 as source
  749.     -- Executing [s@macro-outbound-callerid:5] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(CALLERPRES(num-pres)=)") in new stack
  750.     -- Executing [s@macro-outbound-callerid:6] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(REALCALLERIDNUM=300)") in new stack
  751.     -- Executing [s@macro-outbound-callerid:7] GotoIf("Local/40748881658@from-internal-00000018;2", "0?normcid") in new stack
  752.     -- Executing [s@macro-outbound-callerid:8] Set("Local/40748881658@from-internal-00000018;2", "USEROUTCID=300") in new stack
  753.     -- Executing [s@macro-outbound-callerid:9] GotoIf("Local/40748881658@from-internal-00000018;2", "0?normcid") in new stack
  754.     -- Executing [s@macro-outbound-callerid:10] GotoIf("Local/40748881658@from-internal-00000018;2", "0?bypass") in new stack
  755.     -- Executing [s@macro-outbound-callerid:11] Set("Local/40748881658@from-internal-00000018;2", "USEROUTCID="Appnor Sales" <40215694650>") in new stack
  756.     -- Executing [s@macro-outbound-callerid:12] Set("Local/40748881658@from-internal-00000018;2", "EMERGENCYCID=") in new stack
  757.     -- Executing [s@macro-outbound-callerid:13] Set("Local/40748881658@from-internal-00000018;2", "TRUNKOUTCID=40215694656") in new stack
  758.     -- Executing [s@macro-outbound-callerid:14] GotoIf("Local/40748881658@from-internal-00000018;2", "1?trunkcid") in new stack
  759.     -- Goto (macro-outbound-callerid,s,19)
  760.     -- Executing [s@macro-outbound-callerid:19] ExecIf("Local/40748881658@from-internal-00000018;2", "1?Set(CALLERID(all)=40215694656)") in new stack
  761.     -- Executing [s@macro-outbound-callerid:20] ExecIf("Local/40748881658@from-internal-00000018;2", "1?Set(CALLERID(all)="Appnor Sales" <40215694650>)") in new stack
  762.     -- Executing [s@macro-outbound-callerid:21] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(CALLERID(all)=)") in new stack
  763.     -- Executing [s@macro-outbound-callerid:22] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
  764.     -- Executing [s@macro-outbound-callerid:23] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
  765.     -- Executing [s@macro-outbound-callerid:24] Set("Local/40748881658@from-internal-00000018;2", "CDR(outbound_cnum)=40215694650") in new stack
  766.     -- Executing [s@macro-outbound-callerid:25] Set("Local/40748881658@from-internal-00000018;2", "CDR(outbound_cnam)=Appnor Sales") in new stack
  767.     -- Executing [s@macro-dialout-trunk:13] GosubIf("Local/40748881658@from-internal-00000018;2", "0?sub-flp-1,s,1()") in new stack
  768.     -- Executing [s@macro-dialout-trunk:14] Set("Local/40748881658@from-internal-00000018;2", "OUTNUM=40748881658") in new stack
  769.     -- Executing [s@macro-dialout-trunk:15] Set("Local/40748881658@from-internal-00000018;2", "custom=PJSIP") in new stack
  770.     -- Executing [s@macro-dialout-trunk:16] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
  771.     -- Executing [s@macro-dialout-trunk:17] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
  772.     -- Executing [s@macro-dialout-trunk:18] Macro("Local/40748881658@from-internal-00000018;2", "dialout-trunk-predial-hook,") in new stack
  773.     -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("Local/40748881658@from-internal-00000018;2", "") in new stack
  774.     -- Executing [s@macro-dialout-trunk:19] GotoIf("Local/40748881658@from-internal-00000018;2", "0?skipcrm") in new stack
  775.     -- Executing [s@macro-dialout-trunk:20] Set("Local/40748881658@from-internal-00000018;2", "__CRM_DIRECTION=OUTBOUND") in new stack
  776.     -- Executing [s@macro-dialout-trunk:21] Set("Local/40748881658@from-internal-00000018;2", "__CRM_DESTINATION=40748881658") in new stack
  777.     -- Executing [s@macro-dialout-trunk:22] Set("Local/40748881658@from-internal-00000018;2", "__CRM_SOURCE=300") in new stack
  778.     -- Executing [s@macro-dialout-trunk:23] AGI("Local/40748881658@from-internal-00000018;2", "sangomacrm.agi") in new stack
  779.     -- Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
  780.     -- <Local/40748881658@from-internal-00000018;2>AGI Script sangomacrm.agi completed, returning 0
  781.     -- Executing [s@macro-dialout-trunk:24] Set("Local/40748881658@from-internal-00000018;2", "CHANNEL(hangup_handler_push)=crm-hangup,s,1") in new stack
  782.     -- Executing [s@macro-dialout-trunk:25] NoOp("Local/40748881658@from-internal-00000018;2", "CRM Finished") in new stack
  783.     -- Executing [s@macro-dialout-trunk:26] GotoIf("Local/40748881658@from-internal-00000018;2", "0?bypass,1") in new stack
  784.     -- Executing [s@macro-dialout-trunk:27] ExecIf("Local/40748881658@from-internal-00000018;2", "1?Set(CONNECTEDLINE(num,i)=40748881658)") in new stack
  785.     -- Executing [s@macro-dialout-trunk:28] ExecIf("Local/40748881658@from-internal-00000018;2", "1?Set(CONNECTEDLINE(name,i)=CID:40215694650)") in new stack
  786.     -- Executing [s@macro-dialout-trunk:29] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)40215694650)") in new stack
  787.     -- Executing [s@macro-dialout-trunk:30] GotoIf("Local/40748881658@from-internal-00000018;2", "0?customtrunk") in new stack
  788.     -- Executing [s@macro-dialout-trunk:31] Dial("Local/40748881658@from-internal-00000018;2", "PJSIP/40748881658@40215694656,300,Tt") in new stack
  789.     -- Called PJSIP/40748881658@40215694656
  790.     -- Connected line update to PJSIP/300-00000063 prevented.
  791.        > 0x7f35c80ec270 -- Strict RTP learning after remote address set to: 193.16.148.244:41832
  792.     -- PJSIP/40215694656-00000064 is making progress passing it to Local/40748881658@from-internal-00000018;2
  793.     -- Local/40748881658@from-internal-00000018;1 is making progress passing it to PJSIP/300-00000063
  794.        > 0x7f35c80ec270 -- Strict RTP switching to RTP target address 193.16.148.244:41832 as source
  795.        > 0x7f35c8172110 -- Strict RTP learning complete - Locking on source address 10.11.12.154:16430
  796.        > 0x7f35c80ec270 -- Strict RTP learning complete - Locking on source address 193.16.148.244:41832
  797. [2018-01-22 19:42:43] WARNING[5303]: res_pjsip_pubsub.c:685 subscription_get_handler_from_rdata: No registered subscribe handler for event call-info
  798. [2018-01-22 19:42:43] WARNING[5303]: res_pjsip_pubsub.c:685 subscription_get_handler_from_rdata: No registered subscribe handler for event call-info
  799. [2018-01-22 19:42:44] WARNING[5303]: res_pjsip_pubsub.c:685 subscription_get_handler_from_rdata: No registered subscribe handler for event call-info
  800. [2018-01-22 19:42:44] WARNING[5303]: res_pjsip_pubsub.c:685 subscription_get_handler_from_rdata: No registered subscribe handler for event call-info
  801.   == Everyone is busy/congested at this time (1:0/0/1)
  802.     -- Executing [s@macro-dialout-trunk:32] NoOp("Local/40748881658@from-internal-00000018;2", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 21") in new stack
  803.     -- Executing [s@macro-dialout-trunk:33] GotoIf("Local/40748881658@from-internal-00000018;2", "1?continue,1:s-CHANUNAVAIL,1") in new stack
  804.     -- Goto (macro-dialout-trunk,continue,1)
  805.     -- Executing [continue@macro-dialout-trunk:1] NoOp("Local/40748881658@from-internal-00000018;2", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 21 - failing through to other trunks") in new stack
  806.     -- Executing [continue@macro-dialout-trunk:2] ExecIf("Local/40748881658@from-internal-00000018;2", "1?Set(CALLERID(number)=300)") in new stack
  807.     -- Executing [40748881658@from-internal:8] Macro("Local/40748881658@from-internal-00000018;2", "dialout-trunk,7,40748881658,,on") in new stack
  808.     -- Executing [s@macro-dialout-trunk:1] Set("Local/40748881658@from-internal-00000018;2", "DIAL_TRUNK=7") in new stack
  809.     -- Executing [s@macro-dialout-trunk:2] GosubIf("Local/40748881658@from-internal-00000018;2", "0?sub-pincheck,s,1()") in new stack
  810.     -- Executing [s@macro-dialout-trunk:3] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(CALLERID(num)=300)") in new stack
  811.     -- Executing [s@macro-dialout-trunk:4] GotoIf("Local/40748881658@from-internal-00000018;2", "0?disabletrunk,1") in new stack
  812.     -- Executing [s@macro-dialout-trunk:5] Set("Local/40748881658@from-internal-00000018;2", "DIAL_NUMBER=40748881658") in new stack
  813.     -- Executing [s@macro-dialout-trunk:6] Set("Local/40748881658@from-internal-00000018;2", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
  814.     -- Executing [s@macro-dialout-trunk:7] Set("Local/40748881658@from-internal-00000018;2", "OUTBOUND_GROUP=OUT_7") in new stack
  815.     -- Executing [s@macro-dialout-trunk:8] Set("Local/40748881658@from-internal-00000018;2", "DIAL_TRUNK_OPTIONS=Tt") in new stack
  816.     -- Executing [s@macro-dialout-trunk:9] GotoIf("Local/40748881658@from-internal-00000018;2", "0?nomax") in new stack
  817.     -- Executing [s@macro-dialout-trunk:10] GotoIf("Local/40748881658@from-internal-00000018;2", "0?chanfull") in new stack
  818.     -- Executing [s@macro-dialout-trunk:11] GotoIf("Local/40748881658@from-internal-00000018;2", "0?skipoutcid") in new stack
  819.     -- Executing [s@macro-dialout-trunk:12] Macro("Local/40748881658@from-internal-00000018;2", "outbound-callerid,7") in new stack
  820.     -- Executing [s@macro-outbound-callerid:1] NoOp("Local/40748881658@from-internal-00000018;2", "300") in new stack
  821.     -- Executing [s@macro-outbound-callerid:2] NoOp("Local/40748881658@from-internal-00000018;2", "TRUE") in new stack
  822.     -- Executing [s@macro-outbound-callerid:3] NoOp("Local/40748881658@from-internal-00000018;2", "off") in new stack
  823.     -- Executing [s@macro-outbound-callerid:4] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(CALLERPRES(name-pres)=)") in new stack
  824.     -- Executing [s@macro-outbound-callerid:5] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(CALLERPRES(num-pres)=)") in new stack
  825.     -- Executing [s@macro-outbound-callerid:6] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(REALCALLERIDNUM=300)") in new stack
  826.     -- Executing [s@macro-outbound-callerid:7] GotoIf("Local/40748881658@from-internal-00000018;2", "0?normcid") in new stack
  827.     -- Executing [s@macro-outbound-callerid:8] Set("Local/40748881658@from-internal-00000018;2", "USEROUTCID=300") in new stack
  828.     -- Executing [s@macro-outbound-callerid:9] GotoIf("Local/40748881658@from-internal-00000018;2", "0?normcid") in new stack
  829.     -- Executing [s@macro-outbound-callerid:10] GotoIf("Local/40748881658@from-internal-00000018;2", "0?bypass") in new stack
  830.     -- Executing [s@macro-outbound-callerid:11] Set("Local/40748881658@from-internal-00000018;2", "USEROUTCID="Appnor Sales" <40215694650>") in new stack
  831.     -- Executing [s@macro-outbound-callerid:12] Set("Local/40748881658@from-internal-00000018;2", "EMERGENCYCID=") in new stack
  832.     -- Executing [s@macro-outbound-callerid:13] Set("Local/40748881658@from-internal-00000018;2", "TRUNKOUTCID=40215694655") in new stack
  833.     -- Executing [s@macro-outbound-callerid:14] GotoIf("Local/40748881658@from-internal-00000018;2", "1?trunkcid") in new stack
  834.     -- Goto (macro-outbound-callerid,s,19)
  835.     -- Executing [s@macro-outbound-callerid:19] ExecIf("Local/40748881658@from-internal-00000018;2", "1?Set(CALLERID(all)=40215694655)") in new stack
  836.     -- Executing [s@macro-outbound-callerid:20] ExecIf("Local/40748881658@from-internal-00000018;2", "1?Set(CALLERID(all)="Appnor Sales" <40215694650>)") in new stack
  837.     -- Executing [s@macro-outbound-callerid:21] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(CALLERID(all)=)") in new stack
  838.     -- Executing [s@macro-outbound-callerid:22] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
  839.     -- Executing [s@macro-outbound-callerid:23] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
  840.     -- Executing [s@macro-outbound-callerid:24] Set("Local/40748881658@from-internal-00000018;2", "CDR(outbound_cnum)=40215694650") in new stack
  841.     -- Executing [s@macro-outbound-callerid:25] Set("Local/40748881658@from-internal-00000018;2", "CDR(outbound_cnam)=Appnor Sales") in new stack
  842.     -- Executing [s@macro-dialout-trunk:13] GosubIf("Local/40748881658@from-internal-00000018;2", "0?sub-flp-7,s,1()") in new stack
  843.     -- Executing [s@macro-dialout-trunk:14] Set("Local/40748881658@from-internal-00000018;2", "OUTNUM=40748881658") in new stack
  844.     -- Executing [s@macro-dialout-trunk:15] Set("Local/40748881658@from-internal-00000018;2", "custom=PJSIP") in new stack
  845.     -- Executing [s@macro-dialout-trunk:16] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
  846.     -- Executing [s@macro-dialout-trunk:17] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
  847.     -- Executing [s@macro-dialout-trunk:18] Macro("Local/40748881658@from-internal-00000018;2", "dialout-trunk-predial-hook,") in new stack
  848.     -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("Local/40748881658@from-internal-00000018;2", "") in new stack
  849.     -- Executing [s@macro-dialout-trunk:19] GotoIf("Local/40748881658@from-internal-00000018;2", "1?skipcrm") in new stack
  850.     -- Goto (macro-dialout-trunk,s,25)
  851.     -- Executing [s@macro-dialout-trunk:25] NoOp("Local/40748881658@from-internal-00000018;2", "CRM Finished") in new stack
  852.     -- Executing [s@macro-dialout-trunk:26] GotoIf("Local/40748881658@from-internal-00000018;2", "0?bypass,1") in new stack
  853.     -- Executing [s@macro-dialout-trunk:27] ExecIf("Local/40748881658@from-internal-00000018;2", "1?Set(CONNECTEDLINE(num,i)=40748881658)") in new stack
  854.     -- Executing [s@macro-dialout-trunk:28] ExecIf("Local/40748881658@from-internal-00000018;2", "1?Set(CONNECTEDLINE(name,i)=CID:40215694650)") in new stack
  855.     -- Executing [s@macro-dialout-trunk:29] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)40215694650)") in new stack
  856.     -- Executing [s@macro-dialout-trunk:30] GotoIf("Local/40748881658@from-internal-00000018;2", "0?customtrunk") in new stack
  857.     -- Executing [s@macro-dialout-trunk:31] Dial("Local/40748881658@from-internal-00000018;2", "PJSIP/40748881658@40215694655,300,Tt") in new stack
  858.     -- Called PJSIP/40748881658@40215694655
  859.        > 0x7f35c805f260 -- Strict RTP learning after remote address set to: 193.16.148.244:41836
  860.     -- PJSIP/40215694655-00000065 is making progress passing it to Local/40748881658@from-internal-00000018;2
  861.     -- Local/40748881658@from-internal-00000018;1 is making progress passing it to PJSIP/300-00000063
  862.        > 0x7f35c805f260 -- Strict RTP switching to RTP target address 193.16.148.244:41836 as source
  863.        > 0x7f35c805f260 -- Strict RTP learning complete - Locking on source address 193.16.148.244:41836
  864.   == Everyone is busy/congested at this time (1:0/0/1)
  865.     -- Executing [s@macro-dialout-trunk:32] NoOp("Local/40748881658@from-internal-00000018;2", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 21") in new stack
  866.     -- Executing [s@macro-dialout-trunk:33] GotoIf("Local/40748881658@from-internal-00000018;2", "1?continue,1:s-CHANUNAVAIL,1") in new stack
  867.     -- Goto (macro-dialout-trunk,continue,1)
  868.     -- Executing [continue@macro-dialout-trunk:1] NoOp("Local/40748881658@from-internal-00000018;2", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 21 - failing through to other trunks") in new stack
  869.     -- Executing [continue@macro-dialout-trunk:2] ExecIf("Local/40748881658@from-internal-00000018;2", "1?Set(CALLERID(number)=300)") in new stack
  870.     -- Executing [40748881658@from-internal:9] Macro("Local/40748881658@from-internal-00000018;2", "dialout-trunk,2,40748881658,,on") in new stack
  871.     -- Executing [s@macro-dialout-trunk:1] Set("Local/40748881658@from-internal-00000018;2", "DIAL_TRUNK=2") in new stack
  872.     -- Executing [s@macro-dialout-trunk:2] GosubIf("Local/40748881658@from-internal-00000018;2", "0?sub-pincheck,s,1()") in new stack
  873.     -- Executing [s@macro-dialout-trunk:3] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(CALLERID(num)=300)") in new stack
  874.     -- Executing [s@macro-dialout-trunk:4] GotoIf("Local/40748881658@from-internal-00000018;2", "0?disabletrunk,1") in new stack
  875.     -- Executing [s@macro-dialout-trunk:5] Set("Local/40748881658@from-internal-00000018;2", "DIAL_NUMBER=40748881658") in new stack
  876.     -- Executing [s@macro-dialout-trunk:6] Set("Local/40748881658@from-internal-00000018;2", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
  877.     -- Executing [s@macro-dialout-trunk:7] Set("Local/40748881658@from-internal-00000018;2", "OUTBOUND_GROUP=OUT_2") in new stack
  878.     -- Executing [s@macro-dialout-trunk:8] Set("Local/40748881658@from-internal-00000018;2", "DIAL_TRUNK_OPTIONS=Tt") in new stack
  879.     -- Executing [s@macro-dialout-trunk:9] GotoIf("Local/40748881658@from-internal-00000018;2", "0?nomax") in new stack
  880.     -- Executing [s@macro-dialout-trunk:10] GotoIf("Local/40748881658@from-internal-00000018;2", "0?chanfull") in new stack
  881.     -- Executing [s@macro-dialout-trunk:11] GotoIf("Local/40748881658@from-internal-00000018;2", "0?skipoutcid") in new stack
  882.     -- Executing [s@macro-dialout-trunk:12] Macro("Local/40748881658@from-internal-00000018;2", "outbound-callerid,2") in new stack
  883.     -- Executing [s@macro-outbound-callerid:1] NoOp("Local/40748881658@from-internal-00000018;2", "300") in new stack
  884.     -- Executing [s@macro-outbound-callerid:2] NoOp("Local/40748881658@from-internal-00000018;2", "TRUE") in new stack
  885.     -- Executing [s@macro-outbound-callerid:3] NoOp("Local/40748881658@from-internal-00000018;2", "off") in new stack
  886.     -- Executing [s@macro-outbound-callerid:4] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(CALLERPRES(name-pres)=)") in new stack
  887.     -- Executing [s@macro-outbound-callerid:5] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(CALLERPRES(num-pres)=)") in new stack
  888.     -- Executing [s@macro-outbound-callerid:6] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(REALCALLERIDNUM=300)") in new stack
  889.     -- Executing [s@macro-outbound-callerid:7] GotoIf("Local/40748881658@from-internal-00000018;2", "0?normcid") in new stack
  890.     -- Executing [s@macro-outbound-callerid:8] Set("Local/40748881658@from-internal-00000018;2", "USEROUTCID=300") in new stack
  891.     -- Executing [s@macro-outbound-callerid:9] GotoIf("Local/40748881658@from-internal-00000018;2", "0?normcid") in new stack
  892.     -- Executing [s@macro-outbound-callerid:10] GotoIf("Local/40748881658@from-internal-00000018;2", "0?bypass") in new stack
  893.     -- Executing [s@macro-outbound-callerid:11] Set("Local/40748881658@from-internal-00000018;2", "USEROUTCID="Appnor Sales" <40215694650>") in new stack
  894.     -- Executing [s@macro-outbound-callerid:12] Set("Local/40748881658@from-internal-00000018;2", "EMERGENCYCID=") in new stack
  895.     -- Executing [s@macro-outbound-callerid:13] Set("Local/40748881658@from-internal-00000018;2", "TRUNKOUTCID=40215694654") in new stack
  896.     -- Executing [s@macro-outbound-callerid:14] GotoIf("Local/40748881658@from-internal-00000018;2", "1?trunkcid") in new stack
  897.     -- Goto (macro-outbound-callerid,s,19)
  898.     -- Executing [s@macro-outbound-callerid:19] ExecIf("Local/40748881658@from-internal-00000018;2", "1?Set(CALLERID(all)=40215694654)") in new stack
  899.     -- Executing [s@macro-outbound-callerid:20] ExecIf("Local/40748881658@from-internal-00000018;2", "1?Set(CALLERID(all)="Appnor Sales" <40215694650>)") in new stack
  900.     -- Executing [s@macro-outbound-callerid:21] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(CALLERID(all)=)") in new stack
  901.     -- Executing [s@macro-outbound-callerid:22] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
  902.     -- Executing [s@macro-outbound-callerid:23] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
  903.     -- Executing [s@macro-outbound-callerid:24] Set("Local/40748881658@from-internal-00000018;2", "CDR(outbound_cnum)=40215694650") in new stack
  904.     -- Executing [s@macro-outbound-callerid:25] Set("Local/40748881658@from-internal-00000018;2", "CDR(outbound_cnam)=Appnor Sales") in new stack
  905.     -- Executing [s@macro-dialout-trunk:13] GosubIf("Local/40748881658@from-internal-00000018;2", "0?sub-flp-2,s,1()") in new stack
  906.     -- Executing [s@macro-dialout-trunk:14] Set("Local/40748881658@from-internal-00000018;2", "OUTNUM=40748881658") in new stack
  907.     -- Executing [s@macro-dialout-trunk:15] Set("Local/40748881658@from-internal-00000018;2", "custom=PJSIP") in new stack
  908.     -- Executing [s@macro-dialout-trunk:16] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
  909.     -- Executing [s@macro-dialout-trunk:17] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
  910.     -- Executing [s@macro-dialout-trunk:18] Macro("Local/40748881658@from-internal-00000018;2", "dialout-trunk-predial-hook,") in new stack
  911.     -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("Local/40748881658@from-internal-00000018;2", "") in new stack
  912.     -- Executing [s@macro-dialout-trunk:19] GotoIf("Local/40748881658@from-internal-00000018;2", "1?skipcrm") in new stack
  913.     -- Goto (macro-dialout-trunk,s,25)
  914.     -- Executing [s@macro-dialout-trunk:25] NoOp("Local/40748881658@from-internal-00000018;2", "CRM Finished") in new stack
  915.     -- Executing [s@macro-dialout-trunk:26] GotoIf("Local/40748881658@from-internal-00000018;2", "0?bypass,1") in new stack
  916.     -- Executing [s@macro-dialout-trunk:27] ExecIf("Local/40748881658@from-internal-00000018;2", "1?Set(CONNECTEDLINE(num,i)=40748881658)") in new stack
  917.     -- Executing [s@macro-dialout-trunk:28] ExecIf("Local/40748881658@from-internal-00000018;2", "1?Set(CONNECTEDLINE(name,i)=CID:40215694650)") in new stack
  918.     -- Executing [s@macro-dialout-trunk:29] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)40215694650)") in new stack
  919.     -- Executing [s@macro-dialout-trunk:30] GotoIf("Local/40748881658@from-internal-00000018;2", "0?customtrunk") in new stack
  920.     -- Executing [s@macro-dialout-trunk:31] Dial("Local/40748881658@from-internal-00000018;2", "PJSIP/40748881658@40215694654,300,Tt") in new stack
  921.     -- Called PJSIP/40748881658@40215694654
  922.        > 0x7f35c805f260 -- Strict RTP learning after remote address set to: 193.16.148.244:41840
  923.     -- PJSIP/40215694654-00000066 is making progress passing it to Local/40748881658@from-internal-00000018;2
  924.        > 0x7f35c805f260 -- Strict RTP switching to RTP target address 193.16.148.244:41840 as source
  925.     -- Local/40748881658@from-internal-00000018;1 is making progress passing it to PJSIP/300-00000063
  926.        > 0x7f35c805f260 -- Strict RTP learning complete - Locking on source address 193.16.148.244:41840
  927.   == Everyone is busy/congested at this time (1:0/0/1)
  928.     -- Executing [s@macro-dialout-trunk:32] NoOp("Local/40748881658@from-internal-00000018;2", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 21") in new stack
  929.     -- Executing [s@macro-dialout-trunk:33] GotoIf("Local/40748881658@from-internal-00000018;2", "1?continue,1:s-CHANUNAVAIL,1") in new stack
  930.     -- Goto (macro-dialout-trunk,continue,1)
  931.     -- Executing [continue@macro-dialout-trunk:1] NoOp("Local/40748881658@from-internal-00000018;2", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 21 - failing through to other trunks") in new stack
  932.     -- Executing [continue@macro-dialout-trunk:2] ExecIf("Local/40748881658@from-internal-00000018;2", "1?Set(CALLERID(number)=300)") in new stack
  933.     -- Executing [40748881658@from-internal:10] Macro("Local/40748881658@from-internal-00000018;2", "dialout-trunk,6,40748881658,,on") in new stack
  934.     -- Executing [s@macro-dialout-trunk:1] Set("Local/40748881658@from-internal-00000018;2", "DIAL_TRUNK=6") in new stack
  935.     -- Executing [s@macro-dialout-trunk:2] GosubIf("Local/40748881658@from-internal-00000018;2", "0?sub-pincheck,s,1()") in new stack
  936.     -- Executing [s@macro-dialout-trunk:3] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(CALLERID(num)=300)") in new stack
  937.     -- Executing [s@macro-dialout-trunk:4] GotoIf("Local/40748881658@from-internal-00000018;2", "0?disabletrunk,1") in new stack
  938.     -- Executing [s@macro-dialout-trunk:5] Set("Local/40748881658@from-internal-00000018;2", "DIAL_NUMBER=40748881658") in new stack
  939.     -- Executing [s@macro-dialout-trunk:6] Set("Local/40748881658@from-internal-00000018;2", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
  940.     -- Executing [s@macro-dialout-trunk:7] Set("Local/40748881658@from-internal-00000018;2", "OUTBOUND_GROUP=OUT_6") in new stack
  941.     -- Executing [s@macro-dialout-trunk:8] Set("Local/40748881658@from-internal-00000018;2", "DIAL_TRUNK_OPTIONS=Tt") in new stack
  942.     -- Executing [s@macro-dialout-trunk:9] GotoIf("Local/40748881658@from-internal-00000018;2", "0?nomax") in new stack
  943.     -- Executing [s@macro-dialout-trunk:10] GotoIf("Local/40748881658@from-internal-00000018;2", "0?chanfull") in new stack
  944.     -- Executing [s@macro-dialout-trunk:11] GotoIf("Local/40748881658@from-internal-00000018;2", "0?skipoutcid") in new stack
  945.     -- Executing [s@macro-dialout-trunk:12] Macro("Local/40748881658@from-internal-00000018;2", "outbound-callerid,6") in new stack
  946.     -- Executing [s@macro-outbound-callerid:1] NoOp("Local/40748881658@from-internal-00000018;2", "300") in new stack
  947.     -- Executing [s@macro-outbound-callerid:2] NoOp("Local/40748881658@from-internal-00000018;2", "TRUE") in new stack
  948.     -- Executing [s@macro-outbound-callerid:3] NoOp("Local/40748881658@from-internal-00000018;2", "off") in new stack
  949.     -- Executing [s@macro-outbound-callerid:4] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(CALLERPRES(name-pres)=)") in new stack
  950.     -- Executing [s@macro-outbound-callerid:5] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(CALLERPRES(num-pres)=)") in new stack
  951.     -- Executing [s@macro-outbound-callerid:6] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(REALCALLERIDNUM=300)") in new stack
  952.     -- Executing [s@macro-outbound-callerid:7] GotoIf("Local/40748881658@from-internal-00000018;2", "0?normcid") in new stack
  953.     -- Executing [s@macro-outbound-callerid:8] Set("Local/40748881658@from-internal-00000018;2", "USEROUTCID=300") in new stack
  954.     -- Executing [s@macro-outbound-callerid:9] GotoIf("Local/40748881658@from-internal-00000018;2", "0?normcid") in new stack
  955.     -- Executing [s@macro-outbound-callerid:10] GotoIf("Local/40748881658@from-internal-00000018;2", "0?bypass") in new stack
  956.     -- Executing [s@macro-outbound-callerid:11] Set("Local/40748881658@from-internal-00000018;2", "USEROUTCID="Appnor Sales" <40215694650>") in new stack
  957.     -- Executing [s@macro-outbound-callerid:12] Set("Local/40748881658@from-internal-00000018;2", "EMERGENCYCID=") in new stack
  958.     -- Executing [s@macro-outbound-callerid:13] Set("Local/40748881658@from-internal-00000018;2", "TRUNKOUTCID=40215694653") in new stack
  959.     -- Executing [s@macro-outbound-callerid:14] GotoIf("Local/40748881658@from-internal-00000018;2", "1?trunkcid") in new stack
  960.     -- Goto (macro-outbound-callerid,s,19)
  961.     -- Executing [s@macro-outbound-callerid:19] ExecIf("Local/40748881658@from-internal-00000018;2", "1?Set(CALLERID(all)=40215694653)") in new stack
  962.     -- Executing [s@macro-outbound-callerid:20] ExecIf("Local/40748881658@from-internal-00000018;2", "1?Set(CALLERID(all)="Appnor Sales" <40215694650>)") in new stack
  963.     -- Executing [s@macro-outbound-callerid:21] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(CALLERID(all)=)") in new stack
  964.     -- Executing [s@macro-outbound-callerid:22] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
  965.     -- Executing [s@macro-outbound-callerid:23] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
  966.     -- Executing [s@macro-outbound-callerid:24] Set("Local/40748881658@from-internal-00000018;2", "CDR(outbound_cnum)=40215694650") in new stack
  967.     -- Executing [s@macro-outbound-callerid:25] Set("Local/40748881658@from-internal-00000018;2", "CDR(outbound_cnam)=Appnor Sales") in new stack
  968.     -- Executing [s@macro-dialout-trunk:13] GosubIf("Local/40748881658@from-internal-00000018;2", "0?sub-flp-6,s,1()") in new stack
  969.     -- Executing [s@macro-dialout-trunk:14] Set("Local/40748881658@from-internal-00000018;2", "OUTNUM=40748881658") in new stack
  970.     -- Executing [s@macro-dialout-trunk:15] Set("Local/40748881658@from-internal-00000018;2", "custom=PJSIP") in new stack
  971.     -- Executing [s@macro-dialout-trunk:16] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
  972.     -- Executing [s@macro-dialout-trunk:17] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
  973.     -- Executing [s@macro-dialout-trunk:18] Macro("Local/40748881658@from-internal-00000018;2", "dialout-trunk-predial-hook,") in new stack
  974.     -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("Local/40748881658@from-internal-00000018;2", "") in new stack
  975.     -- Executing [s@macro-dialout-trunk:19] GotoIf("Local/40748881658@from-internal-00000018;2", "1?skipcrm") in new stack
  976.     -- Goto (macro-dialout-trunk,s,25)
  977.     -- Executing [s@macro-dialout-trunk:25] NoOp("Local/40748881658@from-internal-00000018;2", "CRM Finished") in new stack
  978.     -- Executing [s@macro-dialout-trunk:26] GotoIf("Local/40748881658@from-internal-00000018;2", "0?bypass,1") in new stack
  979.     -- Executing [s@macro-dialout-trunk:27] ExecIf("Local/40748881658@from-internal-00000018;2", "1?Set(CONNECTEDLINE(num,i)=40748881658)") in new stack
  980.     -- Executing [s@macro-dialout-trunk:28] ExecIf("Local/40748881658@from-internal-00000018;2", "1?Set(CONNECTEDLINE(name,i)=CID:40215694650)") in new stack
  981.     -- Executing [s@macro-dialout-trunk:29] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)40215694650)") in new stack
  982.     -- Executing [s@macro-dialout-trunk:30] GotoIf("Local/40748881658@from-internal-00000018;2", "0?customtrunk") in new stack
  983.     -- Executing [s@macro-dialout-trunk:31] Dial("Local/40748881658@from-internal-00000018;2", "PJSIP/40748881658@40215694653,300,Tt") in new stack
  984.     -- Called PJSIP/40748881658@40215694653
  985.        > 0x7f35c8123830 -- Strict RTP learning after remote address set to: 193.16.148.244:41844
  986.     -- PJSIP/40215694653-00000067 is making progress passing it to Local/40748881658@from-internal-00000018;2
  987.     -- Local/40748881658@from-internal-00000018;1 is making progress passing it to PJSIP/300-00000063
  988.        > 0x7f35c8123830 -- Strict RTP switching to RTP target address 193.16.148.244:41844 as source
  989.        > 0x7f35c8123830 -- Strict RTP learning complete - Locking on source address 193.16.148.244:41844
  990. [2018-01-22 19:42:53] WARNING[5303]: res_pjsip_pubsub.c:685 subscription_get_handler_from_rdata: No registered subscribe handler for event call-info
  991. [2018-01-22 19:42:53] WARNING[5303]: res_pjsip_pubsub.c:685 subscription_get_handler_from_rdata: No registered subscribe handler for event call-info
  992.   == Everyone is busy/congested at this time (1:0/0/1)
  993.     -- Executing [s@macro-dialout-trunk:32] NoOp("Local/40748881658@from-internal-00000018;2", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 21") in new stack
  994.     -- Executing [s@macro-dialout-trunk:33] GotoIf("Local/40748881658@from-internal-00000018;2", "1?continue,1:s-CHANUNAVAIL,1") in new stack
  995.     -- Goto (macro-dialout-trunk,continue,1)
  996.     -- Executing [continue@macro-dialout-trunk:1] NoOp("Local/40748881658@from-internal-00000018;2", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 21 - failing through to other trunks") in new stack
  997.     -- Executing [continue@macro-dialout-trunk:2] ExecIf("Local/40748881658@from-internal-00000018;2", "1?Set(CALLERID(number)=300)") in new stack
  998.     -- Executing [40748881658@from-internal:11] Macro("Local/40748881658@from-internal-00000018;2", "outisbusy,") in new stack
  999.     -- Executing [s@macro-outisbusy:1] Progress("Local/40748881658@from-internal-00000018;2", "") in new stack
  1000.     -- Executing [s@macro-outisbusy:2] GotoIf("Local/40748881658@from-internal-00000018;2", "0?emergency,1") in new stack
  1001.     -- Executing [s@macro-outisbusy:3] GotoIf("Local/40748881658@from-internal-00000018;2", "0?intracompany,1") in new stack
  1002.     -- Executing [s@macro-outisbusy:4] Playback("Local/40748881658@from-internal-00000018;2", "all-circuits-busy-now&please-try-call-later, noanswer") in new stack
  1003.     -- <Local/40748881658@from-internal-00000018;2> Playing 'all-circuits-busy-now.ulaw' (language 'en')
  1004.     -- Local/40748881658@from-internal-00000018;1 is making progress passing it to PJSIP/300-00000063
  1005. [2018-01-22 19:42:54] WARNING[5303]: res_pjsip_pubsub.c:685 subscription_get_handler_from_rdata: No registered subscribe handler for event call-info
  1006. [2018-01-22 19:42:54] WARNING[5303]: res_pjsip_pubsub.c:685 subscription_get_handler_from_rdata: No registered subscribe handler for event call-info
  1007.     -- <Local/40748881658@from-internal-00000018;2> Playing 'please-try-call-later.ulaw' (language 'en')
  1008.     -- Executing [s@macro-outisbusy:5] Congestion("Local/40748881658@from-internal-00000018;2", "20") in new stack
  1009.     -- Local/40748881658@from-internal-00000018;1 is circuit-busy
  1010.   == Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'Local/40748881658@from-internal-00000018;2' in macro 'outisbusy'
  1011.   == Spawn extension (from-internal, 40748881658, 11) exited non-zero on 'Local/40748881658@from-internal-00000018;2'
  1012.     -- Executing [h@from-internal:1] Macro("Local/40748881658@from-internal-00000018;2", "hangupcall") in new stack
  1013.     -- Executing [s@macro-hangupcall:1] GotoIf("Local/40748881658@from-internal-00000018;2", "1?theend") in new stack
  1014.     -- Goto (macro-hangupcall,s,3)
  1015.     -- Executing [s@macro-hangupcall:3] Gosub("Local/40748881658@from-internal-00000018;2", "sub-missedcallnotify,s,1()") in new stack
  1016.     -- Executing [s@sub-missedcallnotify:1] ExecIf("Local/40748881658@from-internal-00000018;2", "0?System(echo "" | mail -s "MissedCall () - Appnor Sales <300>" )") in new stack
  1017.     -- Executing [s@sub-missedcallnotify:2] ExecIf("Local/40748881658@from-internal-00000018;2", "0?System(echo "" | mail -s "MissedCallGroup () - Appnor Sales <300>" )") in new stack
  1018.     -- Local/40748881658@from-internal-00000018;2 Internal Gosub(crm-hangup,s,1) start
  1019.     -- Executing [s@crm-hangup:1] NoOp("Local/40748881658@from-internal-00000018;2", "Sending Hangup to CRM") in new stack
  1020.     -- Executing [s@crm-hangup:2] NoOp("Local/40748881658@from-internal-00000018;2", "HANGUP CAUSE: 34") in new stack
  1021.     -- Executing [s@crm-hangup:3] ExecIf("Local/40748881658@from-internal-00000018;2", "0?Set(__CRM_VOICEMAIL=)") in new stack
  1022.     -- Executing [s@crm-hangup:4] NoOp("Local/40748881658@from-internal-00000018;2", "MASTER CHANNEL: 1516650160.149 = 1516650160.147") in new stack
  1023.     -- Executing [s@crm-hangup:5] GotoIf("Local/40748881658@from-internal-00000018;2", "1?return") in new stack
  1024.     -- Goto (crm-hangup,s,8)
  1025.     -- Executing [s@crm-hangup:8] Return("Local/40748881658@from-internal-00000018;2", "") in new stack
  1026.   == Spawn extension (sub-missedcallnotify, s, 4) exited non-zero on 'Local/40748881658@from-internal-00000018;2'
  1027.     -- Local/40748881658@from-internal-00000018;2 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
  1028.   == Everyone is busy/congested at this time (1:0/1/0)
  1029.     -- Stopped music on hold on PJSIP/300-00000063
  1030.     -- Executing [s@macro-dial:23] Set("PJSIP/300-00000063", "DIALSTATUS=CONGESTION") in new stack
  1031.     -- Executing [s@macro-dial:24] GosubIf("PJSIP/300-00000063", "0?CONGESTION,1()") in new stack
  1032.     -- Executing [s@macro-dial:25] NoOp("PJSIP/300-00000063", "Returning since nobody answered") in new stack
  1033.     -- Executing [s@macro-dial:26] MacroExit("PJSIP/300-00000063", "") in new stack
  1034.     -- Executing [201@followme-sub:39] Goto("PJSIP/300-00000063", "nextstep") in new stack
  1035.     -- Goto (followme-sub,201,46)
  1036.     -- Executing [201@followme-sub:46] Set("PJSIP/300-00000063", "RingGroupMethod=") in new stack
  1037.     -- Executing [201@followme-sub:47] GotoIf("PJSIP/300-00000063", "0?nodest") in new stack
  1038.     -- Executing [201@followme-sub:48] Set("PJSIP/300-00000063", "__NODEST=") in new stack
  1039.     -- Executing [201@followme-sub:49] Set("PJSIP/300-00000063", "__PICKUPMARK=") in new stack
  1040.     -- Executing [201@followme-sub:50] Macro("PJSIP/300-00000063", "blkvm-clr,") in new stack
  1041.     -- Executing [s@macro-blkvm-clr:1] Set("PJSIP/300-00000063", "SHARED(BLKVM,PJSIP/300-00000063)=") in new stack
  1042.     -- Executing [s@macro-blkvm-clr:2] Set("PJSIP/300-00000063", "GOSUB_RETVAL=") in new stack
  1043.     -- Executing [s@macro-blkvm-clr:3] MacroExit("PJSIP/300-00000063", "") in new stack
  1044.     -- Executing [201@followme-sub:51] Set("PJSIP/300-00000063", "DIALSTATUS=NOANSWER") in new stack
  1045.     -- Executing [201@followme-sub:52] GotoIf("PJSIP/300-00000063", "0?dohangup") in new stack
  1046.     -- Executing [201@followme-sub:53] Goto("PJSIP/300-00000063", "ext-local,201,dest") in new stack
  1047.     -- Goto (ext-local,201,3)
  1048.     -- Executing [201@ext-local:3] Set("PJSIP/300-00000063", "__PICKUPMARK=") in new stack
  1049.     -- Executing [201@ext-local:4] Goto("PJSIP/300-00000063", ",return,1") in new stack
  1050.     -- Goto (ext-local,return,1)
  1051. [2018-01-22 19:42:58] WARNING[14256][C-00000024]: pbx.c:4416 __ast_pbx_run: Channel 'PJSIP/300-00000063' sent to invalid extension but no invalid handler: context,exten,priority=ext-local,return,1
  1052.     -- Executing [h@ext-local:1] Macro("PJSIP/300-00000063", "hangupcall,") in new stack
  1053.     -- Executing [s@macro-hangupcall:1] GotoIf("PJSIP/300-00000063", "1?theend") in new stack
  1054.     -- Goto (macro-hangupcall,s,3)
  1055.     -- Executing [s@macro-hangupcall:3] Gosub("PJSIP/300-00000063", "sub-missedcallnotify,s,1()") in new stack
  1056.     -- Executing [s@sub-missedcallnotify:1] ExecIf("PJSIP/300-00000063", "0?System(echo "" | mail -s "MissedCall () - Appnor Sales <300>" )") in new stack
  1057.     -- Executing [s@sub-missedcallnotify:2] ExecIf("PJSIP/300-00000063", "0?System(echo "" | mail -s "MissedCallGroup () - Appnor Sales <300>" )") in new stack
  1058.   == MixMonitor close filestream (mixed)
  1059.   == End MixMonitor Recording PJSIP/300-00000063
  1060. [2018-01-22 19:43:03] WARNING[5303]: res_pjsip_pubsub.c:685 subscription_get_handler_from_rdata: No registered subscribe handler for event call-info
  1061. [2018-01-22 19:43:03] WARNING[5303]: res_pjsip_pubsub.c:685 subscription_get_handler_from_rdata: No registered subscribe handler for event call-info
  1062. [2018-01-22 19:43:04] WARNING[5303]: res_pjsip_pubsub.c:685 subscription_get_handler_from_rdata: No registered subscribe handler for event call-info
  1063. [2018-01-22 19:43:04] WARNING[5303]: res_pjsip_pubsub.c:685 subscription_get_handler_from_rdata: No registered subscribe handler for event call-info
  1064. bell*CLI>

Reply to "Untitled"

Here you can reply to the paste above