Changes between Initial Version and Version 1 of asterisk

Oct 6, 2010, 6:06:36 AM (9 years ago)



  • asterisk

    v1 v1  
     3= Asterisk DECT channel driver = 
     5The Asterisk DECT channel driver implements the IWU of a DECT FP. See [wiki:"Build instructions"] for build instructions. 
     7== Channel driver configuration == 
     9The DECT channel driver's configuration is read from ''/etc/asterisk/dect.conf''. An example configuration file is 
     10included in the asterisk source and can be installed by running 
     13make samples 
     16=== Global DECT options === 
     18The global configuration options are contained in the section called ''[general]''. These options are 
     20 * ''cluster = NAME'' -- cluster name to bind to 
     21 * ''context = NAME'' -- dialplan context for incoming calls 
     22 * ''language = COUNTRY-CODE'' -- default language for newly registered PPs 
     23 * ''regcontext = NAME'' -- dialplan context in which to create an extension for newly registered PPs 
     24 * ''regexten_base = NUMBER'' -- base number to use for allocating new extensions 
     25 * ''pin = NUMBER'' -- PIN code (up to 8 digits) to use for registering PPs 
     27The context option specifies the dialplan context in which incoming calls will be 
     28placed. When registering a PP, an extension is automatically allocated for the PP. 
     29The extension used will be the first unused number starting at the number specified 
     30as regexten_base. This extension is registered in the dialplan context specified as 
     31regcontext and can be used to route outgoing calls to the PP. Additionally a name 
     32of the format ''DECT-PT-<extension>'' is allocated for each PP. 
     34=== Jitter buffer options === 
     36An asterisk jitter buffer can be configured using the following options: 
     38 * ''jbenable = yes/no'' -- enable jitter buffer, defaults to no 
     39 * ''jbmaxsize = NUMBER'' -- maximum buffer size in milliseconds 
     40 * ''jbimpl = fixed/adaptive'' -- use fixed or adaptive jitter buffer implementation 
     41 * ''jblog = yes/no'' -- enable or disable jitter buffer frame logging, defaults to no 
     43When enabled, the jitter buffer will be used when the sending channel can create jitter. 
     44Refer to the asterisk documentation for more details about the jitter buffer. 
     46== CLI commands == 
     48The DECT channel driver supports the following CLI commands: 
     50 * ''dect set debug on/off'' -- enable/disable libdect debugging 
     51 * ''dect access-rights enable/disable'' -- enable/disable access rights requests 
     52 * ''dect access-rights terminate NAME'' -- terminate access rights for the given PP 
     53 * ''dect show portables'' -- show a list of all registered PPs 
     54 * ''dect show portable NAME'' -- show information about a specific PP 
     56To pair a PP, access rights requests must be enabled. They are disabled again automatically after 120 seconds. 
     58== Dialplan == 
     60=== Incoming calls (from PP) === 
     62There are two options how to construct the dialplan. The line can be either 
     63answered manually using the Answer() command, in which case an asterisk 
     64generated dialtone will be played to the phone while waiting for a valid 
     65extension, or the dect channel driver can instruct the phone to generate a 
     66dialtone itself without answering a line and wait until a valid extension 
     67is dialed. For manually picking up the line, use the commands below in your 
     68dialplan. For channel controlled pickup, just use a regular dialplan without 
     69the Answer() command. 
     71Manually answered: 
     74exten => s,1,Answer                    ; Answer the line 
     75exten => s,n,Set(TIMEOUT(digit)=5)     ; Set Digit Timeout to 5 seconds 
     76exten => s,n,Set(TIMEOUT(response)=10) ; Set Response Timeout to 10 seconds 
     77exten => s,n,WaitExten(,d)             ; Wait for an extension to be dialed. 
     80=== Outgoing calls (to PP) === 
     82Calls to a PP are directed to the DECT channel driver similar as with other 
     83channel drivers. Ring patterns can be configured in the dialplan by setting 
     84the environment variable ''RING_PATTERN'' to a value from 0-7 or ''silent''. 
     86Example setting different ring patterns for the automatically allocated 
     87extensions ''600'' and ''601'' and using the regcontext ''dect_register'' 
     88for routing outgoing calls: 
     91exten => 600,1,Set(RING_PATTERN=3) 
     92exten => 601,1,Set(RING_PATTERN=silent) 
     94include => dect_register 
     97Example manually invoking the asterisk stdexten macro for routing outgoing 
     101include => stdexten 
     103exten => 600,1,Gosub(stdexten(600,DECT/DECT-PT-600)) 
     104exten => 601,1,Gosub(stdexten(601,DECT/DECT-PT-601))