Linksys
From Pbxnsip Wiki
Contents |
SPA941/SPA942
The SPA942 and SPA941 are setup the same.
If you want to provision the phone without using option 66, you should set the settings "Profile Rule" to something like "http://192.168.1.2/provisioning/spa$MA.cfg" (where 192.168.1.2 is a PBX IP address).
You might want to download the administrative guide for both models from http://www.sipura.com/Documents/SPA941AdminGuide.pdf
1. Set the time zone on the Region tab to your time zone. For all regions in the United States set the Daylight Saving Time Rule to start=3/8/7/2:0:0;end=11/1/7/2:0:0;save=1. The rule means that at 2:00 AM on the Sunday on or after March 8th start daylight savings time. Daylight savings time will end on the Sunday on or after November 1st at 2:00 AM. Daylight savings time will add one hour to the time.
2. On each extension set the following.
A. Set the Proxy to the IP address of your PBX server. B. Set the User ID to the extension number you defined in PBXnSIP. C. Set the password to the password you used on the extension definition in PBXnSIP.
3. On the Phone tab set the following.
A. Set the station name to what you want to show on the display. For example the station name followed by the extension number. B. Set the Voice mail to *97 assuming you leave PBXnSIP set to its default voice mail code of *97. C. Set the extension number for each line key as desired. Leave shared call appearance to Private. D. Set the short name to whatever you want to appear by the line key. For example 555-3252.
4. On the System tab set the Primary NTP Server to your DNS server assuming it provides a time server. Otherwise set it to 192.5.41.209 or 192.5.41.41. These are public time servers in the USA. There may be a better choice in your country.
A good dial plan for the SPA942 is shown below. Change the 801 to your area code. Put this on all extensions.
(*xx|*xxxxx|,[3469]11S0|<:1801>[2-9]xxxxxx|<:1>[2-9]xxxxxxxxxS0|1[2-9]xxxxxxxxxS0|011xx.|xx.|[1-8]xx)
This dial plan will let you dial extension directly, two digit feature codes not intercepted by the phone, speed dial number, and two digit feature codes followed by an extension number. You don't have to dial 9 for an outside line. This is desirable because the missed call list on the phone will just have the phone number and if you dial from the missed call list it won't add the 9.
There is another proposal for a dial plan that is suitable for recording group annoucements (see http://forum.pbxnsip.com/index.php?showtopic=185):
(*xx|*xxxxx*x|,[3469]11S0|<:1604>[2-9]xxxxxx|<:1>[2-9]xxxxxxxxxS0|1[2-9]xxxxxxxxxS0|011xx.|xx.|[1-8]xx)
If you dial *96, the phones default for an intercom call, the phone will ask you for the Pag e Target. If you dial the extension it won't do an auto answer page at this time. It will just call the extension like you dialed it directly. If you dial *96xxx where the extension is xxx and the intercom feature is set to *96 in PBXnSIP then it will do an auto answer page to the indicated extension.
If you have trouble with DTMF signaling change the DTMF Tx Method to InBand+INFO. PBXnSIP tends to want the signaling Out of Band and phone trees tend to want the signaling In Band. Some VoIP providers say they want Out of Band but the really want In Band.
Most of the functions on the phone work correctly like transfer and blind transfer. The phone handles the user interface with its display to get the required information then the phone sends a specific SIP message to the PBX to do the operation.
PAP2
This device programs almost identically to the SPA941/SPA942. The only difference is the DTMF Tx Method doesn't have an InBand+INFO choice. If you have trouble with DTMF signaling you will have to choose what you want to work and set the DTMF Tx Method to what ever mode works best. You may get phone trees working and signaling to the PBX may not work.
If you want to connect a door phone to the PAP2 you have to program the port for Calling Party Control. CPC is in the Control Timer Values section of the Reagional page. Make CPC Delay and Duration non zero. Then when the calling party hangs up it will interrupt the power to the speaker phone for the Duration number of seconds after the Delay time. This will cause the speaker phone to hangup. When you dial the extension it will auto answer and you can talk to the person at the door.
SPA-3102 FXS/FXO
Linksys is providing this as a FXO/FXS gateway, and apparently designed it to operate primarily between the FXO and FXS ports – rather than as a PSTN->IPPBX gateway. It takes some configuration (and Linksys doesn’t provide much support) to make this all happen – but it’s possible. It’s really the Sipura guys that are supporting this – but they are pretty tough to talk to (and wrote all this stuff a couple years ago).
The best resources are actually still on the Sipura website (http://www.sipura.com), though you have to go to Linksys to get firmware updates.
Firmware
To get the firmware installed, you must be connected to the LAN port on the 3102. Trying to update the firmware via the WAN port fails w/o throwing an error. Upgrading the firmware is recommended since there are a number of pretty critical fixes and UI mods.
Once firmware is upgraded (I went from 3.4.x to 3.6.x), the initial setup is not intuitive. If you are using the 3102 behind another router (instead of using the built-in router), plug the 3102 into the rest of your network using the WAN port. Make sure to enable web access via WAN (which isn’t really “WAN” anymore) in order to get to the web interface. This is disabled by default. The LAN port will be empty, and the IP address should be set to a different subnet from the WAN port.
Configuration
Configuring the device uses mostly the PSTN and Line1 screens. Sipura actually provides a very thorough documentation of all of this – if you can find it. Their support page for the 3000 family devices includes http://www.sipura.com/Documents/SipuraSPAUserGuidev2.0.9.pdf - which goes through 30+ pages of overview before getting down to what we really want; the configuration. Section 4 does a nice job diagramming their gateway and providing configuration steps for every combination you could want (PSTN->IP; IP->PSTN; IP->IP…).
For basic setup, you’ll need to modify a couple of things. First, you’ll need (unique) accounts where the PSTN and Line functions can register. These are accounts – not trunks. I ended up thinking of them as extensions more than anything else. Use one account for the PSTN registration section and the other for the Line registration section. These will also have different SIP ports – I used 5060 for Line1 and 5061 for PSTN. Finally, you’ll need to get the traffic from the PSTN line to Line1 (for PSTN->IP). You do this by enabling the “PSTN to VOIP Gateway” (on the PSTN screen towards the bottom), setting the PSTN Caller Default DP (Dial Plan) to 2 (or anything other than 1, since we’re going to use that to go from IP->PSTN, and creating a dial plan entry that looks like (S0< :123@192.168.xxx.xxx:5060 >)
On that dial plan, note that the parentheses, spaces, case and port are all critical. The port is the SIP port you chose for Line1, the IP address is the address for your pbxnsip box, and the rest is standard SIP.
For IP->PSTN calling, enable the “VoIP to PSTN Gateway” section and choose a Dial Plan that has the (xx.) standard.
The only other thing on the PSTN page is playing with the FXO Timing Settings to get something that you like between pickup delay, ring delay…. The default settings work enough to get you started. The “times” don’t seem to represent seconds or rings.
On the Line1 page, add the account for registration and make the changes to port usage.
To get an outbound line through the gateway, you can dial the extension of the registered PSTN account (or figure out a way to modify the pbxnsip dial plan to do that for you automatically). There’s probably a better way – maybe through providing a registration for a trunk.
This probably isn’t the best way – and certainly not the only way, but if you just have one PSTN line to connect to your internal VoIP system, this is a fairly inexpensive way to go. Anything more than one line – go with something else rather than buying multiple SPAs....
