Diff for /wikisrc/asterisk.mdwn between versions 1.1 and 1.2

version 1.1, 2011/11/21 03:22:58 version 1.2, 2012/02/05 07:14:36
Line 1 Line 1
 Asterisk allows you to utilize NetBSD machine for telephone conversations.  Asterisk allows you to utilize NetBSD machine for telephone conversations. 
   
 To install asterisk do:  To install asterisk do: 
          
     # cd /usr/pkgsrc/comms/asterisk      # cd /usr/pkgsrc/comms/asterisk
     # make install      # make install
          
   
 To run asterisk during machine start add into _rc.local_ file following:  To run asterisk during machine start add into _rc.local_ file following: 
          
     /usr/pkg/sbin/asterisk      /usr/pkg/sbin/asterisk
          
   
 Configuration files of asterisk located at:  Configuration files of asterisk located at: 
          
     /usr/pkg/etc/asterisk      /usr/pkg/etc/asterisk
          
   
 List of devices which work well with Asterisk under NetBSD:  List of devices which work well with Asterisk under NetBSD: 
   
   * Asotel 2FXO2FXS    * Asotel 2FXO2FXS 
   * Asotel 6FXO    * Asotel 6FXO 
   * D-Link DPH-80S (sip)    * D-Link DPH-80S (sip) 
   * D-Link DPH-120S    * D-Link DPH-120S 
   * D-Link DVG-2004S    * D-Link DVG-2004S 
   * D-Link DVG-3004S    * D-Link DVG-3004S 
   * D-Link DVG-2032S    * D-Link DVG-2032S 
   * Sipura SPA901    * Sipura SPA901 
   * Sipura SPA3102    * Sipura SPA3102 
   
 List of devices which do not work well:  List of devices which do not work well: 
   
   * AddPac AP1100F 8FXO    * AddPac AP1100F 8FXO 
   * AudioCodes 8FXO    * AudioCodes 8FXO 
   * D-Link DVG-2032S 32FXO    * D-Link DVG-2032S 32FXO 
   * Sipura SPA400    * Sipura SPA400 
   
 To register each FXO/FXS device in asterisk you should add into _sip.conf_ file following:  To register each FXO/FXS device in asterisk you should add into _sip.conf_ file following: 
          
     [1001]      [1001]
     type=friend      type=friend
     host=dynamic      host=dynamic
     insecure=yes      insecure=yes
          
   
 Where [1001] is the number to call this device. Each device may have the appropriate number. After adding devices into configuration file do reload configuration:  Where [1001] is the number to call this device. Each device may have the appropriate number. After adding devices into configuration file do reload configuration: 
          
     #asterisk -r      #asterisk -r
     CLI> sip reload      CLI> sip reload
          
   
 To enable dialing of registered devices you should create basic dialing plan and add this dialing plan into '_extentions.conf_ file. For an example like this:  To enable dialing of registered devices you should create basic dialing plan and add this dialing plan into '_extentions.conf_ file. For an example like this: 
          
     exten => _1001, 1, Dial(SIP/$(EXTEN)@1001, 30, S(600))      exten => _1001, 1, Dial(SIP/$(EXTEN)@1001, 30, S(600))
          
   
 After changing dialing plan reload extensions:  After changing dialing plan reload extensions: 
          
     #asterisk -r      #asterisk -r
     CLI> extensions reload      CLI> extensions reload 
          
   
 See also [astrisk](http://www.asterisk.org) official page.  See also [astrisk](http://www.asterisk.org) official page. 
   

Removed from v.1.1  
changed lines
  Added in v.1.2


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb