Hi list!
I have a installation problem with OpenBSC+LCR. I tried to install it following tutorial in the wiki and not working. I have some problem and I probe to install in various unix version Ubuntu based but I can't.
I believe that codes are changing and tutorial doesn't work. Someone have installed OpenBSC+LCR recently? Pleased tell me how!
In addiction, I need to know if there are documentation about the codes to complain how it work to study the program and understand it. Are there documentation available?
Thank you!
Thank you. I do 'make' in lcr but doesn't work and show this: * In file included from /usr/include/asterisk/astobj2.h:20, from /usr/include/asterisk/indications.h:29, from chan_lcr.c:160: /usr/include/asterisk/compat.h:93: error: expected identifier or ‘(’ before ‘__extension__’ /usr/include/asterisk/compat.h:101: error: expected identifier or ‘(’ before ‘__extension__’ /usr/include/asterisk/compat.h:101: error: expected identifier or ‘(’ before ‘)’ token chan_lcr.c: In function ‘send_message’: chan_lcr.c:383: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result chan_lcr.c:679:2: warning: #warning DISABLED DUE TO DOUBLE LOCKING PROBLEM chan_lcr.c: In function ‘lcr_in_proceeding’: chan_lcr.c:1115: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result chan_lcr.c: In function ‘lcr_in_alerting’: chan_lcr.c:1136: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result chan_lcr.c: In function ‘lcr_in_connect’: chan_lcr.c:1167: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result chan_lcr.c: In function ‘lcr_in_disconnect’: chan_lcr.c:1208: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result chan_lcr.c: In function ‘lcr_in_release’: chan_lcr.c:1242: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result chan_lcr.c: In function ‘lcr_in_information’: chan_lcr.c:1285: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result chan_lcr.c: In function ‘lcr_in_pattern’: chan_lcr.c:1361: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result chan_lcr.c: In function ‘lcr_in_dtmf’: chan_lcr.c:1391: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result chan_lcr.c: In function ‘release_all_calls’: chan_lcr.c:1655: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result chan_lcr.c: In function ‘wake_event’: chan_lcr.c:1805: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result chan_lcr.c: In function ‘load_module’: chan_lcr.c:3243: warning: passing argument 2 of ‘ast_register_application2’ from incompatible pointer type /usr/include/asterisk/module.h:427: note: expected ‘int (*)(struct ast_channel *, void *)’ but argument is of type ‘int (*)(struct ast_channel *, void *)’ make[1]: *** [chan_lcr.po] Error 1 make[1]: Leaving directory `/home/rivas/openbsc/lcr' make: *** [all] Error 2*
I'm following step by step wiki tutorial and using Ubuntu 10.04. There is a patch to apply before but doesn't work:
*rivas@ubuntu:~/openbsc/lcr$ git apply --verbose lcrOpenBSC.patchChecking patch gsm_bs.cpp... error: while searching for: int bts_model_nanobts_init(void); static struct log_target *stderr_target;
/* timer to store statistics */ #define DB_SYNC_INTERVAL 60, 0 static struct timer_list db_sync_timer;
error: patch failed: gsm_bs.cpp:39 error: gsm_bs.cpp: patch does not apply*
2012/5/14 Holger Hans Peter Freyther holger@freyther.de
On 05/14/2012 06:18 PM, Arturo Rivas wrote:
Hi list!
Dear Arturo,
please move the meta-disucssion to the problem. What didn't work? What did you try? What was the result?
h.
On 05/14/2012 06:58 PM, Arturo Rivas wrote:
Hi, please once more in a different order
0.) State which versions of software (asterisk, lcr, openbsc) 1.) First output of applying patches (where does the patch come from?) 2.) Then output of configure/make
*rivas@ubuntu:~/openbsc/lcr$ git apply --verbose lcrOpenBSC.patchChecking patch gsm_bs.cpp... error: while searching for:
So in your case applying the patch does not work, most likely as LCR has catched up and you don't need the patch anymore.
Erg... Got an issue with LCR+SIP
When placing a MT call from a SIP client I get a segfault. This is using the latest OpenBSC/LCR from GIT and asterisk 1.8 without any special patching.
Pastebin for LCR output: http://pastebin.com/WDeApEak
On a side note, I swear I had this noted somewhere but can't find it. Using the LCR+SIP+Asterisk bridging, what extension/context does LCR ring Asterisk? In the mISDN based routing, you would tell it a context... with SIP bridging, it doesn't use it. So what do I tell my asterisk so it can handle the outgoing call?
Thanks, -Don
On Tue, May 15, 2012 at 12:40 AM, Holger Hans Peter Freyther < holger@freyther.de> wrote:
On 05/14/2012 06:58 PM, Arturo Rivas wrote:
Hi, please once more in a different order
0.) State which versions of software (asterisk, lcr, openbsc) 1.) First output of applying patches (where does the patch come from?) 2.) Then output of configure/make
*rivas@ubuntu:~/openbsc/lcr$ git apply --verbose
lcrOpenBSC.patchChecking
patch gsm_bs.cpp... error: while searching for:
So in your case applying the patch does not work, most likely as LCR has catched up and you don't need the patch anymore.
One additional note to this... it will segfault as soon as i go off hook on the MT.
On Fri, Jun 8, 2012 at 12:22 PM, Don Fanning don@00100100.net wrote:
Erg... Got an issue with LCR+SIP
When placing a MT call from a SIP client I get a segfault. This is using the latest OpenBSC/LCR from GIT and asterisk 1.8 without any special patching.
Pastebin for LCR output: http://pastebin.com/WDeApEak
On a side note, I swear I had this noted somewhere but can't find it. Using the LCR+SIP+Asterisk bridging, what extension/context does LCR ring Asterisk? In the mISDN based routing, you would tell it a context... with SIP bridging, it doesn't use it. So what do I tell my asterisk so it can handle the outgoing call?
Thanks, -Don
On Tue, May 15, 2012 at 12:40 AM, Holger Hans Peter Freyther < holger@freyther.de> wrote:
On 05/14/2012 06:58 PM, Arturo Rivas wrote:
Hi, please once more in a different order
0.) State which versions of software (asterisk, lcr, openbsc) 1.) First output of applying patches (where does the patch come from?) 2.) Then output of configure/make
*rivas@ubuntu:~/openbsc/lcr$ git apply --verbose
lcrOpenBSC.patchChecking
patch gsm_bs.cpp... error: while searching for:
So in your case applying the patch does not work, most likely as LCR has catched up and you don't need the patch anymore.