Changeset 26966


Ignore:
Timestamp:
2011-05-21T16:21:16+02:00 (7 years ago)
Author:
mazilo
Message:

upated to latest git with additional modules

Location:
packages/net/freeswitch
Files:
6 added
8 edited

Legend:

Unmodified
Added
Removed
  • packages/net/freeswitch/Makefile

    r26950 r26966  
    1515PKG_SOURCE_URL:=git://git.$(PKG_NAME).org/$(PKG_NAME).git 
    1616PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) 
    17 PKG_SOURCE_VERSION:=86d757d61bd82a73a13fbc387f788c33436c295d 
     17PKG_SOURCE_VERSION:=2146583663a5067f6ff71df1e48c3bb900e89db8 
    1818PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
    1919PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) 
     
    2525        amr \ 
    2626        amrwb \ 
     27        avmd \ 
    2728        bv \ 
     29        callcenter \ 
    2830        cdr-csv \ 
     31        cdr-pg-csv \ 
     32        cdr-sqlite \ 
    2933        celt \ 
    3034        cepstral \ 
     
    3741        curl \ 
    3842        dahdi-codec \ 
     43        db \ 
    3944        dialplan-asterisk \ 
    4045        dialplan-directory \ 
     
    5055        event-multicast \ 
    5156        event-socket \ 
     57        event-zmq \ 
    5258        expr \ 
    5359        fifo \ 
     
    6167        hash \ 
    6268        ilbc \ 
     69        java \ 
    6370        lcr \ 
    6471        ldap \ 
     
    8491        say-es \ 
    8592        say-fr \ 
     93        say-hu \ 
    8694        say-it \ 
    8795        say-nl \ 
     96        say-pt \ 
    8897        say-ru \ 
    8998        say-th \ 
     
    101110        snom \ 
    102111        sofia \ 
    103         soundtouch \ 
    104112        spandsp \ 
    105113        speex \ 
     
    114122        syslog \ 
    115123        tone-stream \ 
     124        tts-commandline \ 
    116125        unimrcp \ 
    117126        valet-parking \ 
     
    195204                +$(PKG_NAME)-mod-commands \ 
    196205                +$(PKG_NAME)-mod-conference \ 
    197                 +$(PKG_NAME)-mod-syslog \ 
    198206                +$(PKG_NAME)-mod-curl \ 
    199207                +$(PKG_NAME)-mod-dialplan-xml \ 
     208                +$(PKG_NAME)-mod-dingaling \ 
    200209                +$(PKG_NAME)-mod-dptools \ 
    201210                +$(PKG_NAME)-mod-event-socket \ 
    202211                +$(PKG_NAME)-mod-g723-1 \ 
     212                +$(PKG_NAME)-mod-g729 \ 
    203213                +$(PKG_NAME)-mod-hash \ 
    204214                +$(PKG_NAME)-mod-ilbc \ 
     
    207217                +$(PKG_NAME)-mod-lua \ 
    208218                +$(PKG_NAME)-mod-native-file \ 
     219                +$(PKG_NAME)-mod-siren \ 
    209220                +$(PKG_NAME)-mod-sndfile \ 
    210221                +$(PKG_NAME)-mod-sofia \ 
     222                +$(PKG_NAME)-mod-spandsp \ 
    211223                +$(PKG_NAME)-mod-speex \ 
     224                +$(PKG_NAME)-mod-syslog \ 
    212225                +$(PKG_NAME)-mod-tone-stream \ 
    213226                +$(PKG_NAME)-mod-xml-curl \ 
     
    223236                +$(PKG_NAME)-mod-codec2 \ 
    224237                +$(PKG_NAME)-mod-commands \ 
    225                 +$(PKG_NAME)-mod-syslog \ 
    226238                +$(PKG_NAME)-mod-dialplan-xml \ 
    227239                +$(PKG_NAME)-mod-dptools \ 
     
    231243                +$(PKG_NAME)-mod-sndfile \ 
    232244                +$(PKG_NAME)-mod-sofia \ 
     245                +$(PKG_NAME)-mod-syslog \ 
    233246                +$(PKG_NAME)-mod-tone-stream \ 
    234247                +$(PKG_NAME)-tools 
     
    308321FS_TARGET_CPPFLAGS:= -I. -I./lua ${TARGET_CPPFLAGS} 
    309322 
     323 
    310324CONFIGURE_ARGS+= \ 
    311325        --prefix="/usr/share/$(PKG_NAME)" \ 
     
    315329        --with-modinstdir="/usr/lib/$(PKG_NAME)" \ 
    316330        --enable-ipv6 \ 
    317         --disable-zrtp \ 
     331        --enable-optimization \ 
    318332        --with-random="/dev/urandom" \ 
    319         --without-mysql \ 
    320         $(if $(CONFIG_PACKAGE_$(PKG_NAME)-mod-cdr-pg-csv),--with-pgsql="$(STAGING_DIR)/usr",--without-pgsql) \ 
    321333        $(if $(CONFIG_PACKAGE_$(PKG_NAME)-mod-celt),--with-ogg="$(STAGING_DIR)/usr",--without-iogg) \ 
    322         $(if $(CONFIG_PACKAGE_$(PKG_NAME)-mod-curl),--with-libcurl="$(STAGING_DIR)/usr",--without-libcurl) \ 
     334        $(if ($(CONFIG_PACKAGE_$(PKG_NAME)-mod-curl)|$(CONFIG_PACKAGE_$(PKG_NAME)-mod-xml-cdr)|$(CONFIG_PACKAGE_$(PKG_NAME)-mod-xml-curl)),--with-libcurl="$(STAGING_DIR)/usr",--without-libcurl) \ 
    323335        $(if $(CONFIG_PACKAGE_$(PKG_NAME)-mod-dingaling),--with-openssl="$(STAGING_DIR)/usr",--without-openssl) \ 
    324336        $(if $(CONFIG_PACKAGE_$(PKG_NAME)-mod-java),--with-java="$(STAGING_DIR)/usr",--without-java) \ 
    325337        $(if $(CONFIG_PACKAGE_$(PKG_NAME)-mod-spandsp),--enable-builtin-tiff,) \ 
    326         $(if $(CONFIG_PACKAGE_$(PKG_NAME)-mod-xml-cdr),--with-libcurl="$(STAGING_DIR)/usr",--without-libcurl) \ 
    327         $(if $(CONFIG_PACKAGE_$(PKG_NAME)-mod-xml-curl),--with-libcurl="$(STAGING_DIR)/usr",--without-libcurl) \ 
     338 
    328339 
    329340CONFIGURE_VARS+= \ 
     
    367378        $(call Prepare/sounds-en) 
    368379        $(call Prepare/sounds-moh) 
    369         (cd $(PKG_BUILD_DIR); [ -h noreg ] || touch noreg)      # Just to shut up Cluecon reg. 
     380        (cd $(PKG_BUILD_DIR); [ -h noreg ] || touch noreg)      # Just to shut up Cluecon reg. msg. 
    370381        (cd $(PKG_BUILD_DIR); $(AM_TOOL_PATHS) ./bootstrap.sh) 
    371382endef 
     
    517528$(eval $(call BuildPlugin,amr,GSM-AMR codec,mod_amr,,)) 
    518529$(eval $(call BuildPlugin,amrwb,GSM-AMRWB,mod_amrwb,,)) 
     530$(eval $(call BuildPlugin,avmd,Advanced Voice Mail Detection,mod_avmd,,)) 
    519531$(eval $(call BuildPlugin,bv,codec mod_bv,mod_bv,,)) 
     532$(eval $(call BuildPlugin,callcenter,Call Center,mod_callcenter,,)) 
    520533$(eval $(call BuildPlugin,cdr-csv,CSV-CDR handler,mod_cdr_csv,,)) 
    521 $(eval $(call BuildPlugin,cdr-pg-csv,Postgress CDR handler,mod_cdr_pg_csv,,+postgresql @BROKEN)) 
     534$(eval $(call BuildPlugin,cdr-pg-csv,Postgress CDR handler,mod_cdr_pg_csv,,+postgresql)) 
     535$(eval $(call BuildPlugin,cdr-sqlite,SQLite3 CDR handler,mod_cdr_sqlite,,+sqlite3)) 
    522536$(eval $(call BuildPlugin,celt,CELT ultra-low delay codec,mod_celt,,+libogg)) 
    523537$(eval $(call BuildPlugin,cepstral,Cepstral interface,mod_cepstral,,@BROKEN)) # needs <swift.h> 
     
    530544$(eval $(call BuildPlugin,curl,HTTP request,mod_curl,,+libcurl)) 
    531545$(eval $(call BuildPlugin,dahdi-codec,DAHDI codecs,mod_dahdi_codec,,)) 
     546$(eval $(call BuildPlugin,db,Dialplan & API to a database backend,mod_db,,)) 
    532547$(eval $(call BuildPlugin,dialplan-asterisk,Asterisk dialplan parser,mod_dialplan_asterisk,,)) 
    533548$(eval $(call BuildPlugin,dialplan-directory,Dialplan-Directory interface,mod_dialplan_directory,,)) 
     
    539554$(eval $(call BuildPlugin,easyroute,DID routing,mod_easyroute,,)) 
    540555$(eval $(call BuildPlugin,enum,ENUM routing,mod_enum,,)) 
    541 $(eval $(call BuildPlugin,erlang-event,Erlang event handler,mod_erlang_event,,@BROKEN)) # needs <ei.h> 
     556$(eval $(call BuildPlugin,erlang-event,Erlang event handler,mod_erlang_event,,+erlang)) 
    542557$(eval $(call BuildPlugin,esf,Extra SIP Functionality,mod_esf,,)) 
    543558$(eval $(call BuildPlugin,event-multicast,Multicast event handler,mod_event_multicast,,)) 
    544559$(eval $(call BuildPlugin,event-socket,Socket event handler,mod_event_socket,,)) 
     560$(eval $(call BuildPlugin,event-zmq,Socket event handler by Zero MQ,mod_event_zmq,,)) 
    545561$(eval $(call BuildPlugin,expr,Expression evaluation,mod_expr,,)) 
    546562$(eval $(call BuildPlugin,fifo,FIFO,mod_fifo,,)) 
    547 $(eval $(call BuildPlugin,file-string,File streaming,mod_file_string,,@OBSOLETE)) 
     563$(eval $(call BuildPlugin,file-string,File streaming,mod_file_string,,@OBSOLETE)) # merged into dptools 
    548564$(eval $(call BuildPlugin,flite,Festival TTS,mod_flite,,@(!(armeb||avr32)||BROKEN))) 
    549565$(eval $(call BuildPlugin,fsv,Video,mod_fsv,,)) 
     
    553569$(eval $(call BuildPlugin,h323,h323 endpoint,mod_h323,,@BROKEN)) # missing header files (other packages needed) 
    554570$(eval $(call BuildPlugin,hash,API for manipulating a hash table,mod_hash,,)) 
     571$(eval $(call BuildPlugin,ilbc,ILBC codec,mod_ilbc,,)) 
    555572$(eval $(call BuildPlugin,java,Java language interface,mod_java,,@BROKEN)) # needs java 
    556 $(eval $(call BuildPlugin,ilbc,ILBC codec,mod_ilbc,,)) 
    557573$(eval $(call BuildPlugin,lcr,Least Cost Routing,mod_lcr,,)) 
    558574$(eval $(call BuildPlugin,ldap,LDAP interface,mod_ldap,,@BROKEN)) # fails in openldap 
     
    578594$(eval $(call BuildPlugin,say-es,Spanish say,mod_say_es,,)) 
    579595$(eval $(call BuildPlugin,say-fr,French say,mod_say_fr,,)) 
     596$(eval $(call BuildPlugin,say-hu,Hungarian say,mod_say_hu,,)) 
    580597$(eval $(call BuildPlugin,say-it,Italian say,mod_say_it,,)) 
    581598$(eval $(call BuildPlugin,say-nl,Dutch say,mod_say_nl,,)) 
     599$(eval $(call BuildPlugin,say-pt,Portugeese say,mod_say_pt,,)) 
    582600$(eval $(call BuildPlugin,say-ru,Russian say,mod_say_ru,,)) 
    583 $(eval $(call BuildPlugin,say-th,mod_th say,mod_say_th,,)) 
     601$(eval $(call BuildPlugin,say-th,Thai say,mod_say_th,,)) 
    584602$(eval $(call BuildPlugin,say-zh,Chineese say,mod_say_zh,,)) 
    585 $(eval $(call BuildPlugin,shell-stream,,mod_shell_stream,,)) 
     603$(eval $(call BuildPlugin,shell-stream,Shell stream,mod_shell_stream,,)) 
    586604$(eval $(call BuildPlugin,shout,MP3 and Shoutcast stream,mod_shout,,@BROKEN)) # needs Ogg/Vorbis 
    587605$(eval $(call BuildPlugin,silk,codec mod_silk,mod_silk,,)) 
    588 $(eval $(call BuildPlugin,siren,G.722.1 codec,mod_siren,,@BROKEN)) # fails in libg722_1 - attempts to execute cross-compiled binary on host 
     606$(eval $(call BuildPlugin,siren,G.722.1 codec,mod_siren,,)) 
    589607$(eval $(call BuildPlugin,skinny,endpoint mod_skinny,mod_skinny,,)) 
    590608$(eval $(call BuildPlugin,skypopen,Skype compatible endpoint,mod_skypopen,,@BROKEN)) # needs <X11/Xlib.h> 
    591609$(eval $(call BuildPlugin,sangoma-codec,codec sangoma-codec,mod_sangoma_codec,,@BROKEN)) # Untested 
    592610$(eval $(call BuildPlugin,snapshot,application mod_snapshot,mod_snapshot,,)) 
     611$(eval $(call BuildPlugin,sndfile,Multi-Format file transcoder,mod_sndfile,,)) 
    593612$(eval $(call BuildPlugin,snipe-hunt,application mod_snipe_hunt,mod_snipe_hunt,,)) 
    594 $(eval $(call BuildPlugin,sndfile,Multi-Format file transcoder,mod_sndfile,,)) 
    595613$(eval $(call BuildPlugin,snom,SNOM specific features,mod_snom,,)) 
    596614$(eval $(call BuildPlugin,sofia,SIP,mod_sofia,,)) 
    597 $(eval $(call BuildPlugin,soundtouch,Sound effects,mod_soundtouch,,@BROKEN)) # fails in soundtouch 
    598615$(eval $(call BuildPlugin,spandsp,Span DSP,mod_spandsp,,+libjpeg)) 
    599616$(eval $(call BuildPlugin,speex,Speex codec,mod_speex,,)) 
     
    608625$(eval $(call BuildPlugin,syslog,SysLog logger,mod_syslog,,)) 
    609626$(eval $(call BuildPlugin,tone-stream,Tone generation stream,mod_tone_stream,,)) 
     627$(eval $(call BuildPlugin,tts-commandline,ASR TTS cli,mod_tts_commandline,,)) 
    610628$(eval $(call BuildPlugin,unimrcp,MRCP interface,mod_unimrcp,,)) 
    611629$(eval $(call BuildPlugin,valet-parking,application mod_valet_parking,mod_valet_parking,,)) 
  • packages/net/freeswitch/files/etc.minimal/autoload_configs/acl.conf.xml

    r21966 r26966  
    1010    --> 
    1111 
    12     <!--  
    13       <list name="lan" default="allow"> 
    14         <node type="deny" cidr="192.168.42.0/24"/> 
    15         <node type="allow" cidr="192.168.42.42/32"/> 
    16       </list> 
    17     --> 
     12    <list name="lan" default="allow"> 
     13      <node type="deny" cidr="192.168.42.0/24"/> 
     14      <node type="allow" cidr="192.168.42.42/32"/> 
     15    </list> 
    1816 
    1917    <!-- 
     
    2422    --> 
    2523    <list name="domains" default="deny"> 
     24      <!-- domain= is special it scans the domain from the directory to build the ACL --> 
    2625      <node type="allow" domain="$${domain}"/> 
     26      <!-- use cidr= if you wish to allow ip ranges to this domains acl. --> 
     27      <!-- <node type="allow" cidr="192.168.0.0/24"/> --> 
    2728    </list> 
    2829 
  • packages/net/freeswitch/files/etc.minimal/autoload_configs/modules.conf.xml

    r22082 r26966  
    33     
    44    <!-- Loggers (I'd load these first) --> 
    5     <!-- <load module="mod_console"/> --> 
    6     <!-- <load module="mod_logfile"/> --> 
     5    <load module="mod_console"/> 
     6    <load module="mod_logfile"/> 
    77    <load module="mod_syslog"/> 
    88 
     
    1111    <!-- Multi-Faceted --> 
    1212    <!-- mod_enum is a dialplan interface, an application interface and an api command interface --> 
    13     <!-- <load module="mod_enum"/> --> 
     13    <load module="mod_enum"/> 
    1414 
    1515    <!-- XML Interfaces --> 
     
    2020    <!-- Event Handlers --> 
    2121    <!-- <load module="mod_cdr_csv"/> --> 
     22    <!-- <load module="mod_cdr_sqlite"/> --> 
    2223    <!-- <load module="mod_event_multicast"/> --> 
    2324    <load module="mod_event_socket"/> 
     25    <!-- <load module="mod_event_zmq"/> --> 
    2426    <!-- <load module="mod_zeroconf"/> --> 
     27    <!-- <load module="mod_erlang_event"/> --> 
     28    <!-- <load module="mod_snmp"/> --> 
    2529 
    2630    <!-- Directory Interfaces --> 
     
    2832 
    2933    <!-- Endpoints --> 
    30     <!-- <load module="mod_dingaling"/> --> 
     34    <load module="mod_dingaling"/> 
    3135    <!-- <load module="mod_portaudio"/> --> 
    3236    <!-- <load module="mod_alsa"/> --> 
    3337    <load module="mod_sofia"/> 
    34     <!-- <load module="mod_loopback"/> --> 
     38    <load module="mod_loopback"/> 
    3539    <!-- <load module="mod_woomera"/> --> 
     40    <!-- <load module="mod_freetdm"/> --> 
    3641    <!-- <load module="mod_openzap"/> --> 
    3742    <!-- <load module="mod_unicall"/> --> 
     43    <!-- <load module="mod_skinny"/> --> 
     44    <!-- <load module="mod_khomp"/>   --> 
    3845 
    3946    <!-- Applications --> 
    4047    <load module="mod_commands"/> 
    4148    <!-- <load module="mod_conference"/> --> 
     49    <load module="mod_db"/> 
    4250    <load module="mod_dptools"/> 
    4351    <!-- <load module="mod_expr"/> --> 
    4452    <!-- <load module="mod_fifo"/> --> 
     53    <load module="mod_hash"/> 
    4554    <!-- <load module="mod_voicemail"/> --> 
    4655    <!--<load module="mod_directory"/>--> 
    47     <!--<load module="mod_fax"/>--> 
     56    <!--<load module="mod_distributor"/>--> 
    4857    <!--<load module="mod_lcr"/>--> 
    49     <!-- <load module="mod_limit"/> --> 
    5058    <!-- <load module="mod_esf"/> --> 
    5159    <!-- <load module="mod_fsv"/> --> 
    5260    <!-- <load module="mod_cluechoo"/> --> 
    5361    <!-- <load module="mod_valet_parking"/> --> 
     62    <!--<load module="mod_fsk"/>--> 
    5463    <!--<load module="mod_spy"/>--> 
    5564    <!-- <load module="mod_curl"/> --> 
     
    5766    <!-- SNOM Module --> 
    5867    <!--<load module="mod_snom"/>--> 
     68 
     69    <!-- This one only works on Linux for now --> 
     70    <!--<load module="mod_ladspa"/>--> 
    5971 
    6072    <!-- Dialplan Interfaces --> 
     
    6476 
    6577    <!-- Codec Interfaces --> 
    66     <load module="mod_voipcodecs"/> 
    67     <!-- <load module="mod_g723_1"/> --> 
    68     <!-- <load module="mod_g729"/> --> 
     78    <!-- <load module="mod_spandsp"/> --> 
     79    <load module="mod_g723_1"/> 
     80    <load module="mod_g729"/> 
    6981    <!-- <load module="mod_amr"/> --> 
    70     <!-- <load module="mod_ilbc"/> --> 
     82    <load module="mod_ilbc"/> 
    7183    <!-- <load module="mod_speex"/> --> 
    7284    <!-- <load module="mod_h26x"/> --> 
    73     <!-- <load module="mod_siren"/> --> 
     85    <load module="mod_siren"/> 
    7486    <!--<load module="mod_celt"/>--> 
     87    <!--<load module="mod_opus"/>--> 
    7588 
    7689    <!-- File Format Interfaces --> 
    7790    <load module="mod_sndfile"/> 
    78     <!-- <load module="mod_native_file"/> --> 
     91    <load module="mod_native_file"/> 
     92 
    7993    <!--For icecast/mp3 streams/files--> 
    8094    <!--<load module="mod_shout"/>--> 
     95 
    8196    <!--For local streams (play all the files in a directory)--> 
    8297    <load module="mod_local_stream"/> 
    8398    <load module="mod_tone_stream"/> 
    84     <!-- <load module="mod_file_string"/> --> 
    8599 
    86100    <!-- Timers --> 
     101    <!-- <load module="mod_timerfd"/> --> 
    87102 
    88103    <!-- Languages --> 
     104    <load module="mod_lua"/> 
    89105    <!-- <load module="mod_spidermonkey"/> --> 
    90106    <!-- <load module="mod_perl"/> --> 
    91107    <!-- <load module="mod_python"/> --> 
    92108    <!-- <load module="mod_java"/> --> 
    93     <load module="mod_lua"/> 
    94109 
    95110    <!-- ASR /TTS --> 
     
    101116     
    102117    <!-- Say --> 
    103     <!-- <load module="mod_say_en"/> --> 
     118    <load module="mod_say_en"/> 
    104119    <!-- <load module="mod_say_ru"/> --> 
    105120    <!-- <load module="mod_say_zh"/> --> 
  • packages/net/freeswitch/files/etc.minimal/autoload_configs/switch.conf.xml

    r21966 r26966  
    1616  </cli-keybindings>  
    1717   
     18  <default-ptimes> 
     19    <!-- set this to override the 20ms assumption of various codecs in the sdp with no ptime defined --> 
     20    <!--<codec name="G729" ptime="40"/>--> 
     21  </default-ptimes> 
     22   
    1823  <settings> 
    1924    <!--Colorize the Console --> 
    2025    <param name="colorize-console" value="true"/> 
    21     <!--Most channels to allow at once --> 
     26 
     27    <!-- Run the timer at 20ms by default and drop down as needed unless you set 1m-timer=true which was previous default --> 
     28    <!-- <param name="1ms-timer" value="true"/> --> 
     29 
     30    <!-- 
     31    Set the Switch Name for HA environments. 
     32    When setting the switch name, it will override the system hostname for all DB and CURL requests 
     33    allowing cluster environments such as RHCS to have identical FreeSWITCH configurations but run 
     34    as different hostnames. 
     35    --> 
     36    <!-- <param name="switchname" value="freeswitch"/>--> 
     37 
     38    <!-- maximum number of simo db handles open --> 
     39    <param name="max-db-handles" value="50"/> 
     40    <!-- maximum number of seconds to wait for a new db handle before failing --> 
     41    <param name="db-handle-timeout" value="10"/> 
     42 
     43    <!-- minimum idle CPU before refusing calls --> 
     44    <!--<param name="min-idle-cpu" value="25"/>--> 
     45 
     46    <!-- 
     47        Max number of sessions to allow at any given time. 
     48         
     49        NOTICE: If you're driving 28 T1's in a single box you should set this to 644*2 or 1288 
     50        this will ensure you're able to use the entire DS3 without a problem.  Otherwise you'll 
     51        be 144 channels short of always filling that DS3 up which can translate into waste. 
     52    --> 
    2253    <param name="max-sessions" value="1000"/> 
    2354    <!--Most channels to create per second --> 
     
    4475                 max-dtmf-duration\. --> 
    4576    <!--<param name="default-dtmf-duration" value="2000"/>--> 
     77    <!-- 
     78         If you want to send out voicemail notifications via Windows you'll need to change the mailer-app 
     79         variable to the setting below: 
     80      
     81       <param name="mailer-app" value="msmtp"/> 
     82  
     83         Do not change mailer-app-args. 
     84         You will also need to download a sendmail clone for Windows (msmtp). This version works without issue: 
     85         http://msmtp.sourceforge.net/index.html. Download and copy the .exe to %winddir%\system32. 
     86         You'll need to create a small config file for smtp credentials (host name, authentication, tls, etc.) in 
     87         %USERPROFILE%\Application Data\ called "msmtprc.txt". Below is a sample copy of this file: 
     88  
     89         ################################### 
     90         # The SMTP server of the provider. 
     91         account provider 
     92         host smtp.myisp.com 
     93         from john@myisp.com 
     94         auth login 
     95         user johndoe 
     96         password mypassword 
     97  
     98         # Set a default account 
     99         account default : provider 
     100         ################################### 
     101          
     102 -->     
    46103    <param name="mailer-app" value="sendmail"/> 
    47104    <param name="mailer-app-args" value="-t"/> 
    48105    <param name="dump-cores" value="yes"/> 
     106    <!-- enable verbose-channel-events to dump every detail about a channel on every event  --> 
     107    <!--<param name="verbose-channel-events" value="no"/>--> 
    49108    <!--RTP port range --> 
    50109    <!--<param name="rtp-start-port" value="16384"/>--> 
     
    52111    <param name="rtp-enable-zrtp" value="true"/> 
    53112    <!-- <param name="core-db-dsn" value="dsn:username:password" /> --> 
     113    <!-- Allow to specify the sqlite db at a different location (In this example, move it to ramdrive for better performance on most linux distro (note, you loose the data if you reboot)) --> 
     114    <!-- <param name="core-db-name" value="/dev/shm/core.db" /> --> 
     115    <!-- The system will create all the db schemas automatically, set this to false to avoid this behaviour--> 
     116    <!--<param name="auto-create-schemas" value="true"/>--> 
     117    <!-- <param name="core-dbtype" value="MSSQL"/> --> 
     118    <!-- Allow multiple registrations to the same account in the central registration table --> 
     119    <!-- <param name="multiple-registrations" value="true"/> --> 
    54120  </settings> 
    55121 
  • packages/net/freeswitch/files/etc.minimal/autoload_configs/syslog.conf.xml

    r21966 r26966  
    1212    <param name="facility" value="user"/> 
    1313    <param name="ident" value="freeswitch"/> 
    14     <param name="loglevel" value="info"/> 
     14    <param name="loglevel" value="warning"/> 
    1515        <!-- Uncomment the following line to log uuids in syslogs (when applicable) --> 
    1616    <!-- <param name="uuid" value="true"/> --> 
  • packages/net/freeswitch/files/etc.minimal/dialplan/default.xml

    r21966 r26966  
    6262      </condition> 
    6363    </extension> 
     64 
     65    <extension name="google_in" continue="true"> 
     66      <condition field="caller_id_name" expression="^(Google Voice|(.*)gmail.com(.*))$"> 
     67        <action application="log" data="Google Voice Call Incoming"/> 
     68        <action application="set" data="execute_on_answer=send_dtmf 1"/> 
     69      </condition> 
     70    </extension>              
    6471 
    6572    <!--  
  • packages/net/freeswitch/files/etc.minimal/dialplan/public.xml

    r21966 r26966  
    2828      <condition> 
    2929        <action application="set" data="outside_call=true"/> 
     30        <action application="set" data="RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)}"/> 
    3031      </condition> 
    3132    </extension> 
     
    3839 
    3940    <extension name="public_extensions"> 
    40       <condition field="destination_number" expression="^(100[0-4])$"> 
     41      <condition field="destination_number" expression="^(10[01][0-9])$"> 
    4142        <action application="transfer" data="$1 XML default"/> 
    4243      </condition> 
     
    4748    --> 
    4849    <X-PRE-PROCESS cmd="include" data="public/*.xml"/> 
     50    <!-- 
     51        If you have made it this far lets challenge the caller and if they authenticate 
     52        lets try what they dialed in the default context. (commented out by default) 
     53    --> 
     54    <!-- 
     55    <extension name="check_auth" continue="true"> 
     56      <condition field="${sip_authorized}" expression="^true$" break="never"> 
     57        <anti-action application="respond" data="407"/> 
     58      </condition> 
     59    </extension> 
     60     
     61    <extension name="transfer_to_default"> 
     62      <condition> 
     63        <action application="transfer" data="${destination_number} XML default"/> 
     64      </condition> 
     65    </extension> 
     66    --> 
    4967  </context> 
    5068</include> 
  • packages/net/freeswitch/patches/001-Makefile.am.patch

    r26937 r26966  
    11--- a/Makefile.am 
    22+++ b/Makefile.am 
    3 @@ -292,7 +292,7 @@ endif 
     3@@ -295,7 +295,7 @@ endif 
    44 ## 
    55 fs_encode_SOURCES = src/fs_encode.c 
     
    1010  
    1111 ## 
    12 @@ -300,7 +300,7 @@ fs_encode_LDADD = libfreeswitch.la 
     12@@ -303,7 +303,7 @@ fs_encode_LDADD = libfreeswitch.la 
    1313 ## 
    1414 tone2wav_SOURCES = src/tone2wav.c 
Note: See TracChangeset for help on using the changeset viewer.