OpenBSC with Dahdi+Asterisk and several BTS

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/.

M. Josenhans m_josenhans at web.de
Mon Jun 4 18:42:34 UTC 2012


Hi Ellen,

I need to correct:

cd openbsc
src/osmo-nitb/osmo-nitb -c doc/examples/osmo-nitb/nanobts/openbsc.cfg -C

Then you should see the message:
<0019> ipaccess.c:841 enabling ipaccess BSC mode
DB: Database initialized.
DB: Database prepared.
<0007> sms_queue.c:232 Attempting to send 20 SMS

telnet localhost 4242

Br,
Michael


Am 04.06.2012 09:23, schrieb Ellen Apolinar:
> Hey Guys,
>
> thanks a lot for your answers.
>
> @Peter:
> I want to test OpenBSC without BTS because the installation has to be
> ready in the end of the week and in the moment there is no BTS which I
> can test if it works. In the end I want to connect OpenBSC with several
> BTS. Before OpenBSC runs with another BTS than those which are supported
> yet I have to build an openbsc.cfg-file. That's is what I think I should
> do. I don't know if there are other configurations to do. There is no
> way to use OpenBSC which one of the BTS which are supported now. It has
> to work which one other BTS.
>
>
> @Michael:
> I installed telnet and followed your steps but I get following message:
>
>     /etc/openbsc/doc/examples# telnet localhost 4242
>     Trying 127.0.0.1...
>     telnet: Unable to connect to remote host: Connection refused
>
> As I did:
>
>     telnet localhost
>
> I got:
>
>     Trying 127.0.0.1...
>     Connected to localhost.
>     Escape character is '^]'.
>     Ubuntu 11.10
>     ctdi-HP-Compaq-dc7100-CMT-PE219ET login: ctdi
>     Password:
>     Welcome to Ubuntu 11.10 (GNU/Linux 3.0.22 i686)
>
>       * Documentation: https://help.ubuntu.com/
>
>
>     The programs included with the Ubuntu system are free software;
>     the exact distribution terms for each program are described in the
>     individual files in /usr/share/doc/*/copyright.
>
>     Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
>     applicable law.
>
>   As I did:
>
>     telnet localhost 4242
>
> I got:
>
>     Trying 127.0.0.1...
>     telnet: Unable to connect to remote host: Connection refused
>
>
> I unloaded hfcmulti, mISDN_dsp, mISDN_core, started dahdi, but if I want
> to start OpenBSC I get:
>
>     /etc/openbsc/src/osmo-nitb# ./osmo-nitb -c openbsc.cfg
>     <0005> bsc_init.c:512 Error enabling E1 input driver
>
>
> Perhaps I did something wrong as I want to load the driver, because I
> have an HFC-E1 card but dmesg shows:
> dmesg
>
>     dahdi: Telephony Interface Registered on major 196
>     dahdi: Version: 2.4.1
>     *vzaphfc: HFC-S PCI A ISDN (V1.42) loading*
>
>
>
> Wish you a nice day.
>
> Best regards.
> Ellen
>
>
> 2012/6/2 M. Josenhans <m_josenhans at web.de <mailto:m_josenhans at web.de>>
>
>     Hi Ellen,
>
>     here is how I start OpenBSC without any BTS.
>
>     cd openbsc
>
>     src/osmo-nitb -c doc/examples/osmo-nitb/__nanobts/openbsc.cfg -C
>
>     and make sure the current directory is not write protected.
>
>     Then I start the telnet terminal with:
>     telnet localhost 4242
>
>     Hope this helps.
>
>     Br,
>     Michael
>     PS:
>     Additional info:
>     osmo-nitb --help
>     http://openbsc.osmocom.org/__trac/wiki/osmo-nitb
>     <http://openbsc.osmocom.org/trac/wiki/osmo-nitb>
>
>
>     On 05/31/2012 10:08 AM, Ellen Apolinar wrote:
>
>         Hey folks,
>
>         I am new with OpenBSC and want to build OpenBSC with several BTS
>         from
>         different types.
>
>         At first what I need: I want to test OpenBSC without a BTS just
>         to see
>         if the installation worked successfully. Also I need to know
>         what I have
>         to do if I want to use a BTS which isn't configured yet.
>
>         What we want to do in the end is to test the BTS with a selfmade
>         programm. For this we need an interface between the hardware BTS
>         and the pc.
>
>         What I have:
>         Ubuntu 11.10
>         Kernel 3.0.22
>         several BTS (Siemens BS60/BS240, Nokia Citytalk, Alcatel G9100
>         etc...)
>         HFC-E1 card from Cologne Chip
>         OpenBSC
>         Asterisk 1.8.4.4 + Web-GUI (Asterisk NOW 2.0)
>         Dahdi 2.4.1
>         Libpri 1.4
>         mISDN v2.x
>         mISDNuser 2.0.11
>         LCR 1.7
>         Twinkle, Wireshark etc.
>
>         Why mISDN + Dahdi:
>         First I tried to use mISDn + mISDNuser + LCR for a connection
>         between
>         OpenBSC and Asterisk. mISDN was integrated in the Kernel so I
>         thought
>         it's the best idea to use it. I installed mISDNuser and LCR but
>         there
>         are several problems. For further informations you can have a
>         look here:
>         http://www.ip-phone-forum.de/__showthread.php?t=247932
>         <http://www.ip-phone-forum.de/showthread.php?t=247932>
>
>         Because of the problems mit LCR/chan_LCR and Asterisk I decided
>         to use
>         Dahdi because it's also installed since I installed Asterisk.
>         Asterisks
>         works fine with the softphones which I created with Twinkle and
>         also the
>         Asterisk GUI works without problems.
>
>         To use Dahdi:
>         modprobe -r hfcmulti
>         modprobe -r mISDN_core
>         /etc/init.d/dahdi restart
>
>         /etc/dahdi/system.conf:
>         dchan=1
>         bchan=2-30
>
>         openbsc.cfg:
>         e1_input
>         e1_line 0 driver dahdi
>
>         To start OpenBSC:
>         cd /etc/openbsc/src/osmo-nitb
>         ./osmo-nitb
>         Error:
>         <0005> bsc_init.c:493 Failed to parse the config file: 'openbsc.cfg'
>
>         So now I'm not sure what to do because I'm not sure what exactly is
>         wrong and if it could work without a BTS. There are enough
>         informations
>         if I want to test a BS11 or a nanoBTS but I'm a little bit lost
>         how to
>         work with another BTS.
>
>         In the next day I will get the traces from the several BTS to
>         build an
>         interface between BTS and OpenBSC so I can build the
>         openbsc.cfg-file.
>         But it would be great if it is possible to test OpenBSC before I
>         get the
>         traces.
>
>         To get a connection between OpenBSC and Astrisk with Dahdi is a
>         problem
>         which I should solve by myself. There should be enough
>         information in
>         the internet.
>
>         if you have questions or need more informations just write an
>         e-mail.
>
>         Best regards and thanks in advance. It would be great if someone
>         could
>         help me or give me some advice what I could do.
>
>         Ellen
>
>
>
>
>
>
>





More information about the OpenBSC mailing list