##exit
6 received, 0 dropped
[root@localhost /]# ngrep -d eth0 port 25
interface: eth0 (10.4.43.0/255.255.255.0)
filter: (ip) and ( port 25 )
#######################################################[general]
notifymimetype=application/simple-message-summary
vmexten=*99
[default]
[100]
username=100
secret=100
type=friend
host=dynamic
context=voip4share
mailbox=100@voip4share
[101]
username=101
secret=101
host=dynamic
type=friend
context=voip4share
mailbox=101@voip4share
[voip4share]
exten => 100,1,Dial(SIP/100,10,tTr)
exten => 100,2,VoiceMail(100@voip4share,u)
exten => 100,102,VoiceMail(100@voip4share,b)
exten => 101,1,Dial(SIP/101,10,tTr)
exten => 101,2,VoiceMail(101@voip4share,u)
exten => 101,102,VoiceMail(101@voip4share,b)
; Dial *99 to Listen to Mailbox
exten => *99,1,VoiceMailMain(@voip4share)
;!
;! Automatically generated configuration file
;! Filename: voicemail.conf (/etc/asterisk/voicemail.conf)
;! Generator: AppVoicemail
;! Creation Date: Tue Jun 22 19:16:52 2010
;!
[general]
format=wav49|gsm
serveremail=mr.bun_it13@hotmail.com
attach=yes
attachfmt=wav49|gsm
saycid=yes
sayduration=yes
emaildateformat=%A, %d %B %Y at %H:%M:%S
mailcmd=/usr/sbin/sendmail -t
tz=Asia/Bangkok
[voip4share]
100 =>100,Ban,mr.bun_it13@hotmail.com
101 =>101,May,tanyamas_may@hotmail.com
;
-- Registered SIP '101' at 10.4.43.31 port 40182
== Using SIP RTP CoS mark 5
-- Executing [100@voip4share:1] Dial("SIP/101-00000000", "SIP/100,10,tTr") in new stack
== Using SIP RTP CoS mark 5
[Jun 27 18:54:52] WARNING[3528]: app_dial.c:1745 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Unknown)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [100@voip4share:2] VoiceMail("SIP/101-00000000", "100@voip4share,u") in new stack
-- <SIP/101-00000000> Playing '/var/spool/asterisk/voicemail/voip4share/100/temp.gsm' (language 'en')
-- <SIP/101-00000000> Playing 'vm-intro.slin' (language 'en')
-- <SIP/101-00000000> Playing 'beep.slin' (language 'en')
-- Recording the message
-- x=0, open writing: /var/spool/asterisk/voicemail/voip4share/100/tmp/rn0LzM format: wav49, 0x8dca360
-- x=1, open writing: /var/spool/asterisk/voicemail/voip4share/100/tmp/rn0LzM format: gsm, 0x8dc9c68
-- User ended message by pressing #
-- <SIP/101-00000000> Playing 'auth-thankyou.slin' (language 'en')
-- Auto fallthrough, channel 'SIP/101-00000000' status is 'CHANUNAVAIL'
[Jun 27 18:55:11] ERROR[3528]: cdr_addon_mysql.c:200 mysql_log: Cannot connect to database server localhost: (1049) Unknown database 'astriskcdrdb'
localhost*CLI>
mr.bun_it13 เขียน:พี่หนุ่ยคับ
พอผมใช้ ngrep -d eth0 port 25 อะครับ
มันก็ขึ้น
- โค้ด: เลือกทั้งหมด
##exit
6 received, 0 dropped
[root@localhost /]# ngrep -d eth0 port 25
interface: eth0 (10.4.43.0/255.255.255.0)
filter: (ip) and ( port 25 )
#######################################################
ตลอดเรื่อยๆเลยอะครับ ผมไม่เข้าใจว่ามันผ่านหรือไม่ผ่านอะครับ
แล้วเมลล์อะครับ
ถ้าเกิดผมเซตให้เป็นพวก hotmail gmail เนี่ย จาได้หรือป่าวอะครับ แล้ว
ใน smart host ของ sendmail.mc ต้องแก้อะไรไม๊อะครับ
ขอบคุนครับ
wget http://downloads.asterisk.org/pub/telephony/sounds/asterisk-core-sounds-en-gsm-current.tar.gzย้อนกลับไปยัง Asterisk SIP Server
กำลังดูบอร์ดนี้: ไม่มีสมาชิกใหม่ และ บุคคลทั่วไป 0 ท่าน