Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Apr 18, 2024 1:15 pm
Predictive Dialer


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Multiple SIP users visibility in Customer portal
PostPosted: Mon Aug 13, 2012 12:56 pm 
Offline
User avatar

Joined: Fri Sep 18, 2009 5:46 pm
Posts: 132
Location: hhhhmmmmm
this isnt really a bug but its nice to show your customer how may sip user/password they have
edit A2B_entity_sipiax_info.php and go to line 117

Code:
<br><b><?php echo gettext("Username")?> :</b> <?php echo $sip_iax_data[0][1]?><br>
<br><b><?php echo gettext("Password")?> :</b> <?php echo $sip_iax_data[0][2]?><br><br>


replace these two line with these
Code:
<?php $zumm =sizeof($sip_iax_data) ?>
<strong><?php echo $zumm ?></strong><?php echo " SIP Users "?> <br><br>
<?php      
for ( $counter = 0; $counter <= $zumm; $counter+=1)
{
?>
<?php if ($counter != $zumm){
?>
<b><?php echo gettext("SIP Username")?> :</b> <?php echo $sip_iax_data[$counter][1]?><br>
<b><?php echo gettext("SIP Password")?> :</b> <?php echo $sip_iax_data[$counter][2]?><br><br>
<?php
}
?>
<?php
}
?>



not the best code but some one my tidy it up if you feel so.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 
Predictive Dialer


All times are UTC


Who is online

Users browsing this forum: No registered users and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group