Annotation of wikisrc/asterisk.mdwn, revision 1.1

1.1     ! mspo        1: Asterisk allows you to utilize 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 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 into _sip.conf_ file following: 
        !            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 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 basic dialing plan and add this dialing plan into '_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 dialing plan reload extensions: 
        !            58:     
        !            59:     #asterisk -r
        !            60:     CLI> extensions reload 
        !            61:     
        !            62: 
        !            63: See also [astrisk](http://www.asterisk.org) official page. 
        !            64: 

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