Add category: fax, subcategory: prefix, type: text and set a value of some kind of prefix.
This commit is contained in:
parent
aaba392446
commit
5ff4e02741
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
The Initial Developer of the Original Code is
|
The Initial Developer of the Original Code is
|
||||||
Mark J Crane <markjcrane@fusionpbx.com>
|
Mark J Crane <markjcrane@fusionpbx.com>
|
||||||
Portions created by the Initial Developer are Copyright (C) 2008-2012
|
Portions created by the Initial Developer are Copyright (C) 2008-2015
|
||||||
the Initial Developer. All Rights Reserved.
|
the Initial Developer. All Rights Reserved.
|
||||||
|
|
||||||
Contributor(s):
|
Contributor(s):
|
||||||
|
|
@ -97,7 +97,6 @@ if (!$included) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//get the fax extension
|
//get the fax extension
|
||||||
if (strlen($fax_extension) > 0) {
|
if (strlen($fax_extension) > 0) {
|
||||||
//set the fax directories. example /usr/local/freeswitch/storage/fax/329/inbox
|
//set the fax directories. example /usr/local/freeswitch/storage/fax/329/inbox
|
||||||
|
|
@ -543,7 +542,7 @@ if (!$included) {
|
||||||
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
|
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
|
||||||
if ($fp) {
|
if ($fp) {
|
||||||
//prepare the fax command
|
//prepare the fax command
|
||||||
$route_array = outbound_route_to_bridge($_SESSION['domain_uuid'], $fax_number);
|
$route_array = outbound_route_to_bridge($_SESSION['domain_uuid'], $_SESSION['fax']['prefix']['text'].$fax_number);
|
||||||
$fax_file = $dir_fax_temp."/".$fax_instance_uuid.".tif";
|
$fax_file = $dir_fax_temp."/".$fax_instance_uuid.".tif";
|
||||||
if (count($route_array) == 0) {
|
if (count($route_array) == 0) {
|
||||||
//send the internal call to the registered extension
|
//send the internal call to the registered extension
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue