Hi, <br><br><div class="gmail_quote">2012/2/10 Don Fanning <span dir="ltr"><<a href="mailto:don@00100100.net">don@00100100.net</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hello All,<div><br></div><div>After some trials and tribulations, I think I got my OpenBSC+LCR+Asterisk compiles and working.  The MS connects once I spoof the proper MCC/MNC for the foreign SIM I have (to ensure that no one else can connect within my area).</div>
</div></blockquote><div> </div><div>That does not completely prevent somebody from trying to connect to your network. Using the common test equipment id and manually selecting the network in your phone is also possible and I think much better than sending out any operator MCC/MNC (apart from using an RF attentuator).<br>
 </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Then when I try to make a test call to an asterisk extension, it give me the following:</div>
<div>...<br><div>Thu Feb  9 18:55:58 2012 <0002> gsm_04_08.c:858 <- CM SERVICE REQUEST serv_type=0x01 mi_type=0x04 M(210271915)</div>

<div><span style="background-color:rgb(255,255,0)">Thu Feb  9 18:55:58 2012 <0002> gsm_04_08.c:800 -> CM SERVICE Reject cause: 2</span> <br></div></div></div></blockquote><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div><div><div>... </div></div></div></blockquote><div><br>This code triggers the reject:<br><br>    if (!subscr)<br>        return gsm48_tx_mm_serv_rej(conn,<br>                        GSM48_REJECT_IMSI_UNKNOWN_IN_HLR);<br>
<br>So, have you inserted your IMSI into your OpenBSC HLR (sqlite database)?<br> </div></div>-- Lennart<br>