mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-03 16:04:53 +01:00
Using TEL instead of platform specific channel name.
Ref: 400
This commit is contained in:
parent
933b98aec2
commit
4a45764a5c
1 changed files with 8 additions and 8 deletions
|
|
@ -1161,7 +1161,7 @@ configure_cdr()
|
|||
configure_call_filters()
|
||||
{
|
||||
local country
|
||||
config_get country $(getChannelName) country
|
||||
config_get country TEL country
|
||||
# Read the International Dialing Code and the Country Code from config
|
||||
|
||||
echo "Looking up IDC and CC for country $country"
|
||||
|
|
@ -1837,7 +1837,7 @@ configure_codecs()
|
|||
{
|
||||
echo "Configuring codecs"
|
||||
local genericplc
|
||||
config_get genericplc $(getChannelName) genericplc
|
||||
config_get genericplc TEL genericplc
|
||||
sed -i "s/|PLC|/$genericplc/" $WORKDIR/codecs.tmp
|
||||
}
|
||||
|
||||
|
|
@ -1855,13 +1855,13 @@ configure_tel()
|
|||
local dialoutmsec
|
||||
local fac
|
||||
|
||||
config_get jbenable $(getChannelName) jbenable
|
||||
config_get jbforce $(getChannelName) jbforce
|
||||
config_get jbmaxsize $(getChannelName) jbmaxsize
|
||||
config_get jbimpl $(getChannelName) jbimpl
|
||||
config_get jbenable TEL jbenable
|
||||
config_get jbforce TEL jbforce
|
||||
config_get jbmaxsize TEL jbmaxsize
|
||||
config_get jbimpl TEL jbimpl
|
||||
config_get dtmfmode SIP dtmfmode
|
||||
config_get dialoutmsec $(getChannelName) dialoutmsec
|
||||
config_get fac $(getChannelName) fac
|
||||
config_get dialoutmsec TEL dialoutmsec
|
||||
config_get fac TEL fac
|
||||
|
||||
CHANNEL_FAC="$CHANNEL_FAC $fac"
|
||||
# Convert whitespace to commas
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue