[aadk-commits] qwell: branch uClinux/upstreamsync r269 - in /uClinux/branches/upstreamsync/u...

aadk-commits at lists.digium.com aadk-commits at lists.digium.com
Tue Mar 27 15:18:06 MST 2007


Author: qwell
Date: Tue Mar 27 17:18:05 2007
New Revision: 269

URL: http://svn.digium.com/view/aadk?view=rev&rev=269
Log:
Merge in some more of our stuff - default configs

Added:
    uClinux/branches/upstreamsync/uClinux-dist/defaults/
    uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/
    uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/
    uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/adsi.conf   (with props)
    uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/agents.conf   (with props)
    uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/cdr.conf   (with props)
    uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/cdr_custom.conf   (with props)
    uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/cdr_manager.conf   (with props)
    uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/codecs.conf   (with props)
    uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/dnsmgr.conf   (with props)
    uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/dundi.conf   (with props)
    uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/enum.conf   (with props)
    uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/extconfig.conf   (with props)
    uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/extensions.ael   (with props)
    uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/extensions.conf   (with props)
    uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/features.conf   (with props)
    uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/http.conf   (with props)
    uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/iax.conf   (with props)
    uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/iaxprov.conf   (with props)
    uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/indications.conf   (with props)
    uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/logger.conf   (with props)
    uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/manager.conf   (with props)
    uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/meetme.conf   (with props)
    uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/modules.conf   (with props)
    uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/musiconhold.conf   (with props)
    uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/networking.conf   (with props)
    uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/privacy.conf   (with props)
    uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/providers.conf   (with props)
    uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/queues.conf   (with props)
    uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/rtp.conf   (with props)
    uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/sip.conf   (with props)
    uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/sip_notify.conf   (with props)
    uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/tools/
    uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/tools/sysinfo   (with props)
    uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/users.conf   (with props)
    uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/voicemail.conf   (with props)
    uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/zapata.conf.in   (with props)

Added: uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/adsi.conf
URL: http://svn.digium.com/view/aadk/uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/adsi.conf?view=auto&rev=269
==============================================================================
--- uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/adsi.conf (added)
+++ uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/adsi.conf Tue Mar 27 17:18:05 2007
@@ -1,0 +1,8 @@
+;
+; Sample ADSI Configuration file
+;
+[intro]
+alignment = center
+greeting => Welcome to the
+greeting => Asterisk
+greeting => Open Source PBX

Propchange: uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/adsi.conf
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/adsi.conf
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/agents.conf
URL: http://svn.digium.com/view/aadk/uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/agents.conf?view=auto&rev=269
==============================================================================
--- uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/agents.conf (added)
+++ uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/agents.conf Tue Mar 27 17:18:05 2007
@@ -1,0 +1,80 @@
+[general]
+;
+; Define whether callbacklogins should be stored in astdb for
+; persistence. Persistent logins will be reloaded after
+; Asterisk restarts.
+;
+persistentagents=yes
+;
+; Agent configuration
+;
+;
+[agents]
+;
+; Define autologoff times if appropriate.  This is how long
+; the phone has to ring with no answer before the agent is
+; automatically logged off (in seconds)
+;
+;autologoff=15
+;
+; Define ackcall to require an acknowledgement by '#' when
+; an agent logs in using agentcallbacklogin.  Default is "no".
+;
+;ackcall=no
+;
+; Define wrapuptime.  This is the minimum amount of time when
+; after disconnecting before the caller can receive a new call
+; note this is in milliseconds.
+;
+;wrapuptime=5000
+;
+; Define the default musiconhold for agents
+; musiconhold => music_class
+;
+;musiconhold => default
+;
+; Define updatecdr. This is whether or not to change the source 
+; channel in the CDR record for this call to agent/agent_id so 
+; that we know which agent generates the call
+;
+;updatecdr=no
+;
+; Group memberships for agents (may change in mid-file)
+; 
+;group=3
+;group=1,2
+;group=
+;
+; --------------------------------------------------
+; This section is devoted to recording agent's calls
+; The keywords are global to the chan_agent channel driver
+; 
+; Enable recording calls addressed to agents. It's turned off by default.
+;recordagentcalls=yes
+;
+; The format to be used to record the calls: wav, gsm, wav49.
+; By default its "wav".
+;recordformat=gsm
+;
+; Insert into CDR userfield a name of the the created recording 
+; By default it's turned off. 
+;createlink=yes
+;
+; The text to be added to the name of the recording. Allows forming a url link.
+;urlprefix=http://localhost/calls/
+;
+; The optional directory to save the conversations in. The default is
+; /var/spool/asterisk/monitor
+;savecallsin=/var/calls
+;
+; An optional custom beep sound file to play to always-connected agents. 
+;custom_beep=beep
+;
+; --------------------------------------------------
+;
+; This section contains the agent definitions, in the form:
+;
+; agent => agentid,agentpassword,name
+;
+;agent => 1001,4321,Mark Spencer
+;agent => 1002,4321,Will Meadows

Propchange: uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/agents.conf
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/agents.conf
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/cdr.conf
URL: http://svn.digium.com/view/aadk/uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/cdr.conf?view=auto&rev=269
==============================================================================
--- uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/cdr.conf (added)
+++ uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/cdr.conf Tue Mar 27 17:18:05 2007
@@ -1,0 +1,51 @@
+;
+; Asterisk Call Detail Record engine configuration
+;
+; CDR is Call Detail Record, which provides logging services via a variety of
+; pluggable backend modules.  Detailed call information can be recorded to
+; databases, files, etc.  Useful for billing, fraud prevention, compliance with
+; Sarbanes-Oxley aka The Enron Act, QOS evaluations, and more.
+;
+
+[general]
+
+; Define whether or not to use CDR logging.  Setting this to "no" will override
+; any loading of backend CDR modules.  Default is "yes".
+;enable=yes
+
+; Define the CDR batch mode, where instead of posting the CDR at the end of
+; every call, the data will be stored in a buffer to help alleviate load on the
+; asterisk server.  Default is "no".
+;
+; WARNING WARNING WARNING
+; Use of batch mode may result in data loss after unsafe asterisk termination
+; ie. software crash, power failure, kill -9, etc.
+; WARNING WARNING WARNING
+;
+;batch=no
+
+; Define the maximum number of CDRs to accumulate in the buffer before posting
+; them to the backend engines.  'batch' must be set to 'yes'.  Default is 100.
+;size=100
+
+; Define the maximum time to accumulate CDRs in the buffer before posting them
+; to the backend engines.  If this time limit is reached, then it will post the
+; records, regardless of the value defined for 'size'.  'batch' must be set to
+; 'yes'.  Note that time is in seconds.  Default is 300 (5 minutes).
+;time=300
+
+; The CDR engine uses the internal asterisk scheduler to determine when to post
+; records.  Posting can either occure inside the scheduler thread, or a new
+; thread can be spawned for the submission of every batch.  For small batches,
+; it might be acceptable to just use the scheduler thread, so set this to "yes".
+; For large batches, say anything over size=10, a new thread is recommended, so
+; set this to "no".  Default is "no".
+;scheduleronly=no
+
+; When shutting down asterisk, you can block until the CDRs are submitted.  If
+; you don't, then data will likely be lost.  You can always check the size of
+; the CDR batch buffer with the CLI "cdr status" command.  To enable blocking on
+; submission of CDR data during asterisk shutdown, set this to "yes".  Default
+; is "yes".
+;safeshutdown=yes
+

Propchange: uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/cdr.conf
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/cdr.conf
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/cdr_custom.conf
URL: http://svn.digium.com/view/aadk/uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/cdr_custom.conf?view=auto&rev=269
==============================================================================
--- uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/cdr_custom.conf (added)
+++ uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/cdr_custom.conf Tue Mar 27 17:18:05 2007
@@ -1,0 +1,6 @@
+;
+; Mappings for custom config file
+;
+[mappings]
+Master.csv => "${CDR(clid)}","${CDR(src)}","${CDR(dst)}","${CDR(dcontext)}","${CDR(channel)}","${CDR(dstchannel)}","${CDR(lastapp)}","${CDR(lastdata)}","${CDR(start)}","${CDR(answer)}","${CDR(end)}","${CDR(duration)}","${CDR(billsec)}","${CDR(disposition)}","${CDR(amaflags)}","${CDR(accountcode)}","${CDR(uniqueid)}","${CDR(userfield)}"
+

Propchange: uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/cdr_custom.conf
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/cdr_custom.conf
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/cdr_manager.conf
URL: http://svn.digium.com/view/aadk/uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/cdr_manager.conf?view=auto&rev=269
==============================================================================
--- uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/cdr_manager.conf (added)
+++ uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/cdr_manager.conf Tue Mar 27 17:18:05 2007
@@ -1,0 +1,6 @@
+;
+; Asterisk Call Management CDR
+;
+[general]
+enabled = no
+

Propchange: uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/cdr_manager.conf
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/cdr_manager.conf
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/codecs.conf
URL: http://svn.digium.com/view/aadk/uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/codecs.conf?view=auto&rev=269
==============================================================================
--- uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/codecs.conf (added)
+++ uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/codecs.conf Tue Mar 27 17:18:05 2007
@@ -1,0 +1,65 @@
+[speex]
+; CBR encoding quality [0..10]
+; used only when vbr = false
+quality => 3
+
+; codec complexity [0..10]
+; tradeoff between cpu/quality
+complexity => 2
+
+; perceptual enhancement [true / false]
+; improves clarity of decoded speech
+enhancement => true
+
+; voice activity detection [true / false]
+; reduces bitrate when no voice detected, used only for CBR
+; (implicit in VBR/ABR)
+vad => true
+
+; variable bit rate [true / false]
+; uses bit rate proportionate to voice complexity
+vbr => true
+
+; available bit rate [bps, 0 = off]
+; encoding quality modulated to match this target bit rate
+; not recommended with dtx or pp_vad - may cause bandwidth spikes
+abr => 0
+
+; VBR encoding quality [0-10]
+; floating-point values allowed
+vbr_quality => 4
+
+; discontinuous transmission [true / false]
+; stops transmitting completely when silence is detected
+; pp_vad is far more effective but more CPU intensive
+dtx => false
+
+; preprocessor configuration
+; these options only affect Speex v1.1.8 or newer
+
+; enable preprocessor [true / false]
+; allows dsp functionality below but incurs CPU overhead
+preprocess => false
+
+; preproc voice activity detection [true / false]
+; more advanced equivalent of DTX, based on voice frequencies
+pp_vad => false
+
+; preproc automatic gain control [true / false]
+pp_agc => false
+pp_agc_level => 8000
+
+; preproc denoiser [true / false]
+pp_denoise => false
+
+; preproc dereverb [true / false]
+pp_dereverb => false
+pp_dereverb_decay => 0.4
+pp_dereverb_level => 0.3
+
+
+[plc]
+; for all codecs which do not support native PLC
+; this determines whether to perform generic PLC
+; there is a minor performance penalty for this
+genericplc => true

Propchange: uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/codecs.conf
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/codecs.conf
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/dnsmgr.conf
URL: http://svn.digium.com/view/aadk/uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/dnsmgr.conf?view=auto&rev=269
==============================================================================
--- uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/dnsmgr.conf (added)
+++ uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/dnsmgr.conf Tue Mar 27 17:18:05 2007
@@ -1,0 +1,5 @@
+[general]
+;enable=yes		; enable creation of managed DNS lookups
+			;   default is 'no'
+;refreshinterval=1200	; refresh managed DNS lookups every <n> seconds
+			;   default is 300 (5 minutes)

Propchange: uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/dnsmgr.conf
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/dnsmgr.conf
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/dundi.conf
URL: http://svn.digium.com/view/aadk/uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/dundi.conf?view=auto&rev=269
==============================================================================
--- uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/dundi.conf (added)
+++ uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/dundi.conf Tue Mar 27 17:18:05 2007
@@ -1,0 +1,239 @@
+;
+; DUNDi configuration file
+; 
+; For more information about DUNDi, see http://www.dundi.com
+;
+;
+[general]
+;
+; The "general" section contains general parameters relating
+; to the operation of the dundi client and server.
+;
+; The first part should be your complete contact information
+; should someone else in your peer group need to contact you.
+;
+;department=Your Department
+;organization=Your Company, Inc.
+;locality=Your City
+;stateprov=ST
+;country=US
+;email=your at email.com
+;phone=+12565551212
+;
+;
+; Specify bind address and port number.  Default is
+; 4520
+;
+;bindaddr=0.0.0.0
+;port=4520
+;
+; Our entity identifier (Should generally be the MAC address of the
+; machine it's running on.  Defaults to the first eth address, but you
+; can override it here, as long as you set it to the MAC of *something*
+; you own!)
+;
+;entityid=00:07:E9:3B:76:60
+;
+; Peers shall cache our query responses for the specified time,
+; given in seconds. Default is 3600.
+;
+;cachetime=3600
+;
+; This defines the max depth in which to search the DUNDi system.
+; Note that the maximum time that we will wait for a response is
+; (2000 + 200 * ttl) ms.
+;
+ttl=32
+;
+; If we don't get ACK to our DPDISCOVER within 2000ms, and autokill is set
+; to yes, then we cancel the whole thing (that's enough time for one 
+; retransmission only).  This is used to keep things from stalling for a long
+; time for a host that is not available, but would be ill advised for bad 
+; connections.  In addition to 'yes' or 'no' you can also specify a number
+; of milliseconds.  See 'qualify' for individual peers to turn on for just
+; a specific peer.
+;
+autokill=yes
+;
+; pbx_dundi creates a rotating key called "secret", under the family
+; 'secretpath'.  The default family is dundi (resulting in 
+; the key being held at dundi/secret).
+;
+;secretpath=dundi
+;
+; The 'storehistory' option (also changeable at runtime with
+; 'dundi store history' and 'dundi no store history') will
+; cause the DUNDi engine to keep track of the last several
+; queries and the amount of time each query took to execute
+; for the purpose of tracking slow nodes.  This option is
+; off by default due to performance impacts.
+;
+;storehistory=yes
+
+[mappings]
+;
+; The "mappings" section maps DUNDi contexts
+; to contexts on the local asterisk system.  Remember
+; that numbers that are made available under the e164 
+; DUNDi context are regulated by the DUNDi General Peering 
+; Agreement (GPA) if you are a member of the DUNDi E.164
+; Peering System.
+;
+; dundi_context => local_context,weight,tech,dest[,options]]
+;
+; 'dundi_context' is the name of the context being requested
+; within the DUNDi request
+;
+; 'local_context' is the name of the context on the local system
+; in which numbers can be looked up for which responses shall be given.
+;
+; 'weight' is the weight to use for the responses provided from this
+; mapping.  The number must be >= 0 and < 60000.  Since it is totally
+; valid to receive multiple reponses to a query, responses received
+; with a lower weight are tried first.  Note that the weight has a
+; special meaning in the e164 context - see the GPA for more details.
+;
+; 'tech' is the technology to use (IAX, SIP, H323)
+;
+; 'dest' is the destination to supply for reaching that number.  The
+; following variables can be used in the destination string and will
+; be automatically substituted:
+; ${NUMBER}: The number being requested
+; ${IPADDR}: The IP address to connect to
+; ${SECRET}: The current rotating secret key to be used
+;
+; Further options may include:
+;
+; nounsolicited:  No unsolicited calls of any type permitted via this 
+;                 route
+; nocomunsolicit: No commercial unsolicited calls permitted via 
+;                 this route
+; residential:    This number is known to be a residence
+; commercial:     This number is known to be a business
+; mobile:         This number is known to be a mobile phone
+; nocomunsolicit: No commercial unsolicited calls permitted via 
+;                 this route
+; nopartial:      Do not search for partial matches
+;
+; There *must* exist an entry in mappings for DUNDi to respond
+; to any request, although it may be empty.
+;
+;e164 => dundi-e164-canonical,0,IAX2,dundi:${SECRET}@${IPADDR}/${NUMBER},nounsolicited,nocomunsolicit,nopartial
+;e164 => dundi-e164-customers,100,IAX2,dundi:${SECRET}@${IPADDR}/${NUMBER},nounsolicited,nocomunsolicit,nopartial
+;e164 => dundi-e164-via-pstn,400,IAX2,dundi:${SECRET}@${IPADDR}/${NUMBER},nounsolicited,nocomunsolicit,nopartial
+
+;digexten => default,0,IAX2,guest at lappy/${NUMBER}
+;asdf =>
+
+
+;
+;
+; The remaining sections represent the peers
+; that we fundamentally trust.  The section name
+; represents the name and optionally at a specific
+; DUNDi context if you want the trust to be established
+; for only a specific DUNDi context.
+;
+; inkey - What key they will be authenticating to us with
+;
+; outkey - What key we use to authenticate to them
+;
+; host - What their host is
+;
+; order - What search order to use.  May be 'primary', 'secondary', 
+;         'tertiary' or 'quartiary'.  In large systems, it is beneficial
+;         to only query one up-stream host in order to maximize caching
+;         value.  Adding one with primary and one with secondary gives you
+;         redundancy without sacraficing performance.
+;
+; include - Includes this peer when searching a particular context
+;           for lookup (set "all" to perform all lookups with that
+;           host.  This is also the context in which peers are permitted
+;           to precache.
+;
+; noinclude - Disincludes this peer when searching a particular context
+;             for lookup (set "all" to perform no lookups with that
+;             host.
+;
+; permit - Permits this peer to search a given DUNDi context on
+;          the local system.  Set "all" to permit this host to
+;          lookup all contexts.  This is also a context for which
+;          we will create/forward PRECACHE commands.
+;
+; deny -   Denies this peer to search a given DUNDi context on
+;          the local system.  Set "all" to deny this host to
+;          lookup all contexts.
+;
+; model - inbound, outbound, or symmetric for whether we receive 
+;         requests only, transmit requests only, or do both.
+;
+; precache - Utilize/Permit precaching with this peer (to pre
+;            cache means to provide an answer when no request
+;            was made and is used so that machines with few
+;            routes can push those routes up a to a higher level).
+;            outgoing means we send precache routes to this peer,
+;            incoming means we permit this peer to send us
+;            precache routes.  symmetric means we do both.
+;
+; Note: You cannot mix symmetric/outbound model with symmetric/inbound
+; precache, nor can you mix symmetric/inbound model with symmetric/outbound
+; precache.
+;
+;
+; The '*' peer is special and matches an unspecified entity
+;
+
+;
+; Sample Primary e164 DUNDi peer
+;
+;[00:50:8B:F3:75:BB]
+;model = symmetric
+;host = 64.215.96.114
+;inkey = digium
+;outkey = misery
+;include = e164
+;permit = e164
+;qualify = yes
+
+;
+; Sample Secondary e164 DUNDi peer
+;
+;[00:A0:C9:96:92:84]
+;model = symmetric
+;host = misery.digium.com
+;inkey = misery
+;outkey = ourkey
+;include = e164
+;permit = e164
+;qualify = yes
+;order = secondary
+
+;
+; Sample "push mode" downstream host
+;
+;[00:0C:76:96:75:28]
+;model = inbound
+;host = dynamic
+;precache = inbound
+;inkey = littleguy
+;outkey = ourkey
+;include = e164	; In this case used only for precaching
+;permit = e164      
+;qualify = yes
+
+;
+; Sample "push mode" upstream host
+;
+;[00:07:E9:3B:76:60]
+;model = outbound
+;precache = outbound
+;host = 216.207.245.34
+;register = yes
+;inkey = dhcp34
+;permit = all ; In this case used only for precaching
+;include = all 
+;qualify = yes
+;outkey=foo
+
+;[*]
+;

Propchange: uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/dundi.conf
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/dundi.conf
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/enum.conf
URL: http://svn.digium.com/view/aadk/uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/enum.conf?view=auto&rev=269
==============================================================================
--- uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/enum.conf (added)
+++ uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/enum.conf Tue Mar 27 17:18:05 2007
@@ -1,0 +1,22 @@
+;
+; ENUM Configuration for resolving phone numbers over DNS
+;
+; Sample config for Asterisk
+; This file is reloaded at "reload enum" in the CLI
+;
+[general]
+;
+; The search list for domains may be customized.  Domains are searched
+; in the order they are listed here.
+;
+search => e164.arpa
+;
+; If you'd like to use the E.164.org public ENUM registery in addition
+; to the official e164.arpa one, uncomment the following line
+;
+;search => e164.org
+;
+; As there are more H323 drivers available you have to select to which
+; drive a H323 URI will map. Default is "H323".
+;
+h323driver => H323

Propchange: uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/enum.conf
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/enum.conf
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/extconfig.conf
URL: http://svn.digium.com/view/aadk/uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/extconfig.conf?view=auto&rev=269
==============================================================================
--- uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/extconfig.conf (added)
+++ uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/extconfig.conf Tue Mar 27 17:18:05 2007
@@ -1,0 +1,51 @@
+;
+; Static and realtime external configuration
+; engine configuration
+;
+; Please read doc/README.extconfig for basic table
+; formatting information.
+;
+[settings]
+;
+; Static configuration files: 
+;
+; file.conf => driver,database[,table]
+;
+; maps a particular configuration file to the given
+; database driver, database and table (or uses the
+; name of the file as the table if not specified)
+;
+;uncomment to load queues.conf via the odbc engine.
+;
+;queues.conf => odbc,asterisk,ast_config
+;
+; The following files CANNOT be loaded from Realtime storage:
+;	asterisk.conf
+;	extconfig.conf (this file)
+;	logger.conf
+;
+; Additionally, the following files cannot be loaded from
+; Realtime storage unless the storage driver is loaded
+; early using 'preload' statements in modules.conf:
+;	manager.conf
+;	cdr.conf
+;	rtp.conf
+;
+;
+; Realtime configuration engine
+;
+; maps a particular family of realtime
+; configuration to a given database driver,
+; database and table (or uses the name of
+; the family if the table is not specified
+;
+;example => odbc,asterisk,alttable
+;iaxusers => odbc,asterisk
+;iaxpeers => odbc,asterisk
+;sipusers => odbc,asterisk
+;sippeers => odbc,asterisk
+;voicemail => odbc,asterisk
+;extensions => odbc,asterisk
+;queues => odbc,asterisk
+;queue_members => odbc,asterisk
+

Propchange: uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/extconfig.conf
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/extconfig.conf
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/extensions.ael
URL: http://svn.digium.com/view/aadk/uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/extensions.ael?view=auto&rev=269
==============================================================================
--- uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/extensions.ael (added)
+++ uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/extensions.ael Tue Mar 27 17:18:05 2007
@@ -1,0 +1,62 @@
+//
+// Example AEL config file
+//
+
+macro std-exten-ael( ext , dev ) {
+        Dial(${dev}/${ext},20);
+        switch(${DIALSTATUS}) {
+        case BUSY:
+                Voicemail(b${ext});
+                break;
+        default:
+                Voicemail(u${ext});
+        };
+        catch a {
+                VoiceMailMain(${ext});
+                return;
+        };
+};
+
+context ael-demo {
+	s => {
+		Wait(1);
+		Answer();
+		TIMEOUT(digit)=5;
+		TIMEOUT(response)=10;
+restart:
+		Background(demo-congrats);
+instructions:
+		for (x=0; ${x} < 3; x=${x} + 1) {
+			Background(demo-instruct);
+			WaitExten();
+		};
+	};
+	2 => {
+		Background(demo-moreinfo);
+		goto s|instructions;
+	};
+	3 => {
+		LANGUAGE()=fr;
+		goto s|restart;
+	};
+	500 => {
+		Playback(demo-abouttotry);
+		Dial(IAX2/guest at misery.digium.com);
+		Playback(demo-nogo);
+		goto s|instructions;
+	};
+	600 => {
+		Playback(demo-echotest);
+		Echo();
+		Playback(demo-echodone);
+		goto s|instructions;
+	};
+	_1234 => &std-exten-ael(${EXTEN}, "IAX2");
+	# => {
+		Playback(demo-thanks);
+		Hangup();
+	};
+	t => jump #;
+	i => Playback(invalid);
+};
+

Propchange: uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/extensions.ael
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/extensions.ael
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/extensions.conf
URL: http://svn.digium.com/view/aadk/uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/extensions.conf?view=auto&rev=269
==============================================================================
--- uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/extensions.conf (added)
+++ uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/extensions.conf Tue Mar 27 17:18:05 2007
@@ -1,0 +1,198 @@
+;!
+;! Automatically generated configuration file
+;! Filename: extensions.conf (/etc/asterisk/extensions.conf)
+;! Generator: Manager
+;! Creation Date: Sun Sep 10 14:04:43 2006
+;!
+
+[general]
+static = yes
+writeprotect = no
+autofallthrough = yes
+clearglobalvars = no
+priorityjumping = no
+
+[globals]
+trunk_1 = Zap/g1
+trunk_2 = IAX2/trunk_2
+
+[dundi-e164-canonical]
+
+[dundi-e164-customers]
+
+[dundi-e164-via-pstn]
+
+[dundi-e164-local]
+include => dundi-e164-canonical
+include => dundi-e164-customers
+include => dundi-e164-via-pstn
+
+[dundi-e164-switch]
+switch => DUNDi/e164
+
+[dundi-e164-lookup]
+include => dundi-e164-local
+include => dundi-e164-switch
+
+[macro-dundi-e164]
+exten => s,1,Goto(${ARG1},1)
+include => dundi-e164-lookup
+
+[macro-trunkdial]
+exten => s,1,Dial(${ARG1})
+exten => s,n,Goto(s-${DIALSTATUS},1)
+exten => s-NOANSWER,1,Hangup
+exten => s-BUSY,1,Hangup
+exten => _s-.,1,NoOp
+
+[iaxtel700]
+exten => _91700XXXXXXX,1,Dial(IAX2/${IAXINFO}@iaxtel.com/${EXTEN:1}@iaxtel)
+
+[iaxprovider]
+
+[trunkint]
+exten => _9011.,1,Macro(dundi-e164,${EXTEN:4})
+exten => _9011.,n,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
+
+[trunkld]
+exten => _91NXXNXXXXXX,1,Macro(dundi-e164,${EXTEN:1})
+exten => _91NXXNXXXXXX,n,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
+
+[trunklocal]
+exten => _9NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
+
+[trunktollfree]
+exten => _91800NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
+exten => _91888NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
+exten => _91877NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
+exten => _91866NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
+
+[international]
+ignorepat => 9
+include => longdistance
+include => trunkint
+
+[longdistance]
+ignorepat => 9
+include => local
+include => trunkld
+
+[local]
+ignorepat => 9
+include => default
+include => parkedcalls
+include => trunklocal
+include => iaxtel700
+include => trunktollfree
+include => iaxprovider
+
+[macro-stdexten]
+exten => s,1,Dial(${ARG2},20)
+exten => s,2,Goto(s-${DIALSTATUS},1)
+exten => s-NOANSWER,1,Voicemail(${ARG1},u)
+exten => s-NOANSWER,2,Goto(default,s,1)
+exten => s-BUSY,1,Voicemail(${ARG1},b)
+exten => s-BUSY,2,Goto(default,s,1)
+exten => _s-.,1,Goto(s-NOANSWER,1)
+exten => a,1,VoicemailMain(${ARG1})
+
+[macro-stdPrivacyexten]
+exten => s,1,Dial(${ARG2},20|p)
+exten => s,2,Goto(s-${DIALSTATUS},1)
+exten => s-NOANSWER,1,Voicemail(u${ARG1})
+exten => s-NOANSWER,2,Goto(default,s,1)
+exten => s-BUSY,1,Voicemail(b${ARG1})
+exten => s-BUSY,2,Goto(default,s,1)
+exten => s-DONTCALL,1,Goto(${ARG3},s,1)
+exten => s-TORTURE,1,Goto(${ARG4},s,1)
+exten => _s-.,1,Goto(s-NOANSWER,1)
+exten => a,1,VoicemailMain(${ARG1})
+
+[macro-page]
+exten => s,1,ChanIsAvail(${ARG1}|js)
+exten => s,n,GoToIf([${AVAILSTATUS} = "1"]?autoanswer:fail)
+exten => s,n(autoanswer),Set(_ALERT_INFO="RA")
+exten => s,n,SIPAddHeader(Call-Info: Answer-After=0)
+exten => s,n,NoOp()
+exten => s,n,Dial(${ARG1}||)
+exten => s,n(fail),Hangup
+
+[demo]
+exten => s,1,Wait(1)
+exten => s,n,Answer
+exten => s,n,Set(TIMEOUT(digit)=5)
+exten => s,n,Set(TIMEOUT(response)=10)
+exten => s,n(restart),BackGround(demo-congrats)
+exten => s,n(instruct),BackGround(demo-instruct)
+exten => s,n,WaitExten
+exten => 2,1,BackGround(demo-moreinfo)
+exten => 2,n,Goto(s,instruct)
+exten => 3,1,Set(LANGUAGE()=fr)
+exten => 3,n,Goto(s,restart)
+exten => 1000,1,Goto(default,s,1)
+exten => 1234,1,Playback(transfer,skip)
+exten => 1234,n,Macro(stdexten,1234,${CONSOLE})
+exten => 1235,1,Voicemail(u1234)
+exten => 1236,1,Dial(Console/dsp)
+exten => 1236,n,Voicemail(u1234)
+exten => #,1,Playback(demo-thanks)
+exten => #,n,Hangup
+exten => t,1,Goto(#,1)
+exten => i,1,Playback(invalid)
+exten => 500,1,Playback(demo-abouttotry)
+exten => 500,n,Dial(IAX2/guest at misery.digium.com/s at default)
+exten => 500,n,Playback(demo-nogo)
+exten => 500,n,Goto(s,6)
+exten => 600,1,Playback(demo-echotest)
+exten => 600,n,Echo
+exten => 600,n,Playback(demo-echodone)
+exten => 600,n,Goto(s,6)
+exten => 76245,1,Macro(page,SIP/Grandstream1)
+exten => _7XXX,1,Macro(page,SIP/${EXTEN})
+exten => 7999,1,Set(TIMEOUT(absolute)=60)
+exten => 7999,2,Page(Local/Grandstream1 at page&Local/Xlite1 at page&Local/1234 at page/n|d)
+exten => 8500,1,VoicemailMain
+exten => 8500,n,Goto(s,6)
+
+[page]
+exten => _X.,1,Macro(page,SIP/${EXTEN})
+
+[default]
+exten => s,1,Ringing
+exten => s,n,Wait(1)
+exten => s,n,Answer
+exten => s,n,Wait(1)
+exten => s,n,Background(thank-you-for-calling)
+exten => s,n,Background(if-u-know-ext-dial)
+exten => s,n,Background(otherwise)
+exten => s,n,Background(to-reach-operator)
+exten => s,n,Background(pls-hold-while-try)
+exten => s,n,WaitExten(6)
+exten => 6000,1,Goto(s,1)
+exten => 6050,1,VoiceMailMain
+exten => 6060,1,MeetMe(${EXTEN},dM,,)
+exten => 6090,1,Queue(${EXTEN})
+
+[numberplan-local]
+ignorepat => 9
+include => default
+comment => Local Calling
+exten = _9NXXXXXX,1,Macro(trunkdial,${trunk_1}/${EXTEN:1})
+
+[numberplan-longdistance]
+ignorepat => 9
+include => numberplan-local
+comment = Long Distance
+exten = _91NXXNXXXXXX,1,Macro(trunkdial,${trunk_1}/${EXTEN:1})
+
+[numberplan-international]
+ignorepat => 9
+include => numberplan-longdistance
+comment = International
+exten = _9011.,1,Macro(trunkdial,${trunk_1}/${EXTEN:1})
+
+[numberplan-iaxtel]
+ignorepat => 9
+include => default
+comment => IAXtel VoIP
+exten = _91700NXXXXXX,1,Macro(trunkdial,${trunk_2}/${EXTEN:1})

Propchange: uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/extensions.conf
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/extensions.conf
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/features.conf
URL: http://svn.digium.com/view/aadk/uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/features.conf?view=auto&rev=269
==============================================================================
--- uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/features.conf (added)
+++ uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/features.conf Tue Mar 27 17:18:05 2007
@@ -1,0 +1,33 @@
+;
+; Sample Parking configuration
+;
+
+[general]
+parkext => 700			; What ext. to dial to park
+parkpos => 701-720		; What extensions to park calls on
+context => parkedcalls		; Which context parked calls are in
+;parkingtime => 45		; Number of seconds a call can be parked for 
+				; (default is 45 seconds)
+;transferdigittimeout => 3	; Number of seconds to wait between digits when transfering a call
+;courtesytone = beep		; Sound file to play to the parked caller 
+				; when someone dials a parked call
+				; or the Touch Monitor is activated/deactivated.
+;xfersound = beep		; to indicate an attended transfer is complete
+;xferfailsound = beeperr	; to indicate a failed transfer
+;adsipark = yes			; if you want ADSI parking announcements
+;findslot => next		; Continue to the 'next' parking space. Defaults to 'first' available
+;pickupexten = *8		; Configure the pickup extension.  Default is *8
+;featuredigittimeout = 500	; Max time (ms) between digits for 
+				; feature activation.  Default is 500
+
+
+[featuremap]
+;blindxfer => #1		; Blind transfer
+;disconnect => *0		; Disconnect
+;automon => *1			; One Touch Record (a.k.a. Touch Monitor)
+;atxfer => *2			; Attended transfer
+
+[applicationmap]
+;testfeature => #9,callee,Playback,tt-monkeys	;Play tt-monkeys to 
+						;callee if #9 was pressed
+

Propchange: uClinux/branches/upstreamsync/uClinux-dist/defaults/etc/asterisk/features.conf

[... 2628 lines stripped ...]


More information about the aadk-commits mailing list