<div dir="ltr">Do you know which version of libosmocore that branch worked with?  I have tried it with both the master branch and the fairwaves/master-rebase branch and neither one compiled.  I also tried rebasing the fairwaves/master-rebase onto master again.  This at least builds but it looks like osmo-nitb is sending a different version of SUP than what libosmocore is expecting and so it can't decode it.  The function in libosmocore that seems to do the decoding is osmo_gsup_decode in gsup.c<div><br></div><div>I have seen references to be SUP and GSUP in the code.  Are these two different protocols or are they the same thing?  Also, are they specified anywhere other than in the code?</div><div dir="ltr"><div><br></div><div><br><div class="gmail_quote"><div dir="ltr">On Sat, Sep 2, 2017 at 2:11 PM Alexander Chemeris <<a href="mailto:alexander.chemeris@gmail.com" target="_blank">alexander.chemeris@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Rowan,<br>
<br>
A more recent version of this work is a part of the<br>
fairwaves/master-rebase branch. It has implementation of exporting<br>
USSD (and any other SS for that matter) over a SUP socket and an<br>
external utility to decode/encode them and convert to/from SIP+XML<br>
similar to defined in the IMS standard.<br>
<br>
We're currently using this code to implement external USSD services<br>
like a balance check from a billing system and also to forward SS and<br>
USSD to MAP/Sigtran. So I think the code should work well for you.<br>
<br>
If you find this code useful, we would greatly appreciate any help in<br>
merging this code into master. We intend to eventually merge this into<br>
master, but it requires some cleanup before it could be submitted for<br>
a review and given it's not a simple small change we've never had<br>
enough time to do that so far :(<br>
<br>
On Wed, Aug 30, 2017 at 10:59 PM, Rowan Phipps<br>
<<a href="mailto:phippsr@cs.washington.edu" target="_blank">phippsr@cs.washington.edu</a>> wrote:<br>
> Hi,<br>
> I’ve been looking into getting ussd working with an external application. I<br>
> found a branch from last year (fairwaves/sup-ussd) that looks like it has<br>
> implemented most of ussd sessions and possibly communicates with an external<br>
> application. Does anyone know if it was finished or what still needs to be<br>
> done?<br>
><br>
> I also found a python script called ussd_example.py which looks like it is<br>
> supposed to act as a gateway and receive used connections from openbsc. Is<br>
> this correct and did it work or am I misunderstanding its purpose?<br>
><br>
> Thanks!<br>
> - Rowan Phipps<br>
<br>
<br>
<br>
--<br>
Regards,<br>
Alexander Chemeris.<br>
CTO/Founder, Fairwaves, Inc.<br>
<a href="https://fairwaves.co" rel="noreferrer" target="_blank">https://fairwaves.co</a><br>
</blockquote></div></div></div></div><div dir="ltr">-- <br></div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Thanks!<div>    - Rowan Phipps</div></div></div>