Changeset 6558

Show
Ignore:
Timestamp:
09/04/08 07:16:46 (3 months ago)
Author:
p_lindheimer
Message:

re #3157 Merged revisions 6557 via svnmerge from
http://svn.freepbx.org/modules/branches/2.5

........

r6557 | p_lindheimer | 2008-09-04 07:12:30 -0700 (Thu, 04 Sep 2008) | 1 line


fixes #3157 sip info summary display wrong

........

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.4

    • Property svnmerge-integrated changed from /modules/branches/2.3:1-5233,5245,5333,5336 /modules/branches/2.5:1-5852,5880,5930,5995,6016-6017,6030-6031,6142,6218,6291,6361,6363,6413-6414,6422,6428-6430,6442-6443 to /modules/branches/2.3:1-5233,5245,5333,5336 /modules/branches/2.5:1-5852,5880,5930,5995,6016-6017,6030-6031,6142,6218,6291,6361,6363,6413-6414,6422,6428-6430,6442-6443,6557
  • modules/branches/2.4/asteriskinfo/module.xml

    r5787 r6558  
    22        <rawname>asteriskinfo</rawname> 
    33        <name>Asterisk Info</name> 
    4         <version>2.4.0.1</version> 
     4        <version>2.4.0.2</version> 
    55        <type>tool</type> 
    66        <category>System Administration</category> 
     
    1515        </depends> 
    1616        <changelog> 
     17                *2.4.0.2* #3157 fixes Sip Peers Summary 
    1718                *2.4.0.1* #2704 Asterisk 1.6 tweaks 
    1819                *2.4.0* bumped to 2.4 
  • modules/branches/2.4/asteriskinfo/page.asteriskinfo.php

    r5721 r6558  
    237237function getPeer($peer, $channelType = NULL){ 
    238238        global $astver_major, $astver_minor; 
     239        global $astver; 
    239240        if(count($peer) > 1){    
    240241                if($channelType == NULL || $channelType == 'SIP'){ 
     
    245246                        $sipPeerInfo_arr2 = explode('[',$sipPeerInfo_string); 
    246247                        $sipPeerInfo_arr3 = explode(' ',$sipPeerInfo_arr2[1]); 
    247                         if($astver_major == 1 && $astver_minor >= 4){ 
     248                        if (version_compare($astver, '1.4', 'ge')) {  
    248249                                $sipPeerInfo_arr['online'] = $sipPeerInfo_arr3[1] + $sipPeerInfo_arr3[6]; 
    249250                                $sipPeerInfo_arr['offline'] = $sipPeerInfo_arr3[3] + $sipPeerInfo_arr3[8]; 
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads