×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Aug 2006
    Location
    Cairo, Egypt
    Posts
    67

    Question Sip Lib don't deliver all received messages

    I am using Symbian sip lib using S60 3rd, everything is working nice but when I got sip message request I can see the request packets using wireshark and also I saw the okay response form my side.
    The problem that at most of times sip lib don't report the received sip messages to my code in IncomingRequest methods, so I can't do the required action !!!.

    Sameh

  2. #2
    Regular Contributor
    Join Date
    Aug 2006
    Location
    Cairo, Egypt
    Posts
    67

    Re: Sip Lib don't deliver all received messages

    Here is the log information that I got from emulation log file for sip lib
    - With first sip message with CSeq =1 that received the lib log the following
    ConnectionManager::ReceivedFromNetwork then writes the received sip messages
    TransactionUser then writes the received sip messages
    Dialogs then writes the received sip messages
    SeverCore:ReveiveL then writes the received sip messages and call IncomingRequest in my code and then log the response that returned from my code
    Dialogs then writes response
    TransactionUser then writes response
    ConnectionManager::SendL then writes response
    ConnectionManager::SendToNetworkL then writes response

    -when receiving second sip message with CSeq = 2, the incorrect behavior start to happen as follow
    ConnectionManager::ReceivedFromNetwork then writes the received sip messages
    TransactionUser then writes the received sip messages
    ConnectionManager::SendL then writes response but here the logged response is the response to old message with CSeq = 1 !!!
    ConnectionManager::SendToNetworkL then writes response ut here the logged response is the response to old message with CSeq = 1 !!!

    As clear from log file there are missing calls because of some reason.

    Any Ideas?

    Sameh

  3. #3
    Regular Contributor
    Join Date
    Aug 2007
    Posts
    74

    Re: Sip Lib don't deliver all received messages

    Hi,

    From the description you gave it sounds like the second SIP request is treated like a retransmission of the previous one.
    If the requests have same branch parameter in the Via-header, then even if they have different CSeq values, the second request would be though to be a retransmission, and the previously sent SIP response would be retransmitted to network.
    Could you include here the received requests and sent responses?

    -jp40

  4. #4
    Regular Contributor
    Join Date
    Aug 2006
    Location
    Cairo, Egypt
    Posts
    67

    Re: Sip Lib don't deliver all received messages

    yes, I got the same branch value for all requests. I will ask the sever to change it and see if the problem will be resolved or not.

    Thanks a lot jp40 and I will keep u updated

    Sameh

Similar Threads

  1. [SIP] Invite fails: 415 Unsupported Media Type
    By dracula78 in forum Symbian Networking & Messaging (Closed)
    Replies: 12
    Last Post: 2008-05-26, 05:24
  2. Replies: 5
    Last Post: 2008-02-20, 09:52
  3. Problem with SIP Resolver Ecom Plugin
    By ecio83 in forum Symbian Networking & Messaging (Closed)
    Replies: 8
    Last Post: 2007-07-30, 09:04
  4. Incoming SIP BYE request not received
    By spook159 in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2007-05-10, 16:58
  5. Concatenated text messages received via SMSC
    By mgorecki in forum General Messaging
    Replies: 2
    Last Post: 2003-12-03, 15:41

Posting Permissions

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