Пытаюсь настроить статусы в обработке для 1С. Настроить ни как не получается, в чем может быть проблема?
Лог работы Астериск ниже:
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_request: 1C_SetStatus.php
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_channel: Local/10000222@miko_ajam-00000006;2
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_language: ru
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_type: Local
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_uniqueid: 1410269306.13
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_version: 11.11.0
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_callerid: unknown
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_calleridname: unknown
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_callingpres: 67
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_callingani2: 0
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_callington: 0
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_callingtns: 0
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_dnid: unknown
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_rdnis: unknown
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_context: miko_ajam
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_extension: 10000222
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_priority: 2
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_enhanced: 0.0
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_accountcode:
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_threadid: -1233716368
<Local/10000222@miko_ajam-00000006;2>AGI Tx >>
<Local/10000222@miko_ajam-00000006;2>AGI Rx <<
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> 510 Invalid or unknown command
<Local/10000222@miko_ajam-00000006;2>AGI Rx << GET VARIABLE command
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> 200 result=1 (put)
<Local/10000222@miko_ajam-00000006;2>AGI Rx << GET VARIABLE dbFamily
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> 200 result=1 (UserBuddyStatus)
<Local/10000222@miko_ajam-00000006;2>AGI Rx << GET VARIABLE key
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> 200 result=1 (SIP/175)
<Local/10000222@miko_ajam-00000006;2>AGI Rx << GET VARIABLE val
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> 200 result=1 (32)
<Local/10000222@miko_ajam-00000006;2>AGI Rx << GET VARIABLE chan
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> 200 result=1 (SIP/175)
<Local/10000222@miko_ajam-00000006;2>AGI Rx << EXEC UserEvent DB_ERR,user:UserBuddyStatus,status:SIP/175
-- AGI Script Executing Application: (UserEvent) Options: (DB_ERR,user:UserBuddyStatus,status:SIP/175)
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> 200 result=0
<Local/10000222@miko_ajam-00000006;2>AGI Rx << ANSWER
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> 200 result=-1
[2014-09-09 19:28:26] ERROR[8911][C-00000006]: utils.c:1339 ast_carefulwrite: write() returned error: Broken pipe
-- <Local/10000222@miko_ajam-00000006;2>AGI Script 1C_SetStatus.php completed, returning 4
== Spawn extension (miko_ajam, 10000222, 2) exited non-zero on 'Local/10000222@miko_ajam-00000006;2'
[2014-09-09 19:28:27] NOTICE[8567]: chan_sip.c:27990 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 175
-- Executing [10000222@miko_ajam:1] NoCDR("Local/10000222@miko_ajam-00000007;2", "" ;) in new stack
-- Executing [10000222@miko_ajam:2] AGI("Local/10000222@miko_ajam-00000007;2", "1C_SetStatus.php" ;) in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/1C_SetStatus.php
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_request: 1C_SetStatus.php
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_channel: Local/10000222@miko_ajam-00000007;2
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_language: ru
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_type: Local
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_uniqueid: 1410269307.15
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_version: 11.11.0
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_callerid: unknown
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_calleridname: unknown
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_callingpres: 67
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_callingani2: 0
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_callington: 0
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_callingtns: 0
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_dnid: unknown
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_rdnis: unknown
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_context: miko_ajam
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_extension: 10000222
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_priority: 2
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_enhanced: 0.0
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_accountcode:
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_threadid: -1233224848
<Local/10000222@miko_ajam-00000007;2>AGI Tx >>
-- Executing [10000222@miko_ajam:1] NoCDR("Local/10000222@miko_ajam-00000008;2", "" ;) in new stack
-- Executing [10000222@miko_ajam:2] AGI("Local/10000222@miko_ajam-00000008;2", "1C_SetStatus.php" ;) in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/1C_SetStatus.php
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_request: 1C_SetStatus.php
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_channel: Local/10000222@miko_ajam-00000008;2
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_language: ru
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_type: Local
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_uniqueid: 1410269307.17
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_version: 11.11.0
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_callerid: unknown
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_calleridname: unknown
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_callingpres: 67
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_callingani2: 0
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_callington: 0
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_callingtns: 0
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_dnid: unknown
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_rdnis: unknown
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_context: miko_ajam
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_extension: 10000222
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_priority: 2
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_enhanced: 0.0
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_accountcode:
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_threadid: -1233470608
<Local/10000222@miko_ajam-00000008;2>AGI Tx >>
<Local/10000222@miko_ajam-00000007;2>AGI Rx <<
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> 510 Invalid or unknown command
<Local/10000222@miko_ajam-00000007;2>AGI Rx << GET VARIABLE command
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> 200 result=1 (put)
<Local/10000222@miko_ajam-00000007;2>AGI Rx << GET VARIABLE dbFamily
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> 200 result=1 (DND)
<Local/10000222@miko_ajam-00000007;2>AGI Rx << GET VARIABLE key
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> 200 result=1 (175)
<Local/10000222@miko_ajam-00000007;2>AGI Rx << GET VARIABLE val
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> 200 result=1 ()
<Local/10000222@miko_ajam-00000007;2>AGI Rx << GET VARIABLE chan
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> 200 result=1 (SIP/175)
<Local/10000222@miko_ajam-00000007;2>AGI Rx << EXEC UserEvent DB_ERR,user :D ND,status:175
-- AGI Script Executing Application: (UserEvent) Options: (DB_ERR,user :D ND,status:175)
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> 200 result=0
<Local/10000222@miko_ajam-00000007;2>AGI Rx << ANSWER
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> 200 result=-1
[2014-09-09 19:28:28] ERROR[8919][C-00000007]: utils.c:1339 ast_carefulwrite: write() returned error: Broken pipe
-- <Local/10000222@miko_ajam-00000007;2>AGI Script 1C_SetStatus.php completed, returning 4
== Spawn extension (miko_ajam, 10000222, 2) exited non-zero on 'Local/10000222@miko_ajam-00000007;2'
<Local/10000222@miko_ajam-00000008;2>AGI Rx <<
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> 510 Invalid or unknown command
<Local/10000222@miko_ajam-00000008;2>AGI Rx << GET VARIABLE command
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> 200 result=1 (put)
<Local/10000222@miko_ajam-00000008;2>AGI Rx << GET VARIABLE dbFamily
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> 200 result=1 (CF)
<Local/10000222@miko_ajam-00000008;2>AGI Rx << GET VARIABLE key
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> 200 result=1 (175)
<Local/10000222@miko_ajam-00000008;2>AGI Rx << GET VARIABLE val
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> 200 result=1 ()
<Local/10000222@miko_ajam-00000008;2>AGI Rx << GET VARIABLE chan
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> 200 result=1 (SIP/175)
<Local/10000222@miko_ajam-00000008;2>AGI Rx << EXEC UserEvent DB_ERR,user:CF,status:175
-- AGI Script Executing Application: (UserEvent) Options: (DB_ERR,user:CF,status:175)
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> 200 result=0
<Local/10000222@miko_ajam-00000008;2>AGI Rx << ANSWER
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> 200 result=-1
Лог работы Астериск ниже:
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_request: 1C_SetStatus.php
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_channel: Local/10000222@miko_ajam-00000006;2
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_language: ru
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_type: Local
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_uniqueid: 1410269306.13
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_version: 11.11.0
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_callerid: unknown
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_calleridname: unknown
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_callingpres: 67
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_callingani2: 0
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_callington: 0
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_callingtns: 0
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_dnid: unknown
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_rdnis: unknown
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_context: miko_ajam
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_extension: 10000222
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_priority: 2
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_enhanced: 0.0
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_accountcode:
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> agi_threadid: -1233716368
<Local/10000222@miko_ajam-00000006;2>AGI Tx >>
<Local/10000222@miko_ajam-00000006;2>AGI Rx <<
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> 510 Invalid or unknown command
<Local/10000222@miko_ajam-00000006;2>AGI Rx << GET VARIABLE command
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> 200 result=1 (put)
<Local/10000222@miko_ajam-00000006;2>AGI Rx << GET VARIABLE dbFamily
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> 200 result=1 (UserBuddyStatus)
<Local/10000222@miko_ajam-00000006;2>AGI Rx << GET VARIABLE key
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> 200 result=1 (SIP/175)
<Local/10000222@miko_ajam-00000006;2>AGI Rx << GET VARIABLE val
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> 200 result=1 (32)
<Local/10000222@miko_ajam-00000006;2>AGI Rx << GET VARIABLE chan
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> 200 result=1 (SIP/175)
<Local/10000222@miko_ajam-00000006;2>AGI Rx << EXEC UserEvent DB_ERR,user:UserBuddyStatus,status:SIP/175
-- AGI Script Executing Application: (UserEvent) Options: (DB_ERR,user:UserBuddyStatus,status:SIP/175)
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> 200 result=0
<Local/10000222@miko_ajam-00000006;2>AGI Rx << ANSWER
<Local/10000222@miko_ajam-00000006;2>AGI Tx >> 200 result=-1
[2014-09-09 19:28:26] ERROR[8911][C-00000006]: utils.c:1339 ast_carefulwrite: write() returned error: Broken pipe
-- <Local/10000222@miko_ajam-00000006;2>AGI Script 1C_SetStatus.php completed, returning 4
== Spawn extension (miko_ajam, 10000222, 2) exited non-zero on 'Local/10000222@miko_ajam-00000006;2'
[2014-09-09 19:28:27] NOTICE[8567]: chan_sip.c:27990 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 175
-- Executing [10000222@miko_ajam:1] NoCDR("Local/10000222@miko_ajam-00000007;2", "" ;) in new stack
-- Executing [10000222@miko_ajam:2] AGI("Local/10000222@miko_ajam-00000007;2", "1C_SetStatus.php" ;) in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/1C_SetStatus.php
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_request: 1C_SetStatus.php
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_channel: Local/10000222@miko_ajam-00000007;2
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_language: ru
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_type: Local
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_uniqueid: 1410269307.15
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_version: 11.11.0
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_callerid: unknown
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_calleridname: unknown
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_callingpres: 67
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_callingani2: 0
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_callington: 0
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_callingtns: 0
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_dnid: unknown
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_rdnis: unknown
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_context: miko_ajam
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_extension: 10000222
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_priority: 2
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_enhanced: 0.0
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_accountcode:
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> agi_threadid: -1233224848
<Local/10000222@miko_ajam-00000007;2>AGI Tx >>
-- Executing [10000222@miko_ajam:1] NoCDR("Local/10000222@miko_ajam-00000008;2", "" ;) in new stack
-- Executing [10000222@miko_ajam:2] AGI("Local/10000222@miko_ajam-00000008;2", "1C_SetStatus.php" ;) in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/1C_SetStatus.php
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_request: 1C_SetStatus.php
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_channel: Local/10000222@miko_ajam-00000008;2
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_language: ru
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_type: Local
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_uniqueid: 1410269307.17
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_version: 11.11.0
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_callerid: unknown
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_calleridname: unknown
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_callingpres: 67
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_callingani2: 0
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_callington: 0
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_callingtns: 0
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_dnid: unknown
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_rdnis: unknown
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_context: miko_ajam
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_extension: 10000222
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_priority: 2
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_enhanced: 0.0
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_accountcode:
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> agi_threadid: -1233470608
<Local/10000222@miko_ajam-00000008;2>AGI Tx >>
<Local/10000222@miko_ajam-00000007;2>AGI Rx <<
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> 510 Invalid or unknown command
<Local/10000222@miko_ajam-00000007;2>AGI Rx << GET VARIABLE command
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> 200 result=1 (put)
<Local/10000222@miko_ajam-00000007;2>AGI Rx << GET VARIABLE dbFamily
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> 200 result=1 (DND)
<Local/10000222@miko_ajam-00000007;2>AGI Rx << GET VARIABLE key
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> 200 result=1 (175)
<Local/10000222@miko_ajam-00000007;2>AGI Rx << GET VARIABLE val
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> 200 result=1 ()
<Local/10000222@miko_ajam-00000007;2>AGI Rx << GET VARIABLE chan
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> 200 result=1 (SIP/175)
<Local/10000222@miko_ajam-00000007;2>AGI Rx << EXEC UserEvent DB_ERR,user :D ND,status:175
-- AGI Script Executing Application: (UserEvent) Options: (DB_ERR,user :D ND,status:175)
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> 200 result=0
<Local/10000222@miko_ajam-00000007;2>AGI Rx << ANSWER
<Local/10000222@miko_ajam-00000007;2>AGI Tx >> 200 result=-1
[2014-09-09 19:28:28] ERROR[8919][C-00000007]: utils.c:1339 ast_carefulwrite: write() returned error: Broken pipe
-- <Local/10000222@miko_ajam-00000007;2>AGI Script 1C_SetStatus.php completed, returning 4
== Spawn extension (miko_ajam, 10000222, 2) exited non-zero on 'Local/10000222@miko_ajam-00000007;2'
<Local/10000222@miko_ajam-00000008;2>AGI Rx <<
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> 510 Invalid or unknown command
<Local/10000222@miko_ajam-00000008;2>AGI Rx << GET VARIABLE command
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> 200 result=1 (put)
<Local/10000222@miko_ajam-00000008;2>AGI Rx << GET VARIABLE dbFamily
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> 200 result=1 (CF)
<Local/10000222@miko_ajam-00000008;2>AGI Rx << GET VARIABLE key
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> 200 result=1 (175)
<Local/10000222@miko_ajam-00000008;2>AGI Rx << GET VARIABLE val
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> 200 result=1 ()
<Local/10000222@miko_ajam-00000008;2>AGI Rx << GET VARIABLE chan
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> 200 result=1 (SIP/175)
<Local/10000222@miko_ajam-00000008;2>AGI Rx << EXEC UserEvent DB_ERR,user:CF,status:175
-- AGI Script Executing Application: (UserEvent) Options: (DB_ERR,user:CF,status:175)
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> 200 result=0
<Local/10000222@miko_ajam-00000008;2>AGI Rx << ANSWER
<Local/10000222@miko_ajam-00000008;2>AGI Tx >> 200 result=-1