Koozali.org: home of the SME Server
Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: jester on August 18, 2007, 07:49:55 PM
-
I'm having problems getting my HFC-ISDN Bri card (Cologne chipset) to work with SAIL 2.1.5 / Asterisk 1.4 / mISDN.
The card is detected and two trunklines are set-up automagically by SAIL but the state stays disconnected. Cable is connected properly, restarted Asterisk, rebooted server but to no avail. If i fire up the CLI> i'm getting the following messages:
- Remote UNIX connection
-- Remote UNIX connection disconnected
I also have to manually start asterisk from the commandline after a reboot.
Clues anyone?
-
Hi Jester
There is an extra step (after the probe) when you use mISDN, you need to click on the card definition (in PCI Cards) and set your card up according to the on-screen instructions. You then click on the reboot button to reboot the server with the correct mISDN definitions. Make sure you choose TEPP and the TE bitmask settings if you are running in that mode.
Best
Selintra
-
Hi Selintra,
I clicked to edit the card.... but i can't figure out what you mean by on-screen instructions. Can you tell me what needs to be set?!
Regards.
-
Btw should the misdn kernel module be loaded? Reading voip-info.org it sound like chan_misdn needs misdn.
-
which version of SAIL are you running?
I'll try and post some screen shots for you tomorrow.
Best
J
-
Hi Jeff,
I'm running: 2.1.15-502.
We are actually a pair of sad cases..... we should be down the pub, not working.... it's Saturday for pete'sake.
-
I know, I know...
:sad:
-
Hi Jester
l rabed some screen shots for you this afternoon. You can find them here
http://www.selintra.com/docs/cgi-bin/view/Main/DocChapter224
The second shot is the important one from a set-up point of view in 1.4/2.1.15
Best
J
-
Hey Selintra,
I've reviewed the settings for the pci-card and left them to the default, what i believe should be ok for connecting my Telco ISDN-line to SAIL. Rebooted the server with the 'commit and reboot' button. But the linkstate of these mISDN trunklines stay disconnected. Incoming calls are not seen by Asterisk if i watch the CLI> commandline.
any suggestions?
-
I think perhaps you haven't initialised mISDN (no reason why you should have, - this stuff is all alpha and, as yet, undocumented).
Can you post the output of lsmod please?
Best
J
-
lsmod shows me no misdn (hfcpci):
Module Size Used by
bridge 48729 0
atm 42261 1 bridge
tun 13249 1
crc_ccitt 6209 0
capi 22912 0
capifs 10057 2 capi
kernelcapi 49601 1 capi
appletalk 38996 20
3c59x 41469 0
tg3 102853 0
ipt_ULOG 11845 1
ipt_REJECT 10689 1
ipt_MASQUERADE 8001 1
ipt_state 5953 1
ip_nat_ftp 9009 0
ip_conntrack_ftp 76529 1 ip_nat_ftp
iptable_mangle 6849 0
iptable_nat 27613 3 ipt_MASQUERADE,ip_nat_ftp
ip_conntrack 46085 5 ipt_MASQUERADE,ipt_state,ip_nat_ftp,ip_conntrack_ftp,iptable_nat
iptable_filter 6977 1
ip_tables 22721 7 ipt_ULOG,ipt_REJECT,ipt_MASQUERADE,ipt_state,iptable_mangle,iptable_nat,iptable_filter
joydev 14465 0
button 10705 0
battery 12997 0
ac 8901 0
uhci_hcd 33241 0
ehci_hcd 32325 0
hw_random 9685 0
mii 9281 1 3c59x
bonding 65896 0
dm_snapshot 21093 0
dm_zero 6337 0
dm_mirror 31173 0
ext3 119113 2
jbd 59609 1 ext3
dm_mod 64617 8 dm_snapshot,dm_zero,dm_mirror
ata_piix 19013 0
libata 105757 1 ata_piix
mptscsih 5441 0
mptsas 18253 3 mptscsih
mptspi 13393 1 mptscsih
mptfc 12229 0
mptscsi 41245 3 mptsas,mptspi,mptfc
mptbase 63137 4 mptsas,mptspi,mptfc,mptscsi
sd_mod 20545 3
scsi_mod 119757 6 libata,mptsas,mptspi,mptfc,mptscsi,sd_mod
-
Also a misdn-init start (after a: misdn-init config) gives me the following:
[root@phoenix ~]# /etc/rc.d/init.d/misdn-init start
FATAL: Error inserting mISDN_core (/lib/modules/2.6.9-55.0.2.ELsmp/extra/mISDN_core.ko): Invalid module format
WARNING: Error inserting mISDN_core (/lib/modules/2.6.9-55.0.2.ELsmp/extra/mISDN_core.ko): Invalid module format
FATAL: Error inserting mISDN_l1 (/lib/modules/2.6.9-55.0.2.ELsmp/extra/mISDN_l1.ko): Invalid module format
WARNING: Error inserting mISDN_core (/lib/modules/2.6.9-55.0.2.ELsmp/extra/mISDN_core.ko): Invalid module format
FATAL: Error inserting mISDN_l2 (/lib/modules/2.6.9-55.0.2.ELsmp/extra/mISDN_l2.ko): Invalid module format
WARNING: Error inserting mISDN_core (/lib/modules/2.6.9-55.0.2.ELsmp/extra/mISDN_core.ko): Invalid module format
FATAL: Error inserting l3udss1 (/lib/modules/2.6.9-55.0.2.ELsmp/extra/l3udss1.ko): Invalid module format
WARNING: Error inserting mISDN_core (/lib/modules/2.6.9-55.0.2.ELsmp/extra/mISDN_core.ko): Invalid module format
FATAL: Error inserting mISDN_capi (/lib/modules/2.6.9-55.0.2.ELsmp/extra/mISDN_capi.ko): Invalid module format
Unknown line at line 5959
Unknown line at line 5960
Unknown line at line 5961
Unknown line at line 5962
Unknown line at line 5963
Unknown line at line 5964
Unknown line at line 5965
Unknown line at line 5966
Unknown line at line 5967
Unknown line at line 5968
Unknown line at line 5969
Unknown line at line 5970
-----------------------------------------
Loading module(s) for your misdn-cards:
-----------------------------------------
/sbin/modprobe --ignore-install hfcpci protocol=0x2 layermask=0xf
WARNING: Error inserting mISDN_core (/lib/modules/2.6.9-55.0.2.ELsmp/extra/mISDN_core.ko): Invalid module format
FATAL: Error inserting hfcpci (/lib/modules/2.6.9-55.0.2.ELsmp/extra/hfcpci.ko): Invalid module format
/sbin/modprobe mISDN_dsp debug=0x0 options=0 poll=128 dtmfthreshold=100
WARNING: Error inserting mISDN_core (/lib/modules/2.6.9-55.0.2.ELsmp/extra/mISDN_core.ko): Invalid module format
FATAL: Error inserting mISDN_dsp (/lib/modules/2.6.9-55.0.2.ELsmp/extra/mISDN_dsp.ko): Invalid module format
-
Hi Mate
You are running the smp kernel. We can't get mISDN running with the smp kernel at the moment. Herve is looking at it and I've had a go, but the damned thing just won't poke at the moment. Reboot with the UP kernel and you should get a result.
Best
J
-
OK, will give the UP kernel a go.
I've had a previous issue that i could only use 2 of my 4 msn numbers that come with my home-office Telco ISDN line for calling outward (need this 'cause telephone bill is split on those msn-numbers). Is this solved in 2.1.14 ? If yes i might best use that for now...
regards.
jester.
-
Hi Mate
You are running the smp kernel. We can't get mISDN running with the smp kernel at the moment. Herve is looking at it and I've had a go, but the damned thing just won't poke at the moment. Reboot with the UP kernel and you should get a result.
Best
J
Yep ... but currently still in Italy (holidays) without enough material to test.
Should be back mid of next week.
Best,
Hervé
-
Ah, Hervé good to here!
I'm having similar issues with the Bristuffed installation.... does someone know what kernels (versions and up/smp) to use for the releases (@selintra: might be interesting for the ReleaseTable ;) )
regards,
jester.
-
Kernel release shouldn't matter. If you want to implement Bristuff use anabri-asterisk-1.2.17 and anabri-asterisk-zappri-1.2.16. Make sure you rpm -e your 1.4 stuff. Also, there are some incompatibilities in the selintra database going back from 1.4 to 1.2 (specifically to do with ISDN) so you should rpm -e selintra-sail-2.1.15 and physically remove the selintra files from /home/e-smith/db. Finally, just to be on the safe side, remove the extra directory from /lib/modules/uname/. Now you can proceed with your 1.2 installs.
Also, remember that Bristuff will only run with UP kernel (this is a Junghanns issue).
S