fix(pbx): refs #7198 code fix
gitea/vn-asterisk/pipeline/head There was a failure building this commit
Details
gitea/vn-asterisk/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
694e8b18d0
commit
08d117abc3
|
@ -21,7 +21,7 @@ $countryCode = Agi::get('agi_arg_1');
|
|||
if (preg_match('/^\\+/', $callerId)) {
|
||||
$callerId = '00'. substr($callerId, 1);
|
||||
}
|
||||
elseif (!preg_match('/^00/', $callerId)) {
|
||||
elseif (!preg_match('/^00/', $callerId) && $countryCode) {
|
||||
$prefix = $db->getValue(
|
||||
'SELECT prefix FROM prefix WHERE country = #',
|
||||
[$countryCode]
|
||||
|
|
Loading…
Reference in New Issue