From Test, 4 Years ago, written in Lua.
- view diff
Embed
  1.  == Manager 'icallifysend' logged on from 127.0.0.1
  2.   == Manager 'icallifysend' logged off from 127.0.0.1
  3.   == Manager 'icallifysend' logged on from 127.0.0.1
  4.     -- Called 8600053@default
  5.     -- Executing [8600053@default:1] MeetMe("Local/8600053@default-00000151;2", "8600053,F") in new stack
  6.     -- Local/8600053@default-00000151;1 answered
  7.     -- Executing [555526004918866366350@default:1] AGI("Local/8600053@default-00000151;1", "agi://127.0.0.1:4577/call_log") in new stack
  8.     -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=39851618))
  9.     -- <Local/8600053@default-00000151;1>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
  10.     -- Executing [555526004918866366350@default:2] Set("Local/8600053@default-00000151;1", "DB(MAXCC_limit/402651out)=5") in new stack
  11.     -- Executing [555526004918866366350@default:3] Macro("Local/8600053@default-00000151;1", "frauddetection,15976407,555526004918866366350") in new stack
  12.     -- Executing [s@macro-frauddetection:1] GotoIf("Local/8600053@default-00000151;1", "0?allow:block") in new stack
  13.     -- Goto (macro-frauddetection,s,5)
  14.     -- Executing [s@macro-frauddetection:5] NoOp("Local/8600053@default-00000151;1", "") in new stack
  15.     -- Executing [s@macro-frauddetection:6] Macro("Local/8600053@default-00000151;1", "frauddetection-block,15976407,555526004918866366350") in new stack
  16.     -- Executing [s@macro-frauddetection-block:1] Set("Local/8600053@default-00000151;1", "isfraud=Y") in new stack
  17.     -- Executing [s@macro-frauddetection-block:2] NoOp("Local/8600053@default-00000151;1", "N") in new stack
  18.     -- Executing [s@macro-frauddetection-block:3] GotoIf("Local/8600053@default-00000151;1", "0?fraudchecking:notfraud") in new stack
  19.     -- Goto (macro-frauddetection-block,s,15)
  20.     -- Executing [s@macro-frauddetection-block:15] Set("Local/8600053@default-00000151;1", "isfraud=N") in new stack
  21.     -- Executing [s@macro-frauddetection-block:16] MacroExit("Local/8600053@default-00000151;1", "") in new stack
  22.     -- Executing [s@macro-frauddetection:7] MacroExit("Local/8600053@default-00000151;1", "") in new stack
  23.     -- Executing [555526004918866366350@default:4] Macro("Local/8600053@default-00000151;1", "checkmaxcc,402651out,555526004918866366350") in new stack
  24.     -- Executing [s@macro-checkmaxcc:1] GotoIf("Local/8600053@default-00000151;1", "0?skip") in new stack
  25.     -- Executing [s@macro-checkmaxcc:2] Set("Local/8600053@default-00000151;1", "CARRIER=402651out") in new stack
  26.     -- Executing [s@macro-checkmaxcc:3] Set("Local/8600053@default-00000151;1", "COUNT=0") in new stack
  27.     -- Executing [s@macro-checkmaxcc:4] NoOp("Local/8600053@default-00000151;1", "0") in new stack
  28.     -- Executing [s@macro-checkmaxcc:5] GotoIf("Local/8600053@default-00000151;1", "0?skip") in new stack
  29.     -- Executing [s@macro-checkmaxcc:6] GotoIf("Local/8600053@default-00000151;1", "0?setdefault:validatemaxcc") in new stack
  30.     -- Goto (macro-checkmaxcc,s,8)
  31.     -- Executing [s@macro-checkmaxcc:8] GotoIf("Local/8600053@default-00000151;1", "0?hangupcall") in new stack
  32.     -- Executing [s@macro-checkmaxcc:9] Set("Local/8600053@default-00000151;1", "DB(MAXCC/402651out)=1") in new stack
  33.     -- Executing [s@macro-checkmaxcc:10] Set("Local/8600053@default-00000151;1", "incall=Y") in new stack
  34.     -- Executing [s@macro-checkmaxcc:11] MacroExit("Local/8600053@default-00000151;1", "") in new stack
  35.     -- Executing [555526004918866366350@default:5] NoOp("Local/8600053@default-00000151;1", "N") in new stack
  36.     -- Executing [555526004918866366350@default:6] GotoIf("Local/8600053@default-00000151;1", "0?hangup:dialout") in new stack
  37.     -- Goto (default,555526004918866366350,8)
  38.     -- Executing [555526004918866366350@default:8] Set("Local/8600053@default-00000151;1", "TRUNKUSED=402651out") in new stack
  39.     -- Executing [555526004918866366350@default:9] Set("Local/8600053@default-00000151;1", "COMPANYID=15976407") in new stack
  40.     -- Executing [555526004918866366350@default:10] Set("Local/8600053@default-00000151;1", "USERGROUP=15976407") in new stack
  41.     -- Executing [555526004918866366350@default:11] Set("Local/8600053@default-00000151;1", "CHANNEL(accountcode)=M0281837080000020520") in new stack
  42.     -- Executing [555526004918866366350@default:12] Set("Local/8600053@default-00000151;1", "CALLERID(all)="+442038089170" <+442038089170>") in new stack
  43.     -- Executing [555526004918866366350@default:13] Dial("Local/8600053@default-00000151;1", "SIP/402651out/918866366350,,To") in new stack
  44.   == Using SIP RTP CoS mark 5
  45.     -- Called SIP/402651out/918866366350
  46.     -- Got SIP response 503 "Service unavailable" back from 103.47.165.10:5060
  47.     -- SIP/402651out-000000d2 is circuit-busy
  48.   == Everyone is busy/congested at this time (1:0/1/0)
  49.     -- Executing [555526004918866366350@default:14] Hangup("Local/8600053@default-00000151;1", "") in new stack
  50.   == Spawn extension (default, 555526004918866366350, 14) exited non-zero on 'Local/8600053@default-00000151;1'
  51.     -- Executing [h@default:1] GotoIf("Local/8600053@default-00000151;1", "1?:nolivecall") in new stack
  52.     -- Executing [h@default:2] Set("Local/8600053@default-00000151;1", "DB(MAXCC/402651out)=0") in new stack
  53.     -- Executing [h@default:3] AGI("Local/8600053@default-00000151;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----34-----CONGESTION--------------------402651out-----15976407-----15976407--------------------") in new stack
  54.   == Manager 'icallifysend' logged off from 127.0.0.1
  55.     -- <Local/8600053@default-00000151;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----34-----CONGESTION--------------------402651out-----15976407-----15976407-------------------- completed, returning 0
  56.     -- Executing [h@default:4] NoOp("Local/8600053@default-00000151;1", "carrier 402651out") in new stack
  57.     -- Executing [h@default:5] GotoIf("Local/8600053@default-00000151;1", "1?skip") in new stack
  58.     -- Goto (default,h,8)
  59.     -- Executing [h@default:8] AGI("Local/8600053@default-00000151;1", "fraud_detection.agi") in new stack
  60.     -- Launched AGI Script /var/lib/asterisk/agi-bin/fraud_detection.agi
  61. fraud_detection.agi: Testing
  62. fraud_detection.agi: company_code :
  63.     -- <Local/8600053@default-00000151;1>AGI Script fraud_detection.agi completed, returning 0
  64.   == Spawn extension (default, 8600053, 1) exited non-zero on 'Local/8600053@default-00000151;2'
  65.     -- Executing [h@default:1] GotoIf("Local/8600053@default-00000151;2", "0?:nolivecall") in new stack
  66.     -- Goto (default,h,3)
  67.     -- Executing [h@default:3] AGI("Local/8600053@default-00000151;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----34-------------------------------------------------------") in new stack
  68.     -- <Local/8600053@default-00000151;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----34------------------------------------------------------- completed, returning 0
  69.     -- Executing [h@default:4] NoOp("Local/8600053@default-00000151;2", "carrier ") in new stack
  70.     -- Executing [h@default:5] GotoIf("Local/8600053@default-00000151;2", "1?skip") in new stack
  71.     -- Goto (default,h,8)
  72.     -- Executing [h@default:8] AGI("Local/8600053@default-00000151;2", "fraud_detection.agi") in new stack
  73.     -- Launched AGI Script /var/lib/asterisk/agi-bin/fraud_detection.agi
  74. fraud_detection.agi: Testing
  75. fraud_detection.agi: company_code :
  76.     -- <Local/8600053@default-00000151;2>AGI Script fraud_detection.agi completed, returning 0
  77. [Oct 28 18:37:11] WARNING[1216]: chan_sip.c:3781 __sip_xmit: sip_xmit of 0x7fae84010280 (len 416) to (null) returned -1: Invalid argument
  78. [Oct 28 18:37:15] WARNING[1216]: chan_sip.c:3781 __sip_xmit: sip_xmit of 0x7fae84010280 (len 416) to (null) returned -1: Invalid argument
  79. [Oct 28 18:37:15] ERROR[1216]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("3cxtest.trunk", "(null)", ...): Name or service not known
  80. [Oct 28 18:37:15] WARNING[1216]: acl.c:835 resolve_first: Unable to lookup '3cxtest.trunk'
  81. [Oct 28 18:37:15] WARNING[1216]: acl.c:974 ast_ouraddrfor: Cannot connect to (null): Invalid argument
  82. [Oct 28 18:37:15] WARNING[1216]: chan_sip.c:3781 __sip_xmit: sip_xmit of 0x7fae84028860 (len 416) to (null) returned -1: Invalid argument
  83. [Oct 28 18:37:15] NOTICE[1216]: chan_sip.c:15922 sip_reg_timeout:    -- Registration for '502@3cxtest.trunk' timed out, trying again (Attempt #1595)
  84. [Oct 28 18:37:15] NOTICE[1216]: chan_sip.c:15922 sip_reg_timeout:    -- Registration for '7357022689@306942486942.sbc.gosip.gr' timed out, trying again (Attempt #6377)
  85. [Oct 28 18:37:15] NOTICE[1216]: chan_sip.c:15922 sip_reg_timeout:    -- Registration for '4@1.1.1.1' timed out, trying again (Attempt #1595)
  86. [Oct 28 18:37:15] NOTICE[1216]: chan_sip.c:24472 handle_response_register: Failed to authenticate on REGISTER to '7357022689@306942486942.sbc.gosip.gr' (Tries 3)
  87. [Oct 28 18:37:16] WARNING[1216]: chan_sip.c:3781 __sip_xmit: sip_xmit of 0x7fae84028860 (len 416) to (null) returned -1: Invalid argument
  88. [Oct 28 18:37:17] WARNING[1216]: chan_sip.c:3781 __sip_xmit: sip_xmit of 0x7fae84028860 (len 416) to (null) returned -1: Invalid argument
  89. [Oct 28 18:37:19] WARNING[1216]: chan_sip.c:3781 __sip_xmit: sip_xmit of 0x7fae84028860 (len 416) to (null) returned -1: Invalid argument
  90. [Oct 28 18:37:23] WARNING[1216]: chan_sip.c:3781 __sip_xmit: sip_xmit of 0x7fae84028860 (len 416) to (null) returned -1: Invalid argument
  91. [Oct 28 18:37:27] WARNING[1216]: chan_sip.c:3781 __sip_xmit: sip_xmit of 0x7fae84028860 (len 416) to (null) returned -1: Invalid argument
  92. [Oct 28 18:37:31] WARNING[1216]: chan_sip.c:3781 __sip_xmit: sip_xmit of 0x7fae84028860 (len 416) to (null) returned -1: Invalid argument
  93. [Oct 28 18:37:35] WARNING[1216]: chan_sip.c:3781 __sip_xmit: sip_xmit of 0x7fae84028860 (len 416) to (null) returned -1: Invalid argument
  94. [Oct 28 18:37:35] ERROR[1216]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("3cxtest.trunk", "(null)", ...): Name or service not known
  95. [Oct 28 18:37:35] WARNING[1216]: acl.c:835 resolve_first: Unable to lookup '3cxtest.trunk'
  96. [Oct 28 18:37:35] WARNING[1216]: acl.c:974 ast_ouraddrfor: Cannot connect to (null): Invalid argument
  97. [Oct 28 18:37:35] WARNING[1216]: chan_sip.c:3781 __sip_xmit: sip_xmit of 0x7fae8401bad0 (len 416) to (null) returned -1: Invalid argument
  98. [Oct 28 18:37:35] NOTICE[1216]: chan_sip.c:15922 sip_reg_timeout:    -- Registration for '502@3cxtest.trunk' timed out, trying again (Attempt #1596)
  99. [Oct 28 18:37:35] NOTICE[1216]: chan_sip.c:15922 sip_reg_timeout:    -- Registration for '7357022689@306942486942.sbc.gosip.gr' timed out, trying again (Attempt #6381)
  100. [Oct 28 18:37:35] NOTICE[1216]: chan_sip.c:15922 sip_reg_timeout:    -- Registration for '4@1.1.1.1' timed out, trying again (Attempt #1596)
  101. [Oct 28 18:37:35] NOTICE[1216]: chan_sip.c:24472 handle_response_register: Failed to authenticate on REGISTER to '7357022689@306942486942.sbc.gosip.gr' (Tries 3)
  102. [Oct 28 18:37:36] WARNING[1216]: chan_sip.c:3781 __sip_xmit: sip_xmit of 0x7fae8401bad0 (len 416) to (null) returned -1: Invalid argument
  103. [Oct 28 18:37:37] WARNING[1216]: chan_sip.c:3781 __sip_xmit: sip_xmit of 0x7fae8401bad0 (len 416) to (null) returned -1: Invalid argument
  104. [Oct 28 18:37:39] WARNING[1216]: chan_sip.c:3781 __sip_xmit: sip_xmit of 0x7fae8401bad0 (len 416) to (null) returned -1: Invalid argument
  105. [Oct 28 18:37:43] WARNING[1216]: chan_sip.c:3781 __sip_xmit: sip_xmit of 0x7fae8401bad0 (len 416) to (null) returned -1: Invalid argument
  106. [Oct 28 18:37:47] WARNING[1216]: chan_sip.c:3781 __sip_xmit: sip_xmit of 0x7fae8401bad0 (len 416) to (null) returned -1: Invalid argument
  107. [Oct 28 18:37:51] WARNING[1216]: chan_sip.c:3781 __sip_xmit: sip_xmit of 0x7fae8401bad0 (len 416) to (null) returned -1: Invalid argument
  108. [Oct 28 18:37:55] WARNING[1216]: chan_sip.c:3781 __sip_xmit: sip_xmit of 0x7fae8401bad0 (len 416) to (null) returned -1: Invalid argument
  109. [Oct 28 18:37:55] ERROR[1216]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("3cxtest.trunk", "(null)", ...): Name or service not known
  110. [Oct 28 18:37:55] WARNING[1216]: acl.c:835 resolve_first: Unable to lookup '3cxtest.trunk'
  111. [Oct 28 18:37:55] WARNING[1216]: acl.c:974 ast_ouraddrfor: Cannot connect to (null): Invalid argument
  112. [Oct 28 18:37:55] WARNING[1216]: chan_sip.c:3781 __sip_xmit: sip_xmit of 0x7fae8400ef80 (len 416) to (null) returned -1: Invalid argument
  113. [Oct 28 18:37:55] NOTICE[1216]: chan_sip.c:15922 sip_reg_timeout:    -- Registration for '502@3cxtest.trunk' timed out, trying again (Attempt #1597)
  114. [Oct 28 18:37:55] NOTICE[1216]: chan_sip.c:15922 sip_reg_timeout:    -- Registration for '7357022689@306942486942.sbc.gosip.gr' timed out, trying again (Attempt #6385)
  115. [Oct 28 18:37:55] NOTICE[1216]: chan_sip.c:15922 sip_reg_timeout:    -- Registration for '4@1.1.1.1' timed out, trying again (Attempt #1597)
  116. [Oct 28 18:37:55] NOTICE[1216]: chan_sip.c:24472 handle_response_register: Failed to authenticate on REGISTER to '7357022689@306942486942.sbc.gosip.gr' (Tries 3)
  117. [Oct 28 18:37:56] WARNING[1216]: chan_sip.c:3781 __sip_xmit: sip_xmit of 0x7fae8400ef80 (len 416) to (null) returned -1: Invalid argument
  118. [Oct 28 18:37:57] WARNING[1216]: chan_sip.c:3781 __sip_xmit: sip_xmit of 0x7fae8400ef80 (len 416) to (null) returned -1: Invalid argument
  119. [Oct 28 18:37:59] WARNING[1216]: chan_sip.c:3781 __sip_xmit: sip_xmit of 0x7fae8400ef80 (len 416) to (null) returned -1: Invalid argument
  120.   == Manager 'icallifysend' logged on from 127.0.0.1
  121.   == Manager 'icallifysend' logged off from 127.0.0.1
  122. [Oct 28 18:38:03] WARNING[1216]: chan_sip.c:3781 __sip_xmit: sip_xmit of 0x7fae8400ef80 (len 416) to (null) returned -1: Invalid argument
  123.   == Manager 'icallifysend' logged on from 127.0.0.1
  124.   == Manager 'icallifysend' logged off from 127.0.0.1
  125. [Oct 28 18:38:07] WARNING[1216]: chan_sip.c:3781 __sip_xmit: sip_xmit of 0x7fae8400ef80 (len 416) to (null) returned -1: Invalid argument
  126. [Oct 28 18:38:11] WARNING[1216]: chan_sip.c:3781 __sip_xmit: sip_xmit of 0x7fae8400ef80 (len 416) to (null) returned -1: Invalid argument
  127. [Oct 28 18:38:15] WARNING[1216]: chan_sip.c:3781 __sip_xmit: sip_xmit of 0x7fae8400ef80 (len 416) to (null) returned -1: Invalid argument
  128. [Oct 28 18:38:15] ERROR[1216]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("3cxtest.trunk", "(null)", ...): Name or service not known
  129. [Oct 28 18:38:15] WARNING[1216]: acl.c:835 resolve_first: Unable to lookup '3cxtest.trunk'
  130.