Hello everyone,
I've just finnished writing together a small web interface for the
OpenBSC HLR. It allows you to modify various parameters in the
database and also provides a set of functions to modify the HLR or
sending SMSes in your own scripts.
The project is still very alpha but it seems to work reasonably good.
Feel free to give any feedback!
Screenshots and source code is available at my website:
https://stormhub.org/simplehlr/
Best regards,
Peter Caprioli
hi,
i fixed two obvious bugs in libosmo-abis. the first fix uses correct reference for mISDN interface number, the other handles variable frame lengths. both are tested. if nobody minds, i like to commit them.
regards,
andreas
Fixed wrong reference while opening mISDN socket
diff --git a/src/input/misdn.c b/src/input/misdn.c
index 2ed152e..5fdd847 100644
--- a/src/input/misdn.c
+++ b/src/input/misdn.c
@@ -484,7 +484,7 @@ static int mi_e1_setup(struct e1inp_line *line, int release_l2)
}
memset(&addr, 0, sizeof(addr));
addr.family = AF_ISDN;
- addr.dev = line->num;
+ addr.dev = line->port_nr;
addr.channel = 0;
addr.sapi = 0;
addr.tei = GROUP_TEI;
Fixed TRAU frame handling of packet lengths that are not a multiple of 4
diff --git a/src/subchan_demux.c b/src/subchan_demux.c
index 41fe1d2..8613c17 100644
--- a/src/subchan_demux.c
+++ b/src/subchan_demux.c
@@ -102,10 +102,6 @@ int subch_demux_in(struct subch_demux *dmx, uint8_t *data, int len)
{
int i, c;
- /* we avoid partially filled bytes in outbuf */
- if (len % 4)
- return -EINVAL;
-
for (i = 0; i < len; i++) {
uint8_t inbyte = data[i];
Hi Jolly,
I have finally tracked down the LAPDm breakage we have in osmo-bts. It comes
from the fact that we get a RSL message from the BSC and then forward the msgb
that holds the IPA header followed by the RSL message. There is code in both
lapdm.c and lapd_core.c that tries to extract the RSL_IE_L3_INFO and then
updates the msgb to be of the length of that TLV and sets the l3h to the start
of the L3_INFO:
Currently:
msgb_pull_l2h(msg);
msg->len = length;
msg->tail = msg->data + length;
this kind of assumes that before the "msgb_pull_l2h", msg->l2h == msg->data
but in the above case it does not hold true. You will need to use "msg->l3h +
length" with this idiom.
Fixes:
I have pushed some fixes to "zecke/lapd-fixes", but I would like to see the
above pattern move to msgb.h, and it would be nice if we could write test
cases for the other methods in lapdm.c that manipulate the msgb.h (currently
only data request is tested).
One more thing:
I would be somehow happy if lapdm_rslms_recvmsg would indicate if any messages
were sent or queued, currently it will return 0 in more than one case.
cheers
holger
Hello,
First of all congratulations to all people involved in this project.
I am new to this list but I watch the project for some time. I have some
questions and maybe some ideas how to make this project testers or
enthusiasts friendly.
I work with BSCes and BTSes every day at my work but I would like to try
and play with OpenBSC but the installation and configuration looks time
consuming and not friendly at all.
I have some questions and suggestions below:
* What about some packages for OpenBSC so we can install them easier
from a repository? How hard, time consuming is to make a nightly build
of the git sources and have some pre-compiled Debian packages?
* Did somebody try to build OpenBSC on SPARC architecture? I have some
Sun servers that I would like to use for this project. Same thing like
before, some pre-compiled packages would be nice for SPARC.
* Now, more like a project design request.
There is not so much documentation how to configure the parameters of
OpenBSC, SGSN and BTS so a web interface also would be nice and very
helpful.
Second thing on this topic, moving configuration from one server to
another needs to be exported easily and imported in the same way to new
hardware. What about a DB that keeps all the settings and with one
command in CLI or web interface you export everything and import it on
another hardware?
I am sorry if some things are already in OpenBSC but it's kind of hard
to find important stuff on that wiki. Also I know that OpenBSC is under
hard development so new features might come later.
Best regards,
R.
Dear all,
I work for a mobile operator and we are working on R&D to
improve the quality of our network. For our R&D we required a open BSC, is
there any one who sells open BSC. If there is anyone then our company is
willing to buy one.
Regards
Upaj