summaryrefslogtreecommitdiff
path: root/httemplate/view
diff options
context:
space:
mode:
authorivan <ivan>2010-01-25 22:17:14 +0000
committerivan <ivan>2010-01-25 22:17:14 +0000
commit9ad4f8407cc106ef5815e65bce2ee873cd0896c2 (patch)
treed4b8c2ab3df5369cb3aa5b64dc8774ec71c7933c /httemplate/view
parent667cee1c0b352573f80663eae5be2de8ad8a93de (diff)
linking DIDs and users to PBXes, RT#7051
Diffstat (limited to 'httemplate/view')
-rwxr-xr-xhttemplate/view/svc_acct.cgi7
-rw-r--r--httemplate/view/svc_phone.cgi2
2 files changed, 9 insertions, 0 deletions
diff --git a/httemplate/view/svc_acct.cgi b/httemplate/view/svc_acct.cgi
index 44a2aa611..7e94df16d 100755
--- a/httemplate/view/svc_acct.cgi
+++ b/httemplate/view/svc_acct.cgi
@@ -157,6 +157,13 @@ Service #<B><% $svcnum %></B>
<TD BGCOLOR="#ffffff"><% $domain %></TD>
</TR>
+% if ( $svc_acct->pbxsvc ) {
+ <TR>
+ <TD ALIGN="right">PBX</TD>
+ <TD BGCOLOR="#ffffff"><% $svc_acct->pbx_title %></TD>
+ </TR>
+%}
+
<TR>
<TD ALIGN="right">Password</TD>
<TD BGCOLOR="#ffffff">
diff --git a/httemplate/view/svc_phone.cgi b/httemplate/view/svc_phone.cgi
index c5fce62d9..59ee2d516 100644
--- a/httemplate/view/svc_phone.cgi
+++ b/httemplate/view/svc_phone.cgi
@@ -3,6 +3,7 @@
'fields' => [qw(
countrycode
phonenum
+ pbx_title
sip_password
pin
phone_name
@@ -10,6 +11,7 @@
'labels' => {
'countrycode' => 'Country code',
'phonenum' => 'Phone number',
+ 'pbx_title' => 'PBX',
'sip_password' => 'SIP password',
'pin' => 'PIN',
'phone_name' => 'Name',