File:  [NetBSD Developer Wiki] / wikisrc / Attic / asterisk.mdwn
Revision 1.3: download - view: text, annotated - select for diffs
Sun May 26 12:54:31 2013 UTC (7 years, 1 month ago) by wiki
Branches: MAIN
CVS tags: HEAD
web commit by mbalmer: typos and wording fixes

    1: Asterisk allows you to utilize a NetBSD machine for telephone conversations. 
    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: 
   14: Configuration files of asterisk are located at: 
   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: 
   38: To register each FXO/FXS device in asterisk you should add it into the _sip.conf_ file as follows: 
   39:     
   40:     [1001]
   41:     type=friend
   42:     host=dynamic
   43:     insecure=yes
   44:     
   45: 
   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: 
   47:     
   48:     #asterisk -r
   49:     CLI> sip reload
   50:     
   51: 
   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: 
   53:     
   54:     exten => _1001, 1, Dial(SIP/$(EXTEN)@1001, 30, S(600))
   55:     
   56: 
   57: After changing the dialing plan reload the extensions: 
   58:     
   59:     #asterisk -r
   60:     CLI> extensions reload 
   61:     
   62: 
   63: See also the [asterisk](http://www.asterisk.org) official page. 
   64: 

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