background image

                                                                                                                                     

 

www.atcom.cn 

  13 

 

Chapter 5 Test 

1

 

LEDs status 

LED  Red:  If  the  driver  of  the  card  is  loaded  correctly  and  the  /etc/dahdi/system.conf  file  is 

configured correctly, the LED Red of the four ports will be red clearly. 

LED  Green:  If  the  PRI  line  is  connected  correctly,  and  it  synchronizes  to  the  other  end 

successfully, then the LED Green will be green clearly. 

 

2

 

Check the ports status 

1)

 

Start asterisk 

[root@localhost asterisk]# asterisk –vvgc 

*CLI> reload 

2)

 

Run pri show spans command 

You  can  get  the  following  port  information,  if  you  have  plugged  the  ISDN  line  for  the 

ports, the ports are in up status. 

*CLI> pri show spans 

PRI span 1/0: Provisioned, Up, Active 

PRI span 2/0: Provisioned, Up, Active 

PRI span 3/0: Provisioned, Up, Active 

PRI span 4/0: Provisioned, Up, Active 

 

3

 

Edit a dial-plan in extensions.conf 

[from-internal] 

exten=>_x.,1,Dial(dahdi/1/${EXTEN}) 

exten=>_x.,2,hangup() 

      This dial plan is used for outgoing calls, using this dial plan you can dial out directly without 

prefix  by  channel  1.  Customers  can  test  other  channels  by  changing  dahdi/

edit  the  channel 

number

 

[from-pstn] 

exten=>s,1,Playback(demo-instruct) 

exten=>s,2,Hangup() 

This  dial  plan is used  for incoming calls, any  incoming  calls dials in,  then they can  hear an 

recorded voice(demo-instruct) about the introduction of Asterisk. 

4

 

Test the port in NT mode 

1)

 

Set the jumper to NT mode 

2)

 

Change the dahdi-channels.conf file,   

; Span 4: B4/0/4 "B4XXP (PCI) Card 0 Span 4" RED 

group=0,14 

context=from-pstn 

switchtype = euroisdn 

signalling = bri_cpe_ptmp      change the cpe to net: signalling = bri_net_ptmp 

channel => 10-11 

Summary of Contents for AX2B

Page 1: ...AX4B ATCOM Digital Card AX4B AX2B Product Guide 25 10 2011 Written by Robert Ao...

Page 2: ...cn 1 Content CONTACT ATCOM 2 CHAPTER 1 THE INTRODUCTION OF AX4B 3 CHAPTER 2 HARDWARE INTRODUCTION 4 CHAPTER 3 SOFTWARE INSTALLATION 7 CHAPTER 4 SOFTWARE CONFIGURATION 9 CHAPTER 5 TEST 13 CHAPTER 6 REF...

Page 3: ...teway and Asterisk Card Contact sales Address District C east of 2nd floor 3 Crown industry buildings Chegongmiao Industry area Futian district Shenzhen China Tel 86 755 23487618 Fax 86 755 23485319 E...

Page 4: ...DN BRI ports Support Dahdi and mISDN Support Asterisk Freeswitch Yate Support Elastix Trixbox AsteriskNOW PBX in a Flash support ISDN phone Supports NT and TE mode 100 compatible with all features of...

Page 5: ...the following picture the first three ports are set to TE mode and the fourth port is set to NT mode TE NT Setting 2 these jumpers are set for NT mode but the TE mode does not need this jumper For exa...

Page 6: ...ED Green If the BRI line is connected correctly and it synchronizes to the other end successfully then the LED Green will be green clearly JP3 This connector is used to connect to a 4 PIN power supply...

Page 7: ...lt we choose the 3 3v for the card customer do not need to reset the jumper the card can also choose 5 0v for power feedin g in the case that the 3 3v in the motherboard of PC is not enough for the ca...

Page 8: ...e have to use yum command to install the following prerequisite packages bison bison devel zlib zlib devel openssl openssl devel gnutls devel gcc gcc c 2 Download libpri dahdi linux complete and aster...

Page 9: ...dahdi linux complete 2 5 0 1 2 5 0 1 make config 5 Install asterisk 1 root localhost src tar xvzf asterisk 1 8 7 1 tar gz 2 root localhost asterisk 1 8 7 1 configure 3 root localhost asterisk 1 8 7 1...

Page 10: ...mand to delete the hfc4s8s_l1 ko module rm rf lib modules 2 6 18 238 el5 kernel drivers isdn hisax hfc4s8s_l1 ko After deleting hfc4s8s_l1 ko please reboot your server 2 Please use the dahdi_genconf c...

Page 11: ...ermtype te bchan 1 2 hardhdlc 3 echocanceller mg2 1 2 Span 2 B4 0 2 B4XXP PCI Card 0 Span 2 RED span 2 2 0 ccs ami termtype te bchan 4 5 hardhdlc 6 echocanceller mg2 4 5 Span 3 B4 0 3 B4XXP PCI Card 0...

Page 12: ...1 2 context default group 63 Span 2 B4 0 2 B4XXP PCI Card 0 Span 2 RED group 0 12 context from pstn switchtype euroisdn signalling bri_cpe_ptmp channel 4 5 context default group 63 Span 3 B4 0 3 B4XX...

Page 13: ...nf file include dahdi channels conf 4 Please run asterisk with the following command asterisk asterisk vvvgrc reload 5 Please run dahdi show channels command You should get the following channels CLI...

Page 14: ...ned Up Active PRI span 3 0 Provisioned Up Active PRI span 4 0 Provisioned Up Active 3 Edit a dial plan in extensions conf from internal exten _x 1 Dial dahdi 1 EXTEN exten _x 2 hangup This dial plan i...

Page 15: ...www atcom cn 14 Chapter 6 Reference http www asteriskguru com http www asterisk org downloads http www openippbx org index php title Main_Page http www atcom cn...

Reviews: