====== Linksys/Sipura SPA-2100 ATA Connection Notes ====== ===== More Info ===== http://voxilla.com/2003/12/24/using-a-linksyssipura-spa-with-asterisk/ http://voxilla.com/2003/12/06/using-a-linksyssipura-spa-with-voicepulse-connect/ http://michigantelephone.wordpress.com/2007/11/16/linksys-and-sipura-adapter-users-check-your-rtp-packet-size-and-newtork-jitter-level/ https://portal.vitelity.net/support/pap2a.php https://portal.vitelity.net/support/pap2b.php ===== Where Did It Come From? ===== :!: If your SPA2100 came pre-programmed from a VoIP provider, you may need to take extra care and may run into certain limitations. We have even heard that sometimes line 1 is not usable... When trying to gain admin access to a SPA2100, connect your PC to the LAN interface and set it to DHCP mode. Once you get assigned an IP address via DHCP, try accessing the unit with a web browser pointed to '.1' within the IP address range to which you were assigned. This can save you a lot of troubleshooting. When programming the SPA2100, first disconnect the WAN interface. This will keep it from being provisioned automatically via the Internet and save you a lot of time troubleshooting! Once you default the unit, you can then (probably) turn off the auto-provisioning which will (hopefully) leave you in control of the unit. To turn off auto-provisioning from the web interface, choose: **Admin Login -> Voice -> Advanced -> Provisioning** Then reconnect the WAN interface after programming the unit. ===== Connections ===== When connecting the SPA-2100, use the WAN interface to register to an Asterisk server or VoIP provider. The unit will apparently not register via the LAN interface. ===== Factory Reset ===== :!: Note that this will not necessarily reset certain settings programmed permanently into your unit by the original vendor. Default the SPA-2100 to factory defaults using a standard telephone plugged into port 1. Dial ****73738# then: 1# to confirm. * The WAN interface defaults to DHCP, which is usually what you want. * The LAN interface defaults to 192.168.0.1 where you can access the unit's web management interface. * The NAT and DHCP server functions default to on. ===== Web Browser Configuration ===== ==== SIP ==== * RTP Packet Size * 0.020 ==== Provisioning ==== * Disable (probably) ==== Regional ==== * Interdigit Short Timer * set to 10 to fix too-short dial tone * Time Zone * your time zone * Daylight Saving Time Rule * In AZ, USA, we don't observe DST so I deleted the rule * DTMF Playback Length * Set to .5 for better in-call touch tone response ===== Line1 ===== Line enable = yes Nat = no SIP Port and EXT SIP Port = 5060 Proxy = ip of your asterisk Outgoing Proxy = ip of your asterisk Use Outbound Proxy = yes Register = yes User ID = Your extention number, e.g. 203 (whatever you setup on asterisk) Password = the password you set on asterisk for this extention DTMF Tx Method = INFO Hook Flash Tx Method = INFO Dial Plan = (*x.|*xx*x.|x.) It may be better to match exactly as wildcards cause a delay in processing This dial plan allows 7 and 11 digit dialing only: (xxxxxxx|xxxxxxxxxxx) This dial plan allows for faster dialing in most cases: ([2-9]xxxxxxS0|1xxxxxxxxxxS0|*xx*|x.) The default plan is: (*xx|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.) ===== Line 2 ===== * Like line 1 but different extension or even different server ===== Asterisk sip.conf Example ===== [5000] type=friend username=your_user_name secret=your_password mailbox=5000 host=dynamic qualify=3000 context=internal callerid="Your Name" <5000> canreinvite=no pickupgroup=1 callgroup=1 disallow=all allow=alaw allow=ulaw ===== Provisioning ===== :!: First off, we don't have a stock SPA-2100 to test with, so these provisioning instructions are incomplete. Our unit came from a VoIP provider that preconfigured certain things. We had very limited (unpredictable) auto-provisioning results from our unit. We'd love to 'unlock' it from the original VoIP provider's pre-provisioning, but haven't been able to so far. These instructions assume you have a TFTP server and a DHCP server with option 66 support already installed on your LAN. First, disconnect the WAN interface cable and default the unit as above. Prepare the configuration files and place them in the TFTP root directory. Some PBX systems (SARK/SAIL) do this for you. This section assumes at least a file called spa.cfg. You will have one per each SPA-2100. Using the web management interface, make these settings: Router WAN Setup DNS Server Order set to DHCP (best, or...) enter your local DNS server Voice Provisioning Provision Enable yes Profile Rule /spa$MA.cfg ==== Sample Config File ==== Named /tftpboot/spa000e08ef3d11.cfg in this case. Your name will differ. 192.168.2.1 192.168.2.1 5000 5000 my_name (*x.|*xx*x.|x.) GMT 3600 ===== Backup/Restore Tool ===== http://www.opensky.ca/~jdhildeb/software/spaconf/