iSip Phone Settings

Setup for the user account

1) Enter the domain, username, password:
If your SIP server is the Jiplet Container with the Jiplet Reference Application, you can configure your phone with already pre-defined users "amit" or "becky" and password = a1b2c3d4, and use domain = cafesip.org.  If your SIP server is SipExchange, you will need to have defined a domain and a subscriber assigned to that domain as part of SipExchange post-installation, and use that information when configuring the SIP phone.

2) Set auth username per above. Set the proxy server to the wireless interface IP address of the SIP server. Append ":port#" to the value you enter if the server is using a port other than the default 5060 for SIP (this would be specified in the SIP server's configuration server.xml file, connector, jip-ports parameter). For example, you can enter the value: 192.168.112.1:4000.

3) Leave other iSip settings as defaulted:
     registration timeout = 0
     voicemail and phone number grayed out
     Enable NAT detect = ON
     Enable APNS = ON

Setup for 'More' (general) settings

1)  You can set the outbound proxy to the proxy server address as above, but this shouldn't be necessary if it is defined above for the user (and vice versa). However, it certainly works when it is set in both places.

2)  Local Port = 5060
 
3) Leave other settings as defaulted:
     RTP port = 4000
     SIP Stun = OFF
     SIP Stun Server, CODEC, VAD,  etc.
 
     Except do set Enable Log = ON.

Registering/Unregistering with the server

To register, simply go to Accounts, and swipe ON the user you want to register. To unregister, swipe OFF the user account.

Troubleshooting

If the phone can't register successfully:

1) In More->Settings, turn diagnostic logs ON if not already and stop/restart the app. Try registering again. If it is still not registering:
Go to More->Settings, scroll all the way down, click "Send Diagnostic Information back". That pops up an email form with the trace capture in the email body (you may have to wait a few seconds before it shows up). You can scroll through the body to see the trace, to try and get a clue as to the failure cause, and then cancel the email when you're done to discard it.

2) In the log trace per above, find the REGISTER sip message. See what IP address the phone is using to send the message to, ensure it is your proxy server. (for example, 192.168.112.1).

3) You can also see which address the phone is using for itself, in the Via header - for example, 192.168.1.154. In a case such as this (where proxy IP is on a different subnet than the iPhone/iPod IP address) unless you have ip forwarding on your server, this communication might not work. In that case, see what IP addresses your server has (ie, cmd> ipconfig on windows). In this example case, 192.168.1.153 was the wireless interface on the server and 192.168.112.1 was a LAN adapter. The SIP server was using the latter by default. To make the server use the wireless interface, stop the SIP server
and edit the jiplet server.xml file, setting <jip-ports> to use the wireless interface (ie, add address="192.168.1.153" in this example, or if the "address" is already there, set it to the wireless interface IP address (ie, 192.168.1.153).

Restart the SIP server and check the server logs - search for "Connector sip-connector". You should see your server's wireless interface IP address in that log message.

Now go back to your iSip phone settings and put in the server wireless interface address as the sip server/proxy - do it in both account and overall/general settings if using both. Try the SIP phone registration again (turn the account "ON"). If it still doesn't work, go back and look at the logs to try and figure out why.