diff options
author | Iordan Iordanov <iiordanov@gmail.com> | 2011-11-28 02:33:52 +0000 |
---|---|---|
committer | Iordan Iordanov <iiordanov@gmail.com> | 2011-11-28 02:33:52 +0000 |
commit | 2cad3e038a153ad39230aff20c72fc32fa8d0c78 (patch) | |
tree | fda807cd2e9e554a06ed9a086f2b0ff9e22714e7 /applications/luci-pbx/luasrc | |
parent | 1c2449394db9b0c93847a9f52b286163960d14cb (diff) |
1) Added default rtpstart and end config values in pbx-advanced.
2) Some rewording of instructions and descriptions.
3) Changed the default hangup context name.
Diffstat (limited to 'applications/luci-pbx/luasrc')
-rw-r--r-- | applications/luci-pbx/luasrc/model/cbi/pbx-calls.lua | 16 | ||||
-rw-r--r-- | applications/luci-pbx/luasrc/model/cbi/pbx-google.lua | 4 |
2 files changed, 11 insertions, 9 deletions
diff --git a/applications/luci-pbx/luasrc/model/cbi/pbx-calls.lua b/applications/luci-pbx/luasrc/model/cbi/pbx-calls.lua index 8cede198c5..d4f21cdcc3 100644 --- a/applications/luci-pbx/luasrc/model/cbi/pbx-calls.lua +++ b/applications/luci-pbx/luasrc/model/cbi/pbx-calls.lua @@ -128,7 +128,7 @@ elseif nvalidoutaccounts == 0 then text = translate("NOTE: There are no Google or SIP provider accounts enabled for outgoing calls.") else text = translate("If you have more than one account that can make outgoing calls, you \ - should enter a list of phone numbers and prefixes in the following fields for each \ + should enter a list of phone numbers and/or prefixes in the following fields for each \ provider listed. Invalid prefixes are removed silently, and only 0-9, X, Z, N, #, *, \ and + are valid characters. The letter X matches 0-9, Z matches 1-9, and N matches 2-9. \ For example to make calls to Germany through a provider, you can enter 49. To make calls \ @@ -136,10 +136,10 @@ else calls to an area code like New York's 646, you can enter 646NXXXXXX for that \ provider. You should leave one account with an empty list to make calls with \ it by default, if no other provider's prefixes match. The system will automatically \ - replace an empty list with a message that the provider dials all numbers. Be as specific as \ - possible (i.e. 1NXXNXXXXXX is better than 1). Please note all international dial codes \ - are discarded (e.g. 00, 011, 010, 0011). Entries can be made in a space-separated \ - list, and/or one per line by hitting enter after every one.") + replace an empty list with a message that the provider dials all numbers not matched by another \ + provider's prefixes. Be as specific as possible (i.e. 1NXXNXXXXXX is better than 1). Please note \ + all international dial codes are discarded (e.g. 00, 011, 010, 0011). Entries can be made in a \ + space-separated list, and/or one per line by hitting enter after every one.") end @@ -155,7 +155,7 @@ for k,v in pairs(validoutaccounts) do value = self.map:get(section, self.option) if value == nil then - return {translate("Used for numbers unmatched elsewhere")} + return {translate("Dials numbers unmatched elsewhere")} else return value end @@ -206,7 +206,7 @@ for k,v in pairs(validinaccounts) do value = self.map:get(section, self.option) if value == nil then - return {translate("All users enabled for incoming calls")} + return {translate("Rings users enabled for incoming calls")} else return value end @@ -259,7 +259,7 @@ for k,v in pairs(validoutusers) do value = self.map:get(section, self.option) if value == nil then - return {translate("All providers enabled for outgoing calls")} + return {translate("Uses providers enabled for outgoing calls")} else newvalue = {} -- Convert internal names to user@host values. diff --git a/applications/luci-pbx/luasrc/model/cbi/pbx-google.lua b/applications/luci-pbx/luasrc/model/cbi/pbx-google.lua index 32e203e8c0..3c36a168d9 100644 --- a/applications/luci-pbx/luasrc/model/cbi/pbx-google.lua +++ b/applications/luci-pbx/luasrc/model/cbi/pbx-google.lua @@ -32,7 +32,9 @@ defaultstatusmessage = "PBX online, may lose messages" m = Map (modulename, translate("Google Accounts"), translate("This is where you set up your Google (Talk and Voice) Accounts, in order to start \ - using them for dialing and receiving calls (voice chat and real phone calls). Click \"Add\" \ + using them for dialing and receiving calls (voice chat and real phone calls). Please \ + make at least one voice call using the Google Talk plugin installable through the \ + GMail interface, and then log out from your account everywhere. Click \"Add\" \ to add as many accounts as you wish.")) -- Recreate the config, and restart services after changes are commited to the configuration. |