Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Asterisk, FreePBX, mISDN (BRI b410p card)

Status
Not open for further replies.

allywilson

Technical User
Nov 27, 2002
157
0
0
GB
Ok, after like 3 days of playing around with a spare server and asterisk. I've finally been able to get it all working. As it was such a task (i nearly cried. A lot.), I thought I'd give you the lowdown on how to do it if you've got a similar setup/problem.

OK, get yourself a copy of Asterisk@Home ( burn it to disc.

It'll run through the setup of the server automatically (rebooting a few times as it compiles mySQL / Asterisk / whatever after installing linux to the harddrive).

To gain access:
Username: root
Password: password

Web interface: Username: maint
Password: password (this does not work. Still trying to find out what it is).

To change the password just login as root at the CLI, and punch in: "passwd-maint" - it'll ask you to put in your new password.
(THIS DOES NOT WORK EITHER!)
So...

Edit: /etc/amportal.conf
Find the line: "AUTHTYPE=database" and change it to: "AUTHTYPE=none"

Then run: "/usr/src/freepbx/apply_conf.sh" and you'll be able to get into the control panel without authenticating.


To setup the BRI card (we have a b410p) trying to use mISDN.

Go to: /usr/src/asterisk/channels/misdn
type: make misdn

go to: /usr/src/asterisk
type: make install

Go to: /etc/init.d
Type: misdn-init scan (Make sure it detects your card.)

type: misdn-init config
Make sure it creates the misdn.conf file.

type: misdn-init start
Check to make sure the lights are on the BRI card (b410p).

We also found that: /usr/etc/asterisk/misdn.conf didn't exist. So we made the following one:

[general]
misdn_init=/etc/misdn-init.conf
debug=0
stop_tone_after_first_digit=yes
bridging=no

[default]
context=foobar
allowed_bearers=all
nationalprefix=0
internationalprefix=00
rxgain=0
txgain=0

echotraining=no
echocancel=yes

pmp_l1_check=yes
method=standard
dialplan=0
localdialplan=0
cpndialplan=0
early_bconnect=yes
always_immediate=no
immediate=no
hdlc=yes

[isdn]
ports=1ptp,2ptp,3ptp,4ptp
#ports=4ptmp
context=default
msns=*



...and then just save it to "/usr/etc/asterisk/misdn.conf"

Still having a strange problem of asterisk loading before mISDN modules. So current manual workaround is:

type: misdn-init start
type: asterisk -r
type: restart gracefully


Should be all good now. If anyone has anything further to add (or if they can point out anything wrong) - please feel free :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top