Hi, List!
I'm trying to get OpenBSC working with Asterisk.
I have a working configuration of Asterisk, and a working configuration
of OpenBSC.
I use a nanoBTS DSC1800.
The O.S. is Debian lenny and I have a Cologne Chip Designs GmbH ISDN
network Controller [HFC-E1] ISDN card.
In my interface.conf I just have:
[GSM]
gsm-bs
nt
layer1hold no
layer2hold no
tones yes
earlyb no
channel-in free
channel-out any
nodtmf
My gsm.conf:
interface-bsc mISDN_l1loop.1
interface-lcr mISDN_l1loop.2
debug DRLL:DCC:DMM:DRR:DRSL:DNM:DSMS:DMNCC:DMNSMS:DPAG:DMUX:DMEAS
config /home/lucabert/bscAsterisk/lucabertBSC.cfg
hlr /home/lucabert/bscAsterisk/hlr.sqlite3
In my options.conf I have a line:
gsm
and in my routing.conf I have this line by [main]:
interface=GSM : remote application=asterisk context=btsctrl
Now I start LCR (as root):
/usr/local/sbin/lcr start
It starts and wait until the nanoBTS log in.
Then, when I try to use the net with my mobile, LCR crashes.
I generated a core file. With gdb I see:
Program terminated with signal 11, Segmentation fault.
[New process 4026]
[New process 4029]
#0 0x0805b009 in gsm0408_rcvmsg (msg=0x864ffb8, link_id=0 '\0') at
openbsc/src/bsc_api.c:111
111 rc = api->compl_l3(lchan->conn, msg, 0);
The problem seems to be the variable api, which is NULL.
(gdb) print api
$1 = (struct bsc_api *) 0x0
Can someone help me? I use OpenBSC 0.9.0.967-02d3 and LCR 1.7
(both downloaded yesterday with git clone).
Thanks a lot for your help
--
_______________________________________________________________________
Luca Bertoncello
Entwicklung Mail: bertoncello(a)netzing.de
NETZING Solutions AG Tel.: 0351/41381 - 0
Kesselsdorfer Str. 216, 01169 Dresden Fax: 0351/41381 - 12
HRB 18926 / Ust.ID DE211326547 Mail: netzing.ag(a)netzing.de
_______________________________________________________________________
Show replies by date