Using TEL instead of platform specific channel name.

Ref: 400
This commit is contained in:
Kent Ekholm 2019-03-05 11:00:43 +01:00
parent 933b98aec2
commit 4a45764a5c

View file

@ -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