อันนี้ที่ผมโทรเข้าเองนะครับ
สเตปการโทรเข้าของระบบจะเป็นดังนี้ครับ
โทรเข้า 025159222 > เสียง first_intro1 > เสียง first_intro บอกให้กด 1,2,3 > ผมกด 1 เพื่อใส่รหัส pin=170150008 > แล้วผมก็วางสายครับ
หากต้องการส่วนไหนเพิ่มบอกได้เลยนะครับ
ขอบคุณครับ
login as: programmer
programmer@192.168.1.36's password:
Last login: Tue May 31 13:26:03 2011 from 192.168.1.9
[thefuntong.com ~]# su -
Password:
[thefuntong.com ~]# asterisk -r
Asterisk 1.4.22-4 RPM by
vc-rpms@voipconsulting.nl, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 1.4.22-4 RPM by
vc-rpms@voipconsulting.nl currently running on thefuntong (pid = 3191)
Verbosity is at least 3
-- Accepting call from '836046644' to '5159222' on channel 0/30, span 1
-- Executing [5159222@from-pstn-custom:1] Set("Zap/30-1", "NUM_INCOME=5159222") in new stack
-- Executing [5159222@from-pstn-custom:2] Goto("Zap/30-1", "funtong_start|s|1") in new stack
-- Goto (funtong_start,s,1)
-- Executing [s@funtong_start:1] Answer("Zap/30-1", "") in new stack
-- Executing [s@funtong_start:2] AGI("Zap/30-1", "/home/phpagi/addcdr.php|5159222|") in new stack
-- Launched AGI Script /home/phpagi/addcdr.php
/home/phpagi/addcdr.php|5159222|: number=025159222
/home/phpagi/addcdr.php|5159222|: 'sessionid=1306823517.3552
/home/phpagi/addcdr.php|5159222|: request=/home/phpagi/addcdr.php,channel=Zap/30-1
/home/phpagi/addcdr.php|5159222|: number=025159222
/home/phpagi/addcdr.php|5159222|: num_row_call1=
/home/phpagi/addcdr.php|5159222|: num_row=0
/home/phpagi/addcdr.php|5159222|: hello=148604
/home/phpagi/addcdr.php|5159222|: phone=0836046644
-- AGI Script /home/phpagi/addcdr.php completed, returning 0
-- Executing [s@start:1] Answer("Zap/30-1", "") in new stack
-- Executing [s@start:2] BackGround("Zap/30-1", "/home/sound/login/first_intro1") in new stack
-- <Zap/30-1> Playing '/home/sound/login/first_intro1' (language 'th')
-- Executing [s@start:3] Goto("Zap/30-1", "first_intro|s|1") in new stack
-- Goto (first_intro,s,1)
-- Executing [s@first_intro:1] Answer("Zap/30-1", "") in new stack
-- Executing [s@first_intro:2] Set("Zap/30-1", "COUNT_READ=0") in new stack
-- Executing [s@first_intro:3] Set("Zap/30-1", "COUNT_READ=1") in new stack
-- Executing [s@first_intro:4] GotoIf("Zap/30-1", "0?stopping:next") in new stack
-- Goto (first_intro,s,6)
-- Executing [s@first_intro:6] Goto("Zap/30-1", "s|7") in new stack
-- Goto (first_intro,s,7)
-- Executing [s@first_intro:7] BackGround("Zap/30-1", "/home/sound/login/first_intro") in new stack
-- <Zap/30-1> Playing '/home/sound/login/first_intro' (language 'th')
== CDR updated on Zap/30-1
-- Executing [1@first_intro:1] Goto("Zap/30-1", "login_process|s|1") in new stack
-- Goto (login_process,s,1)
-- Executing [s@login_process:1] Set("Zap/30-1", "COUNT_LOGIN=0") in new stack
-- Executing [s@login_process:2] Set("Zap/30-1", "COUNT_LOGIN=1") in new stack
-- Executing [s@login_process:3] GotoIf("Zap/30-1", "0?stopping:next") in new stack
-- Goto (login_process,s,5)
-- Executing [s@login_process:5] Goto("Zap/30-1", "s|6") in new stack
-- Goto (login_process,s,6)
-- Executing [s@login_process:6] BackGround("Zap/30-1", "/home/sound/login/pin") in new stack
-- <Zap/30-1> Playing '/home/sound/login/pin' (language 'th')
-- Executing [s@login_process:7] WaitExten("Zap/30-1", "15") in new stack
== CDR updated on Zap/30-1
-- Executing [170150008@login_process:1] Set("Zap/30-1", "PIN=170150008") in new stack
-- Executing [170150008@login_process:2] NoOp("Zap/30-1", "170150008") in new stack
-- Executing [170150008@login_process:3] Goto("Zap/30-1", "Funtong-GetPassword|s|1") in new stack
-- Goto (Funtong-GetPassword,s,1)
-- Executing [s@Funtong-GetPassword:1] Set("Zap/30-1", "COUNT_PASSWORD=0") in new stack
-- Executing [s@Funtong-GetPassword:2] Set("Zap/30-1", "COUNTER=0") in new stack
-- Executing [s@Funtong-GetPassword:3] Set("Zap/30-1", "COUNT_PASSWORD=1") in new stack
-- Executing [s@Funtong-GetPassword:4] GotoIf("Zap/30-1", "0?stopping:next") in new stack
-- Goto (Funtong-GetPassword,s,6)
-- Executing [s@Funtong-GetPassword:6] Goto("Zap/30-1", "s|7") in new stack
-- Goto (Funtong-GetPassword,s,7)
-- Executing [s@Funtong-GetPassword:7] BackGround("Zap/30-1", "/home/sound/login/password") in new stack
-- <Zap/30-1> Playing '/home/sound/login/password' (language 'th')
-- Executing [s@Funtong-GetPassword:8] WaitExten("Zap/30-1", "8") in new stack
-- Channel 0/30, span 1 got hangup request, cause 16
== Spawn extension (Funtong-GetPassword, s, 8) exited non-zero on 'Zap/30-1'
-- Executing [h@Funtong-GetPassword:1] System("Zap/30-1", "/home/phpagi/hang1_hangup.php 1306823517.3552") in new stack
-- Hungup 'Zap/30-1'
thefuntong*CLI>