Hi,

I am trying to configure the N80 for use with our voip service. I have used OMA to configure the phone like this:

Code:
<?xml version="1.0"?>
<!DOCTYPE wap-provisioningdoc PUBLIC "-//WAPFORUM//DTD PROV 1.0//EN"
"http://www.wapforum.org/DTD/prov.dtd">
<wap-provisioningdoc version="1.1">
  <!-- SIP settings, see w9010.txt -->
  <characteristic type="APPLICATION">
    <parm name="APPID" value="w9010"/>
    <parm name="APPREF" value="Example link to SIP"/>
    <parm name="PROVIDER-ID" value="Coms plc"/>
    <parm name="PTYPE" value="IETF"/>
    <parm name="PUID" value="353766060959@sip.coms.com"/>
    <!-- Outbound settings -->
    <characteristic type="APPADDR">
      <parm name="ADDR" value="sip.coms.com"/>
    </characteristic>
    <!-- Outbound credentials -->
    <characteristic type="APPAUTH">
      <parm name="AAUTHNAME" value="353766060959"/>
      <parm name="AAUTHSECRET" value="*****"/>
      <parm name="AAUTHDATA" value="sip.coms.com"/>
    </characteristic>
    <!-- Registrar location and credentials -->
    <characteristic type="RESOURCE">
      <parm name="URI" value="sip.coms.com"/>
      <parm name="AAUTHNAME" value="353766060959"/>
      <parm name="AAUTHSECRET" value="*****"/>
      <parm name="AAUTHDATA" value="sip.coms.com"/>
    </characteristic>
  </characteristic>
  <!-- NAT/FW settings -->
  <characteristic type="APPLICATION">
    <parm name="APPID" value="w902E"/>
    <parm name="NAME" value="NAT/FW Traversal settings"/>
    <parm name="APPREF" value="Example link to NATFW settings"/>
    <characteristic type="NW">
      <parm name="DOMAIN" value="sip.coms.com"/>
      <parm name="STUNSRVADDR" value="85.90.225.100"/>
      <parm name="STUNSRVPORT" value="3478"/>
      <parm name="NATREFRESHTCP" value="1200"/>
      <parm name="NATREFRESHUDP" value="28"/>
      <parm name="CRLFREFRESH"/>
    </characteristic>
  </characteristic>
</wap-provisioningdoc>
According to the log on the sip server, it looks OK:

Code:
09 May 02:14:41.052/GLOBAL/ser[69744]: RECEIVED message from 125.238.90.163:58968:
REGISTER sip:sip.coms.com SIP/2.0
Via: SIP/2.0/UDP 125.238.90.163:33403;branch=z9hG4bKtru0d2g6h80f25auqba8plj;rport
From: <sip:353766060959@sip.coms.com>;tag=6jmt5l1ok1hc7cpr0dsp
To: <sip:353766060959@sip.coms.com>
Contact: <sip:353766060959@125.238.90.163:33403>;expires=3600
CSeq: 1241 REGISTER
Call-ID: CxriRa67oIcP3gdVCkHG3MAz2-Ftwb
Supported: sec-agree
User-Agent: Nokia RM-92 V 4.0632.0.38
Max-Forwards: 70
Authorization: Digest realm="sip.coms.com",nonce="464121a977ef2841e86f59737700821662656224",algorithm=MD5,username="353766060959",uri="sip:
sip.coms.com",response="cead1809f46d512a291f7798e63d069e"
Content-Length: 0


09 May 02:14:41.053/CxriRa67oIcP3gdVCkHG3MAz2-Ftwb/ser[69744]: processing REGISTER received from 125.238.90.163
09 May 02:14:41.053/CxriRa67oIcP3gdVCkHG3MAz2-Ftwb/ser[69744]: sending AAA request for 353766060959, method REGISTER:
Calling-Station-Id               = '353766060959'
User-Name                        = '353766060959'
Digest-User-Name                 = '353766060959'
Digest-Realm                     = 'sip.coms.com'
Digest-Nonce                     = '464121a977ef2841e86f59737700821662656224'
Digest-URI                       = 'sip:sip.coms.com'
Digest-Method                    = 'REGISTER'
Digest-Algorithm                 = 'MD5'
Digest-Response                  = 'cead1809f46d512a291f7798e63d069e'
Service-Type                     = 'Sip-Session'
Cisco-AVPair                     = 'call-id=CxriRa67oIcP3gdVCkHG3MAz2-Ftwb'

09 May 02:14:41.060/CxriRa67oIcP3gdVCkHG3MAz2-Ftwb/ser[69744]: AAA request accepted, processing response:
h323-billing-model               = 'h323-billing-model=0'
Cisco-AVPair                     = 'h323-ivr-in=Tariff:Mobiboo EUR PAYG'
Cisco-AVPair                     = 'h323-ivr-in=available-funds:0.01'
h323-return-code                 = 'h323-return-code=0'
h323-currency                    = 'h323-currency=EUR'
h323-preferred-lang              = 'h323-preferred-lang=en'

09 May 02:14:41.060/CxriRa67oIcP3gdVCkHG3MAz2-Ftwb/ser[69744]: saving contact sip:353766060959@125.238.90.163:33403 into the database
09 May 02:14:41.060/GLOBAL/ser[69744]: SENDING message to 125.238.90.163:58968:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 125.238.90.163:33403;branch=z9hG4bKtru0d2g6h80f25auqba8plj;rport=58968
From: <sip:353766060959@sip.coms.com>;tag=6jmt5l1ok1hc7cpr0dsp
To: <sip:353766060959@sip.coms.com>;tag=4c9d2783942a2e60e4b45662ff0ad8ea-6214
CSeq: 1241 REGISTER
Call-ID: CxriRa67oIcP3gdVCkHG3MAz2-Ftwb
PortaBilling: available-funds:0.01 currency:EUR
Contact: <sip:353766060959@125.238.90.163:33403>;expires=3595
Server: Sip EXpress router (0.9.6 (i386/freebsd))
Content-Length: 0
BUT ... the phone says 'registration failed'.

Can anyone see what might be wrong here?

I have checked the following:

* Digest-Realm is correct

* STUN is working correctly

* Contact is correct, and matches IP:PORT in Via header.

I am banging my head on the wall!!!

If you can help, I will be very happy!

Thanks,

Rob