-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Nicolás
committed
Oct 25, 2023
1 parent
74ff956
commit 1c5427e
Showing
1 changed file
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
+----------------------------------------------------------------------+ | ||
| Autores: Alex Villacís Lasso <[email protected]> | | ||
+----------------------------------------------------------------------+ | ||
$Id: index.php,v 1.1 2007/01/09 23:49:36 alex Exp $ | ||
$Id: contacts.php, Wed 25 Oct 2023 11:46:02 AM EDT, [email protected] | ||
*/ | ||
|
||
define('ISSABEL_BASE', '/var/www/html/'); | ||
|
@@ -76,6 +76,8 @@ | |
print 'Invalid hash'; | ||
exit; | ||
} else { | ||
$dsn = generarDSNSistema('asteriskuser', 'endpointconfig', ISSABEL_BASE); | ||
$db = new paloDB($dsn); | ||
$vendor = new $sManufacturer($db, 'http://'.$_SERVER['SERVER_ADDR'].'/modules/endpoint_configurator/phonesrv/contacts.php/'.$sManufacturer.'/'.$sAuthToken); | ||
$vendor->handle("exten$exten", $pathList); | ||
} | ||
|