|
@ -136,6 +136,8 @@ |
|
|
$enabled = $_POST["enabled"]; |
|
|
$enabled = $_POST["enabled"]; |
|
|
$description = $_POST["description"]; |
|
|
$description = $_POST["description"]; |
|
|
|
|
|
|
|
|
|
|
|
//Yea i think i will have to recycle some code from here to get automatic extension assignment working
|
|
|
|
|
|
|
|
|
//outbound caller id number - only allow numeric and +
|
|
|
//outbound caller id number - only allow numeric and +
|
|
|
if (strlen($outbound_caller_id_number) > 0) { |
|
|
if (strlen($outbound_caller_id_number) > 0) { |
|
|
$outbound_caller_id_number = preg_replace('#[^\+0-9]#', '', $outbound_caller_id_number); |
|
|
$outbound_caller_id_number = preg_replace('#[^\+0-9]#', '', $outbound_caller_id_number); |
|
|