<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hello naif,</div><div>There is an open source project here: <a href="https://github.com/co-cell/ccm" target="_blank">https://github.com/co-cell/ccm</a> that attempts to provide a system for doing the kind of coordination between independent community networks. It is based on Osmocom under the hood, but uses the older osmo-nitb stack (before components were split). The networks are able to operate independently offline, and use a combination of sip call routing as suggested by Neels above, SMPP, and a web api to synchronize usage when connected to the cloud for centralized billing and to interconnect through the cloud for community to community, or community to public voip network communication. The project was originally run by the Telecom Infra Project, but was abandoned by them last year after they moved to a new (unfortunately private) internal tool <a href="https://github.com/facebookarchive/CommunityCellularManager">https://github.com/facebookarchive/CommunityCellularManager</a> . CCM is still actively used by the PCARI Vbts project (<a href="https://www.up.edu.ph/index.php/up-globe-sign-moa-for-village-base-station-project/">https://www.up.edu.ph/index.php/up-globe-sign-moa-for-village-base-station-project/</a>) with a number of local communities in the Philippines, and they run and maintain their own instance of the CCM cloud. It might be something to look at as a potential starting point, or something to learn from if you want to make different architectural decisions when connecting the networks!</div><div>Regards,</div><div>-Matt J.<br></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Oct 17, 2018 at 6:06 AM Neels Hofmeyr <<a href="mailto:nhofmeyr@sysmocom.de" target="_blank">nhofmeyr@sysmocom.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi naif,<br>
<br>
your requirements sound a lot alike those that Rhizomatica are solving in<br>
Oaxaca.<br>
<br>
Running independent GSM networks is the easy part, the hard part is to connect<br>
them to each other in a failure-tolerant way.<br>
<br>
The basic concept is, usually you would have one MSC+HLR for all of your cells,<br>
and calls would easily get routed between the different cells. But if the<br>
connection to the MSC fails, then all is lost. So you want completely separate<br>
network infrastructure for each location. I'm not closely familiar with this<br>
aspect, but I imagine using SIP call routing between the otherwise independent<br>
networks is one solution (think osmo-sip-connector and an external call router<br>
program). The other problem space is that if you want to manage a common<br>
subscriber database (HLR), so that e.g. one SIM (phone) can travel freely<br>
around and use any of the network cells and always be reachable by the same<br>
number wherever it happens to be, then you need some synchronization of the HLR<br>
databases. To illustrate, if I want to be reachable by one given phone number<br>
in all the cells, something has to know which cell to route that number to. If<br>
I show up in a cell, we need to tell the previous cell that I am now over here<br>
instead...  You would have an easier time if each network is managed separately<br>
with its own HLR on-location, in the sense that a SIM card can have a different<br>
phone number in each of them.<br>
<br>
I'm making this up as I go, I hope Rhizomatica folks can flesh out some more<br>
details.<br>
<br>
Note, we're currently working on improving the network setup for Rhizomatica,<br>
and you're likely to benefit from that, sooner or later.<br>
<br>
Either way it would be excellent if you stay in touch and contribute<br>
documentation and/or patches back to Osmocom. Also possible would be to book<br>
support hours from a professional support vendor, if you have some grant that<br>
allows you to, so that your specific needs can be addressed with higher<br>
priority than volunteer work can provide (which would also benefit Osmocom at<br>
large, to pay for maintenance etc.). None of this is required, of course, but<br>
Free Software lives by contribution. All kinds of contribution are welcome.<br>
<br>
Looking forward to hearing more about your progress!<br>
<br>
~N<br>
</blockquote></div>