From 1a8cae287428a011377e68cd4ac01e6a9cf1a82a Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 30 Mar 2009 19:53:07 +0000 Subject: [PATCH] applications/luci-asterisk: adept meetme example in default config to current format, layout fixes in dialplan overview --- .../luci-asterisk/luasrc/view/asterisk/dialplans.htm | 8 ++++++-- applications/luci-asterisk/root/etc/config/asterisk | 3 ++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/applications/luci-asterisk/luasrc/view/asterisk/dialplans.htm b/applications/luci-asterisk/luasrc/view/asterisk/dialplans.htm index 2c6895b929..a46a8db179 100644 --- a/applications/luci-asterisk/luasrc/view/asterisk/dialplans.htm +++ b/applications/luci-asterisk/luasrc/view/asterisk/dialplans.htm @@ -159,7 +159,8 @@ $Id$ <% for ext, room in luci.util.kspairs(plan.meetmerooms) do rooms_used[room.room] = true %> - └ MeetMe Room <%=room.room%> (<%=room.description%>) + └ MeetMe Room <%=room.room%> + <% if room.description and #room.description > 0 then %> (<%=room.description%>)<% end %>

Matches: <%=format_matches(ext)%>

@@ -209,7 +210,10 @@ $Id$ <% for ext, room in luci.util.kspairs(ast.meetme.rooms()) do %> <%# if not rooms_used[room.room] then %> - + <%# end %> <% end %> diff --git a/applications/luci-asterisk/root/etc/config/asterisk b/applications/luci-asterisk/root/etc/config/asterisk index 9ab00efe07..248409793c 100644 --- a/applications/luci-asterisk/root/etc/config/asterisk +++ b/applications/luci-asterisk/root/etc/config/asterisk @@ -220,7 +220,8 @@ config 'dialzone' 'international' config 'meetmegeneral' option 'audiobuffers' '32' -config 'meetme' '101' +config 'meetme' + option 'room' '101' option 'pin' '' option 'adminpin' '' -- 2.30.2