AsteriskThailand
May 22, 2012, 11:17:24 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: การเชื่อมต่อ 2 IPBX โดยE1  (Read 3260 times)
nut0035
Newbie
*
Posts: 7


View Profile
« on: January 24, 2008, 06:15:51 PM »

ต่อนนี้ผมมี 2 server ผมจะเชื่อมต่อโดยใช้ E1 ต้องไปconfigที่ไหนบ้างอ่ะครับ
เพื่อให้2server นี้รู้จักกัน (server1)ตอนนี้ผมมีchannelที่เป็นzap1-31แล้ว extensionที่มีcontextที่ตรงกับchannelแล้ว
หากผมจะโทรไปที่server2 ผมจะต้องไปตั้งที่ไหนอีกหรอครับเพื่อที่จะให้มันผ่านทางE1 ถ้ายกตัวอย่าง config จะดีมากเลยอ่ะครับ ขอบคุณครับ
Logged
stp
Newbie
*
Posts: 32


View Profile
« Reply #1 on: January 24, 2008, 07:54:52 PM »

เพิ่ม dialplan เพื่อให้มี access code ที่โทรออกทาง E1 เช่น

exten => _9.,1,Dial(Zap/g0, ${EXTEN:1})

assume:
E1 (channel 1-31) is in group=g0
9 is access code to second server

จริง ๆ แล้วสามารถเชื่อมโดยใช้ SIP Trunk แทน E1 ได้

Logged
nut0035
Newbie
*
Posts: 7


View Profile
« Reply #2 on: January 24, 2008, 11:05:07 PM »

ขอบคุณ stp นะครับ แล้วความหมายของ ${EXTEN:1} คืออะไรหรอครับ
แล้ว signal type ควรจะใช้แบบไหนหรอครับ pri_cpe ทั้ง2เครื่องเลยหรอป่าว
หรือใช้ pri_cpe อีกเครื่องใช้ pri_net หรอครับ
Logged
Patrickz
Global Moderator
Sr. Member
*****
Posts: 274


View Profile WWW
« Reply #3 on: January 25, 2008, 06:35:32 AM »

สวัสดีครับ
 ผมเคยใช้แต่ pri_cpe หน่ะครับ ไม่ค่อยเห็นใครใช้ pri_net เลย

Quote
; Signalling method (default is fxs). Valid values:
; em: E & M
; em_w: E & M Wink
; featd: Feature Group D (The fake, Adtran style, DTMF)
; featdmf: Feature Group D (The real thing, MF (domestic, US))
; featb: Feature Group B (MF (domestic, US))
; fxs_ls: FXS (Loop Start)
; fxs_gs: FXS (Ground Start)
; fxs_ks: FXS (Kewl Start)
; fxo_ls: FXO (Loop Start)
; fxo_gs: FXO (Ground Start)
; fxo_ks: FXO (Kewl Start)
; pri_cpe: PRI signalling, CPE side
; pri_net: PRI signalling, Network side

; sf: SF (Inband Tone) Signalling
; sf_w: SF Wink
; sf_featd: SF Feature Group D (The fake, Adtran style, DTMF)
; sf_featdmf: SF Feature Group D (The real thing, MF (domestic, US))
; sf_featb: SF Feature Group B (MF (domestic, US))
; The following are used for Radio interfaces:
; fxs_rx: Receive audio/COR on an FXS kewlstart interface (FXO at the channel bank)
; fxs_tx: Transmit audio/PTT on an FXS loopstart interface (FXO at the channelbank)
; fxo_rx: Receive audio/COR on an FXO loopstart interface (FXS at the channel bank)
; fxo_tx: Transmit audio/PTT on an FXO groundstart interface (FXS at the channel bank)
; em_rx: Receive audio/COR on an E&M interface (1-way)
; em_tx: Transmit audio/PTT on an E&M interface (1-way)
; em_txrx: Receive audio/COR AND Transmit audio/PTT on an E&M interface (2-way)
; em_rxtx: same as em_txrx (for our dyslexic friends)
; sf_rx: Receive audio/COR on an SF interface (1-way)
; sf_tx: Transmit audio/PTT on an SF interface (1-way)
; sf_txrx: Receive audio/COR AND Transmit audio/PTT on an SF interface (2-way)
; sf_rxtx: same as sf_txrx (for our dyslexic friends)
;
Logged

jane
Newbie
*
Posts: 43


View Profile
« Reply #4 on: January 25, 2008, 07:24:32 AM »

ฝั่งหนึ่งเป็น cpe อีกทางต้องเป็น network ครับ

หรือง่ายหน่อย ใช้ qsig ดีกว่าไหม?
Logged
Patrickz
Global Moderator
Sr. Member
*****
Posts: 274


View Profile WWW
« Reply #5 on: January 25, 2008, 09:59:42 AM »

ฝั่งหนึ่งเป็น cpe อีกทางต้องเป็น network ครับ
ขอบคุณครับ ถ้าอย่างนั้นผู้ใช้ cpe_net คงต้องเป็นผู้ให้บริการ, carrier
Logged

nut0035
Newbie
*
Posts: 7


View Profile
« Reply #6 on: January 25, 2008, 10:18:16 AM »

อีกเรื่องครับ ผมมีตู้NECที่ต้องการจะเชื่อมต่อด้วยsignalมันเป็นแบบmfc_r2ไม่ทราบว่ามีasteriskตัวไหนที่รองรับมั่งอ่ะครับ
Logged
nut0035
Newbie
*
Posts: 7


View Profile
« Reply #7 on: January 25, 2008, 10:20:01 AM »

ขอบคุณหลายๆคนที่ช่วยเหลือนะครับ
Logged
Patrickz
Global Moderator
Sr. Member
*****
Posts: 274


View Profile WWW
« Reply #8 on: January 25, 2008, 10:58:22 AM »

อีกเรื่องครับ ผมมีตู้NECที่ต้องการจะเชื่อมต่อด้วยsignalมันเป็นแบบmfc_r2ไม่ทราบว่ามีasteriskตัวไหนที่รองรับมั่งอ่ะครับ

PSTN - zaptel card - zaptel driver - libmfcr2 - libunicall - chan-unicall - asterisk
ยุ่งยากเหมือนกันนะ Huh

ลองดู
Asterisk MFC R2
Asterisk at Home with MFC/R2 (Step by Step Guide)
Installing MFC/R2 support for the Asterisk PBX
The MFC/R2 protocol module for Unicall


Asterisk 1.4.15 ดูเหมือนกว่าจะเอา MFC/R2 ออกแล้วนะครับ
Quote
The Zap channel:

* Support for MFC/R2 has been removed, as it has not been functional for some
  time and it has no maintainer.

่ส่วนใน Asterisk 1.2.25 คิดว่ายังง่ายกว่า เพราะยัง support ZAPATA_R2 เพียงแต่ว่าไม่ได้แนบ libmfcr2 เอาไว้ (ก็คิดว่าต้องหา lib มาใส่เอง ซึ่งน่าจะหาได้จาก soft-switch.org)
Logged

nut0035
Newbie
*
Posts: 7


View Profile
« Reply #9 on: January 25, 2008, 05:13:10 PM »

ผมลองใช้ Elastix0.9.2 อ่ะครับ แต่เข้าใจไฟลืที่ให้มาด้วยอ่ะครับเช่นมันจะมีzapata.confแล้ว
แล้วเจ้าพวก zapata-channels.conf
zapata-channels.conf.bak
zapata.conf.replaced_for_elastix
zapata.conf.template
มันเอาไว้เพื่อทำอะไรหรอครับลองมองดูแล้วมันเหมือนกับแยกไฟล์จากzapataที่ลงด้วยasteriskเลยอ่ะครับ
Logged
jane
Newbie
*
Posts: 43


View Profile
« Reply #10 on: January 26, 2008, 03:12:09 AM »

ของผมกำลังจะต่อ NEC NEAX 7400 M100 MX อยู่พอดี

ดูไป ดูมาใช้ card PN-DTA(PRI) ครับ แล้วให้ Asterisk เป็น  isdn network(จำลองชุมสาย)

เพราะว่าตู้ PBX NEC เป็นได้แค่ ISDN CPE(client/slave)
Logged
nut0035
Newbie
*
Posts: 7


View Profile
« Reply #11 on: January 28, 2008, 09:36:32 AM »

ต่อแล้วเป็นไงบ้างอ่ะครับ K.jane  Huh Huh
Logged
jane
Newbie
*
Posts: 43


View Profile
« Reply #12 on: January 28, 2008, 05:05:29 PM »

ต่อแล้วเป็นไงบ้างอ่ะครับ K.jane  Huh Huh

อีก 5-8 เดือนต่อครับ  ร่าง TOR กันอยู่เลย  ต้องทำ e-Auction ด้วย
Logged
nut0035
Newbie
*
Posts: 7


View Profile
« Reply #13 on: January 28, 2008, 05:22:58 PM »

Getting Asterisk to work with your MFC/R2 setup
  Get chan_unicall.c, unicall.conf.sample and channels_makefile.patch from http://www.soft-                        switch.org/downloads/unicall. Copy chan_unicall.c and channels_makefile.patch to the channels directory of your Asterisk source tree. Patch the Makefile in that directory with the command:

#patch <channels_makefile.patch
 
ไม่ทราบว่าใครทำตรงนี้บ้างอ่ะครับ คือผม patch ไม่ผ่านอ่ะมันขึ้นว่า
Hunk #1 succeeded at 77 with fuzz 1 (offset 14 lines).
Hunk #2 succeeded at 88 (offset 9 lines).
Hunk #3 FAILED at 159.
Hunk #3 FAILED at 177.

ผมใช้ astunicall-1.2.25-0.1  Cry
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.12 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
SEM | Asterisk | สถานที่ท่องเที่ยว | สัมมนา SEM