Opened 8 years ago

Closed 8 years ago

Last modified 4 years ago

#6255 closed defect (fixed)

asterisk16 does not run in brcm47xx

Reported by: ldpaniak Owned by: zandbelt
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: asterisk16 Cc: stephendwalker+openwrt@…


Compiling from trunk r18606, asterisk16 in brcm47xx on a WL500gP refuses to run.

Starting asterisk manually
initially complains that /var/run/asterisk directory does not exist. Making that directory and starting, asterisk console gives "Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)"

The file does exist:

root@OpenWrt:/etc/asterisk# ls /var/run/asterisk             

But asterisk does not appear to be running.

Attachments (1)

asterisk_6255.diff (1.6 KB) - added by swalker 8 years ago.
Fix the first two issues

Download all attachments as: .zip

Change History (8)

comment:1 Changed 8 years ago by florian

Could you check that the permissions on this directory and file are correct?

comment:2 Changed 8 years ago by anonymous

It turns out that the configuration files shipped with asterisk16 in OpenWRT are incomplete. Copying in a basic configuration from an Asterisk tarball and adjusting file locations is sufficient to get things going.

comment:3 Changed 8 years ago by swalker

  • Cc stephendwalker+openwrt@… added

The init script just needs to reflect that fact that /etc/asterisk/asterisk.conf is using

astrundir => /var/run/asterisk

Running asterisk -v also outputs:

ERROR[1246]: indications.c:1041 load_indications: Can't find indications config file indications.conf.

-> indications.conf isn't being packaged.

WARNING[1144]: loader.c:386 load_dynamic_module: Error loading module '': File not found

-> /etc/asterisk/modules.conf is loading Add asterisk16-res-musiconhold to asterisk16's DEPENDS or patch /etc/asterisk/modules.conf to not load the module?

WARNING[1144]: db.c:57 dbinit: Unable to open Asterisk database '/var/lib/asterisk/astdb': No such file or directory

-> to be expected harmless warning with a clean install?

Changed 8 years ago by swalker

Fix the first two issues

comment:4 Changed 8 years ago by thepeople

  • Owner changed from developers to zandbelt
  • Status changed from new to assigned

comment:5 Changed 8 years ago by zandbelt

  • Status changed from assigned to accepted

comment:6 Changed 8 years ago by zandbelt

  • Resolution set to fixed
  • Status changed from accepted to closed

comment:7 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.