×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jun 2008
    Posts
    87

    Sip Registration with SIP server

    Hi
    My target device is N95 where there is sip setting with phone where we create User profile and set the proxy and register server.as i go through the java SIP api doc where i found that sip is used to create multimedia session for transfering instatnt messeging or voice call between devices.

    my core requirnment is to make a call from one midlet running on one mobile to another midlet running on different mobile. i don't get any ways other than sip protocol to make a call by midlet. i refer the 'GoSIP' example from sun's WTK. with weblogic bea sip server.

    this example works with emulator .the code need to set the ip address where the sip server responds the request like REGISTER,INVITE etc. so ultimatly its a VoIP kind of thing as per my understanding. we set the contact header where the client url is set where the sip server is responds.

    my one query how we get the public ip of mobile phone over GPRS in midlet? because my code is working fine with emulator but i m not able to run with device and get the null exception at the 3rd line

    String SDP_MIME_TYPE = "application/vnd.company.x-game";
    scn = (SipConnectionNotifier) Connector.open("sip:*;type=\"" + SDP_MIME_TYPE + '"');
    contact = new String("sip:sip2@" +scn.getLocalAddress() +":" + scn.getLocalPort());

    This is all about my lot confusion. if any body had worked for the same pls share some code with me.

    Thank You.

    Ami Patel

  2. #2
    Registered User
    Join Date
    Apr 2010
    Location
    Maroc
    Posts
    16

    Re: Sip Registration with SIP server

    Hi
    I want to do the same thing like you, but I have problems with sip register, it always gives me the response 0 instead of 200, if you can give me your code to compare with it will be greate.

Similar Threads

  1. SIP registration and MESSAGE function
    By fox_alan in forum Symbian
    Replies: 3
    Last Post: 2007-09-06, 07:21
  2. SIP Registration error
    By gamma8 in forum Symbian Networking & Messaging (Closed)
    Replies: 3
    Last Post: 2006-11-29, 09:31
  3. SIP registration
    By map123 in forum Symbian
    Replies: 0
    Last Post: 2006-09-09, 12:41
  4. How to Create Class of CSIPProfile which register SIP Server with in SIP Plug-in 4.0?
    By jason-symbian in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2006-03-01, 02:55
  5. SIP Sever...
    By Priju Jacob Paul in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2006-02-02, 20:52

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×