Hello,
I have recently started to deploy OpenBSC . Initially I hope to contribute to manuals and howtos
and with bug reports and testing. I have followed the suggested line, and installed everything from
binarys, which puts for instance osmo-msc at 1.2.0. The platform is Orange Pi Zero, and UHD / B100,
but will evolve to OPI Z + limesdr-mini.
I have encountered the "swapped address" bug reported some 3-4 months ago, but is there in
osmo-msc 1.2.0, i.e. resulting in one way audio, since the sdp is addressed to a byte reversed
address. Apart from that problem I have some minor stability issues (more later ).
so, my entry #1
Latest .deb packages have an issue with requesting the RTP stream for audio TO Mobile
with a bogus IP address:
16:20:17.739790 IP (tos 0x0, ttl 64, id 50362, offset 0, flags [none], proto UDP (17), length 698) orangepizero.lan.5065 > slottet.lan.sip: [udp sum ok] SIP, length: 670 INVITE sip:1000@192.168.1.80:5060 SIP/2.0 Via: SIP/2.0/UDP 192.168.1.170:5065;rport;branch=z9hG4bKcgB6KF1r9Z8Zj Max-Forwards: 70 From: sip:0757576000@192.168.1.170:5065;tag=9U40t8B3a8p5r To: sip:1000@192.168.1.80:5060 Call-ID: 590931be-7be8-1237-51bb-0242ed556d0c CSeq: 938485738 INVITE Contact: sip:192.168.1.170:5065 User-Agent: sofia-sip/1.12.11devel Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE Supported: timer, 100rel Content-Type: application/sdp Content-Length: 129
v=0 o=Osmocom 0 0 IN IP4 170.1.168.192 s=GSM Call c=IN IP4 170.1.168.192 t=0 0 m=audio 4036 RTP/AVP 0 a=rtpmap:0 GSM/8000
Asterisk on 192.168.1.80, osmo stack on 192.168.1.170,
Best Regards,
Gullik
It looks like this is addressed in change 11139, however this was 3 months ago, and build date
of osmo-msc_1.2.0_armhf.deb seems to be nov-10, but it seems not in there.
Would the fix be in osmo-msc_1.2.0.140.1051c_armhf.deb ?
Gullik
On 2018-12-17 09:46, Gullik Webjorn wrote:
Hello,
I have recently started to deploy OpenBSC . Initially I hope to contribute to manuals and howtos
and with bug reports and testing. I have followed the suggested line, and installed everything from
binarys, which puts for instance osmo-msc at 1.2.0. The platform is Orange Pi Zero, and UHD / B100,
but will evolve to OPI Z + limesdr-mini.
I have encountered the "swapped address" bug reported some 3-4 months ago, but is there in
osmo-msc 1.2.0, i.e. resulting in one way audio, since the sdp is addressed to a byte reversed
address. Apart from that problem I have some minor stability issues (more later ).
so, my entry #1
Latest .deb packages have an issue with requesting the RTP stream for audio TO Mobile
with a bogus IP address:
16:20:17.739790 IP (tos 0x0, ttl 64, id 50362, offset 0, flags [none], proto UDP (17), length 698) orangepizero.lan.5065 > slottet.lan.sip: [udp sum ok] SIP, length: 670 INVITE sip:1000@192.168.1.80:5060 SIP/2.0 Via: SIP/2.0/UDP 192.168.1.170:5065;rport;branch=z9hG4bKcgB6KF1r9Z8Zj Max-Forwards: 70 From: sip:0757576000@192.168.1.170:5065;tag=9U40t8B3a8p5r To: sip:1000@192.168.1.80:5060 Call-ID: 590931be-7be8-1237-51bb-0242ed556d0c CSeq: 938485738 INVITE Contact: sip:192.168.1.170:5065 User-Agent: sofia-sip/1.12.11devel Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE Supported: timer, 100rel Content-Type: application/sdp Content-Length: 129
v=0 o=Osmocom 0 0 IN IP4 170.1.168.192 s=GSM Call c=IN IP4 170.1.168.192 t=0 0 m=audio 4036 RTP/AVP 0 a=rtpmap:0 GSM/8000
Asterisk on 192.168.1.80, osmo stack on 192.168.1.170,
Best Regards,
Gullik
Hi Gullik,
first of all, thanks for testing and reporting the issues you see.
Where are you installing your packages from? Osmocom repositories? latest [1] or nightly [2]?
Packages from "latest" start to be a bit old nowadays, and have some known bugs. So in general if you are planning to contribute and you are getting used to the system, I'd recommend using nightly to follow development more tightly, at least until we have a new release. If you find an issue, please give it a try on nightly and see if the bug is still there, then submit a ticket in redmine. Patches welcome too of course.
Fyi, I plan to do a new release of all components soon in mid January when I'm back from Holidays.
[1] https://osmocom.org/projects/cellular-infrastructure/wiki/Latest_Builds [2] https://osmocom.org/projects/cellular-infrastructure/wiki/Nightly_Builds
On 12/17/18 10:00 AM, Gullik Webjorn wrote:
It looks like this is addressed in change 11139, however this was 3 months ago, and build date
of osmo-msc_1.2.0_armhf.deb seems to be nov-10, but it seems not in there.
Would the fix be in osmo-msc_1.2.0.140.1051c_armhf.deb ?
Gullik
On 2018-12-17 09:46, Gullik Webjorn wrote:
Hello,
I have recently started to deploy OpenBSC . Initially I hope to contribute to manuals and howtos
and with bug reports and testing. I have followed the suggested line, and installed everything from
binarys, which puts for instance osmo-msc at 1.2.0. The platform is Orange Pi Zero, and UHD / B100,
but will evolve to OPI Z + limesdr-mini.
I have encountered the "swapped address" bug reported some 3-4 months ago, but is there in
osmo-msc 1.2.0, i.e. resulting in one way audio, since the sdp is addressed to a byte reversed
address. Apart from that problem I have some minor stability issues (more later ).
so, my entry #1
Latest .deb packages have an issue with requesting the RTP stream for audio TO Mobile
with a bogus IP address:
16:20:17.739790 IP (tos 0x0, ttl 64, id 50362, offset 0, flags [none], proto UDP (17), length 698) orangepizero.lan.5065 > slottet.lan.sip: [udp sum ok] SIP, length: 670 INVITE sip:1000@192.168.1.80:5060 SIP/2.0 Via: SIP/2.0/UDP 192.168.1.170:5065;rport;branch=z9hG4bKcgB6KF1r9Z8Zj Max-Forwards: 70 From: sip:0757576000@192.168.1.170:5065;tag=9U40t8B3a8p5r To: sip:1000@192.168.1.80:5060 Call-ID: 590931be-7be8-1237-51bb-0242ed556d0c CSeq: 938485738 INVITE Contact: sip:192.168.1.170:5065 User-Agent: sofia-sip/1.12.11devel Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE Supported: timer, 100rel Content-Type: application/sdp Content-Length: 129
v=0 o=Osmocom 0 0 IN IP4 170.1.168.192 s=GSM Call c=IN IP4 170.1.168.192 t=0 0 m=audio 4036 RTP/AVP 0 a=rtpmap:0 GSM/8000
Asterisk on 192.168.1.80, osmo stack on 192.168.1.170,
Best Regards,
Gullik
I have just tried to install from nightly, as opposed to latest.
osmo-trx-uhd OK
osmo-bts-trx OK
osmo-bsc OK
however running osmo-bsc :
root@orangepizero:~# osmo-bsc -D osmo-bsc: relocation error: /usr/lib/arm-linux-gnueabihf/libosmoabis.so.6: symbol ipa_ccm_id_resp_parse, version LIBOSMOGSM_1.0 not defined in file libosmogsm.so.10 with link time reference
the libosmoabis6 installed is from "nightly" , and is libosmoabis.so.6.0.1
Regards,
Gullik
reinstalling libosmogsm causes osmo-bsc to exit with:
root@orangepizero:~# osmo-bsc osmo-bsc: symbol lookup error: /usr/lib/arm-linux-gnueabihf/libosmogsm.so.10: undefined symbol: osmo_bcd2str
this also from nightly
Gullik
On 2018-12-20 16:24, Gullik Webjorn wrote:
I have just tried to install from nightly, as opposed to latest.
osmo-trx-uhd OK
osmo-bts-trx OK
osmo-bsc OK
however running osmo-bsc :
root@orangepizero:~# osmo-bsc -D osmo-bsc: relocation error: /usr/lib/arm-linux-gnueabihf/libosmoabis.so.6: symbol ipa_ccm_id_resp_parse, version LIBOSMOGSM_1.0 not defined in file libosmogsm.so.10 with link time reference
the libosmoabis6 installed is from "nightly" , and is libosmoabis.so.6.0.1
Regards,
Gullik
That was a
On 12/20/18 4:31 PM, Gullik Webjorn wrote:
reinstalling libosmogsm causes osmo-bsc to exit with:
root@orangepizero:~# osmo-bsc osmo-bsc: symbol lookup error: /usr/lib/arm-linux-gnueabihf/libosmogsm.so.10: undefined symbol: osmo_bcd2str
this also from nightly
that function was added in libosmocore 7079e698481705c82c7aff58ea9c63469626af80, you need to install new package "libosmocore" from nightly, don't use the one from latest.
Please, update all packages and libs as mentioned in my previous post. (force apt re-install for libosmo* and osmo*).
Please, update all packages and libs as mentioned in my previous post. (force apt re-install for libosmo* and osmo*).
It is important to understand that you cannot sanely mix 'latest' and 'nightly' packages.
In 'latest', we have sensible version information and the LIBVERSION is settled. Package dependencies make sense. It is a sane debian package.
In 'nightly', we are tracking current master, so even though essential changes have taken place, you may stay on the very same version number. That's why we have disabled version numbers in nightly (don't recall how exactly).
If you're using 'nightly', drop all other osmo* packages and only use nightly. Don't expect debian dependencies to pick the correct osmo* packages.
~N
Thanx Neels,
Yes, I was under the impression I had already purged "latest", but to make
sure, I will scratch the system completely, and reinstall from "nightly"
including all required packages and dependencies.
Does "nightly" require anything special regarding UHD, or could that
be retrieved with apt-get, i.e. std Ettus UHD? I am using a B100.
Gullik
On 2018-12-21 23:47, Neels Hofmeyr wrote:
Please, update all packages and libs as mentioned in my previous post. (force apt re-install for libosmo* and osmo*).
It is important to understand that you cannot sanely mix 'latest' and 'nightly' packages.
In 'latest', we have sensible version information and the LIBVERSION is settled. Package dependencies make sense. It is a sane debian package.
In 'nightly', we are tracking current master, so even though essential changes have taken place, you may stay on the very same version number. That's why we have disabled version numbers in nightly (don't recall how exactly).
If you're using 'nightly', drop all other osmo* packages and only use nightly. Don't expect debian dependencies to pick the correct osmo* packages.
~N
Hi,
looks like you are not using libosmogsm from nightly, probably still using the one from testing.
if I get libosmogsm from https://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_...
$ objdump -T libosmogsm.so.10.0.0 | grep ipa_ccm_id_resp_parse 000000000002f260 g DF .text 000000000000017e LIBOSMOGSM_1.0 ipa_ccm_id_resp_parse
so the symbol is there.
That symbol was added in libosmocore 7869baf843fd10d0fd28f79395f3e7a01eebb8b7, that is after last release (and thus not available in package version from "latest").
Easiest would be that you for reinstall for all libosmo* and osmo* packages.
Regards, Pau