exten => s,9,PlayRecieve(/var/lib/ippbx/ivrvoice/3/hai730to530,dit)
exten => s,10,Set(ID=${dit})
exten => s,11,MYSQL(Connect connid localhost root nxnet2004 cctest)
exten => s,12,MYSQL(Query resultid ${connid} SELECT\ c_dingdid\ from\ jh\ where\ c_id=${ID})
exten => s,13,MYSQL(Fetch fetchid ${resultid} ccc)
exten => s,14,MYSQL(Clear ${resultid})
exten => s,15,MYSQL(Disconnect ${connid})
exten => s,16,Set(weileilei=${ccc})
exten => s,17,saydigits(${ccc})
-- Digit timeout set to 2
-- Executing Set("SIP/803-3a94", "TIMEOUT(response)=2") in new stack
-- Response timeout set to 2
-- Executing Answer("SIP/803-3a94", "") in new stack
-- Executing NoOp("SIP/803-3a94", "s") in new stack
-- Executing PlayRecieve("SIP/803-3a94", "/var/lib/ippbx/ivrvoice/3/hai730to530|dit") in new stack
-- Playing '/var/lib/ippbx/ivrvoice/3/hai730to530' (language 'ch')
-- Executing Set("SIP/803-3a94", "ID=11") in new stack
-- Executing MYSQL("SIP/803-3a94", "Connect connid localhost root nxnet2004 cctest") in new stack
-- Executing MYSQL("SIP/803-3a94", "Query resultid 1 SELECT c_dingdid from jh where c_id=11") in new stack
-- Executing MYSQL("SIP/803-3a94", "Fetch fetchid 2 ccc") in new stack
Sep 7 11:28:31 WARNING[20594]: app_addon_sql_mysql.c:396 aMYSQL_fetch: ast_MYSQL_fetch: numFields=1
-- Executing MYSQL("SIP/803-3a94", "Clear 2") in new stack
-- Executing MYSQL("SIP/803-3a94", "Disconnect 1") in new stack
-- Executing Set("SIP/803-3a94", "weileilei=1234") in new stack