×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Jun 2006
    Location
    Pakistan
    Posts
    50

    SIP problems in j2me

    i m trying to build an application for voip using sip. i successfully made one part of sip session. tht is i can call(means i send tokens) to any sip mobile(curently i call to X-Pro sip phone), but i m unable to recive it from any sip mobile or ma app.

    i m using SipServerConnectionNotifier to listen to server. but i think tht. sample code is given below


    private void startListener() {

    try {
    if(scn != null)
    scn.close();
    // start a listener for incoming request
    form.append("Waiting for the connection.");
    System.out.println("sdp +" + sdp);
    scn = (SipConnectionNotifier) Connector.open("sip:*;type=\"" + SDP_MIME_TYPE + '"');
    scn.setListener(this);
    form.append("Listening on port: "+scn.getLocalPort());
    } catch(Exception ex) {
    ex.printStackTrace();
    form.append(EXCEPTION + ex.getMessage());
    }
    }

    where scn = server conection notifier.

    now plz guid me y i m unable to recive a call n weather i hav to write clinet conection for ti too. if yes plz give some sample code.

    Regards

    qasitocuh
    qasibeat@yahoo.com

  2. #2
    Regular Contributor
    Join Date
    Mar 2006
    Posts
    61

    Re: SIP problems in j2me

    Hi Qasitocuh,
    this link maybe helpfull
    http://www.forum.nokia.com/info/sw.n..._0_en.pdf.html
    BR
    Ali

Similar Threads

  1. SIP: BYE/ 481 (No Dialog Found)!!!!!!!!!!
    By Mini Pillai in forum Symbian Networking & Messaging (Closed)
    Replies: 13
    Last Post: 2007-02-09, 04:52
  2. SIP Problems
    By mhappenhofer in forum Mobile Java Networking & Messaging & Security
    Replies: 7
    Last Post: 2006-08-01, 12:17
  3. Two problems when working with SIP. very Thanks for your help
    By sky_qiao in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2005-06-02, 07:29
  4. Accessing SIP from J2ME
    By balagopalks in forum Mobile Java General
    Replies: 0
    Last Post: 2005-05-20, 07:32
  5. SIP Problems - Registration Failed
    By mboyerm in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2005-04-22, 19:35

Posting Permissions

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