จากที่ผมเข้าไปดูใน console โดยเข้าระบบแล้วพิมพ์ asterisk -r แล้วก็กด *33 โทรออกตามที่บอกนะครับ
ได้ผลดังนี้ครับ ซึ่งผมดูไม่เป็นเลยครับ รบกวนช่วยดูให้หน่อยนะครับ
ตัว SIP 200 201 202 3 ตัวนี้นะครับ ที่ต้องการให้กด *33 จาก local แล้วไม่ขึ้น call rejected น่ะครับ
ขอบคุณมากครับ
Connected to Asterisk 1.4.22-4 RPM by
vc-rpms@voipconsulting.nl currently running on thefuntong (pid = 3191)
Verbosity is at least 3
/home/phpagi/weekly.php|190086174|10|0|0|0|0|0|0|0: 4
/home/phpagi/weekly.php|190086174|10|0|0|0|0|0|0|0: select * from log where session_cdr=1306571327.2217
/home/phpagi/weekly.php|190086174|10|0|0|0|0|0|0|0: p_w_money=0
/home/phpagi/weekly.php|190086174|10|0|0|0|0|0|0|0: p_w_money+1=1
/home/phpagi/weekly.php|190086174|10|0|0|0|0|0|0|0: The file /home/sound/promotion_299/W4_222011_10.wav exists
-- Playing '/home/sound/promotion_299/W4_222011_10' (escape_digits=) (sample_offset 0)
-- AGI Script /home/phpagi/weekly.php completed, returning 0
-- Executing [s@funtong-new-hang1-weekly:12] AGI("Zap/2-1", "/home/phpagi/weekly.php|190086174|10|0|0|0|0|1|0|0") in new stack
-- Launched AGI Script /home/phpagi/weekly.php
/home/phpagi/weekly.php|190086174|10|0|0|0|0|1|0|0: SES=1306571327.2217
/home/phpagi/weekly.php|190086174|10|0|0|0|0|1|0|0: count_week_service=3
/home/phpagi/weekly.php|190086174|10|0|0|0|0|1|0|0: count_learn_service=3
/home/phpagi/weekly.php|190086174|10|0|0|0|0|1|0|0: count_work_service=3
/home/phpagi/weekly.php|190086174|10|0|0|0|0|1|0|0: count_money_service=2
/home/phpagi/weekly.php|190086174|10|0|0|0|0|1|0|0: count_love_service=3
/home/phpagi/weekly.php|190086174|10|0|0|0|0|1|0|0: count_health_service=3
-- <Zap/2-1> Playing '/home/sound/press1' (language 'th')
-- Registered SIP '200' at 192.168.1.17 port 5060 expires 3600
-- Registered SIP '201' at 192.168.1.17 port 5060 expires 3600
-- Registered SIP '202' at 192.168.1.17 port 5060 expires 3600
-- Executing [*33@from-internal:1] NoOp("SIP/200-08314488", "Running miscapp 1: Funtong-IVR") in new stack
-- Executing [*33@from-internal:2] Goto("SIP/200-08314488", "") in new stack
== Spawn extension (from-internal, *33, 2) exited non-zero on 'SIP/200-08314488'
-- Executing [h@from-internal:1] Macro("SIP/200-08314488", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] ResetCDR("SIP/200-08314488", "vw") in new stack
-- Executing [s@macro-hangupcall:2] NoCDR("SIP/200-08314488", "") in new stack
-- Executing [s@macro-hangupcall:3] GotoIf("SIP/200-08314488", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing [s@macro-hangupcall:6] GotoIf("SIP/200-08314488", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] GotoIf("SIP/200-08314488", "1?theend") in new stack
-- Goto (macro-hangupcall,s,11)
-- Executing [s@macro-hangupcall:11] Hangup("SIP/200-08314488", "") in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/200-08314488' in macro 'hangupcall'
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/200-08314488'
/home/phpagi/weekly.php|190086174|10|0|0|0|0|1|0|0: 7