Annotation of wikisrc/asterisk.mdwn, revision 1.3

1.3     ! wiki        1: Asterisk allows you to utilize a NetBSD machine for telephone conversations. 
1.2       schmonz     2: 
                      3: To install asterisk do: 
                      4:     
                      5:     # cd /usr/pkgsrc/comms/asterisk
                      6:     # make install
                      7:     
                      8: 
                      9: To run asterisk during machine start add into _rc.local_ file following: 
                     10:     
                     11:     /usr/pkg/sbin/asterisk
                     12:     
                     13: 
1.3     ! wiki       14: Configuration files of asterisk are located at: 
1.2       schmonz    15:     
                     16:     /usr/pkg/etc/asterisk
                     17:     
                     18: 
                     19: List of devices which work well with Asterisk under NetBSD: 
                     20: 
                     21:   * Asotel 2FXO2FXS 
                     22:   * Asotel 6FXO 
                     23:   * D-Link DPH-80S (sip) 
                     24:   * D-Link DPH-120S 
                     25:   * D-Link DVG-2004S 
                     26:   * D-Link DVG-3004S 
                     27:   * D-Link DVG-2032S 
                     28:   * Sipura SPA901 
                     29:   * Sipura SPA3102 
                     30: 
                     31: List of devices which do not work well: 
                     32: 
                     33:   * AddPac AP1100F 8FXO 
                     34:   * AudioCodes 8FXO 
                     35:   * D-Link DVG-2032S 32FXO 
                     36:   * Sipura SPA400 
                     37: 
1.3     ! wiki       38: To register each FXO/FXS device in asterisk you should add it into the _sip.conf_ file as follows: 
1.2       schmonz    39:     
                     40:     [1001]
                     41:     type=friend
                     42:     host=dynamic
                     43:     insecure=yes
                     44:     
                     45: 
1.3     ! wiki       46: Where [1001] is the number to call this device. Each device may have the appropriate number. After adding devices into the configuration file do reload configuration: 
1.2       schmonz    47:     
                     48:     #asterisk -r
                     49:     CLI> sip reload
                     50:     
                     51: 
1.3     ! wiki       52: To enable dialing of registered devices you should create a basic dialing plan and add this dialing plan into the '_extentions.conf_ file. For an example like this: 
1.2       schmonz    53:     
                     54:     exten => _1001, 1, Dial(SIP/$(EXTEN)@1001, 30, S(600))
                     55:     
                     56: 
1.3     ! wiki       57: After changing the dialing plan reload the extensions: 
1.2       schmonz    58:     
                     59:     #asterisk -r
                     60:     CLI> extensions reload 
                     61:     
                     62: 
1.3     ! wiki       63: See also the [asterisk](http://www.asterisk.org) official page. 
1.2       schmonz    64: 

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