[2009-11-10 09:38:56.1314] VERBOSE[32109] pbx_realtime.c: -- Executing NoOp("SIP/27222-00e04110", "INPUTANUM_748 = "1"") [2009-11-10 09:38:56.1319] DEBUG[32109] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-11-10 09:38:56.1320] DEBUG[32109] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---748' AND context = 'db_ivr' AND priority = '14' [2009-11-10 09:38:56.1354] DEBUG[32109] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-11-10 09:38:56.1356] DEBUG[32109] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---748' AND context = 'db_ivr' AND priority = '14' [2009-11-10 09:38:56.1366] DEBUG[32109] pbx.c: Expression result is '0' [2009-11-10 09:38:56.1366] VERBOSE[32109] pbx_realtime.c: -- Executing GoSubIf("SIP/27222-00e04110", "0?ivr---749,1") [2009-11-10 09:38:56.1369] DEBUG[32109] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-11-10 09:38:56.1370] DEBUG[32109] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---748' AND context = 'db_ivr' AND priority = '15' [2009-11-10 09:38:56.1404] DEBUG[32109] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-11-10 09:38:56.1406] DEBUG[32109] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---748' AND context = 'db_ivr' AND priority = '15' [2009-11-10 09:38:56.1416] DEBUG[32109] pbx.c: Expression result is '1' [2009-11-10 09:38:56.1417] VERBOSE[32109] pbx_realtime.c: -- Executing GoSubIf("SIP/27222-00e04110", "1?ivr---821,1") [2009-11-10 09:38:56.1420] DEBUG[32109] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-11-10 09:38:56.1421] DEBUG[32109] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---821' AND context = 'db_ivr' AND priority = '1' [2009-11-10 09:38:56.1454] DEBUG[32109] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-11-10 09:38:56.1456] DEBUG[32109] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---821' AND context = 'db_ivr' AND priority = '1' [2009-11-10 09:38:56.1494] DEBUG[32109] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-11-10 09:38:56.1495] DEBUG[32109] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---821' AND context = 'db_ivr' AND priority = '1' [2009-11-10 09:38:56.1504] VERBOSE[32109] pbx_realtime.c: -- Executing NoOp("SIP/27222-00e04110", "ivr---821, action=run_agi, p1=global/remote_login.php, p2=3") [2009-11-10 09:38:56.1507] DEBUG[32109] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-11-10 09:38:56.1508] DEBUG[32109] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---821' AND context = 'db_ivr' AND priority = '2' [2009-11-10 09:38:56.1555] DEBUG[32109] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-11-10 09:38:56.1556] DEBUG[32109] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---821' AND context = 'db_ivr' AND priority = '2' [2009-11-10 09:38:56.1563] VERBOSE[32109] pbx_realtime.c: -- Executing AGI("SIP/27222-00e04110", "global/remote_login.php") [2009-11-10 09:38:56.1688] VERBOSE[32109] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/global/remote_login.php [2009-11-10 09:38:56.1706] VERBOSE[32109] res_agi.c: AGI Tx >> agi_request: global/remote_login.php [2009-11-10 09:38:56.1710] VERBOSE[32109] res_agi.c: AGI Tx >> agi_channel: SIP/27222-00e04110 [2009-11-10 09:38:56.1714] VERBOSE[32109] res_agi.c: AGI Tx >> agi_language: en [2009-11-10 09:38:56.1716] VERBOSE[32109] res_agi.c: AGI Tx >> agi_type: SIP [2009-11-10 09:38:56.1718] VERBOSE[32109] res_agi.c: AGI Tx >> agi_uniqueid: 1257874733.8284 [2009-11-10 09:38:56.1721] VERBOSE[32109] res_agi.c: AGI Tx >> agi_version: 1.6.1.6 [2009-11-10 09:38:56.1724] VERBOSE[32109] res_agi.c: AGI Tx >> agi_callerid: 27222 [2009-11-10 09:38:56.1728] VERBOSE[32109] res_agi.c: AGI Tx >> agi_calleridname: HelpDesk [2009-11-10 09:38:56.1730] VERBOSE[32109] res_agi.c: AGI Tx >> agi_callingpres: 0 [2009-11-10 09:38:56.1733] VERBOSE[32109] res_agi.c: AGI Tx >> agi_callingani2: 0 [2009-11-10 09:38:56.1736] VERBOSE[32109] res_agi.c: AGI Tx >> agi_callington: 0 [2009-11-10 09:38:56.1739] VERBOSE[32109] res_agi.c: AGI Tx >> agi_callingtns: 0 [2009-11-10 09:38:56.1741] VERBOSE[32109] res_agi.c: AGI Tx >> agi_dnid: 21110 [2009-11-10 09:38:56.1744] VERBOSE[32109] res_agi.c: AGI Tx >> agi_rdnis: unknown [2009-11-10 09:38:56.1746] VERBOSE[32109] res_agi.c: AGI Tx >> agi_context: db_ivr [2009-11-10 09:38:56.1748] VERBOSE[32109] res_agi.c: AGI Tx >> agi_extension: ivr---821 [2009-11-10 09:38:56.1750] VERBOSE[32109] res_agi.c: AGI Tx >> agi_priority: 2 [2009-11-10 09:38:56.1751] VERBOSE[32109] res_agi.c: AGI Tx >> agi_enhanced: 0.0 [2009-11-10 09:38:56.1753] VERBOSE[32109] res_agi.c: AGI Tx >> agi_accountcode: 1257874733.8284 [2009-11-10 09:38:56.1756] VERBOSE[32109] res_agi.c: AGI Tx >> agi_threadid: 1102690624 [2009-11-10 09:38:56.1758] VERBOSE[32109] res_agi.c: AGI Tx >> [2009-11-10 09:38:56.3862] VERBOSE[32109] res_agi.c: AGI Rx << ANSWER [2009-11-10 09:38:56.3864] VERBOSE[32109] res_agi.c: AGI Tx >> 200 result=0 [2009-11-10 09:38:56.6529] DEBUG[32109] rtp.c: Got RTCP report of 176 bytes ... [2009-11-10 09:39:21.7262] VERBOSE[32109] res_agi.c: AGI Rx << GOSUB cdr_block_end s 1 agi,remote_login.php [2009-11-10 09:39:21.7263] DEBUG[32109] app_stack.c: Gosub called with 5 arguments: 0:GOSUB 1:cdr_block_end 2:s 3:1 4:agi,remote_login.php [2009-11-10 09:39:21.7264] DEBUG[32109] app_stack.c: Trying gosub with arguments 'cdr_block_end,s,2(agi,remote_login.php)' [2009-11-10 09:39:21.7265] DEBUG[32109] app_stack.c: Setting 'ARG1' to 'agi' [2009-11-10 09:39:21.7266] DEBUG[32109] app_stack.c: Setting 'ARG2' to 'remote_login.php' [2009-11-10 09:39:21.7266] VERBOSE[32109] res_agi.c: AGI Tx >> 100 result=0 Trying... [2009-11-10 09:39:21.7267] DEBUG[32109] pbx.c: Launching 'Set' [2009-11-10 09:39:21.7268] VERBOSE[32109] pbx.c: -- Executing [s@cdr_block_end:1] Set("SIP/27222-00e04110", "LOCAL(type)=agi") in new stack [2009-11-10 09:39:21.7269] DEBUG[32109] pbx.c: Launching 'Set' [2009-11-10 09:39:21.7270] VERBOSE[32109] pbx.c: -- Executing [s@cdr_block_end:2] Set("SIP/27222-00e04110", "LOCAL(number)=remote_login.php") in new stack [2009-11-10 09:39:21.7271] DEBUG[32109] pbx.c: Launching 'NoOp' [2009-11-10 09:39:21.7272] VERBOSE[32109] pbx.c: -- Executing [s@cdr_block_end:3] NoOp("SIP/27222-00e04110", "-(B)------------------------------------- macro cdr_block_end(agi,remote_login.php) -----------") in new stack [2009-11-10 09:39:21.7273] DEBUG[32109] pbx.c: Expression result is '1' [2009-11-10 09:39:21.7274] DEBUG[32109] pbx.c: Launching 'GotoIf' [2009-11-10 09:39:21.7275] VERBOSE[32109] pbx.c: -- Executing [s@cdr_block_end:4] GotoIf("SIP/27222-00e04110", "1?5:7") in new stack [2009-11-10 09:39:21.7275] VERBOSE[32109] pbx.c: -- Goto (cdr_block_end,s,5) [2009-11-10 09:39:21.7276] DEBUG[32109] pbx.c: Launching 'NoOp' [2009-11-10 09:39:21.7277] VERBOSE[32109] pbx.c: -- Executing [s@cdr_block_end:5] NoOp("SIP/27222-00e04110", "ERROR: cdr_block_end should not be used after cdr_block_start") in new stack [2009-11-10 09:39:21.7277] DEBUG[32109] pbx.c: Launching 'Goto' [2009-11-10 09:39:21.7278] VERBOSE[32109] pbx.c: -- Executing [s@cdr_block_end:6] Goto("SIP/27222-00e04110", "65") in new stack [2009-11-10 09:39:21.7279] VERBOSE[32109] pbx.c: -- Goto (cdr_block_end,s,65) [2009-11-10 09:39:21.7279] DEBUG[32109] pbx.c: Launching 'NoOp' [2009-11-10 09:39:21.7280] VERBOSE[32109] pbx.c: -- Executing [s@cdr_block_end:65] NoOp("SIP/27222-00e04110", "Finish if-cdr_block_end-86") in new stack [2009-11-10 09:39:21.7281] DEBUG[32109] pbx.c: Launching 'NoOp' [2009-11-10 09:39:21.7282] VERBOSE[32109] pbx.c: -- Executing [s@cdr_block_end:66] NoOp("SIP/27222-00e04110", "-(E)------------------------------------- macro cdr_block_end(agi,remote_login.php) -----------") in new stack [2009-11-10 09:39:21.7282] DEBUG[32109] pbx.c: Launching 'Return' [2009-11-10 09:39:21.7284] VERBOSE[32109] pbx.c: -- Executing [s@cdr_block_end:67] Return("SIP/27222-00e04110", "") in new stack [2009-11-10 09:39:21.7288] DEBUG[32109] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-11-10 09:39:21.7288] DEBUG[32109] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---821' AND context = 'db_ivr' AND priority = '3' [2009-11-10 09:39:21.7326] DEBUG[32109] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-11-10 09:39:21.7327] DEBUG[32109] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---821' AND context = 'db_ivr' AND priority = '3' [2009-11-10 09:39:21.7332] VERBOSE[32109] pbx_realtime.c: -- Executing Return("SIP/27222-00e04110", "") [2009-11-10 09:39:21.7335] DEBUG[32109] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-11-10 09:39:21.7335] DEBUG[32109] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---748' AND context = 'db_ivr' AND priority = '16' [2009-11-10 09:39:21.7366] DEBUG[32109] res_config_mysql.c: MySQL RealTime: Connection okay. [2009-11-10 09:39:21.7367] DEBUG[32109] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'ivr---748' AND context = 'db_ivr' AND priority = '16' [2009-11-10 09:39:21.7373] DEBUG[32109] pbx.c: Expression result is '0' [2009-11-10 09:39:21.7374] VERBOSE[32109] pbx_realtime.c: -- Executing GoSubIf("SIP/27222-00e04110", "0?ivr---822,1")