×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    May 2004
    Posts
    7

    sip question (decline?)

    i implement some sip api for sending INVITE message from one emulator to another
    but i alwayse get the "decline" message from server's "log window"

    [0x0e94 01:19:48] SipUdpHandle: 5047640 SendMessage: sending datagram:
    SIP/2.0 603 Decline
    Via: SIP/2.0/UDP 140.115.228.31:5060;branch=z9hG4bKvyASPb7GcCycm
    To: <sip:player2@realm>;tag=-q77YsestX
    From: <sip:player1@realm>;tag=0JQSP5Y-Qn
    Call-ID: ZmISP0mshSJjkAjGv4W0twr7P1OGLE
    CSeq: 153 INVITE
    Content-Length: 0

    anyone knows what i should do to solve the decline problem?
    please help me

    cheers

  2. #2
    Registered User
    Join Date
    Oct 2004
    Posts
    24

    The same problem

    Hello!!

    Did you solved the problem? I have the same, and i don´t now hou to solve it.

    Thanks!!

  3. #3
    Super Contributor
    Join Date
    Apr 2003
    Location
    Czech Republic
    Posts
    915
    I'm not using Nokia's SIP stack so don't know how it behaves in this kind of situations, but please look into RFC 3261 (SIP: Session Initiation Protocol). There is written:

    603 Decline

    The callee's machine was successfully contacted but the user
    explicitly does not wish to or cannot participate. The response MAY
    indicate a better time to call in the Retry-After header field. This
    status response is returned only if the client knows that no other
    end point will answer the request.

    so I'd say that the other client sent this response!

  4. #4
    Registered User
    Join Date
    Oct 2004
    Posts
    24

    I think I already understand decline

    Hello! I believe I have already understood why the recipient sends me decline when I invite him.

    I´m using the CSIPExample who cames with the "SIP programmer´s guide". This example makes an invitation without content, i.e., Content-lenght = 0. If I have no more sip applications in my emulator, the recipient sens me decline. When I have other sip app"X" separately, in the recipient appears: "Accept invitation to X from...?", and if the recipient accepts the X app starts.

    If somebody doesn´t think this, please, let me know.

    Thank you!!!

  5. #5
    Registered User
    Join Date
    Oct 2004
    Posts
    24

    Chipflip?

    Ukelady!!

    What application are you prooving? The chipflip?? If you are using chipflip, you don´t have to change the sipappcapabilities.xml, because it uses sdp lines. If you say in the sipappcapabilities.xml that the sdp is not used, the content-length will be 0, and the recipient will decline, because it doesn´t know what to accept or reject.

    Tell me if you solve the problem.

Posting Permissions

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