[luci] problems with LuCi Asterisk Webpages, Asterisk-XIP and running with Asterisk 1.4

Paul dubliner paul.dubliner at gmail.com
Fri Mar 27 17:27:01 CET 2009


Hi all -

Have been trying to set-up OpenWrt with Asterisk, programming it via the
LuCI Asterisk webpages - however I am having problems where any changes on
the webpages, although seen in the /etc/config/asterisk config file, are not
changing the asterisk application configuration. I suspect it may be a basic
problem with the way I have the asterisk-xip code installed.... or not
installed as the case may be.

Details of where I am at are below, along with some questions.

Any help on this would be great!

Many thanks and best regards.

Paul


At this stage what I have done:

1] have the luci 0.8.6 being built into Kamikaze (r14731) successfully, and
able to add my own modules, themes, new webpages etc. without problem

2] ported the luci-asterisk module from the svn LuCi trunk into my local
luci repository code successfully.

3] Can verify the luci-asterisk module webpages are working - this is
verified by reviewing the '/etc/conf/asterisk' file after a change on an
asterisk webpage - the config file is modified.

4] had also ported the asterisk-xip module from the svn trunk into my local
LuCi code repository, it is sitting in the ../contrib/package/.. folder.

5] the Makefile was updated, to reflect the svn Makefile that had the
luci-asterisk package definition and build instructions

6] once build and installed on a target I download, using opkg, the asterisk
application (1.4.23.1) - verified that it is running.

7] However, although the /etc/config/asterisk file is updated by changes to
the webpages, none of the config files of the asterisk application are
modified.

8] after spending time searching across forums etc I did find some
information (Michael Geddes Aug 2008 [a]) about trying to set up asteriskuci
scripts and defaults etc but this did not work.

9] It is at this point I realised (doh!) that I couldn't verify that the
asterisk-xip scripts were on the target - (../uci/sipiaxconf etc) - I
suspect my build did not go correctly in the first place! (incomplete
Makefile??)

10] tried bringing the scripts onto the running target , but again no
success.

so my questions are...

Q1 - is it correct to say that I should be able to verify that the
asterisk-xip UCI supporting files are on the target by looking in
../etc/init.d/ for these files?

Q2 - is it correct that the Makefile that is on the svn LuCi trunk, that
defines the luci-asterisk package, does not include the required package
definitions for the asterisk-xip (although the luci-asterisk is built with
asterisk-xip-core as a dependency) - i.e my Makefile is wrong, I need to
explicitly add asterisk-xip just like every other package? or is this taken
care of by the Makefile sitting in ../contrib/package/asterisk-xip folder?

Q3 - after building with asterisk-xip, should I be able to see asterisk-xip
as a package in the build output just like luci-asterisk etc?

Q4 - is it possible to bring the required asterisk-xip UCI code onto a
running target without having to build again?

Q5 Have I got it all wrong and that I need some other supporting code in
addition to asterisk-xip?

Q5 - Does this set-up, with LuCi programming asterisk, actually work at this
stage or I am trying this before its ready?





References:
[a]
http://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg01996.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.subsignal.org/pipermail/luci/attachments/20090327/7f3a5b7e/attachment.htm 


More information about the luci mailing list