<div dir="ltr"><div><div><div><div><div><div>Hi Herald,<br><br></div>Thanks for the quick response! My apologize for the delay - I was close to get it working so wanted to put a mail after.<br></div>GSM_TAP was the key - Thank you for this help. External CC works well now.<br><br></div><div>There was no way I could figure it out, if I hadn't enabled GSM_TAP.<br></div><div>It said "Invalid mandatory information"<br></div><div>Just 
 compared mncc with internal and external CC - Debugged a little further
 and realized 1 of the fields of bearer_cap was missing!<br><br></div><div>mncc-python
 is good - I read your blog. Made some changes (socket path). Although it does 
fail with "Invalid mandatory information" - bearer cap missing. I will 
have to look again at the code.<br></div><div><br></div><div><br></div><div><b>Just an off topic Question</b>.<br></div><div>Osmo-sim-auth and pysim both same projects right?<br></div><div>Reason
 I asked since, I wrote all SIM API's in osmo-sim-auth and was planning 
to push upstream and then realized there is a project pysim which has all of that ?<br></div><div><br></div></div></div></div><div>Thanks,<br></div><div>Gerard<br></div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 17, 2017 at 8:49 AM, Harald Welte <span dir="ltr"><<a href="mailto:laforge@gnumonks.org" target="_blank">laforge@gnumonks.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hi Gerard,<br>
<br>
On Fri, Mar 17, 2017 at 02:47:18AM -0700, Gerard Pinto wrote:<br>
> I have been working with Layer23 stack of OsmocomBB since a couple of<br>
> months.<br>
> I decided to try MNCC socket interface without LCR (I'm aware there is an<br>
> implementation embedded in LCR gsm-ms).<br>
<br>
Just a quick note: There's mncc-python at<br>
<a href="http://git.osmocom.org/mncc-python/" rel="noreferrer" target="_blank">http://git.osmocom.org/mncc-<wbr>python/</a> which you can use to interface from<br>
external programs/scripts, if you'd like.<br>
<br>
> Problem: I'm unable to make a call on live network, although it does channel<br>
> allocation, ciphering etc.<br>
> Flow:<br>
> 1. Create MNCC struct and write on to the osmocomBB socket<br>
> 2. OsmocomBB parses it well and request for channel, ciphering mode, init<br>
> MM, sending SETUP etc works great.<br>
> 3. However, in response to step.2 after sending SETUP it returns with (ms 1)<br>
> Received 'RELEASE_COMPL' in CC state INITIATED. Why does it release CC?<br>
<br>
It would be best if yo could include GSMTAP protocol traces of such<br>
situations, so one can analyze what happens.<br>
<br>
Also, you can compare the traces of working (no mncc?) and non-working<br>
(mncc) cases.<br>
<br>
Regards,<br>
        Harald<br>
<span class="HOEnZb"><font color="#888888">--<br>
- Harald Welte <<a href="mailto:laforge@gnumonks.org">laforge@gnumonks.org</a>>           <a href="http://laforge.gnumonks.org/" rel="noreferrer" target="_blank">http://laforge.gnumonks.org/</a><br>
==============================<wbr>==============================<wbr>================<br>
"Privacy in residential applications is a desirable marketing option."<br>
                                                  (ETSI EN 300 175-7 Ch. A6)<br>
</font></span></blockquote></div><br></div>