Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F7312173
sip_settings_tlscert.phtml
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
sip_settings_tlscert.phtml
View Options
<?
/*
Copyright (c) 2009 AG Projects
http://ag-projects.com
This page provides functions for management of
SIP account settings on a remote NGNPro server
*/
require
(
"/etc/cdrtool/global.inc"
);
require
(
"/etc/cdrtool/ngnpro_engines.inc"
);
require
(
'sip_settings.php'
);
if
(
$credentials
=
getSipAccountFromX509Certificate
())
{
$account
=
$credentials
[
'account'
];
$sip_engine
=
$credentials
[
'engine'
];
$reseller
=
$credentials
[
'reseller'
];
$customer
=
$credentials
[
'customer'
];
$login_type
=
"subscriber"
;
}
else
{
die
(
'X.509 Credentials error'
);
}
$_class
=
'SipSettings'
;
$_reseller_class
=
$_class
.
$reseller
;
if
(
class_exists
(
$_reseller_class
))
{
$SipSettings_class
=
$_reseller_class
;
}
else
{
$SipSettings_class
=
$_class
;
}
$login_credentials
=
array
(
'reseller'
=>
$reseller
,
'customer'
=>
$customer
,
'login_type'
=>
$login_type
,
'sip_engine'
=>
$sip_engine
,
'templates_path'
=>
'./templates'
);
renderUI
(
$SipSettings_class
,
$account
,
$login_credentials
,
$soapEngines
);
?>
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Feb 1, 5:19 AM (22 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3488732
Default Alt Text
sip_settings_tlscert.phtml (1 KB)
Attached To
Mode
rCDRT CDRTool
Attached
Detach File
Event Timeline
Log In to Comment