Guest User

Untitled

a guest
Aug 14th, 2019
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.26 KB | None | 0 0
  1. # cat /etc/asterisk/dongle.conf
  2. [general]
  3.  
  4. interval=15 ; Number of seconds between trying to connect to devices
  5.  
  6. ;------------------------------ JITTER BUFFER CONFIGURATION --------------------------
  7. ;jbenable = yes ; Enables the use of a jitterbuffer on the receiving side of a
  8. ; Dongle channel. Defaults to "no". An enabled jitterbuffer will
  9. ; be used only if the sending side can create and the receiving
  10. ; side can not accept jitter. The Dongle channel can't accept jitter,
  11. ; thus an enabled jitterbuffer on the receive Dongle side will always
  12. ; be used if the sending side can create jitter.
  13.  
  14. ;jbforce = no ; Forces the use of a jitterbuffer on the receive side of a Dongle
  15. ; channel. Defaults to "no".
  16.  
  17. ;jbmaxsize = 200 ; Max length of the jitterbuffer in milliseconds.
  18.  
  19. ;jbresyncthreshold = 1000 ; Jump in the frame timestamps over which the jitterbuffer is
  20. ; resynchronized. Useful to improve the quality of the voice, with
  21. ; big jumps in/broken timestamps, usually sent from exotic devices
  22. ; and programs. Defaults to 1000.
  23.  
  24. ;jbimpl = fixed ; Jitterbuffer implementation, used on the receiving side of a Dongle
  25. ; channel. Two implementations are currently available - "fixed"
  26. ; (with size always equals to jbmaxsize) and "adaptive" (with
  27. ; variable size, actually the new jb of IAX2). Defaults to fixed.
  28.  
  29. ;jbtargetextra = 40 ; This option only affects the jb when 'jbimpl = adaptive' is set.
  30. ; The option represents the number of milliseconds by which the new jitter buffer
  31. ; will pad its size. the default is 40, so without modification, the new
  32. ; jitter buffer will set its size to the jitter value plus 40 milliseconds.
  33. ; increasing this value may help if your network normally has low jitter,
  34. ; but occasionally has spikes.
  35.  
  36. ;jblog = no ; Enables jitterbuffer frame logging. Defaults to "no".
  37. ;-----------------------------------------------------------------------------------
  38.  
  39. [defaults]
  40. context=from-gsm
  41. group=0 ; calling group
  42. rxgain=0 ; increase the incoming volume; may be negative
  43. txgain=0 ; increase the outgoint volume; may be negative
  44. autodeletesms=yes ; auto delete incoming sms
  45. resetdongle=yes ; reset dongle during initialization with ATZ command
  46. u2diag=-1 ; set ^U2DIAG parameter on device (0 = disable everything except modem function) ; -1 not use ^U2DIAG command
  47. usecallingpres=yes ; use the caller ID presentation or not
  48. callingpres=allowed_passed_screen ; set caller ID presentation by default use default network settings
  49. disablesms=no ; disable of SMS reading from device when received
  50. ; chan_dongle has currently a bug with SMS reception. When a SMS gets in during a
  51. ; call chan_dongle might crash. Enable this option to disable sms reception.
  52. ; default = no
  53.  
  54. language=ua ; set channel default language
  55. smsaspdu=yes ; if 'yes' send SMS in PDU mode, feature implementation incomplete and we strongly recommend say 'yes'
  56. mindtmfgap=45 ; minimal interval from end of previews DTMF from begining of next in ms
  57. mindtmfduration=40 ; minimal DTMF tone duration in ms
  58. mindtmfinterval=200 ; minimal interval between ends of DTMF of same digits in ms
  59.  
  60. callwaiting=auto ; if 'yes' allow incoming calls waiting; by default use network settings
  61. ; if 'no' waiting calls just ignored
  62. disable=no ; OBSOLETED by initstate: if 'yes' no load this device and just ignore this section
  63.  
  64. initstate=start ; specified initial state of device, must be one of 'stop' 'start' 'remote'
  65. ; 'remove' same as 'disable=yes'
  66.  
  67. ;exten= ; exten for start incoming calls, only in case of Subscriber Number not available!, also set to CALLERID(ndid)
  68.  
  69. dtmf=relax ; control of incoming DTMF detection, possible values:
  70. ; off - off DTMF tones detection, voice data passed to asterisk unaltered
  71. ; use this value for gateways or if not use DTMF for AVR or inside dialplan
  72. ; inband - do DTMF tones detection
  73. ; relax - like inband but with relaxdtmf option
  74. ; default is 'relax' by compatibility reason
  75. u2diag=0
  76. ; dongle required settings
  77. [life]
  78. imei=xxxxxxxxxxxxxx
  79. ;[life2]
  80. ;imei=xxxxxxxxxxxxxx
  81. [ks]
  82. imei=xxxxxxxxxxxxxx
  83. [vodafone]
  84. imei=xxxxxxxxxxxxxx
Add Comment
Please, Sign In to add comment