Author Topic: 1004 Asterisk Issue  (Read 7946 times)

davegravy

  • Addicted
  • *
  • Posts: 551
    • View Profile
Re: 1004 Asterisk Issue
« Reply #15 on: January 29, 2012, 05:06:19 pm »
Thanks again to Foxi for his help on IRC yesterday.

We managed to get asterisk installing without errors and without my strange workaround. Problem seems to stem from an old LMCE 10.04 install.

Steps to fix install errors:

1) perform "apt-get remove [package] --purge" for all asterisk packages
2) drop the asterisk and asteriskcdrdb databases from mysql
3) run
Code: [Select]
mysql -u root pluto_telecom -e "truncate table Line_HouseMode;"
4) apt-get install lmce-asterisk
5) run
Code: [Select]
/var/lib/dpkg/info/lmce-asterisk.postinst configure
/usr/pluto/bin/db_create_telecom_defaults.sh
6)Re-add your trunk info via webadmin.

Remaining Asterisk issues for me are:

1) Inbound calls fail and produce error: [Jan 17 09:00:39] NOTICE[27267]: chan_iax2.c:10905 socket_process: Host xxx.xxx.xxx.xxx failed to authenticate as [10 digit phone# omitted]

2) Core doesn't register it's embedded softphone. My MD does however.

3) I just noticed while testing outbound and [internal ext -> internal ext] calls that "Active Calls" in orbiter aren't showing up.


Foxi352

  • Veteran
  • ***
  • Posts: 52
    • View Profile
Re: 1004 Asterisk Issue
« Reply #16 on: January 29, 2012, 06:57:59 pm »
re Asterisk calls not showing up in orbiter: try apt-get install pluto-asterisk and tell me if that helps ...

There may be a dependency missing ...


davegravy

  • Addicted
  • *
  • Posts: 551
    • View Profile
Re: 1004 Asterisk Issue
« Reply #17 on: January 30, 2012, 01:57:46 am »
 
re Asterisk calls not showing up in orbiter: try apt-get install pluto-asterisk and tell me if that helps ...
There may be a dependency missing ...

That did it!

davegravy

  • Addicted
  • *
  • Posts: 551
    • View Profile
Re: 1004 Asterisk Issue
« Reply #18 on: February 05, 2012, 09:36:27 pm »
Here's a script for anyone that wants to load an iax.conf flatfile into their asterisk realtime database.

It's a dirty hackjob of a script that was designed to do this for extensions.conf, and I stopped once it started working for me...