Describe the bug
The function "arrayTelWalk" in file helpers/phoneMiddleware.php has following comment:
//Then replace + with 00 for better compatibility with asterisk
I was wandering, because my phonenumbers have still the leading "+"
i changed the following line (#470) from
$object = preg_replace('/[^0-9]*/', '00', $object);
to
$object = preg_replace('/^+/', '00', $object);
and now, the "+" is replaced with "00" in my output.
Describe the bug
The function "arrayTelWalk" in file helpers/phoneMiddleware.php has following comment:
//Then replace + with 00 for better compatibility with asterisk
I was wandering, because my phonenumbers have still the leading "+"
i changed the following line (#470) from
$object = preg_replace('/[^0-9]*/', '00', $object);
to
$object = preg_replace('/^+/', '00', $object);
and now, the "+" is replaced with "00" in my output.