Define Select Option for module in metadata and get chosen values

Hello everyone.

I am adding functionality to my module, so in it’s settings admin can choose (Live or Test) from Select Option.

Here is how I am defining it in metadata:
‘settings’ => array
(
array(‘group’ => ‘main’, ‘name’ => ‘choose_call’,‘type’ => ‘select’, ‘value’ => ‘Live’, ‘constraints’ => ‘Live|Test’, ‘position’ => 1)
),

And when in Controller I am trying to get the value (Live or Test):

$myConfig = oxConfig::getInstance();
$var = $myConfig->getConfigParam(‘choose_call’);
var_dump($var);die();

I am getting always as result: string(1) “0”.

Can anyone suggest me how to get chosen value from select-otpion?

Thank you.

https://bugs.oxid-esales.com/view.php?id=4255