diff options
author | Sean Bright <sean.bright@gmail.com> | 2017-12-22 09:23:22 -0500 |
---|---|---|
committer | Sean Bright <sean.bright@gmail.com> | 2017-12-22 09:23:22 -0500 |
commit | fd0ca1c3f9b972a52d48a82b492fd6bac772dc78 (patch) | |
tree | 42d2a87726d196f4db1c68489007520a4c597062 /configs | |
parent | 9ef97b5a9191e51f1edc66bb17728fd9fe552c35 (diff) |
Remove as much trailing whitespace as possible.
Change-Id: I873c1c6d00f447269bd841494459efccdd2c19c0
Diffstat (limited to 'configs')
44 files changed, 68 insertions, 108 deletions
diff --git a/configs/basic-pbx/indications.conf b/configs/basic-pbx/indications.conf index 115cddd0b..ccf249d6b 100644 --- a/configs/basic-pbx/indications.conf +++ b/configs/basic-pbx/indications.conf @@ -16,4 +16,3 @@ stutter = !350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/1 ; Additional country configurations can be found in the Asterisk source ; at /configs/samples/indications.conf.sample - diff --git a/configs/basic-pbx/pjsip.conf b/configs/basic-pbx/pjsip.conf index b20e0c623..826d5c5ec 100644 --- a/configs/basic-pbx/pjsip.conf +++ b/configs/basic-pbx/pjsip.conf @@ -326,4 +326,3 @@ username = DB589C0875AB [1108](aor-single-reg) mailboxes = 1108@example - diff --git a/configs/samples/alsa.conf.sample b/configs/samples/alsa.conf.sample index 23aac4e10..3e617104d 100644 --- a/configs/samples/alsa.conf.sample +++ b/configs/samples/alsa.conf.sample @@ -75,4 +75,3 @@ extension=s ; jblog = no ; Enables jitterbuffer frame logging. Defaults to "no". ; ---------------------------------------------------------------------------------- - diff --git a/configs/samples/ari.conf.sample b/configs/samples/ari.conf.sample index 1294814e2..8729b1e09 100644 --- a/configs/samples/ari.conf.sample +++ b/configs/samples/ari.conf.sample @@ -33,4 +33,3 @@ enabled = yes ; When set to no, ARI support is disabled. ; When set to plain, the password is in plaintext. ; ;password_format = plain - diff --git a/configs/samples/asterisk.adsi b/configs/samples/asterisk.adsi index a58952589..904b33aa1 100644 --- a/configs/samples/asterisk.adsi +++ b/configs/samples/asterisk.adsi @@ -156,4 +156,3 @@ SUB "stableCall" IS SHOWDISPLAY "callended" AT 2 ENDIF ENDSUB - diff --git a/configs/samples/asterisk.conf.sample b/configs/samples/asterisk.conf.sample index 8379b6ef0..5f33abbfe 100644 --- a/configs/samples/asterisk.conf.sample +++ b/configs/samples/asterisk.conf.sample @@ -74,7 +74,7 @@ astsbindir => /usr/sbin ;rungroup = asterisk ; The group to run as. ;lightbackground = yes ; If your terminal is set for a light-colored ; background. -;forceblackbackground = yes ; Force the background of the terminal to be +;forceblackbackground = yes ; Force the background of the terminal to be ; black, in order for terminal colors to show ; up properly. ;defaultlanguage = en ; Default language diff --git a/configs/samples/calendar.conf.sample b/configs/samples/calendar.conf.sample index d87b3b2c4..08cbd3aa5 100644 --- a/configs/samples/calendar.conf.sample +++ b/configs/samples/calendar.conf.sample @@ -43,7 +43,7 @@ ;setvar = CALLERID(name)=${CALENDAR_EVENT(summary)} ;[calendar2] -; Note: Support for Exchange Server 2003 +; Note: Support for Exchange Server 2003 ; ;type = exchange ; type of calendar--currently supported: ical, caldav, exchange, or ews ;url = https://example.com/exchange/jdoe ; URL to MS Exchange OWA for user (usually includes exchange/user) diff --git a/configs/samples/cdr_adaptive_odbc.conf.sample b/configs/samples/cdr_adaptive_odbc.conf.sample index 58a596649..1585b8764 100644 --- a/configs/samples/cdr_adaptive_odbc.conf.sample +++ b/configs/samples/cdr_adaptive_odbc.conf.sample @@ -60,4 +60,3 @@ ; ; Add quoted indentifiers for table and columns names. ;quoted_identifiers=" ; Default to null - diff --git a/configs/samples/cdr_beanstalkd.conf.sample b/configs/samples/cdr_beanstalkd.conf.sample index 5f45d5d5d..4f8d53148 100644 --- a/configs/samples/cdr_beanstalkd.conf.sample +++ b/configs/samples/cdr_beanstalkd.conf.sample @@ -18,9 +18,3 @@ ; platform with multiple Asterisk servers, that are used for different functions. For example, ; none billable CDR records can be inserted with a priority of 99, while billable ones be ; inserted with a priority of 1 - - - - - - diff --git a/configs/samples/cdr_mysql.conf.sample b/configs/samples/cdr_mysql.conf.sample index e15a8ed93..a1f7d38e8 100644 --- a/configs/samples/cdr_mysql.conf.sample +++ b/configs/samples/cdr_mysql.conf.sample @@ -4,17 +4,17 @@ ; setting hostname=localhost ; ; port and sock are both optional parameters. If hostname is specified -; and is not "localhost" (you can use address 127.0.0.1 instead), then -; cdr_mysql will attempt to connect to the port specified or use the -; default port. If hostname is not specified or if hostname is -; "localhost", then cdr_mysql will attempt to connect to the socket file +; and is not "localhost" (you can use address 127.0.0.1 instead), then +; cdr_mysql will attempt to connect to the port specified or use the +; default port. If hostname is not specified or if hostname is +; "localhost", then cdr_mysql will attempt to connect to the socket file ; specified by sock or otherwise use the default socket file. ; ;[global] ;hostname=database.host.name ;dbname=asteriskcdrdb ;table=cdr -;password=password +;password=password ;user=asteriskcdruser ;port=3306 ;sock=/tmp/mysql.sock @@ -60,4 +60,3 @@ alias start => calldate ;alias accountcode => <a_field_not_named_accountcode> ;alias userfield => <a_field_not_named_userfield> ;alias uniqueid => <a_field_not_named_uniqueid> - diff --git a/configs/samples/cdr_tds.conf.sample b/configs/samples/cdr_tds.conf.sample index 309599e5f..f3a9d7cca 100644 --- a/configs/samples/cdr_tds.conf.sample +++ b/configs/samples/cdr_tds.conf.sample @@ -75,4 +75,3 @@ ; Default value: false ;hrtime=false - diff --git a/configs/samples/cel.conf.sample b/configs/samples/cel.conf.sample index d92e2745d..755fcd3ed 100644 --- a/configs/samples/cel.conf.sample +++ b/configs/samples/cel.conf.sample @@ -103,7 +103,7 @@ events=APP_START,CHAN_START,CHAN_END,ANSWER,HANGUP,BRIDGE_ENTER,BRIDGE_EXIT ;show_user_defined=yes ; -; RADIUS CEL Backend +; RADIUS CEL Backend ; [radius] ; diff --git a/configs/samples/chan_dahdi.conf.sample b/configs/samples/chan_dahdi.conf.sample index 69f751279..3c5e18df0 100644 --- a/configs/samples/chan_dahdi.conf.sample +++ b/configs/samples/chan_dahdi.conf.sample @@ -1490,12 +1490,12 @@ pickupgroup=1 ; MFC-R2 signaling has lots of variants from country to country and even sometimes ; minor variants inside the same country. The only mandatory parameters here are: ; mfcr2_variant, mfcr2_max_ani and mfcr2_max_dnis. -; IT IS RECOMMENDED that you leave the default values (leaving it commented) for the -; other parameters unless you have problems or you have been instructed to change some -; parameter. OpenR2 library uses the mfcr2_variant parameter to try to determine the -; best defaults for your country, also refer to the OpenR2 package directory -; doc/asterisk/ where you can find sample configurations for some countries. If you -; want to contribute your configs for a particular country send them to the e-mail +; IT IS RECOMMENDED that you leave the default values (leaving it commented) for the +; other parameters unless you have problems or you have been instructed to change some +; parameter. OpenR2 library uses the mfcr2_variant parameter to try to determine the +; best defaults for your country, also refer to the OpenR2 package directory +; doc/asterisk/ where you can find sample configurations for some countries. If you +; want to contribute your configs for a particular country send them to the e-mail ; of the primary OpenR2 developer that you can find in the AUTHORS file of the OpenR2 package ; MFC/R2 variant. This depends on the OpenR2 supported variants diff --git a/configs/samples/chan_mobile.conf.sample b/configs/samples/chan_mobile.conf.sample index c9c4d2d85..381433731 100644 --- a/configs/samples/chan_mobile.conf.sample +++ b/configs/samples/chan_mobile.conf.sample @@ -4,7 +4,7 @@ ; [general] -interval=30 ; Number of seconds between trying to connect to devices. +interval=30 ; Number of seconds between trying to connect to devices. ; The following is a list of adapters we use. ; id must be unique and address is the bdaddr of the adapter from hciconfig. @@ -24,7 +24,7 @@ id=dlink address=00:80:C8:35:52:78 ; The following is a list of the devices we deal with. -; Every device listed below will be available for calls in and out of Asterisk. +; Every device listed below will be available for calls in and out of Asterisk. ; Each device needs an adapter=xxxx entry which determines which bluetooth adapter is used. ; Use the CLI command 'mobile search' to discover devices. ; Use the CLI command 'mobile show devices' to see device status. diff --git a/configs/samples/codecs.conf.sample b/configs/samples/codecs.conf.sample index 9b7af3e36..8457fb5ac 100644 --- a/configs/samples/codecs.conf.sample +++ b/configs/samples/codecs.conf.sample @@ -207,4 +207,3 @@ packetloss_percentage=10; ;max_bandwidth=wide ; Maximum encoded bandwidth set to wide band (0-8000 Hz ; ; audio bandwidth at 16Khz sample rate) ;cbr=yes ; Force a constant bit rate (i.e don't use what's on the SDP) - diff --git a/configs/samples/dbsep.conf.sample b/configs/samples/dbsep.conf.sample index 9cfa23740..7a68850be 100644 --- a/configs/samples/dbsep.conf.sample +++ b/configs/samples/dbsep.conf.sample @@ -32,4 +32,3 @@ dbpass=password # For most databases, this is fine. Set to 'no' for Sybase or MS SQL Server. backslash_is_escape=yes - diff --git a/configs/samples/dsp.conf.sample b/configs/samples/dsp.conf.sample index 55951582e..f13ca2f96 100644 --- a/configs/samples/dsp.conf.sample +++ b/configs/samples/dsp.conf.sample @@ -40,4 +40,3 @@ ;successive number hits/misses of 12.75ms before a digit/nodigit is considered valid ;dtmf_hits_to_begin=2 ;dtmf_misses_to_end=3 - diff --git a/configs/samples/extconfig.conf.sample b/configs/samples/extconfig.conf.sample index 0f347a6ab..9e13cacda 100644 --- a/configs/samples/extconfig.conf.sample +++ b/configs/samples/extconfig.conf.sample @@ -109,4 +109,3 @@ ; note that using dynamic realtime extensions is not recommended anymore as a ; best practice; instead, you should consider writing a static dialplan with ; proper data abstraction via a tool like func_odbc. - diff --git a/configs/samples/extensions.lua.sample b/configs/samples/extensions.lua.sample index 1b4428c7c..e845f0dc9 100644 --- a/configs/samples/extensions.lua.sample +++ b/configs/samples/extensions.lua.sample @@ -238,4 +238,3 @@ hints = { ["1234"] = "SIP/1234"; }; } - diff --git a/configs/samples/extensions_minivm.conf.sample b/configs/samples/extensions_minivm.conf.sample index 7bd1df1d2..1bd4731ce 100644 --- a/configs/samples/extensions_minivm.conf.sample +++ b/configs/samples/extensions_minivm.conf.sample @@ -154,4 +154,3 @@ exten => sendvmcleanup,n(done),wait(0.5) exten => sendvmcleanup,n,hangup exten => h,1,gotoif($[${MINIVM_RECORD_STATUS} = SUCCESS]?sendvmcleanup,1)) - diff --git a/configs/samples/festival.conf.sample b/configs/samples/festival.conf.sample index e91821719..27b43d52e 100644 --- a/configs/samples/festival.conf.sample +++ b/configs/samples/festival.conf.sample @@ -32,4 +32,3 @@ ;festivalcommand=(tts_textasterisk "%s" 'file)(quit)\n ; ; - diff --git a/configs/samples/followme.conf.sample b/configs/samples/followme.conf.sample index 7e1d40ff4..487554d81 100644 --- a/configs/samples/followme.conf.sample +++ b/configs/samples/followme.conf.sample @@ -95,5 +95,3 @@ status_prompt=>followme/status sorry_prompt=>followme/sorry ; The 'I'm sorry, but we were unable to locate your party' message prompt. Default ; is the global default. - - diff --git a/configs/samples/func_odbc.conf.sample b/configs/samples/func_odbc.conf.sample index f4d90b799..ca970e17d 100644 --- a/configs/samples/func_odbc.conf.sample +++ b/configs/samples/func_odbc.conf.sample @@ -107,4 +107,3 @@ synopsis=Check if a specified callerid is contained in the ex-gf database dsn=mysql1 readsql=SELECT location FROM presence WHERE id='${SQL_ESC(${ARG1})}' writesql=UPDATE presence SET location='${SQL_ESC(${VAL1})}' WHERE id='${SQL_ESC(${ARG1})}' - diff --git a/configs/samples/iaxprov.conf.sample b/configs/samples/iaxprov.conf.sample index 668809c4d..8b7d8e092 100644 --- a/configs/samples/iaxprov.conf.sample +++ b/configs/samples/iaxprov.conf.sample @@ -78,4 +78,3 @@ flags=register,heartbeat ; USE A '*' PROVISIONING ENTRY UNLESS YOU KNOW WHAT YOU'RE DOING. ; ;template=default - diff --git a/configs/samples/manager.conf.sample b/configs/samples/manager.conf.sample index 0eb64c8ae..989441a61 100644 --- a/configs/samples/manager.conf.sample +++ b/configs/samples/manager.conf.sample @@ -85,7 +85,7 @@ bindaddr = 0.0.0.0 ;permit=209.16.236.73/255.255.255.0 ;acl=named_acl_example ; use a named ACL from acl.conf ; -; +; ;setvar=PBXACCOUNT=edvina ; The setvar option defines channel variables that will be set when this account ; originates a call. You can define multiple setvar= commands for one manager @@ -154,4 +154,3 @@ bindaddr = 0.0.0.0 ; ;read = system,call,log,verbose,agent,user,config,dtmf,reporting,cdr,dialplan ;write = system,call,agent,user,config,command,reporting,originate,message - diff --git a/configs/samples/mgcp.conf.sample b/configs/samples/mgcp.conf.sample index f4bc0dbf2..107a30d92 100644 --- a/configs/samples/mgcp.conf.sample +++ b/configs/samples/mgcp.conf.sample @@ -13,7 +13,7 @@ ; --------------------- DIGIT TIMEOUTS ---------------------------- firstdigittimeout = 30000 ; default 16000 = 16s -gendigittimeout = 10000 ; default 8000 = 8s +gendigittimeout = 10000 ; default 8000 = 8s matchdigittimeout = 5000 ; defaults 3000 = 3s ; ----------------------------- JITTER BUFFER CONFIGURATION -------------------------- @@ -59,27 +59,27 @@ matchdigittimeout = 5000 ; defaults 3000 = 3s ;; The MGCP channel supports the following service codes: ;; # - Transfer -;; *67 - Calling Number Delivery Blocking -;; *70 - Cancel Call Waiting -;; *72 - Call Forwarding Activation -;; *73 - Call Forwarding Deactivation -;; *78 - Do Not Disturb Activation -;; *79 - Do Not Disturb Deactivation +;; *67 - Calling Number Delivery Blocking +;; *70 - Cancel Call Waiting +;; *72 - Call Forwarding Activation +;; *73 - Call Forwarding Deactivation +;; *78 - Do Not Disturb Activation +;; *79 - Do Not Disturb Deactivation ;; *8 - Call pick-up ; -; known to work with Swissvoice IP10s -;[192.168.1.20] -;context=local -;host=192.168.1.20 -;callerid = "John Doe" <123> +; known to work with Swissvoice IP10s +;[192.168.1.20] +;context=local +;host=192.168.1.20 +;callerid = "John Doe" <123> ;callgroup=0 ; in the range from 0 to 63 ;pickupgroup=0 ; in the range from 0 to 63 -;nat=no -;threewaycalling=yes +;nat=no +;threewaycalling=yes ;transfer=yes ; transfer requires threewaycalling=yes. Use FLASH to transfer ;callwaiting=yes ; this might be a cause of trouble for ip10s -;cancallforward=yes -;line => aaln/1 +;cancallforward=yes +;line => aaln/1 ; ;[dph100] @@ -102,7 +102,7 @@ matchdigittimeout = 5000 ; defaults 3000 = 3s ; 'documentation', or 'omit' ;context = local ;host = 192.168.1.20 -;wcardep = aaln/* ; enables wildcard endpoint and sets it to 'aaln/*' +;wcardep = aaln/* ; enables wildcard endpoint and sets it to 'aaln/*' ; another common format is '*' ;callerid = "Duane Cox" <123> ; now lets setup line 1 using per endpoint configuration... ;callwaiting = no diff --git a/configs/samples/ooh323.conf.sample b/configs/samples/ooh323.conf.sample index aeeb02fab..563ec9fa8 100644 --- a/configs/samples/ooh323.conf.sample +++ b/configs/samples/ooh323.conf.sample @@ -201,8 +201,3 @@ allow=ulaw e164=12345 rtptimeout=60 dtmfmode=rfc2833 - - - - - diff --git a/configs/samples/oss.conf.sample b/configs/samples/oss.conf.sample index ee169209f..b0b3831ab 100644 --- a/configs/samples/oss.conf.sample +++ b/configs/samples/oss.conf.sample @@ -150,4 +150,3 @@ ; to add video support, uncomment this and remember to install ; the keypad and keypad_font files to the right place ; [general](+,my_video,skin2) - diff --git a/configs/samples/phoneprov.conf.sample b/configs/samples/phoneprov.conf.sample index 7d14013b2..df3058fe3 100644 --- a/configs/samples/phoneprov.conf.sample +++ b/configs/samples/phoneprov.conf.sample @@ -140,4 +140,3 @@ setvar => CUSTOM_CONFIG=/var/lib/asterisk/phoneprov/configs/custom.cfg ; Custom ;snom 300, 320, 360, 370, 820, 821, 870 support snom-${MAC}.xml => snom-mac.xml - diff --git a/configs/samples/queuerules.conf.sample b/configs/samples/queuerules.conf.sample index 16648f98c..b131f84c4 100644 --- a/configs/samples/queuerules.conf.sample +++ b/configs/samples/queuerules.conf.sample @@ -45,4 +45,3 @@ ; penaltychange => 60,10,5 ; 60 seconds into the call increase the QUEUE_MAX_PENALTY to 10 and increase the QUEUE_MIN_PENALTY to 5 ; penaltychange => 75,,7 ; 75 seconds into the call keep the QUEUE_MAX_PENALTY the same and increase the QUEUE_MIN_PENALTY to 7 ; penaltychange => 90,,,20 ; 90 seconds into the call leave QUEUE_MAX_PENALTY and QUEUE_MIN_PENALTY untouched and set QUEUE_RAISE_PENALTY to 20 - diff --git a/configs/samples/queues.conf.sample b/configs/samples/queues.conf.sample index 226a3a9ef..79b656b75 100644 --- a/configs/samples/queues.conf.sample +++ b/configs/samples/queues.conf.sample @@ -97,7 +97,7 @@ monitor-type = MixMonitor ; fewestcalls - ring the one with fewest completed calls from this queue ; random - ring random interface ; rrmemory - round robin with memory, remember where we left off last ring pass -; rrordered - same as rrmemory, except the queue member order from config file +; rrordered - same as rrmemory, except the queue member order from config file ; is preserved ; linear - rings interfaces in the order specified in this configuration file. ; If you use dynamic members, the members will be rung in the order in diff --git a/configs/samples/res_config_mysql.conf.sample b/configs/samples/res_config_mysql.conf.sample index ab8ebf095..7d9c78e67 100644 --- a/configs/samples/res_config_mysql.conf.sample +++ b/configs/samples/res_config_mysql.conf.sample @@ -5,7 +5,7 @@ ; If dbhost is commented out or the string "localhost", a connection ; to the local host is assumed and dbsock is used instead of TCP/IP ; to connect to the server. If no dbcharset is specified, the connection -; is made with no extra charset configurations sent to MySQL, leaving all +; is made with no extra charset configurations sent to MySQL, leaving all ; configured MySQL charset options and defaults untouched. ; ; Multiple database contexts may be configured, with the caveat that diff --git a/configs/samples/res_fax.conf.sample b/configs/samples/res_fax.conf.sample index 022a23aad..95e6be811 100644 --- a/configs/samples/res_fax.conf.sample +++ b/configs/samples/res_fax.conf.sample @@ -1,4 +1,4 @@ -; Generic Fax Application configuration +; Generic Fax Application configuration [general] ; Maximum Transmission Rate diff --git a/configs/samples/res_ldap.conf.sample b/configs/samples/res_ldap.conf.sample index ac345cdd4..c8d1286c3 100644 --- a/configs/samples/res_ldap.conf.sample +++ b/configs/samples/res_ldap.conf.sample @@ -4,7 +4,7 @@ ; Realtime configuration ; ---------------------- -; In order to use this module, you start +; In order to use this module, you start ; in extconfig.conf with a configuration like this: ; ; sippeers = ldap,"dc=myDomain,dc=myDomainExt",sip @@ -19,13 +19,13 @@ ; TLS support ; ----------- ; Note that you can configure an ldaps: url here to get TLS support. -; Detailed configuration of certificates and supported CAs is done in your +; Detailed configuration of certificates and supported CAs is done in your ; ldap.conf file for OpenLDAP clients on your system. ; This requires that you have OpenLDAP libraries compiled with TLS support ; ********************************************************************************* ; NOTE: res_ldap.conf should be chmod 600 because it contains the plain-text LDAP -; password to an account with WRITE access to the asterisk configuration. +; password to an account with WRITE access to the asterisk configuration. ; ********************************************************************************* [_general] @@ -196,4 +196,3 @@ regcontext = AstAccountRegistrationContext regexten = AstAccountRegistrationExten CanCallForward = AstAccountCanCallForward additionalFilter=(objectClass=AstAccount) - diff --git a/configs/samples/res_pgsql.conf.sample b/configs/samples/res_pgsql.conf.sample index cc7442fd0..015d68c13 100644 --- a/configs/samples/res_pgsql.conf.sample +++ b/configs/samples/res_pgsql.conf.sample @@ -18,7 +18,7 @@ dbpass=password ; actual socket is constructed as a combination of dbsock and dbport. For ; example, the values of '/tmp' and '5432', respectively, will specify a socket ; file of '/tmp/.s.PGSQL.5432'. -; +; ;dbsock=/tmp ; ; requirements - At startup, each realtime family will make requirements diff --git a/configs/samples/res_snmp.conf.sample b/configs/samples/res_snmp.conf.sample index 7f3734910..c017c0ec5 100644 --- a/configs/samples/res_snmp.conf.sample +++ b/configs/samples/res_snmp.conf.sample @@ -10,7 +10,7 @@ ; If you use the subagent model, you need to enable agentx in snmpd.conf ; Note that you can only run one Asterisk on the system in this case. ; -; See https://wiki.asterisk.org/wiki/display/AST/Simple+Network+Management+Protocol+(SNMP)+Support +; See https://wiki.asterisk.org/wiki/display/AST/Simple+Network+Management+Protocol+(SNMP)+Support ; to get more information about ; snmp support in Asterisk diff --git a/configs/samples/resolver_unbound.conf.sample b/configs/samples/resolver_unbound.conf.sample index 97361525e..c1b96c3aa 100644 --- a/configs/samples/resolver_unbound.conf.sample +++ b/configs/samples/resolver_unbound.conf.sample @@ -21,4 +21,3 @@ ; ; debug is output. ;ta_file = /etc/asterisk/dnssec_keys ; Full path to a trusted anchors key file. These keys are ; ; used to verify DNSSEC signed results. - diff --git a/configs/samples/say.conf.sample b/configs/samples/say.conf.sample index 6285dbe1e..de35ee4a6 100644 --- a/configs/samples/say.conf.sample +++ b/configs/samples/say.conf.sample @@ -271,7 +271,7 @@ mode=old ; method for playing numbers and dates _[n]um:1XX => digits/hundred, num:${SAY:1} _[n]um:[2-9]00 => num:${SAY:0:1}, digits/hundred _[n]um:[2-9]XX => num:${SAY:0:1}, digits/hundred, num:${SAY:1} - + _[n]um:1000 => digits/thousand _[n]um:1XXX => digits/thousand, num:${SAY:1} _[n]um:[2-9]000 => num:${SAY:0:1}, digits/thousand @@ -280,7 +280,7 @@ mode=old ; method for playing numbers and dates _[n]um:XXXXX => num:${SAY:0:2}, digits/thousand, num:${SAY:2} _[n]um:XXX000 => num:${SAY:0:3}, digits/thousand _[n]um:XXXXXX => num:${SAY:0:3}, digits/thousand, num:${SAY:3} - + _[n]um:1000000 => num:${SAY:0:1}, digits/million _[n]um:1XXXXXX => num:${SAY:0:1}, digits/million, num:${SAY:1} _[n]um:[2-9]000000 => num:${SAY:0:1}, digits/million @@ -289,11 +289,11 @@ mode=old ; method for playing numbers and dates _[n]um:XXXXXXXX => num:${SAY:0:2}, digits/million, num:${SAY:2} _[n]um:XXX000000 => num:${SAY:0:3}, digits/million _[n]um:XXXXXXXXX => num:${SAY:0:3}, digits/million, num:${SAY:3} - - _datetime::. => date:AdBY 'digits/at' H 'hours' M 'perc':${SAY} + + _datetime::. => date:AdBY 'digits/at' H 'hours' M 'perc':${SAY} _date::. => date:AdBY:${SAY} _time::. => date:H 'hours' M 'perc':${SAY} - + _pho[n]e:XXXX => num:${SAY:0:2}, num:${SAY:2:2} _pho[n]e:0[1-9]XXXXXXXX => num:${SAY:0:1}, num:${SAY:1:1}, num:${SAY:2:2}, num:${SAY:4:2}, num:${SAY:6:2}, num:${SAY:8:2} _pho[n]e:. => digit:${SAY} diff --git a/configs/samples/sip.conf.sample b/configs/samples/sip.conf.sample index ace509759..7971b6494 100644 --- a/configs/samples/sip.conf.sample +++ b/configs/samples/sip.conf.sample @@ -115,7 +115,7 @@ ; ** Old configuration options ** ; The "call-limit" configuation option is considered old is replaced -; by new functionality. To enable callcounters, you use the new +; by new functionality. To enable callcounters, you use the new ; "callcounter" setting (for extension states in queue and subscriptions) ; You are encouraged to use the dialplan groupcount functionality ; to enforce call limits instead of using this channel-specific method. @@ -150,7 +150,7 @@ allowoverlap=no ; Disable overlap dialing support. (Default is y ; Set this to your host name or domain name ;domainsasrealm=no ; Use domains list as realms ; You can serve multiple Realms specifying several - ; 'domain=...' directives (see below). + ; 'domain=...' directives (see below). ; In this case Realm will be based on request 'From'/'To' header ; and should match one of domain names. ; Otherwise default 'realm=...' will be used. @@ -201,8 +201,8 @@ udpbindaddr=0.0.0.0 ; IP address to bind UDP listen socket to (0.0.0 ; makes the assumption that the endpoint supports all known SIP methods. ; If you know that your SIP endpoint does not provide support for a specific ; method, then you may provide a comma-separated list of methods that your -; endpoint does not implement in the disallowed_methods option. Note that -; if your endpoint is truthful with its Allow header, then there is no need +; endpoint does not implement in the disallowed_methods option. Note that +; if your endpoint is truthful with its Allow header, then there is no need ; to set this option. This option may be set in the general section or may ; be set per endpoint. If this option is set both in the general section and ; in a peer section, then the peer setting completely overrides the general @@ -230,7 +230,7 @@ tcpbindaddr=0.0.0.0 ; IP address for TCP server to bind to (0.0.0.0 ; Optionally add a port number, 192.168.1.1:5063 (default is port 5061) ; Remember that the IP address must match the common name (hostname) in the ; certificate, so you don't want to bind a TLS socket to multiple IP addresses. - ; For details how to construct a certificate for SIP see + ; For details how to construct a certificate for SIP see ; http://tools.ietf.org/html/draft-ietf-sip-domain-certs ;tcpauthtimeout = 30 ; tcpauthtimeout specifies the maximum number @@ -385,14 +385,14 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls ; but the remote party's domain will be anonymized. The way legacy ; behaves may violate RFC-3325, but it follows historic behavior. ; This option is set to 'legacy' by default -;prematuremedia=no ; Some ISDN links send empty media frames before - ; the call is in ringing or progress state. The SIP +;prematuremedia=no ; Some ISDN links send empty media frames before + ; the call is in ringing or progress state. The SIP ; channel will then send 183 indicating early media ; which will be empty - thus users get no ring signal. ; Setting this to "yes" will stop any media before we have ; call progress (meaning the SIP channel will not send 183 Session ; Progress for early media). Default is "yes". Also make sure that - ; the SIP peer is configured with progressinband=never. + ; the SIP peer is configured with progressinband=never. ; ; In order for "noanswer" applications to work, you need to run ; the progress() application in the priority before the app. @@ -904,10 +904,10 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls ; externaddr = 12.34.56.78 ; use this address. ; externaddr = 12.34.56.78:9900 ; use this address and port. ; externaddr = mynat.my.org:12600 ; Public address of my nat box. -; externtcpport = 9900 ; The externally mapped tcp port, when Asterisk is behind a static NAT or PAT. -; ; externtcpport will default to the externaddr or externhost port if either one is set. +; externtcpport = 9900 ; The externally mapped tcp port, when Asterisk is behind a static NAT or PAT. +; ; externtcpport will default to the externaddr or externhost port if either one is set. ; externtlsport = 12600 ; The externally mapped tls port, when Asterisk is behind a static NAT or PAT. -; ; externtlsport port will default to the RFC designated port of 5061. +; ; externtlsport port will default to the RFC designated port of 5061. ; ; b. "externhost = hostname[:port]" is similar to "externaddr" except ; that the hostname is looked up every "externrefresh" seconds @@ -987,7 +987,7 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls ; can not be set per-user or per-peer. ; ; Note that this does not change the listen address for RTP, it only changes the -; advertised address in the SDP. The Asterisk RTP engine will still listen on +; advertised address in the SDP. The Asterisk RTP engine will still listen on ; the standard IP address. ; ; media_address = 172.16.42.1 @@ -1031,7 +1031,7 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls ; It only controls Asterisk generating reINVITEs for the specific ; purpose of setting up a direct media path. If a reINVITE is ; needed to switch a media stream to inactive (when placed on - ; hold) or to T.38, it will still be done, regardless of this + ; hold) or to T.38, it will still be done, regardless of this ; setting. Note that direct T.38 is not supported. ;directmedia=nonat ; An additional option is to allow media path redirection @@ -1058,11 +1058,11 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls ; callers INVITE. This will also fail if directmedia is enabled when ; the device is actually behind NAT. -;directmediadeny=0.0.0.0/0 ; Use directmediapermit and directmediadeny to restrict +;directmediadeny=0.0.0.0/0 ; Use directmediapermit and directmediadeny to restrict ;directmediapermit=172.16.0.0/16; which peers should be able to pass directmedia to each other ; (There is no default setting, this is just an example) ; Use this if some of your phones are on IP addresses that - ; can not reach each other directly. This way you can force + ; can not reach each other directly. This way you can force ; RTP to always flow through asterisk in such cases. ;directmediaacl=acl_example ; Use named ACLs defined in acl.conf @@ -1247,10 +1247,10 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls ; matches rather than the IP address. Since it is also a peer, a friend entity can ; be called as long as its IP is known to Asterisk. In the case of host=dynamic, ; this means it is necessary for the entity to register before Asterisk can call it. -; +; ; Use remotesecret for outbound authentication, and secret for authenticating ; inbound requests. For historical reasons, if no remotesecret is supplied for an -; outbound registration or call, the secret will be used. +; outbound registration or call, the secret will be used. ; ; For device names, we recommend using only a-z, numerics (0-9) and underscore ; diff --git a/configs/samples/skinny.conf.sample b/configs/samples/skinny.conf.sample index 2bf06fbc8..9ee602e95 100644 --- a/configs/samples/skinny.conf.sample +++ b/configs/samples/skinny.conf.sample @@ -205,4 +205,3 @@ keepalive=120 ;speeddial => 112@hints,Bob Peterson ; When a context is specified, the speeddial watches a dialplan hint. ;addon => 7914 ;addon => 7914 - diff --git a/configs/samples/sla.conf.sample b/configs/samples/sla.conf.sample index b5e1ef614..1f5a56e7b 100644 --- a/configs/samples/sla.conf.sample +++ b/configs/samples/sla.conf.sample @@ -36,7 +36,7 @@ ; NOTE: You can not just put any type of channel here. ; DAHDI channels can be directly used. IP trunks ; require some indirect configuration which is - ; described in + ; described in ; https://wiki.asterisk.org/wiki/display/AST/SLA+Trunk+Configuration ;autocontext=line1 ; This supports automatic generation of the dialplan entries @@ -148,4 +148,3 @@ ;[station5](station) ;device=SIP/station5 ; -------------------------------------- - diff --git a/configs/samples/users.conf.sample b/configs/samples/users.conf.sample index 50b80a1c5..52f02b5ba 100644 --- a/configs/samples/users.conf.sample +++ b/configs/samples/users.conf.sample @@ -111,4 +111,3 @@ pickupgroup = 1 ;LINEKEYS = 1 ;linenumber = 1 ;cid_number = 6000 - diff --git a/configs/samples/voicemail.conf.sample b/configs/samples/voicemail.conf.sample index 84e83a344..c90f8513c 100644 --- a/configs/samples/voicemail.conf.sample +++ b/configs/samples/voicemail.conf.sample @@ -245,7 +245,7 @@ pagerdateformat=%A, %B %d, %Y at %r ; overridden in the per-mailbox settings, unless listed otherwise. ; ; tz=central ; Timezone from zonemessages below. Irrelevant if envelope=no. -; locale=de_DE.UTF-8 ; set the locale for generation of the date/time strings (make +; locale=de_DE.UTF-8 ; set the locale for generation of the date/time strings (make ; sure the locales are installed in your operating system; e.g ; on Debian Linux you can use "dpkg-reconfigure locales"). ; If you use UTF-8 locales, make sure to set the "charset" option @@ -259,8 +259,8 @@ pagerdateformat=%A, %B %d, %Y at %r ; Useful if Windows users want wav49, but Linux users want gsm. ; [per-mailbox only] ; saycid=yes ; Say the caller id information before the message. If not described, - ; or set to no, it will be in the envelope. When enabled, if a recorded file - ; with the same name as the caller id exists in + ; or set to no, it will be in the envelope. When enabled, if a recorded file + ; with the same name as the caller id exists in ; <astspooldir>/recordings/callerids, then that file will be played as a name ; rather than saying each digit as a phone number. ; cidinternalcontexts=intern ; Internal Context for Name Playback instead of diff --git a/configs/samples/xmpp.conf.sample b/configs/samples/xmpp.conf.sample index e3a4be142..4bd9a9275 100644 --- a/configs/samples/xmpp.conf.sample +++ b/configs/samples/xmpp.conf.sample @@ -62,4 +62,3 @@ ; "default" will be used. ;forceoldssl=no ; Force the use of old-style SSL. ;keepalive= - |