Hi Jow,

On Fri, Oct 14, 2011 at 9:20 AM, Jo-Philipp Wich <[email protected]> wrote:
> I gave it a try and it looks quite good on first sight.
> However I have some issues, the sections in the call routing tab are
> empty

This is actually "intended" behavior, although it may seem strange.

1) When a provider's field in "Outgoing calls" is empty, this means
that the provider will be used to call any destination. I was thinking
of populating this field with an "X" by default, and I can still do
that if you think it'll make more sense.

2) When a provider's field in "Incoming calls" is empty, this means
that all users ring when a call comes into that provider. I was
thinking of populating this field with a list of all users, but if I
do that, the list gets saved by LuCI, and when more users are added,
they don't get added to the list. So, leaving it empty made more
sense. Perhaps putting down something like "All Users", and not saving
this input would also work, but then the user would have to manually
erase "All Users", and if they tamper with it partially, it'll get
saved and will break things...

3) When the user's field in "Providers Used for Outgoing Calls" is
left empty, it means the user is allowed to use all providers. The
same discussion as with point (2) applies here.

> and the "Server Setting for Local SIP Devices" shows no input field.

Now this is strange. I get the input for this field with a call:

m.uci:get("network", "lan", "ipaddr")

The same result is yielded by:

uci get network.lan.ipaddr

on the commandline. Can you please tell me if I'm doing something
wrong, or is it that your router has some special configuration? How
can I determine this value more reliably?

> You might want to recheck this on a fresh install, all I did was "opkg
> install asterisk18" and "/etc/init.d/asterisk start" .

Perhaps on a fresh install the LAN ipaddr is not set? But how would
one contact a "real" router without a LAN ip address, and no serial
console? :)

> Otherwise, good work!

Thanks for all the support Jow! Any additional input on my questions
is highly appreciated.

Cheers,
Iordan

-- 
The conscious mind has only one thread of execution.
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to