From Pbxnsip Wiki
The Nokia E-series comes with a built-in SIP client that can be used with the WiFi access which is supported by the phones. The SIP client works even if the application is not running in the background, which differentiates it from other phones (e.g. the Apple iPhone) where SIP clients loose the registration when the application is not running in the foreground.
While it is possible to run the phones as a real alternative to cordless phones (DECT or analog) in the enterprise, the setup is not so easy. It seems that also Nokia wants to have VoIP and SIP on the feature list, but it afraid of carriers who would rather have WiFi turned off completely. This page should help you setting the SIP client up with the pbxnsip PBX.
Nokia currently offers E51, E60, E61, E61i, E65, E66, E70, E71, E90, N93i. Although we could not test them all, we assumethat they all essentially behave the same.
The Nokia E71 programs just like the N95. Nokia even copied the bugs from the N95 to the E71.
The important bug are:
1. If you make a mistake in a profile like putting in the wrong IP address don't try to correct it. The correction will look fine on the screen but the profile won't work. Delete the profile and start over.
2. If you copy a profile you will get an error saying the realm must have the same user. The user will be the same when you look at the screen. What is wrong is the password doesn't get copied even though it looks like one was entered. Reenter the password and the copied profile will work.
The Nokia N95 is similar to the Nokia E61 in SIP capabilities and programming. The Nokia N95 will support call hold and call transfer. They call it auto transfer and ask for an address but it you type in an extension number it will transfer the call to that extension.
It is essential that you get IP connectivity first. Before you try to register, you should be able to browse to an Internet web page. Then you can be sure that the IP connectivity is not the problem. Try going to www.google.com or some other site to make sure the WLAN access point is working.
Go to Tools | Settings | Connection | SIP Settings.
- Profile Name: PBX (or whatever name you want)
- Service Profile: IETF (the default)
- Access Point: (your WLAN access point, the phone will show you a list of defined access points)
- Public user name: (your SIP account name like 101@<your PBXnSIP public IP address>
- Use Compression: No
- Registration: Always on (this will cause the phone to register as soon as you are in range of any WLAN access point that has a SIP profile so you can make and receive calls)
- Use Security: No
- Proxy Server Address: none
- Registrar Server: <your PBXnSIP public IP address>
- Realm: <your PBXnSIP public IP address>
- User name: (your SIP account name like 101)
- Password: (the password you used for this account in PBXnSIP)
- Transport Type: UDP (Auto also works)
- Port: 5060
Go to Tools | Settings | Connection | Internet Tel. Settings.
Create a new profile and call it PBXnSIP
Choose PBX as the Preferred profile.
Every time you are in a new access point
Go to Tools | Internet Tel.
Choose the new access point.
This will create a new profile called PBX (access point name). Unfortunately the phone will set all the profiles registration to "When needed." You will have to go into each profile and change it back to "Always on." You won't be able to change the current profile to "Always on" until you leave that access point because you can't edit an active profile. This negative feature was reported to Nokia and they were aware of it but they couldn't explain why Finland did it this way or when it might change.
Don't try to use create profile from the default or another profile. This can lead to profiles that look perfect and register but you won't be able to make calls. If you change the public IP for PBXnSIP do not attempt to modify the existing profiles with the new IP address. This will result in profiles that will register but you won't be able to make or receive calls. If you change the public IP of PBXnSIP delete all the profiles and the Internet Tel profile and start over.
You have to disable the automatic wireless LAN scan option.
Making a call
It is best to turn the phone off then on after you create a new profile to make sure the Always on registration is working. You should see the little box icon indicating the WLAN is up and a handset against a globe indicating the SIP registration is up. If the SIP registration hasn't occurred be patient. If you try to force the SIP registration the phone will punish you. It will change all your profiles to When needed and you will have to change them all back to Always on.
It is best to set the default call type to Internet call. This is in Tools | Settings | Phone | Call | Default call type. If the SIP registration isn't active the phone will fall back to a GSM call.
I found it best to create your phone list in Outlook with +<country code> on every phone number. Then you can dial these number from your contact list from anywhere either as a GSM call or an internet call. You must have version 126.96.36.1992 or newer of PBXnSIP software. If your ISTP doesn't accept the + for international calls then you will need the following dial plan in PBXnSIP:
- 100 +* replaced by 011*
- 101 *
Otherwise you should be able to dial numbers with or without the 1 or the area code.
If your WiFi zone is large and you have multiple routers you should name them the same and have the same security settings and password. If you do this you can walk from the range of one router into the range of the other router while you are on the phone and your call won't be dropped.
The Nokia E61 is an awesome device that has many features, including a SIP user agent that can use the built-in WLAN in parallel with the GSM, 3G and other communication protocols. This makes the device a very good choice in office environments where employees want to be connected to the local PBX and at the same time are available through the cell phone network.
The Nokia E61 supports the basic SIP call, it also supports call hold. This is not really thrilling. However, many of the PBX features can be used by dialing star codes (for example, parking the call). It would be good if the next version of the firmware supports additional features like call transfer through REFER.
The Nokia does not support NAT. This is no problem because the PBX takes care about this and makes sure that the registration is kept alive.
It is essential that you get IP connectivity first. Before you try to register, you should be able to browse to an Internet web page. Then you can be sure that the IP connectivity is not the problem.
The setup is not very intuitive. We had to play around with the SIP settings for quite some while before we got it working. The settings that worked for us are listed below.
In the "SIP Settings" (which can be found in the "Connections" setting) we used the following settings:
- As the "Profile name", we chose something like "222@mycompany" to make it easier to locate this record later
- The "Service Profile" must be set to "IETF".
- The "Default access point" should point to a WLAN access point or anything else that can transport IP packets.
- The "Public user name" should be the "AOR" of the SIP account, for example "sip:email@example.com".
- Set "Use compression" to "No". We tried to turn this on, but no luck.
- The "Registration" setting should be "When needed". For some strange reason, we could not get the "Always on" working.
- Set "Use security" to "No". We tried to make the Nokia use TLS transport layer, but had no luck yet.
- The "Proxy server" should have the following settings:
- The "Proxy server address" should be set to something like "sip:sip.mycompany.com". It seems that the Nokia does not support DNS NAPTR or DNS SRV location of the registrar, therefore you must specify a DNS A record or an IP address here.
- The "Realm" should be set to the domain name, for example "sip.mycompany.com".
- The "User name" should be set to the extension number, for example "222".
- The "Password" contains the password for the account.
- Keep "Allow loose routing" to "Yes". This setting should actually not matter, because the PBX will make sure that the Nokia does not have to take care about the routing.
- Set the transport type to "UDP". TCP is a problem if the phone is behind NAT, because the IETF insists that TCP connections cannot be reused without further extensions of the SIP protocol.
- Set the "Port" to the port that you use on the PBX (typically port 5060).
- The "Registrar server" has pretty much the same settings as the "Proxy server".
Then you need to create an Internet telephone profile. Go to the "Internet tel." menu in the "Connections" menu and add a profile. If the profile name is the same as the SIP profile, that should make the association clear.
Making a Call
To start a call, just enter the number that you want to dial. Press the left button "Options" and select "Internet Call" from the Call menu. Then this call will be made using the SIP account.
If you want to make all calls Internet calls, you can set the "Default call type" settings in the "Call" menu (submenu of "Settings ") to "Internet".
The Nokia supports the out of band DTMF codec, however has a bug that does not properly reset the timestamps for the tones. We added a workaround in the 188.8.131.52 version. Previous versions might work a little bit instable if you type DTMF very fast.