Another attempt with all sources downloaded from this link has failed when building LCR :(<div><br></div><div><a href="http://www.linux-call-router.de/download/lcr-1.7/">http://www.linux-call-router.de/download/lcr-1.7/</a></div>
<div><br></div><div>---</div><div><br></div><div><div>g++  -g -O2   -o gentones gentones.o  -lpthread -lncurses -lm </div><div>g++ -DHAVE_CONFIG_H -I.   -DWITH_GSM_BS -I./openbsc/include -I./libosmocore/include -I./openbsc   -Wall -DCONFIG_DATA="\"/usr/local/lcr\"" -DSHARE_DATA="\"/usr/local/lcr\"" -DLOG_DIR="\"/usr/local/lcr\"" -DEXTENSION_DATA="\"/usr/local/lcr/extensions\""    -g -O2 -MT genwave.o -MD -MP -MF .deps/genwave.Tpo -c -o genwave.o genwave.c</div>
<div>mv -f .deps/genwave.Tpo .deps/genwave.Po</div><div>g++  -g -O2   -o genwave genwave.o  -lpthread -lncurses -lm </div><div>gcc   -DWITH_GSM_BS -I./openbsc/include -I./libosmocore/include -I./openbsc   -Wall -DCONFIG_DATA="\"/usr/local/lcr\"" -DSHARE_DATA="\"/usr/local/lcr\"" -DLOG_DIR="\"/usr/local/lcr\"" -DEXTENSION_DATA="\"/usr/local/lcr/extensions\"" -D_GNU_SOURCE -fPIC -c chan_lcr.c -o chan_lcr.po</div>
<div>chan_lcr.c: In function ‘send_setup_to_lcr’:</div><div>chan_lcr.c:644: error: ‘struct ast_channel’ has no member named ‘cid’</div><div>chan_lcr.c:655: error: ‘struct ast_channel’ has no member named ‘cid’</div><div>chan_lcr.c: In function ‘lcr_in_setup’:</div>
<div>chan_lcr.c:858: warning: passing argument 9 of ‘__ast_channel_alloc’ makes integer from pointer without a cast</div><div>/usr/include/asterisk/channel.h:1112: note: expected ‘int’ but argument is of type ‘char *’</div>
<div>chan_lcr.c:883: error: ‘struct ast_channel’ has no member named ‘cid’</div><div>chan_lcr.c:885: error: ‘struct ast_channel’ has no member named ‘cid’</div><div>chan_lcr.c:887: error: ‘struct ast_channel’ has no member named ‘cid’</div>
<div>chan_lcr.c:890: error: ‘struct ast_channel’ has no member named ‘cid’</div><div>chan_lcr.c:893: error: ‘struct ast_channel’ has no member named ‘cid’</div><div>chan_lcr.c:896: error: ‘struct ast_channel’ has no member named ‘cid’</div>
<div>chan_lcr.c:900: error: ‘struct ast_channel’ has no member named ‘cid’</div><div>chan_lcr.c:903: error: ‘struct ast_channel’ has no member named ‘cid’</div><div>chan_lcr.c:906: error: ‘struct ast_channel’ has no member named ‘cid’</div>
<div>chan_lcr.c:909: error: ‘struct ast_channel’ has no member named ‘cid’</div><div>chan_lcr.c: In function ‘handle_queue’:</div><div>chan_lcr.c:1707: error: incompatible types when assigning to type ‘union ast_frame_subclass’ from type ‘char’</div>
<div>chan_lcr.c: In function ‘lcr_request’:</div><div>chan_lcr.c:1820: warning: passing argument 9 of ‘__ast_channel_alloc’ makes integer from pointer without a cast</div><div>/usr/include/asterisk/channel.h:1112: note: expected ‘int’ but argument is of type ‘char *’</div>
<div>chan_lcr.c: In function ‘lcr_call’:</div><div>chan_lcr.c:1927: error: ‘struct ast_channel’ has no member named ‘cid’</div><div>chan_lcr.c:1927: error: ‘struct ast_channel’ has no member named ‘cid’</div><div>chan_lcr.c:1928: error: ‘struct ast_channel’ has no member named ‘cid’</div>
<div>chan_lcr.c:1931: error: ‘struct ast_channel’ has no member named ‘cid’</div><div>chan_lcr.c:1931: error: ‘struct ast_channel’ has no member named ‘cid’</div><div>chan_lcr.c:1932: error: ‘struct ast_channel’ has no member named ‘cid’</div>
<div>chan_lcr.c:1934: error: ‘struct ast_channel’ has no member named ‘cid’</div><div>chan_lcr.c:1934: error: ‘struct ast_channel’ has no member named ‘cid’</div><div>chan_lcr.c:1935: error: ‘struct ast_channel’ has no member named ‘cid’</div>
<div>chan_lcr.c: In function ‘lcr_write’:</div><div>chan_lcr.c:2164: error: wrong type argument to unary exclamation mark</div><div>chan_lcr.c:2166: error: invalid operands to binary & (have ‘union ast_frame_subclass’ and ‘format_t’)</div>
<div>chan_lcr.c: In function ‘lcr_read’:</div><div>chan_lcr.c:2229: error: incompatible types when assigning to type ‘union ast_frame_subclass’ from type ‘format_t’</div><div>chan_lcr.c: In function ‘lcr_indicate’:</div><div>
chan_lcr.c:2274: warning: assignment from incompatible pointer type</div><div>chan_lcr.c:2289: warning: assignment from incompatible pointer type</div><div>chan_lcr.c:2316: warning: assignment from incompatible pointer type</div>
<div>chan_lcr.c:2381: error: dereferencing pointer to incomplete type</div><div>chan_lcr.c:2382: error: dereferencing pointer to incomplete type</div><div>chan_lcr.c: At top level:</div><div>chan_lcr.c:2602: warning: initialization from incompatible pointer type</div>
<div>chan_lcr.c: In function ‘load_module’:</div><div>chan_lcr.c:2818: warning: passing argument 2 of ‘ast_register_application2’ from incompatible pointer type</div><div>/usr/include/asterisk/module.h:458: note: expected ‘int (*)(struct ast_channel *, const char *)’ but argument is of type ‘int (*)(struct ast_channel *, void *)’</div>
<div>make[1]: *** [chan_lcr.po] Error 1</div><div>make[1]: Leaving directory `/usr/local/src/lcr'</div><div>make: *** [all] Error 2</div><div><br></div><br><div class="gmail_quote">On Sat, Mar 3, 2012 at 7:25 PM, Nik Pakar <span dir="ltr"><<a href="mailto:nikpakar@gmail.com">nikpakar@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Carecel,<div><br></div><div>I also still strugling with no luck. I have a very good understanding of the openbsc and it works well as the NITB.</div>
<div><br></div><div>But LCR and asterisk integration is no where closer.</div>
<div><br></div><div>Im using debian 6.0.4</div><div>Asterisk 1.8.9.3</div><div>OpenBSC, Osmocore, Osmo-abis : latest git clone</div><div>LCR : latest git clone</div><div>mISDN : downloaded from the site</div><div><br></div>

<div>First thing didnt aligned with documentation is the LCR patch doesnt seems apply. I assume the developers has made the patch into it, so its not applying. But when i inspect the source of gsm_bs.cpp, doesnt seems there either.</div>

<div><br></div><div>Passing on - once LCR compiled with asterisk and gsm_bs, it doesnt even create a gsm.conf</div><div><br></div><div>So almost no go from that point.</div><div><br></div><div>Anyway, now im waiting for some feedback about the actual topology of it since its unclear whether we still need E1/ISDN in the middle to integrate this. If that is the case i wouldnt want to try that. Been all IP solution, there is no point having TDM in the middle at all.</div>

<div><br></div><div>Do you have any idea about that ?</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Nik.</div></font></span><div class="HOEnZb"><div class="h5"><div><br><div class="gmail_quote">On Sat, Mar 3, 2012 at 12:48 PM, Nik Pakar <span dir="ltr"><<a href="mailto:nikpakar@gmail.com" target="_blank">nikpakar@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I think im little bit lost here now the way it should work. As per this link it only works with isdn interface not sip.<div>

<br></div><div>All im trying to do is,</div><div><br></div><div>[MS]---[nanoBTS]----[OpenBSC NITB]---(ip)---[LCR]---(ip)---[Asterisk]----(sip)---></div>
<div><br></div><div>Is this what its been made for or are there any E1/ISDN interfaces in the middle.</div><div><div><div><br></div><div><br><div class="gmail_quote">On Fri, Mar 2, 2012 at 8:29 PM, Alexander Huemer <span dir="ltr"><alexander.huemer@xx.vu></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Nik,<br>
<div><br>
On Fri, Mar 02, 2012 at 05:08:45PM +0000, Nik Pakar wrote:<br>
> Do I have to have mISDN for LCR even im not going to use any isdn interface<br>
> ? Im trying to connect the NITB to LCR and LCR to asterisk all on ip.<br>
><br>
</div>see <a href="http://www.isdn4linux.de/pipermail/isdn4linux/2012-March/005688.html" target="_blank">http://www.isdn4linux.de/pipermail/isdn4linux/2012-March/005688.html</a><br>
<br>
Kind regards,<br>
-Alexander Huemer<br>
<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>