keywords:pbx ip pbx voip gateway gsm gateway

× Questions about B100/200/400/800 ISDN BRI Cards

B100P Trixbox 2.8 issue : card configured but no trunk available

8 years 9 months ago #6401 by sdnet
Hi
I have an issue with B100P installed on Cento's 5.5 | TrixBox 2.8 | Asterix 1.6

I've a B100P card installed and, as far as I can se, correctly configured and recognized

for correctly configure and recognized I mean
[centralino.sdnet.local asterisk]# misdn-init scan
[OK] found the following devices:
card=1,hfcpci
[ii] run "/usr/sbin/misdn-init config" to store this information to /etc/misdn-init.conf
[centralino.sdnet.local asterisk]#

msidn-init config and start works correctly
[centralino.sdnet.local asterisk]# misdnportinfo

Port  1: TE-mode BRI S/T interface line (for phone lines)
 -> Protocol: DSS1 (Euro ISDN)
 -> Layer 4 protocol 0x04000001 is detected, but not allowed for TE lib.
 -> childcnt: 2
 * Port NOT useable for PBX (maybe there is already a PBX running?)
--------

mISDN_close: fid(3) isize(131072) inb

In fact there is a PBX (asterisk) running. If I stop asterix :
[centralino.sdnet.local asterisk]# misdnportinfo

Port  1: TE-mode BRI S/T interface line (for phone lines)
 -> Protocol: DSS1 (Euro ISDN)
 -> childcnt: 2
--------

mISDN_close: fid(3) isize(131072) inbuf(0x966b060) irp(0x966b060) iend(0x966b060)


If I start asterisk and check misdn I get
Disconnected from Asterisk server
[centralino.sdnet.local asterisk]# asterisk -r
Asterisk 1.6.0.26-FONCORE-r78, Copyright (C) 1999 - 2010 Digium, Inc. and others.
Created by Mark Spencer 
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 1.6.0.26-FONCORE-r78 currently running on centralino (pid = 5184)
Verbosity is at least 3
centralino*CLI> misdn show stacks
BEGIN STACK_LIST:
  * Port 1 Type TE Prot. PMP L2Link DOWN L1Link:UP Blocked:0  Debug:0
centralino*CLI>



as far as I can understand I do have one line available and another one not release by TELCO.

but if I try to dial out, or dial in... nothing works.

can anybody please help me.

Regards
Gianluca
8 years 9 months ago #6403 by lisa.gao
Hi,
How did you set trunk? You should set trunk in this way:
If want to add a trunk in this system. Take this way: PBXPBX ConfigurationTrunks. In
there, it lists some selections to select. “Add Zap Trunk (DAHDI Compatibility Mode)”, “Add IAX2
Trunk”, “Add SIP Trunk”, “Add ENUM Trunk”, “Add DUNDI Trunk”, “Add Custom Trunk”. We should
select the “Add Custom Trunk” one. Then set Custom Dial String: mISDN/1/$OUTNUM$
And in /etc/asterisk/misdn.conf, edit these lines, it should looks like the following:
[intern]
; define your ports, e.g. 1,2 (depends on mISDN-driver loading order)
ports=1
; context where to go to when incoming Call on one of the above ports
context=from-pstn

Time to create page: 0.017 seconds
Powered by Kunena Forum