diff --git a/voice-client/files/etc/init.d/voice_client b/voice-client/files/etc/init.d/voice_client index cc45cd458..acb041277 100755 --- a/voice-client/files/etc/init.d/voice_client +++ b/voice-client/files/etc/init.d/voice_client @@ -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