Author Topic: EBox 1.4 - Asterisk Module seems to be broken!!!!  (Read 6538 times)

bellson

  • Zen Apprentice
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
EBox 1.4 - Asterisk Module seems to be broken!!!!
« on: February 25, 2010, 07:19:02 pm »
I posted this in a related subject yesterday.....http://forum.ebox-platform.com/index.php?topic=2948.0

I decided to start a new thread since this issue seems a bit more serious.

I loaded Ebox 1.4 native (not VM).  Did not load firewall, mail filter, ids, etc.  Just the applications; asterisk, ebox management, egroupware, mail, webmail, web server, etc.

The box got a dhcp address from my network.  I changed this after the install to a fixed one in the same subnet, but outside the dhcp range.

I did NOT choose LDAP.

I ran through a brief config, added users, and a group; added the users to the group.  Assigned extensions to the users, and to the group.  Enabled demo extensions, set the voip domain, added two meeting rooms.  Basic, basic, basic....

I checked the dashboard, and asterisk was stopped.  I started it.  It stopped.  I dropped down to a shell, restarted asterisk using the command /usr/sbin/asterisk -f -p -U asterisk.  It died.  I restarted asterisk and added the -c (console) option.  It died.  Here is the console output:

root@ebox143:~# /usr/sbin/asterisk -f -p -c -U asterisk
Asterisk 1.6.2.1+svn244040-1~ebox0~hardy2, Copyright (C) 1999 - 2009 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
[ Booting...
[ Reading Master Configuration ]
[ Initializing Custom Configuration Options ]
[Feb 25 10:18:15] NOTICE[3526]: loader.c:1101 load_modules: 1 modules will be loaded.
.[Feb 25 10:18:15] NOTICE[3526]: cdr.c:1559 do_reload: CDR simple logging enabled.
[Feb 25 10:18:15] NOTICE[3526]: loader.c:1101 load_modules: 202 modules will be loaded.
[Feb 25 10:18:16] NOTICE[3526]: res_smdi.c:1415 load_module: No SMDI interfaces are available to listen on, not starting SMDI listener.
......[Feb 25 10:18:16] WARNING[3526]: loader.c:434 load_dynamic_module: Error loading module 'func_odbc.so': /usr/lib/asterisk/modules/func_odbc.so: undefined symbol: SQLFetch
[Feb 25 10:18:16] WARNING[3526]: loader.c:822 load_resource: Module 'func_odbc.so' could not be loaded.
[Feb 25 10:18:16] WARNING[3526]: loader.c:434 load_dynamic_module: Error loading module 'cel_adaptive_odbc.so': /usr/lib/asterisk/modules/cel_adaptive_odbc.so: undefined symbol: ast_odbc_request_obj
[Feb 25 10:18:16] WARNING[3526]: loader.c:822 load_resource: Module 'cel_adaptive_odbc.so' could not be loaded.
[Feb 25 10:18:16] WARNING[3526]: loader.c:434 load_dynamic_module: Error loading module 'cdr_adaptive_odbc.so': /usr/lib/asterisk/modules/cdr_adaptive_odbc.so: undefined symbol: ast_odbc_request_obj
[Feb 25 10:18:16] WARNING[3526]: loader.c:822 load_resource: Module 'cdr_adaptive_odbc.so' could not be loaded.
[Feb 25 10:18:16] WARNING[3526]: loader.c:434 load_dynamic_module: Error loading module 'cdr_odbc.so': /usr/lib/asterisk/modules/cdr_odbc.so: undefined symbol: ast_odbc_request_obj
[Feb 25 10:18:16] WARNING[3526]: loader.c:822 load_resource: Module 'cdr_odbc.so' could not be loaded.
...........................................[Feb 25 10:18:16] WARNING[3526]: config.c:2040 find_engine: Realtime mapping for 'voicemail' found to engine 'ldap', but the engine is not available
[Feb 25 10:18:16] WARNING[3526]: app_voicemail.c:11111 load_config: maxsilence should be less than minsecs or you may get empty messages
[Feb 25 10:18:16] WARNING[3526]: config.c:2040 find_engine: Realtime mapping for 'voicemail' found to engine 'ldap', but the engine is not available
....[Feb 25 10:18:16] WARNING[3526]: cel_pgsql.c:383 process_my_load_module: CEL pgsql config file missing global section.
.......[Feb 25 10:18:16] NOTICE[3526]: config.c:1983 ast_config_engine_register: Registered Config Engine sqlite
........[Feb 25 10:18:16] WARNING[3526]: translate.c:642 __ast_register_translator: plc_samples 160 format f
.[Feb 25 10:18:16] WARNING[3526]: config.c:1048 process_text_line: Unknown directive '#callback' at line 71 of /etc/asterisk/res_ldap.conf
[Feb 25 10:18:16] WARNING[3526]: config.c:1048 process_text_line: Unknown directive '#dialout' at line 74 of /etc/asterisk/res_ldap.conf
[Feb 25 10:18:16] WARNING[3526]: config.c:1048 process_text_line: Unknown directive '#envelope' at line 76 of /etc/asterisk/res_ldap.conf
[Feb 25 10:18:16] WARNING[3526]: config.c:1048 process_text_line: Unknown directive '#forcegreetings' at line 77 of /etc/asterisk/res_ldap.conf
[Feb 25 10:18:16] WARNING[3526]: config.c:1048 process_text_line: Unknown directive '#forcename' at line 78 of /etc/asterisk/res_ldap.conf
[Feb 25 10:18:16] WARNING[3526]: config.c:1048 process_text_line: Unknown directive '#hidefromdir' at line 80 of /etc/asterisk/res_ldap.conf
[Feb 25 10:18:16] WARNING[3526]: config.c:1048 process_text_line: Unknown directive '#nextaftercmd' at line 82 of /etc/asterisk/res_ldap.conf
[Feb 25 10:18:16] WARNING[3526]: config.c:1048 process_text_line: Unknown directive '#operator' at line 83 of /etc/asterisk/res_ldap.conf
[Feb 25 10:18:16] WARNING[3526]: config.c:1048 process_text_line: Unknown directive '#review' at line 86 of /etc/asterisk/res_ldap.conf
[Feb 25 10:18:16] WARNING[3526]: config.c:1048 process_text_line: Unknown directive '#saycid' at line 87 of /etc/asterisk/res_ldap.conf
[Feb 25 10:18:16] WARNING[3526]: config.c:1048 process_text_line: Unknown directive '#sayduration' at line 88 of /etc/asterisk/res_ldap.conf
[Feb 25 10:18:16] WARNING[3526]: config.c:1048 process_text_line: Unknown directive '#saydurationm' at line 89 of /etc/asterisk/res_ldap.conf
[Feb 25 10:18:16] WARNING[3526]: config.c:1048 process_text_line: Unknown directive '#sendvoicemail' at line 90 of /etc/asterisk/res_ldap.conf
[Feb 25 10:18:16] WARNING[3526]: config.c:1048 process_text_line: Unknown directive '#tz' at line 92 of /etc/asterisk/res_ldap.conf
[Feb 25 10:18:16] NOTICE[3526]: config.c:1983 ast_config_engine_register: Registered Config Engine ldap
......[Feb 25 10:18:16] NOTICE[3526]: pbx_ael.c:122 pbx_load_module: Starting AEL load process.
[Feb 25 10:18:16] NOTICE[3526]: pbx_ael.c:135 pbx_load_module: AEL load process: parsed config file name '/etc/asterisk/extensions.ael'.
[Feb 25 10:18:16] NOTICE[3526]: pbx_ael.c:138 pbx_load_module: AEL load process: checked config file name '/etc/asterisk/extensions.ael'.
[Feb 25 10:18:16] NOTICE[3526]: pbx_ael.c:141 pbx_load_module: AEL load process: compiled config file name '/etc/asterisk/extensions.ael'.
[Feb 25 10:18:16] NOTICE[3526]: pbx_ael.c:146 pbx_load_module: AEL load process: merged config file name '/etc/asterisk/extensions.ael'.
[Feb 25 10:18:16] NOTICE[3526]: pbx_ael.c:149 pbx_load_module: AEL load process: verified config file name '/etc/asterisk/extensions.ael'.
...........SIP channel loading...
[Feb 25 10:18:16] NOTICE[3526]: chan_sip.c:25103 build_peer: The 'username' field for sip peers has been deprecated in favor of the term 'defaultuser'
.[Feb 25 10:18:17] WARNING[3526]: res_musiconhold.c:1136 init_app_class: Unable to open pseudo channel for timing...  Sound may be choppy.
[Feb 25 10:18:17] WARNING[3542]: res_musiconhold.c:466 spawn_mp3: /var/lib/asterisk/mohmp3/ is not a valid directory
[Feb 25 10:18:17] WARNING[3542]: res_musiconhold.c:608 monmp3thread: Unable to spawn mp3player
....................  == Aliased CLI command 'hangup request' to 'channel request hangup'
  == Aliased CLI command 'originate' to 'channel originate'
  == Aliased CLI command 'help' to 'core show help'
  == Aliased CLI command 'pri intense debug span' to 'pri set debug 2 span'
  == Aliased CLI command 'reload' to 'module reload'
...........................[Feb 25 10:18:17] NOTICE[3526]: config.c:1983 ast_config_engine_register: Registered Config Engine curl
.....[Feb 25 10:18:17] ERROR[3526]: codec_dahdi.c:616 find_transcoders: Failed to open /dev/dahdi/transcode: No such file or directory
....[Feb 25 10:18:17] WARNING[3526]: cdr_sqlite.c:178 load_module: This module has been marked deprecated in favor of using cdr_sqlite3_custom. (May be removed after Asterisk 1.6)
........Couldnt open VTCore device node (/dev/vt0): No such file or directory


Anyone?????  Thoughts??????

javi

  • Zen Hero
  • *****
  • Posts: 1042
  • Karma: +0/-0
    • View Profile
Re: EBox 1.4 - Asterisk Module seems to be broken!!!!
« Reply #1 on: February 25, 2010, 07:59:08 pm »
Can you check the dahdi kernel modules are loaded and the device is created?


bellson

  • Zen Apprentice
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: EBox 1.4 - Asterisk Module seems to be broken!!!!
« Reply #2 on: February 25, 2010, 08:38:18 pm »
Hello Javi,

I visually verified that the Dahdi modules loaded, they are the ebox version direct from the CD or Mirror.

Here is the kernel:
root@ebox143:~# uname -a
Linux ebox143 2.6.24-26-ebox #1 SMP Tue Jan 5 04:34:12 UTC 2010 i686 GNU/Linux

Same behavior as before, here is a console capture when running /usr/sbin/asterisk -f -p -c -U asterisk:

 root@ebox143:~# /usr/sbin/asterisk -f -p -c -U asterisk
Asterisk 1.6.2.1+svn244040-1~ebox0~hardy2, Copyright (C) 1999 - 2009 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
[ Booting...
[ Reading Master Configuration ]
[ Initializing Custom Configuration Options ]
[Feb 25 11:33:12] NOTICE[12715]: loader.c:1101 load_modules: 1 modules will be loaded.
.[Feb 25 11:33:12] NOTICE[12715]: cdr.c:1559 do_reload: CDR simple logging enabled.
[Feb 25 11:33:12] NOTICE[12715]: loader.c:1101 load_modules: 202 modules will be loaded.
[Feb 25 11:33:12] NOTICE[12715]: res_smdi.c:1415 load_module: No SMDI interfaces are available to listen on, not starting SMDI listener.
......[Feb 25 11:33:12] WARNING[12715]: loader.c:434 load_dynamic_module: Error loading module 'func_odbc.so': /usr/lib/asterisk/modules/func_odbc.so: undefined symbol: SQLFetch
[Feb 25 11:33:12] WARNING[12715]: loader.c:822 load_resource: Module 'func_odbc.so' could not be loaded.
[Feb 25 11:33:12] WARNING[12715]: loader.c:434 load_dynamic_module: Error loading module 'cel_adaptive_odbc.so': /usr/lib/asterisk/modules/cel_adaptive_odbc.so: undefined symbol: ast_odbc_request_obj
[Feb 25 11:33:12] WARNING[12715]: loader.c:822 load_resource: Module 'cel_adaptive_odbc.so' could not be loaded.
[Feb 25 11:33:12] WARNING[12715]: loader.c:434 load_dynamic_module: Error loading module 'cdr_adaptive_odbc.so': /usr/lib/asterisk/modules/cdr_adaptive_odbc.so: undefined symbol: ast_odbc_request_obj
[Feb 25 11:33:12] WARNING[12715]: loader.c:822 load_resource: Module 'cdr_adaptive_odbc.so' could not be loaded.
[Feb 25 11:33:12] WARNING[12715]: loader.c:434 load_dynamic_module: Error loading module 'cdr_odbc.so': /usr/lib/asterisk/modules/cdr_odbc.so: undefined symbol: ast_odbc_request_obj
[Feb 25 11:33:12] WARNING[12715]: loader.c:822 load_resource: Module 'cdr_odbc.so' could not be loaded.
............................................[Feb 25 11:33:12] WARNING[12715]: config.c:2040 find_engine: Realtime mapping for 'voicemail' found to engine 'ldap', but the engine is not available
[Feb 25 11:33:12] WARNING[12715]: app_voicemail.c:11111 load_config: maxsilence should be less than minsecs or you may get empty messages
[Feb 25 11:33:12] WARNING[12715]: config.c:2040 find_engine: Realtime mapping for 'voicemail' found to engine 'ldap', but the engine is not available
....[Feb 25 11:33:12] WARNING[12715]: cel_pgsql.c:383 process_my_load_module: CEL pgsql config file missing global section.
.......[Feb 25 11:33:12] NOTICE[12715]: config.c:1983 ast_config_engine_register: Registered Config Engine sqlite
........[Feb 25 11:33:12] WARNING[12715]: translate.c:642 __ast_register_translator: plc_samples 160 format f
.[Feb 25 11:33:12] WARNING[12715]: config.c:1048 process_text_line: Unknown directive '#callback' at line 71 of /etc/asterisk/res_ldap.conf
[Feb 25 11:33:12] WARNING[12715]: config.c:1048 process_text_line: Unknown directive '#dialout' at line 74 of /etc/asterisk/res_ldap.conf
[Feb 25 11:33:12] WARNING[12715]: config.c:1048 process_text_line: Unknown directive '#envelope' at line 76 of /etc/asterisk/res_ldap.conf
[Feb 25 11:33:12] WARNING[12715]: config.c:1048 process_text_line: Unknown directive '#forcegreetings' at line 77 of /etc/asterisk/res_ldap.conf
[Feb 25 11:33:12] WARNING[12715]: config.c:1048 process_text_line: Unknown directive '#forcename' at line 78 of /etc/asterisk/res_ldap.conf
[Feb 25 11:33:12] WARNING[12715]: config.c:1048 process_text_line: Unknown directive '#hidefromdir' at line 80 of /etc/asterisk/res_ldap.conf
[Feb 25 11:33:12] WARNING[12715]: config.c:1048 process_text_line: Unknown directive '#nextaftercmd' at line 82 of /etc/asterisk/res_ldap.conf
[Feb 25 11:33:12] WARNING[12715]: config.c:1048 process_text_line: Unknown directive '#operator' at line 83 of /etc/asterisk/res_ldap.conf
[Feb 25 11:33:12] WARNING[12715]: config.c:1048 process_text_line: Unknown directive '#review' at line 86 of /etc/asterisk/res_ldap.conf
[Feb 25 11:33:12] WARNING[12715]: config.c:1048 process_text_line: Unknown directive '#saycid' at line 87 of /etc/asterisk/res_ldap.conf
[Feb 25 11:33:12] WARNING[12715]: config.c:1048 process_text_line: Unknown directive '#sayduration' at line 88 of /etc/asterisk/res_ldap.conf
[Feb 25 11:33:12] WARNING[12715]: config.c:1048 process_text_line: Unknown directive '#saydurationm' at line 89 of /etc/asterisk/res_ldap.conf
[Feb 25 11:33:12] WARNING[12715]: config.c:1048 process_text_line: Unknown directive '#sendvoicemail' at line 90 of /etc/asterisk/res_ldap.conf
[Feb 25 11:33:12] WARNING[12715]: config.c:1048 process_text_line: Unknown directive '#tz' at line 92 of /etc/asterisk/res_ldap.conf
[Feb 25 11:33:12] NOTICE[12715]: config.c:1983 ast_config_engine_register: Registered Config Engine ldap
......[Feb 25 11:33:12] NOTICE[12715]: pbx_ael.c:122 pbx_load_module: Starting AEL load process.
[Feb 25 11:33:12] NOTICE[12715]: pbx_ael.c:135 pbx_load_module: AEL load process: parsed config file name '/etc/asterisk/extensions.ael'.
[Feb 25 11:33:12] NOTICE[12715]: pbx_ael.c:138 pbx_load_module: AEL load process: checked config file name '/etc/asterisk/extensions.ael'.
[Feb 25 11:33:12] NOTICE[12715]: pbx_ael.c:141 pbx_load_module: AEL load process: compiled config file name '/etc/asterisk/extensions.ael'.
[Feb 25 11:33:12] NOTICE[12715]: pbx_ael.c:146 pbx_load_module: AEL load process: merged config file name '/etc/asterisk/extensions.ael'.
[Feb 25 11:33:12] NOTICE[12715]: pbx_ael.c:149 pbx_load_module: AEL load process: verified config file name '/etc/asterisk/extensions.ael'.
...........SIP channel loading...
[Feb 25 11:33:12] NOTICE[12715]: chan_sip.c:25103 build_peer: The 'username' field for sip peers has been deprecated in favor of the term 'defaultuser'
..[Feb 25 11:33:13] WARNING[12732]: res_musiconhold.c:466 spawn_mp3: /var/lib/asterisk/mohmp3/ is not a valid directory
[Feb 25 11:33:13] WARNING[12732]: res_musiconhold.c:608 monmp3thread: Unable to spawn mp3player
...................  == Aliased CLI command 'hangup request' to 'channel request hangup'
  == Aliased CLI command 'originate' to 'channel originate'
  == Aliased CLI command 'help' to 'core show help'
  == Aliased CLI command 'pri intense debug span' to 'pri set debug 2 span'
  == Aliased CLI command 'reload' to 'module reload'
...........................[Feb 25 11:33:13] NOTICE[12715]: config.c:1983 ast_config_engine_register: Registered Config Engine curl
.........[Feb 25 11:33:13] WARNING[12715]: cdr_sqlite.c:178 load_module: This module has been marked deprecated in favor of using cdr_sqlite3_custom. (May be removed after Asterisk 1.6)
........Couldnt open VTCore device node (/dev/vt0): No such file or directory

I can find no /dev/vt0.  Is that the dev you are looking for?  Please advise!!!!  I need to be able to demonstrate the ebox solution with now extras next week.  Please feel free to ask anything.  I will be watching this thread and will respond quickly.

Thank You,

bellson

  • Zen Apprentice
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: EBox 1.4 - Asterisk Module seems to be broken!!!!
« Reply #3 on: February 25, 2010, 08:46:07 pm »
Hi Javi,

By the way, I have a Digium 4 port PSTN card installed in the box.  Two questions:

1.  Will I be able to use this card?  How does Ebox recommend configuration of this interface for use by the ebox implementation of asterisk?

2.  Where do you store the master configuration files for asterisk?  I was not able to find them where you keep the other mas files.
    2a.  Can I modify asterisk master files and have those changes stick?
    2b.  Do you have any "internal" docs that explain your implementation of asterisk?

Lastly, do you think the Digium card may be causing an issue here?

I can try removing the card if you think that will help.  I know that the design is slanted toward using VOIP and SIP providers as opposed to PSTN circuits, but that will hurt rather than help my ability to deploy this solution.

Please advise,

javi

  • Zen Hero
  • *****
  • Posts: 1042
  • Karma: +0/-0
    • View Profile
Re: EBox 1.4 - Asterisk Module seems to be broken!!!!
« Reply #4 on: February 25, 2010, 09:14:29 pm »
Hi again,

Sorry but I haven't done ebox-asterisk troubleshooting for a while and I'm a bit rusty.

Quote
.....[Feb 25 10:18:17] ERROR[3526]: codec_dahdi.c:616 find_transcoders: Failed to open /dev/dahdi/transcode: No such file or directory
Can you please post the output of
Code: [Select]
ls -l /dev/dahdi

bellson

  • Zen Apprentice
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: EBox 1.4 - Asterisk Module seems to be broken!!!!
« Reply #5 on: February 25, 2010, 09:27:06 pm »
Hi Javi,

Here you are!

ladmin@ebox143:~$ ls -l /dev/dahdi
total 0
crw-rw---- 1 root dialout 196,   1 2010-02-25 11:50 1
crw-rw---- 1 root dialout 196,   2 2010-02-25 11:50 2
crw-rw---- 1 root dialout 196,   3 2010-02-25 11:50 3
crw-rw---- 1 root dialout 196,   4 2010-02-25 11:50 4
crw-rw---- 1 root dialout 196, 254 2010-02-25 11:50 channel
crw-rw---- 1 root dialout 196,   0 2010-02-25 11:50 ctl
crw-rw---- 1 root dialout 196, 255 2010-02-25 11:50 pseudo
crw-rw---- 1 root dialout 196, 253 2010-02-25 11:50 timer
crw-rw---- 1 root dialout 196, 250 2010-02-25 11:50 transcode

javi

  • Zen Hero
  • *****
  • Posts: 1042
  • Karma: +0/-0
    • View Profile
Re: EBox 1.4 - Asterisk Module seems to be broken!!!!
« Reply #6 on: February 25, 2010, 09:54:17 pm »
In your previous post I see a lot of warnings and notice  but not actual failures. How is it failing?

bellson

  • Zen Apprentice
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: EBox 1.4 - Asterisk Module seems to be broken!!!!
« Reply #7 on: February 25, 2010, 10:08:18 pm »
Hi Javi,

This is the failure reported that would cause Asterisk to exit, at least in my opinion.

........Couldnt open VTCore device node (/dev/vt0): No such file or directory

I do not know the function of vt0, do you?

bellson

  • Zen Apprentice
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: EBox 1.4 - Asterisk Module seems to be broken!!!!
« Reply #8 on: March 02, 2010, 03:41:46 am »
Hello,

Still here and waiting for answers....

Here is a tail of the asterisk log.  I have re-installed on new hardware, and I always get one of the two results:

1.  Asterisk does not run.

2.  Asterisk runs, but one call locks up the machine.

Here is the log tail:

[Mar  1 18:37:51] NOTICE[32011] loader.c: 1 modules will be loaded.
[Mar  1 18:37:51] NOTICE[32011] cdr.c: CDR simple logging enabled.
[Mar  1 18:37:51] NOTICE[32011] loader.c: 202 modules will be loaded.
[Mar  1 18:37:51] NOTICE[32011] res_smdi.c: No SMDI interfaces are available to listen on, not starting SMDI listener.
[Mar  1 18:37:51] WARNING[32011] loader.c: Error loading module 'cdr_odbc.so': /usr/lib/asterisk/modules/cdr_odbc.so: undefined symbol: ast_odbc_request_obj
[Mar  1 18:37:51] WARNING[32011] loader.c: Module 'cdr_odbc.so' could not be loaded.
[Mar  1 18:37:51] WARNING[32011] loader.c: Error loading module 'cel_adaptive_odbc.so': /usr/lib/asterisk/modules/cel_adaptive_odbc.so: undefined symbol: ast_odbc_request_obj
[Mar  1 18:37:51] WARNING[32011] loader.c: Module 'cel_adaptive_odbc.so' could not be loaded.
[Mar  1 18:37:51] WARNING[32011] loader.c: Error loading module 'func_odbc.so': /usr/lib/asterisk/modules/func_odbc.so: undefined symbol: SQLFetch
[Mar  1 18:37:51] WARNING[32011] loader.c: Module 'func_odbc.so' could not be loaded.
[Mar  1 18:37:51] WARNING[32011] loader.c: Error loading module 'cdr_adaptive_odbc.so': /usr/lib/asterisk/modules/cdr_adaptive_odbc.so: undefined symbol: ast_odbc_request_obj
[Mar  1 18:37:51] WARNING[32011] loader.c: Module 'cdr_adaptive_odbc.so' could not be loaded.
[Mar  1 18:37:51] NOTICE[32011] config.c: Registered Config Engine sqlite
[Mar  1 18:37:51] WARNING[32011] config.c: Realtime mapping for 'sippeers' found to engine 'ldap', but the engine is not available
[Mar  1 18:37:51] NOTICE[32011] chan_sip.c: The 'username' field for sip peers has been deprecated in favor of the term 'defaultuser'
[Mar  1 18:37:51] WARNING[32011] config.c: Realtime mapping for 'sippeers' found to engine 'ldap', but the engine is not available
[Mar  1 18:37:51] WARNING[32013] asterisk.c: The canary is no more.  He has ceased to be!  He's expired and gone to meet his maker!  He's a stiff!  Bereft of life, he rests in peace.  His metabolic processes are now history!  He's off the twig!  He's kicked the bucket.  He's shuffled off his mortal coil, run down the curtain, and joined the bleeding choir invisible!!  THIS is an EX-CANARY.  (Reducing priority)
[Mar  1 18:37:51] ERROR[32011] ais/clm.c: Could not initialize cluster membership service: Try Again


Any thoughts?????

jsalamero

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1419
  • Karma: +45/-1
    • View Profile
Re: EBox 1.4 - Asterisk Module seems to be broken!!!!
« Reply #9 on: March 07, 2010, 12:37:02 pm »
Could you try if these packages fix this problem ?
https://launchpad.net/~bencer/+archive/alpha/

jsjc

  • Zen Apprentice
  • *
  • Posts: 26
  • Karma: +0/-0
    • View Profile
Re: EBox 1.4 - Asterisk Module seems to be broken!!!!
« Reply #10 on: March 13, 2010, 01:57:10 pm »
I have just started to play with ebox-asterisk...
I am actually in the same boat! I get same warnings and errors...
I have a card as well but 12 channels instead of 4.

I will help to troubleshoot this and test whatever is needed.

Cheers,

Javier

jsjc

  • Zen Apprentice
  • *
  • Posts: 26
  • Karma: +0/-0
    • View Profile
Re: EBox 1.4 - Asterisk Module seems to be broken!!!!
« Reply #11 on: March 13, 2010, 02:01:53 pm »
I been trying to try those packages but... how I can actually exchange that?

BTW I am a bit clueless about how to do things usually read the manual... but cannot find how to do this.

Any help?

thanks!


Javi

bellson

  • Zen Apprentice
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: EBox 1.4 - Asterisk Module seems to be broken!!!!
« Reply #12 on: March 14, 2010, 03:55:27 am »
Hello Javi,

Still Broken.

Two seperate issues:

1.  The Dahdi-tools module does not seem to load, I am still testing this. 

2.  Asterisk still locks up when the first call is placed.  I will continue testing and report back on my progress.

Please let me know how best I can assist....

Thanks

bellson

  • Zen Apprentice
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: EBox 1.4 - Asterisk Module seems to be broken!!!!
« Reply #13 on: March 15, 2010, 03:15:53 am »
As suspected, the Dahdi-tools does not appear to be functional, and the dahdi driver is not loading.  Kernel is correct, but not working........

What's next???

jsjc

  • Zen Apprentice
  • *
  • Posts: 26
  • Karma: +0/-0
    • View Profile
Re: EBox 1.4 - Asterisk Module seems to be broken!!!!
« Reply #14 on: March 15, 2010, 09:18:19 pm »
Well I took dahdi tools away and compiled the latest from website so I can have drivers for my telephony card so that is not my issue.

I insert the modules manually with 'modprobe dahdi' then my telephony card module.

The problem comes to asterisk that gives thos warnings and then an error and stops the whole lot.

I dont know what could be but tonight will do a bit more research.

Cheers,

Javi