misdn installation problem - dependencies missing

dinaras
Posts: 12
Member Since:
2006-07-06

Hello,

I tried to install misdn following the wiki page on a fresh install of 2.6.2 but failed.

It used to work on 2.6.13 flawless. Is there a way to solve these dependencies error?

[trixbox1.localdomain ~]# yum -y --enablerepo=trixboxbeta install asterisk-chan_misdn mISDNuser mISDN-modules mISDN
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* trixbox: yum.trixbox.org
* base: mirrors.cytanet.com.cy
* trixboxaddons: yum.trixbox.org
* updates: centose.centos.org
* trixboxbeta: yum.trixbox.org
* addons: mirrors.cytanet.com.cy
* extras: mirrors.cytanet.com.cy
Excluding Packages from CentOS-5 - Base
Finished
Excluding Packages from CentOS-5 - Updates
Finished
Excluding Packages from CentOS-5 - Addons
Finished
Excluding Packages from CentOS-5 - Extras
Finished
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package mISDN-modules.i686 0:1.1.7-27.2.6.18_92.1.18.el5 set to be updated
---> Package mISDN.i686 0:1.1.7-27 set to be updated
---> Package mISDNuser.i386 0:1.1.7-27 set to be updated
---> Package asterisk-chan_misdn.i386 0:1.4.22-3 set to be updated
--> Processing Dependency: libmISDN.so for package: asterisk-chan_misdn
--> Processing Dependency: libisdnnet.so for package: asterisk-chan_misdn
--> Processing Dependency: libsuppserv.so for package: asterisk-chan_misdn
--> Finished Dependency Resolution
Error: Missing Dependency: libsuppserv.so is needed by package asterisk-chan_misdn
Error: Missing Dependency: libisdnnet.so is needed by package asterisk-chan_misdn
Error: Missing Dependency: libmISDN.so is needed by package asterisk-chan_misdn

Thank you very much in advance for your help

Best regards

Dinos



srjlewis
Posts: 8
Member Since:
2006-12-07
force the install
yum -y --enablerepo=trixboxbeta install mISDNuser mISDN-modules mISDN
cd ~
wget yum.trixbox.org/centos/5/RPMS/asterisk-chan_misdn-1.4.22-3.i386.rpm
rpm -i --force --nodeps asterisk-chan_misdn-1.4.22-3.i386.rpm
cp /etc/asterisk-1.4.22_samples/misdn.conf /etc/asterisk/misdn.conf

I had the same problem, the above got my system up and going.



gbtrix
Posts: 2
Member Since:
2007-10-11
I installed the older asterisk-chan_misdn

yum install asterisk-chan_misdn-1.4.18-3 mISDN mISDNuser mISDN-modules



dinaras
Posts: 12
Member Since:
2006-07-06
misdn installed - but all circuits are busy

Hello and thank you for your replies.

I did the force install but i cannot make or receive any calls.

as soon as misdn is started asterisk is crashing.

When i ty to make a call i get all circuits are busy

Everything should be configured well as this is not the first time i am doing it.

Any ideas how to repair. Is there a way to clean the current misdn driver and reinstall it?#

Thank you very much in advance



srjlewis
Posts: 8
Member Since:
2006-12-07
post config

post your /etc/asterisk/misdn.conf

or follow the instructions at the bottom of http://trixbox.org/wiki/chan-misdn on how to configure /etc/asterisk/misdn.conf has the sample misdn.conf will show all curcuits busy.



dinaras
Posts: 12
Member Since:
2006-07-06
i dont think it is a config

i dont think it is a config problem, because i used the sample, read it and configured it like i always do

[trixbox1.localdomain ~]# 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(0x9662060) irp(0x9662060) iend(0x9662060)

Also from cli

Connected to Asterisk 1.4.22-2 RPM by vc-rpms@voipconsulting.nl currently running on trixbox1 (pid = 2885)
Verbosity is at least 3
trixbox1*CLI> misdn show channels
No such command 'misdn show channels' (type 'help misdn show' for other possible commands)
trixbox1*CLI>

Finally my misdn.conf

;
; chan_misdn sample config
;

; general section:
;
; for debugging and general setup, things that are not bound to port groups
;

[general]
;
; Sets the Path to the misdn-init.conf (for nt_ptp mode checking)
;
misdn_init=/etc/misdn-init.conf

; set debugging flag:
; 0 - No Debug
; 1 - mISDN Messages and * - Messages, and * - State changes
; 2 - Messages + Message specific Informations (e.g. bearer capability)
; 3 - very Verbose, the above + lots of Driver specific infos
; 4 - even more Verbose than 3
;
; default value: 0
;
debug=0

; set debugging file and flags for mISDNuser (NT-Stack)
;
; flags can be or'ed with the following values:
;
; DBGM_NET 0x00000001
; DBGM_MSG 0x00000002
; DBGM_FSM 0x00000004
; DBGM_TEI 0x00000010
; DBGM_L2 0x00000020
; DBGM_L3 0x00000040
; DBGM_L3DATA 0x00000080
; DBGM_BC 0x00000100
; DBGM_TONE 0x00000200
; DBGM_BCDATA 0x00000400
; DBGM_MAN 0x00001000
; DBGM_APPL 0x00002000
; DBGM_ISDN 0x00004000
; DBGM_SOCK 0x00010000
; DBGM_CONN 0x00020000
; DBGM_CDATA 0x00040000
; DBGM_DDATA 0x00080000
; DBGM_SOUND 0x00100000
; DBGM_SDATA 0x00200000
; DBGM_TOPLEVEL 0x40000000
; DBGM_ALL 0xffffffff
;

ntdebugflags=0
ntdebugfile=/var/log/misdn-nt.log

; some pbx systems do cut the L1 for some milliseconds, to avoid
; dropping running calls, we can set this flag to yes and tell
; mISDNuser not to drop the calls on L2_RELEASE
ntkeepcalls=no

; the big trace
;
; default value: [not set]
;
tracefile=/var/log/asterisk/misdn.log

; set to yes if you want mISDN_dsp to bridge the calls in HW
;
; default value: yes
;
bridging=no

;
; watches the L1s of every port. If one l1 is down it tries to
; get it up. The timeout is given in seconds. with 0 as value it
; does not watch the l1 at all
;
; default value: 0
;
; this option is only read at loading time of chan_misdn,
; which means you need to unload and load chan_misdn to change the
; value, an asterisk restart should do the trick
;
l1watcher_timeout=0

; stops dialtone after getting first digit on nt Port
;
; default value: yes
;
stop_tone_after_first_digit=yes

; whether to append overlapdialed Digits to Extension or not
;
; default value: yes
;
append_digits2exten=yes

;;; CRYPTION STUFF

; Whether to look for dynamic crypting attempt
;
; default value: no
;
dynamic_crypt=no

; crypt_prefix, what is used for crypting Protocol
;
; default value: [not set]
;
crypt_prefix=**

; Keys for cryption, you reference them in the dialplan
; later also in dynamic encr.
;
; default value: [not set]
;
crypt_keys=test,muh

; users sections:
;
; name your sections as you which but not "general" !
; the sections are Groups, you can dial out in extensions.conf
; with Dial(mISDN/g:extern/101) where extern is a section name,
; chan_misdn tries every port in this section to find a
; new free channel
;

; The default section is not a group section, it just contains config elements
; which are inherited by group sections.
;

[default]

; define your default context here
;
; default value: default
;
context=from-pstn
; language
;
; default value: gr
;
language=gr

;
; sets the musiconhold class
;
musicclass=default

;
; Either if we should produce DTMF Tones ourselves
;
senddtmf=yes

;
; If we should generate Ringing for chan_sip and others
;
far_alerting=no

;
; here you can define which bearers should be allowed
;
allowed_bearers=all

; Prefixes for national and international, those are put before the
; oad if an according dialplan is set by the other end.
;
; default values: nationalprefix : 0
; internationalprefix : 00
;
nationalprefix=
internationalprefix=00

; set rx/tx gains between -8 and 8 to change the RX/TX Gain
;
; default values: rxgain: 0
; txgain: 0
;
rxgain=0
txgain=0

; some telcos especially in NL seem to need this set to yes, also in
; switzerland this seems to be important
;
; default value: no
;
te_choose_channel=no

;
; This option defines, if chan_misdn should check the L1 on a PMP
; before making a group call on it. The L1 may go down for PMP Ports
; so we might need this.
; But be aware! a broken or plugged off cable might be used for a group call
; as well, since chan_misdn has no chance to distinguish if the L1 is down
; because of a lost Link or because the Provider shut it down...
;
; default: no
;
pmp_l1_check=no

;
; in PMP this option defines which cause should be sent out to
; the 3. caller. chan_misdn does not support callwaiting on TE
; PMP side. This allows to modify the RELEASE_COMPLETE cause
; at least.
;
reject_cause=16

;
; Send Setup_Acknowledge on incoming calls anyway (instead of PROCEEDING),
; this requests additional Infos, so we can waitfordigits
; without much issues. This works only for PTP Ports
;
; default value: no
;
need_more_infos=no

;
; set this to yes if you want to disconnect calls when a timeout occurs
; for example during the overlapdial phase
;
nttimeout=no

; set the method to use for channel selection:
; standard - always choose the first free channel with the lowest number
; round_robin - use the round robin algorithm to select a channel. use this
; if you want to balance your load.
;
; default value: standard
;
method=standard

; specify if chan_misdn should collect digits before going into the
; dialplan, you can choose yes=4 Seconds, no, or specify the amount
; of seconds you need;
;
overlapdial=yes

;
; dialplan means Type Of Number in ISDN Terms (for outgoing calls)
;
; there are different types of the dialplan:
;
; dialplan -> outgoing Number
; localdialplan -> callerid
; cpndialplan -> connected party number
;
; dialplan options:
;
; 0 - unknown
; 1 - International
; 2 - National
; 4 - Subscriber
;
; This setting is used for outgoing calls
;
; default value: 0
;
dialplan=0
localdialplan=0
cpndialplan=0

;
; turn this to no if you don't mind correct handling of Progress Indicators
;
early_bconnect=yes

;
; turn this on if you like to send Tone Indications to a Incoming
; isdn channel on a TE Port. Rarely used, only if the Telco allows
; you to send indications by yourself, normally the Telco sends the
; indications to the remote party.
;
; default: no
;
incoming_early_audio=no

; uncomment the following to get into s extension at extension conf
; there you can use DigitTimeout if you can't or don't want to use
; isdn overlap dial.
; note: This will jump into the s exten for every exten!
;
; default value: no
;
;always_immediate=no

;
; set this to yes if you want to generate your own dialtone
; with always_immediate=yes, else chan_misdn generates the dialtone
;
; default value: no
;
nodialtone=no

; uncomment the following if you want callers which called exactly the
; base number (so no extension is set) jump to the s extension.
; if the user dials something more it jumps to the correct extension
; instead
;
; default value: no
;
;immediate=no

; uncomment the following to have hold and retrieve support
;
; default value: no
;
hold_allowed=yes

; Pickup and Callgroup
;
; default values: not set = 0
; range: 0-63
;
;callgroup=1
;pickupgroup=1

;
; these are the exact isdn screening and presentation indicators
; if -1 is given for both values the presentation indicators are used
; from asterisks SetCallerPres application.
; s=0, p=0 -> callerid presented not screened
; s=1, p=1 -> callerid presented but screened (the remote end does not see it!)
;
; default values s=-1, p=-1
presentation=-1
screen=-1

; this enables echocancellation, with the given number of taps
; be aware, move this setting only to outgoing portgroups!
; A value of zero turns echocancellation off.
;
; possible values are: 0,32,64,128,256,yes(=128),no(=0)
;
; default value: no
;
echocancel=64

; Set this to no to disable echotraining. You can enter a number > 10
; the value is a multiple of 0.125 ms.
;
; default value: no
; yes = 2000
; no = 0
;
echotraining=no

;
; chan_misdns jitterbuffer, default 4000
;
jitterbuffer=4000

;
; change this threshold to enable dejitter functionality
;
jitterbuffer_upper_threshold=0

;
; change this to yes, if you want to bridge a mISDN data channel to
; another channel type or to an application.
;
hdlc=no

;
; defines the maximum amount of incoming calls per port for
; this group. Calls which exceed the maximum will be marked with
; the channel variable MAX_OVERFLOW. It will contain the amount of
; overflowed calls
;
max_incoming=-1

;
; defines the maximum amount of outgoing calls per port for this group
; exceeding calls will be rejected
;
max_outgoing=-1

[isdn]
; define your ports, e.g. 1,2 (depends on mISDN-driver loading order)
ports=1
context=from-pstn
; context where to go to when incoming Call on one of the above ports
callerid=XXXXXXXXXX - deleted that for privacy
msns=*



srjlewis
Posts: 8
Member Since:
2006-12-07
could you post

could you post "/etc/rc.d/rc.local"

you must start misdn before asterisk coz starting or restarting misdn while asterisk is running will stop asterisk

my "/etc/rc.d/rc.local" looks like

#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local
misdn-init start
/usr/sbin/amportal start
chmod 755 /usr/local/sbin/motd.sh && /usr/local/sbin/motd.sh > /etc/issue

once you have things starting in the right order please post "misdn show stacks" from the asterisk console.



dinaras
Posts: 12
Member Since:
2006-07-06
my etc/rc.d/rc.local

[trixbox1.localdomain ~]# vi /etc/rc.d/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local
misdn-init start
/usr/sbin/amportal start
chmod 755 /usr/local/sbin/motd.sh && /usr/local/sbin/motd.sh > /etc/issue

everything looks ok here as well
Googling for it i found that misdn is not getting registered. But i dont know how to fix that

Thanks for helping out



pyranetuk
Posts: 51
Member Since:
2007-02-12
I have same problem! Cannot call in or out using mISDN.

I don't know if my case will be related but as this in an active topic and we have the same issue I thought I would post here.

This however is my first time setting up mISDN and I have followed several of the guides on the net word for word on installing and configuring mISDN however I've not been able to successfully call out or receive calls using it. I have used Zaptel on an older Trixbox version without an issue.

Here are my relevant files:

misdn.conf in /etc/asterisk/:
--------------------------------------------------------
[general]
debug = 0
method=standard
bridging=no
stop_tone_after_first_digit=yes
append_digits2exten=yes
dynamic_crypt=no
crypt_prefix=**
crypt_keys=test,muh

[default]
context=misdn
language=en
musicclass=default
senddtmf=yes
far_alerting=no
allowed_bearers=all
nationalprefix=0
internationalprefix=00
rxgain=0
txgain=0
te_choose_channel=no
pmp_l1_check=no
reject_cause=16
need_more_infos=no
nttimeout=no
method=standard
dialplan=0
localdialplan=0
cpndialplan=0
early_bconnect=yes
incoming_early_audio=no
nodialtone=no
callgroup=1
pickupgroup=1
presentation=-1
screen=-1
echocancel=yes
jitterbuffer=4000
jitterbuffer_upper_threshold=0
hdlc=no

[isdn]
ports=1
context=from-pstn
msns=*
----------------------------------------------------------------------

[trixbox1.localdomain ~]# 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) inbuf(0x88fc060) irp(0x88fc060) iend(0x88fc060)
[trixbox1.localdomain ~]#

---------------------------------------------------------------------

Why does it say ( * Port NOT useable for PBX (maybe there is already a PBX running?)???????)

---------------------------------------------------------------------

trixbox1*CLI> misdn show channels
Chan List: (nil)

---------------------------------------------------------------------
trixbox1*CLI> misdn show stacks
BEGIN STACK_LIST:
* Port 1 Type TE Prot. PMP L2Link DOWN L1Link:UP Blocked:0 Debug:0
trixbox1*CLI>
---------------------------------------------------------------------

*****Hopefully this info helps somebody to help me. I've struggled on this for a while. The card is detected as follows also:

00:09.0 Network controller: Cologne Chip Designs GmbH ISDN network controller [HFC-PCI] (rev 02)

I need to get this working and would appreciate any suggestions to help me make and receive calls through the ISDN.

Cheers,

Joe

--

http://www.pyranet.co.uk - IT Support tailored around your Business



srjlewis
Posts: 8
Member Since:
2006-12-07
Change te mode

in change line in /etc/misdn-init.conf

from

te_ptmp=1,2,3,4 #I have 4 ports

to

te_ptp=1,2,3,4 #change port count has you need



bltda
Posts: 36
Member Since:
2007-04-13
mISDN Fatal

I'm following this install guide for mISDN:

http://www.trixbox.org/wiki/chan-misdn

after this command misdn-init start, I got this error:

[trixbox1.localdomain /]# misdn-init start
FATAL: Module mISDN_core not found.
FATAL: Module mISDN_l1 not found.
FATAL: Module mISDN_l2 not found.
FATAL: Module l3udss1 not found.
FATAL: Module mISDN_capi not found.
-----------------------------------------
Loading module(s) for your misdn-cards:
-----------------------------------------
modinfo: could not find module hfcpci
/sbin/modprobe --ignore-install hfcpci protocol=0x2 layermask=0xf
FATAL: Module hfcpci not found.
/sbin/modprobe mISDN_dsp debug=0x0 options=0 poll=128 dtmfthreshold=100
FATAL: Module mISDN_dsp not found.

Any Ideas?



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.