This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.
Luca Bertoncello bertoncello at netzing.deAm Wed, 7 Jul 2010 15:53:27 +0200
schrieb "Andreas.Eversberg" <Andreas.Eversberg at versatel.de>:
> it seems that there is a change in the API. therefore i prepared a
> "snapshot" at www.linux-call-router.de to be downloaded. this version
> of openbsc and lcr is older, but works together. as soon as the
> current openbsc has been tested more (channel ressource handling has
> changed for example), i will make it work again.
>
> regards,
>
> andreas
>
> > #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
Hi, List and Andreas!
Today I debugged your program and I found the problem.
OpenBSC, in his main(), initializes the struct bsc_api, but LCR does
NOT make it!
I wrote a patch. Here is it! Now it is possible to compile the last
version of OpenBSC and LCR (from git) and to get them together working.
Besides, the HowTo at http://openbsc.osmocom.org/trac/wiki/OpenBSC_LCR
is for a OLD version of Asterisk and LCR/OpenBSC.
1) It is not necessary to change Makefile.am and gsm_audio.c
2) The option for configure is no more --with-gsm but --with-gsm-bs
3) In extensions.conf the right syntax is:
[btsctrl]
exten => _X.,1,Set,CALLERID(num)=5552342
exten => _X.,n,Dial(LCR/GSM/${EXTEN},120)
I hope, this will help someone other trying to get OpenBSC and Asterisk
working together!
Regards
--
_______________________________________________________________________
Luca Bertoncello
Entwicklung Mail: bertoncello at 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 at netzing.de
_______________________________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lcrOpenBSC.patch
Type: text/x-patch
Size: 590 bytes
Desc: not available
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20100716/70050fca/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20100716/70050fca/attachment-0001.bin>