Changeset 3643

Show
Ignore:
Timestamp:
01/24/07 23:14:53 (2 years ago)
Author:
naftali5
Message:

Merged revisions 3614-3622 via svnmerge from
https://amportal.svn.sourceforge.net/svnroot/amportal/freepbx/trunk

........

r3614 | naftali5 | 2007-01-23 00:34:28 -0500 (Tue, 23 Jan 2007) | 1 line


limit rnav width ticket 1647

........

r3616 | naftali5 | 2007-01-23 01:24:27 -0500 (Tue, 23 Jan 2007) | 1 line


fixed panel displaying extensions over 9999 as trunks - ticket #1710

........

r3620 | naftali5 | 2007-01-23 11:08:57 -0500 (Tue, 23 Jan 2007) | 1 line


List device technology on page when editing Ticket #1711

........

r3621 | naftali5 | 2007-01-23 12:42:21 -0500 (Tue, 23 Jan 2007) | 1 line


fixed trunks stripping AMP: which removed ANY occurance of the letters A,M,P,: from the beginning of all trunks, also unified the display on the routing page - partially noted in #1713

........

r3622 | naftali5 | 2007-01-23 16:31:06 -0500 (Tue, 23 Jan 2007) | 1 line


CFB when dialparties.agi decides not to - offhook, user hits ignore/reject, etc. - patch #1681

........

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/branches/2.2

    • Property svnmerge-integrated changed from /freepbx/trunk:1-3224,3231,3245-3246,3291-3295,3297,3299-3332,3336,3338-3365,3367-3373,3375-3388,3390-3391,3393-3395,3419,3567,3624 to /freepbx/trunk:1-3224,3231,3245-3246,3291-3295,3297,3299-3332,3336,3338-3365,3367-3373,3375-3388,3390-3391,3393-3395,3419,3567,3614-3622,3624
  • freepbx/branches/2.2/amp_conf/astetc/extensions.conf

    r3585 r3643  
    9797exten => s,n,Set(EXTTOCALL=${ARG2}) 
    9898exten => s,n,Set(CFUEXT=${DB(CFU/${EXTTOCALL})}) 
     99exten => s,n,Set(CFBEXT=${DB(CFB/${EXTTOCALL})}) 
    99100exten => s,n,Set(RT=${IF($[$["${VMBOX}"!="novm"] | $["foo${CFUEXT}"!="foo"]]?${RINGTIMER}:"")}) 
    100101exten => s,n,Macro(record-enable,${EXTTOCALL},IN) 
     
    102103exten => s,n,Macro(dial,${RT},${DIAL_OPTIONS},${EXTTOCALL}) 
    103104exten => s,n,GosubIf($[$["${DIALSTATUS}"="NOANSWER"] & $["foo${CFUEXT}"!="foo"]]?docfu,1) ; check for CFU in use on no answer 
     105exten => s,n,GosubIf($[$["${DIALSTATUS}"="BUSY"] & $["foo${CFBEXT}"!="foo"]]?docfb,1) ; check for CFB in use on busy 
    104106exten => s,n,NoOp(Voicemail is '${VMBOX}') 
    105107exten => s,n,GotoIf($["${VMBOX}" = "novm"]?s-${DIALSTATUS},1) ; no voicemail in use for this extension 
     
    111113exten => docfu,n,Dial(Local/${CFUEXT}@from-internal/n,${RTCFU},${DIAL_OPTIONS}) 
    112114exten => docfu,n,Return 
     115 
     116; Try the Call Forward on Busy number 
     117exten => docfb,1,Set(RTCFB=${IF($["${VMBOX}"!="novm"]?${RINGTIMER}:"")}) 
     118exten => docfb,n,Dial(Local/${CFBEXT}@from-internal/n,${RTCFB},${DIAL_OPTIONS}) 
     119exten => docfb,n,Return 
    113120 
    114121; Extensions with no Voicemail box reporting BUSY come here 
     
    197204exten => s,n,Set(RT=${ARG2}) 
    198205exten => s,n,Set(CFUEXT=${DB(CFU/${EXTTOCALL})}) 
     206exten => s,n,Set(CFBEXT=${DB(CFB/${EXTTOCALL})}) 
    199207exten => s,n,Macro(record-enable,${EXTTOCALL},IN) 
    200208 
     
    206214; 
    207215exten => s,n,GosubIf($[$["${DIALSTATUS}"="NOANSWER"] & $["foo${CFUEXT}"!="foo"]]?docfu,1) ; check for CFU in use on no answer 
     216exten => s,n,GosubIf($[$["${DIALSTATUS}"="BUSY"] & $["foo${CFBEXT}"!="foo"]]?docfb,1) ; check for CFB in use on busy 
    208217 
    209218; Nothing yet, then go to the end (which will just return, but in case we decide to do something with certain 
     
    226235exten => docfu,n(chlocal),Dial(Local/${CFUEXT}@from-internal/n,${RT},${DIAL_OPTIONS}) 
    227236exten => docfu,n,Return 
     237 
     238; Try the Call Forward on Busy number 
     239exten => docfb,1,GotoIf( $[ "foo${DB(AMPUSER/${CFBEXT}/device)}" = "foo" ]?chlocal) 
     240exten => docfb,n,Dial(Local/${CFBEXT}@ext-local,${RT},${DIAL_OPTIONS}) 
     241exten => docfb,n,Return 
     242exten => docfb,n(chlocal),Dial(Local/${CFBEXT}@from-internal/n,${RT},${DIAL_OPTIONS}) 
     243exten => docfb,n,Return 
    228244 
    229245; In all cases of no connection, come here and simply return, since the calling dialplan will 
  • freepbx/branches/2.2/amp_conf/bin/retrieve_op_conf_from_mysql.pl

    r3482 r3643  
    221221foreach $table ("sip","iax") { 
    222222        if (table_exists($dbh,$table)) { 
    223                 $statement = "SELECT data,id,'$table' from $table where keyword='account' and flags <> 1 and id>9999 group by data order by id"; 
     223                $statement = "SELECT data,id,'$table' from $table where keyword='account' and flags <> 1 and id>99990 group by data order by id"; 
    224224                $result = $dbh->selectall_arrayref($statement); 
    225225                @resultSet = @{$result}; 
  • freepbx/branches/2.2/amp_conf/htdocs/admin/common/mainstyle.css

    r3532 r3643  
    282282        /* make it scroll */ 
    283283        max-height:35em; 
     284        max-width:275px; 
    284285        overflow:auto; 
    285286} 
  • freepbx/branches/2.2/amp_conf/htdocs/admin/modules/core/functions.inc.php

    r3584 r3643  
    15501550         
    15511551        if(strpos($results[0][0],"AMP:") === 0) {  //custom trunks begin with AMP: 
    1552                 $tname = ltrim($results[0][0],"AMP:"); 
     1552                $tname = substr($results[0][0],4); 
    15531553        } else { 
    15541554        strtok($results[0][0],'/'); 
     
    25972597 
    25982598                $section = 'Device Options'; 
     2599                $currentcomponent->addguielem($section, new gui_label('techlabel', sprintf(_("This device uses %s technology."),$devinfo_tech)),4); 
    25992600                $devopts = $currentcomponent->getgeneralarrayitem('devtechs', $devinfo_tech); 
    26002601                foreach ($devopts as $devopt=>$devoptarr) { 
  • freepbx/branches/2.2/amp_conf/htdocs/admin/modules/core/page.routing.php

    r3496 r3643  
    487487                                <?php  
    488488                                foreach ($trunks as $name=>$display) { 
    489                                         echo "<option id=\"trunk".$key."\" value=\"".$name."\" ".($name == $trunk ? "selected" : "").">".$display."</option>"; 
     489                                        echo "<option id=\"trunk".$key."\" value=\"".$name."\" ".($name == $trunk ? "selected" : "").">".(strpos($display,'AMP:')===0 ? substr($display,4) : $display)."</option>"; 
    490490                                } 
    491491                                ?> 
     
    527527                                <?php  
    528528                                foreach ($trunks as $name=>$display) { 
    529                                         echo "<option value=\"".$name."\">".ltrim($display,"AMP:")."</option>"; 
     529                                        echo "<option value=\"".$name."\">".(strpos($display,'AMP:')===0 ? substr($display,4) : $display)."</option>"; 
    530530                                } 
    531531                                ?> 
  • freepbx/branches/2.2/amp_conf/htdocs/admin/modules/core/page.trunks.php

    r3631 r3643  
    184184 
    185185foreach ($tresults as $tresult) { 
    186     echo "\t<li><a ".($extdisplay==$tresult[0] ? 'class="current"':'')." href=\"config.php?display=".urlencode($display)."&amp;extdisplay=".urlencode($tresult[0])."\" title=\"".urlencode($tresult[1])."\">"._("Trunk")." ".substr(ltrim($tresult[1],"AMP:"),0,15)."</a></li>\n"; 
     186    echo "\t<li><a ".($extdisplay==$tresult[0] ? 'class="current"':'')." href=\"config.php?display=".urlencode($display)."&amp;extdisplay=".urlencode($tresult[0])."\" title=\"".urlencode($tresult[1])."\">"._("Trunk")." ".(strpos($tresult[1],'AMP:')===0 ? substr($tresult[1],4,15) : substr($tresult[1],0,15))."</a></li>\n"; 
    187187} 
    188188 
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads