ถามหน่อยคับ

Elastix IP Pbx

Moderator: jubjang

ถามหน่อยคับ

โพสต์โดย bankbank » 20 มี.ค. 2011 17:59

พอดีผมจะเซตให้ DiD ขอ เม้ามันโทรเข้าได้นะคับติดที่ ext กริ้งเดียว แล้วมันก็ตัดสายไป ผมต้อง เซต ยังไงหรือคับ

-- Executing [0034750599@from-trunk-sip-trunk-mm:1] Set("SIP/trunk-mm-00000017", "GROUP()=OUT_2") in new stack
-- Executing [0034750599@from-trunk-sip-trunk-mm:2] Goto("SIP/trunk-mm-00000017", "from-trunk,0034750599,1") in new stack
-- Goto (from-trunk,0034750599,1)
-- Executing [0034750599@from-trunk:1] Set("SIP/trunk-mm-00000017", "__FROM_DID=0034750599") in new stack
-- Executing [0034750599@from-trunk:2] Set("SIP/trunk-mm-00000017", "CHANNEL(language)=en") in new stack
-- Executing [0034750599@from-trunk:3] Gosub("SIP/trunk-mm-00000017", "app-blacklist-check,s,1") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("SIP/trunk-mm-00000017", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("SIP/trunk-mm-00000017", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:3] Return("SIP/trunk-mm-00000017", "") in new stack
-- Executing [0034750599@from-trunk:4] ExecIf("SIP/trunk-mm-00000017", "0 ?Set(CALLERID(name)=0028886033)") in new stack
-- Executing [0034750599@from-trunk:5] Ringing("SIP/trunk-mm-00000017", "") in new stack
-- Executing [0034750599@from-trunk:6] Wait("SIP/trunk-mm-00000017", "5") in new stack
-- Executing [0034750599@from-trunk:7] Set("SIP/trunk-mm-00000017", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [0034750599@from-trunk:8] Set("SIP/trunk-mm-00000017", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [0034750599@from-trunk:9] Goto("SIP/trunk-mm-00000017", "from-did-direct,2000,1") in new stack
-- Goto (from-did-direct,2000,1)
-- Executing [2000@from-did-direct:1] Macro("SIP/trunk-mm-00000017", "exten-vm,novm,2000") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/trunk-mm-00000017", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/trunk-mm-00000017", "AMPUSER=0028886033") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/trunk-mm-00000017", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/trunk-mm-00000017", "1?Set(REALCALLERIDNUM=0028886033)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/trunk-mm-00000017", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/trunk-mm-00000017", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/trunk-mm-00000017", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/trunk-mm-00000017", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/trunk-mm-00000017", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/trunk-mm-00000017", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("SIP/trunk-mm-00000017", "Using CallerID "0028886033" <0028886033>") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/trunk-mm-00000017", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/trunk-mm-00000017", "VMBOX=novm") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/trunk-mm-00000017", "EXTTOCALL=2000") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/trunk-mm-00000017", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("SIP/trunk-mm-00000017", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("SIP/trunk-mm-00000017", "RT=""") in new stack
-- Executing [s@macro-exten-vm:8] Macro("SIP/trunk-mm-00000017", "record-enable,2000,IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/trunk-mm-00000017", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/trunk-mm-00000017", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/trunk-mm-00000017", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("SIP/trunk-mm-00000017", "1?IN") in new stack
-- Goto (macro-record-enable,s,20)
-- Executing [s@macro-record-enable:20] ExecIf("SIP/trunk-mm-00000017", "1?MacroExit()") in new stack
-- Executing [s@macro-exten-vm:9] Macro("SIP/trunk-mm-00000017", "dial,,tr,2000") in new stack
-- Executing [s@macro-dial:1] GotoIf("SIP/trunk-mm-00000017", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("SIP/trunk-mm-00000017", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
dialparties.agi: Caller ID name is '0028886033' number is '0028886033'
dialparties.agi: Methodology of ring is 'none'
-- dialparties.agi: Added extension 2000 to extension map
-- dialparties.agi: Extension 2000 cf is disabled
-- dialparties.agi: Extension 2000 do not disturb is disabled
dialparties.agi: EXTENSION_STATE: 0 (NOT_INUSE)
dialparties.agi: Extension 2000 has ExtensionState: 0
-- dialparties.agi: Checking CW and CFB status for extension 2000
-- dialparties.agi: dbset CALLTRACE/2000 to 0028886033
-- dialparties.agi: Filtered ARG3: 2000
-- <SIP/trunk-mm-00000017>AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:7] Dial("SIP/trunk-mm-00000017", "SIP/2000,,tr") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dial:8] Set("SIP/trunk-mm-00000017", "DIALSTATUS=CHANUNAVAIL") in new stack
-- Executing [s@macro-dial:9] GosubIf("SIP/trunk-mm-00000017", "0?CHANUNAVAIL,1") in new stack
-- Executing [s@macro-exten-vm:10] GotoIf("SIP/trunk-mm-00000017", "0?exit,return") in new stack
-- Executing [s@macro-exten-vm:11] Set("SIP/trunk-mm-00000017", "SV_DIALSTATUS=CHANUNAVAIL") in new stack
-- Executing [s@macro-exten-vm:12] GosubIf("SIP/trunk-mm-00000017", "0?docfu,1") in new stack
-- Executing [s@macro-exten-vm:13] GosubIf("SIP/trunk-mm-00000017", "0?docfb,1") in new stack
-- Executing [s@macro-exten-vm:14] Set("SIP/trunk-mm-00000017", "DIALSTATUS=CHANUNAVAIL") in new stack
-- Executing [s@macro-exten-vm:15] NoOp("SIP/trunk-mm-00000017", "Voicemail is 'novm'") in new stack
-- Executing [s@macro-exten-vm:16] GotoIf("SIP/trunk-mm-00000017", "1?s-CHANUNAVAIL,1") in new stack
-- Goto (macro-exten-vm,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-exten-vm:1] NoOp("SIP/trunk-mm-00000017", "IVR_RETVM: IVR_CONTEXT: ") in new stack
-- Executing [s-CHANUNAVAIL@macro-exten-vm:2] GotoIf("SIP/trunk-mm-00000017", "0?exit,1") in new stack
-- Executing [s-CHANUNAVAIL@macro-exten-vm:3] PlayTones("SIP/trunk-mm-00000017", "congestion") in new stack
== Spawn extension (macro-exten-vm, s-CHANUNAVAIL, 3) exited non-zero on 'SIP/trunk-mm-00000017' in macro 'exten-vm'
== Spawn extension (from-did-direct, 2000, 1) exited non-zero on 'SIP/trunk-mm-00000017'

งงมากคับ
bankbank
Bronz Member
 
โพสต์: 17
ลงทะเบียนเมื่อ: 10 มี.ค. 2011 01:11

Re: ถามหน่อยคับ

โพสต์โดย nuiz » 20 มี.ค. 2011 21:39

เวลาเซ็ต Trunk ของ Mouthmun จะมีใส่บรรทัด context= ใช่ป่ะครับ

ต้องเซ็ตชื่อ context ให้ชื่อเดียวกับ context ของเบอร์ extension 2000 ด้วย ถึงจะโทรเข้ามาได้

context=from-internal

หน่ะครับ ลองดูครับ
** หากมีปัญหากับอุปกรณ์ที่ซื้อมาเองหรือบริการที่ทำขึ้นมาเอง ให้โพสต์ถามในเว็บบอร์ดนี้นะครับ **
** งานเร่งด่วนติดต่อว่าจ้างที่เบอร์ 08-5161-9439 อีเมล์ iamaladin@gmail.com ไลน์ NuizVoip ครับ **
nuiz
Diamond Member
 
โพสต์: 7001
ลงทะเบียนเมื่อ: 24 มี.ค. 2010 09:33

Re: ถามหน่อยคับ

โพสต์โดย bankbank » 21 มี.ค. 2011 04:41

ผมทำละคับ แต่มันโทรเข้ากรี้งเดียวแล้วตัดสายอะคับ
รูปภาพ
Thanks: ฝากรูป
bankbank
Bronz Member
 
โพสต์: 17
ลงทะเบียนเมื่อ: 10 มี.ค. 2011 01:11

Re: ถามหน่อยคับ

โพสต์โดย nuiz » 21 มี.ค. 2011 09:05

น่าจะเป็นปัญหาที่ codec ครับ ขอดูรูปตอนที่คอนฟิก Trunk Mouthmun ด้วยอ่ะครับ และติดตั้ง G.729 แล้วใช่ป่ะครับ
ดีบัคดู ใช้คำสั่งนี้ครับ
sip set debug on
sip set debug peer trunk-mm
sip set debug peer 2000
sip set debug off

แล้วก๊อบข้อความมาให้ดูหน่อย
** หากมีปัญหากับอุปกรณ์ที่ซื้อมาเองหรือบริการที่ทำขึ้นมาเอง ให้โพสต์ถามในเว็บบอร์ดนี้นะครับ **
** งานเร่งด่วนติดต่อว่าจ้างที่เบอร์ 08-5161-9439 อีเมล์ iamaladin@gmail.com ไลน์ NuizVoip ครับ **
nuiz
Diamond Member
 
โพสต์: 7001
ลงทะเบียนเมื่อ: 24 มี.ค. 2010 09:33

Re: ถามหน่อยคับ

โพสต์โดย bankbank » 21 มี.ค. 2011 16:33

nuiz เขียน:น่าจะเป็นปัญหาที่ codec ครับ ขอดูรูปตอนที่คอนฟิก Trunk Mouthmun ด้วยอ่ะครับ และติดตั้ง G.729 แล้วใช่ป่ะครับ
ดีบัคดู ใช้คำสั่งนี้ครับ
sip set debug on
sip set debug peer trunk-mm
sip set debug peer 2000
sip set debug off

แล้วก๊อบข้อความมาให้ดูหน่อย


ได้แล้ว คับ ของคุณ คุณหนุ่ยมากเลยนะคับ พอดีผมลืมใส่โค้ด 729 คับ
bankbank
Bronz Member
 
โพสต์: 17
ลงทะเบียนเมื่อ: 10 มี.ค. 2011 01:11


ย้อนกลับไปยัง Elastix - Unified Communications Software

ผู้ใช้งานขณะนี้

กำลังดูบอร์ดนี้: ไม่มีสมาชิกใหม่ และ บุคคลทั่วไป 0 ท่าน

cron