Changeset 22157


Ignore:
Timestamp:
2010-07-13T03:48:08+02:00 (6 years ago)
Author:
cshore
Message:

[packages]: net/freeswitch: Added UCI config of extensions and incoming DIDs (to extensions only)

Location:
packages/net/freeswitch
Files:
3 added
6 deleted
2 edited
2 moved

Legend:

Unmodified
Added
Removed
  • packages/net/freeswitch/Makefile

    r22084 r22157  
    99PKG_NAME:=freeswitch 
    1010PKG_VERSION:=1.0.6 
    11 PKG_RELEASE:=1 
     11PKG_RELEASE:=2 
    1212 
    1313PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
  • packages/net/freeswitch/files/etc.uci/dialplan/default.xml.template

    r22084 r22157  
    1818      <condition field="${sip_looped_call}" expression="^true$"> 
    1919        <action application="deflect" data="${destination_number}"/> 
    20       </condition> 
    21     </extension> 
    22  
    23     <extension name="redial"> 
    24       <condition field="destination_number" expression="^870$"> 
    25         <action application="transfer" data="${hash(select/${domain_name}-last_dial/${caller_id_number})}"/> 
    2620      </condition> 
    2721    </extension> 
     
    4943    --> 
    5044 
    51     <extension name="call_return"> 
    52       <condition field="destination_number" expression="^\*69$|^869$|^lcr$"> 
    53         <action application="transfer" data="${hash(select/${domain_name}-call_return/${caller_id_number})}"/> 
    54       </condition> 
    55     </extension> 
    56  
    5745    <extension name="extension-intercom"> 
    58       <condition field="destination_number" expression="^8(100[0-4])$"> 
     46      <condition field="destination_number" expression="^8([{FS_DIALPLAN_PHONES}])$"> 
    5947        <action application="set" data="dialed_extension=$1"/> 
    6048        <action application="export" data="sip_auto_answer=true"/> 
     
    6452 
    6553    <!--  
    66          dial the extension (1000-1004) for 2 minutes before giving up  
    67          otherwise hang up after a successful bridge (hangup_after-bridge=true). 
    68          Record call if *2 is pressed during call. 
     54         dial the extension (filled in from UCI config) 2 minutes before giving 
     55         up, otherwise hang up after a successful bridge (hangup_after-bridge=true). 
     56         Record call if *2 is pressed during call (by called extension). 
    6957    --> 
    7058    <extension name="Local_Extension"> 
    71       <condition field="destination_number" expression="^(100[0-4])$"> 
     59      <condition field="destination_number" expression="^([{FS_DIALPLAN_PHONES}])$"> 
    7260        <action application="set" data="dialed_extension=$1"/> 
    7361        <action application="export" data="dialed_extension=$1"/> 
  • packages/net/freeswitch/files/etc.uci/dialplan/public.xml.template

    r22084 r22157  
    3838 
    3939    <extension name="public_extensions"> 
    40       <condition field="destination_number" expression="^(100[0-4])$"> 
     40      <condition field="destination_number" expression="^([{FS_DIALPLAN_PHONES}])$"> 
    4141        <action application="transfer" data="$1 XML default"/> 
    4242      </condition> 
  • packages/net/freeswitch/files/uci/update_xml.sh

    r22084 r22157  
    1313        fs_profile_gateway "external_example" "/etc/freeswitch/sip_profiles/external/example.xml" 
    1414        fs_profile_gateway "internal_example" "/etc/freeswitch/sip_profiles/internal/example.xml" 
     15        fs_extensions_all 
    1516} 
Note: See TracChangeset for help on using the changeset viewer.