0 Replies Latest reply on Feb 14, 2011 5:00 PM by Swetha.Govindraj-Oracle

    "SIP/2.0 404 Not Found" during login using SIP client

      Hi ,
      I have a OCP 5.0 installed and configured as per the instructions in the following docs - http://download.oracle.com/docs/cd/E17667_01/index.htm
      All-in-one Presence domain Topology was chosen during configuration and MySQL was used as the database,the default values were chosen during configuration.
      The users were created/provisioned as specified in http://download.oracle.com/docs/cd/E17645_01/doc.50/e17647/cnf_provisioning.htm#BABEJOEZ

      The presence user was created as shown below,

      sash# publicIdentity add publicId=sip:alice@example.com privateId=alice
      Input: publicIdentity add publicId=sip:alice@example.com privateId=alice
      Public Identity sip:alice@example.com was successfully added to user alice
      sash# account add uid=alice active=true
      Input: account add uid=alice active=true
      The account for "alice" was successfully added
      sash# role user add uid=alice name="Location Service"
      Input: role user add uid=alice name="Location Service"
      Role Location Service was successfully added to user alice
      sash# credentials add uid=alice realm=myrealm password=alice123
      Input: credentials add uid=alice realm=myrealm password=alice123
      Credentials for user alice in realm myrealm were successfully created

      The sip dns srv record is added to dns server as shown below,

      sip.udp.example.com. IN SRV 20 0 5060 hostname.

      So example.com now resolves to the hostname specified.

      Now if the user, alice@example.com is specified as sip id and login through a sip client login fails with the user not found error,

      "[ oldState=Registering; newState=RegistrationState=Connection Failed; reasonCode=3; reason=Received an error while trying to register. Server returned error:Not Found] to 11 listeners.
      19:35:59.328 FINE: impl.protocol.sip.OperationSetPresenceSipImpl.registrationStateChanged().3123 Enter connction failed state"

      Below is the Adminserver.log snippet,

      <WL-331803> <SIP Tracer: logger Message: <message><![CDATA[:[1297666486420]:[in]:[udp]:[]=>[][e
      xt=]:[REGISTER sip:usg53.india.sun.com SIP/2.0
      To: Alice <sip:alice@example.com>
      Expires: 600
      Via: SIP/2.0/UDP;branch=z9hG4bK-363032-0008f4d917fee3f839264a747de21922
      CSeq: 1 REGISTER
      Content-Length: 0
      Call-ID: 9164642dec512b23edd7e5b3d3cc3fb3@
      User-Agent: SIP Communicator1.0-alpha6-nightly.build.3284Windows XP
      Max-Forwards: 70
      From: Alice <sip:alice@example.com>;tag=929a00f5
      Contact: Alice <sip:alice@;transport=udp;registering_acc=example_com>;expires=600

      ####<Feb 14, 2011 12:24:46 PM IST> <Info> <WLSS.Trace> <usg53.india.sun.com> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning
      )'> <<anonymous>> <> <> <1297666486428> <WL-331803> <SIP Tracer: logger Message: <message><![CDATA[:[1297666486431]:[out]:[udp]:[]=>[/
      :5060]:[SIP/2.0 404 Not Found
      To: Alice <sip:alice@example.com>;tag=678e933a
      Via: SIP/2.0/UDP;branch=z9hG4bK-363032-0008f4d917fee3f839264a747de21922
      WLSS-Default-Handler: Default_Servlet
      CSeq: 1 REGISTER
      Call-ID: 9164642dec512b23edd7e5b3d3cc3fb3@
      From: Alice <sip:alice@example.com>;tag=929a00f5


      The user exists in the account table in mysql.

      Am i missing something,is there any realm configuration which is required to be done ?