×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Regular Contributor
    Join Date
    May 2007
    Location
    India
    Posts
    136

    SIP crashing in 2 VoIP Calls

    Hi,

    I am developing a VoIP Application working E61. This application supports two simultanious calls. Here if one call is active and other call is waiting, answering the seconds call crashes the application.

    The scenario is as below:
    a) To answer second call application puts first call in hold state.
    b) Send Re-Invite for first call
    c) The response for the Hold/Re-Invite is received in observer IncomingResponse(CSIPClientTransaction& aTransaction, CSIPDialogAssocBase& aDialogAssoc).
    d) From this function Ack is sent.
    e) Then 200 Ok for the second call is sent.
    f) After the successful sending of Ack and 200 Ok the function crashes after returning.

    The Dialog state for both the call seems ok. Is it something like context that matters while responsding to incoming request? This is because if the first call is in HOLD state and second call is incoming then answering the second call works fine and receives ACK for 200 Ok.

    Has anyone ever faced such issue? Any help regarding how to debug the issue.

    Thanks
    Rajat

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Czech Republic
    Posts
    2,037

    Re: SIP crashing in 2 VoIP Calls

    Hi,

    is this the call flow?

    Code:
    A1                 A2             A3
      <---INVITE B-----
    
      ---------RE-INVITE A ---------->
      <--------200 OK-----------------
      ---------ACK------------------->
    
      ----200 OK------->
      <---ACK-----------
    I don't see anyhting incompetent in your description, with exception, taht UE A2 has to wait for answer little bit longer, but he receives provisional responses, so it seems to be O.K. I think that this is not a problem of SIP stack, it's hard to give you any clues - you have to inspect your code...

    Did it happend on device or emulator, because I face sometime on emulatro some unexplicable crsahes using the SIP, which never happend on real device.

    BR
    STeN

  3. #3
    Registered User
    Join Date
    Sep 2007
    Location
    India
    Posts
    45

    Re: SIP crashing in 2 VoIP Calls

    Hi Rajat,

    Well, I do not have any solution to your problem per se, but have a question related to Incoming Call.

    I am also working on a VoIP Client for S60 platform and am using E61.
    1. I am trying their SIPExample and not getting Incoming Call Notification. The Incoming SIP call is being rejected by (I assume their in-built SIP client) 488 response/486 response.

    As I could see, you are already getting Incoming Call Notification.

    Have I missed on something really important?
    If you could share your knowledge on this, it would be really helpful.

    Best Regards,
    Vasu

  4. #4
    Super Contributor
    Join Date
    Mar 2004
    Location
    Czech Republic
    Posts
    2,037

    Re: SIP crashing in 2 VoIP Calls

    Hi,

    you have received the 488 Not acceptable here on incoming INVITE request? Who sends it? NOKIA SIP Server emulator? Kind of application server? SIp proxy? Nokia E61i?

    Thx
    BR
    STeN

  5. #5
    Registered User
    Join Date
    Sep 2007
    Location
    India
    Posts
    45

    Re: SIP crashing in 2 VoIP Calls

    Hi,

    Sorry that I was not very clear.

    E61 SIPExample(UA1) <-> proxy(not S60 Server emulator) <-> S60_Emulator SIPExample.(UA2)

    The following part works fine.
    1. Sending INVITE from S60_Emulator
    2. Receiving INVITE at S60_Emulator.
    3. Sending INVITE from E61.

    The response is sent by the E61.
    But Incoming INVITE at E61 has the following problems.
    1. 488/486 is being sent by the E61 which is forwarded by the Proxy to the Caller(S60_Emulator)
    2. E61 shows this Incoming INVITE as Missed Call.

    Best Regards,
    Vasu

  6. #6
    Regular Contributor
    Join Date
    May 2007
    Location
    India
    Posts
    136

    Re: SIP crashing in 2 VoIP Calls

    Hi Stenlik,

    I am facing the issue on E61 phone. I tried to send some fake 1XX response to avoid this crash. But still it is not fully solved.

    Vasu,
    I think the problem you are facing can be due to SIPExtension plugin that needs to be created to register your application UID with SIP stack. Otherwise for every incoming INVITE, SUBSCRIBE and NOTIFY will be responded with 488 Not Acceptable Here by Nokia SIP stack.

    Regards
    Rajat

  7. #7
    Registered User
    Join Date
    Sep 2007
    Location
    India
    Posts
    45

    Re: SIP crashing in 2 VoIP Calls

    hi rajat,

    my problem was because of the Firmware version of E61.
    firmware upgradation solved my problem.

    as i could see you get incoming call notification.
    (i get incoming invite notification when the media-type is NOT "audio". if it is "audio", built-in VoIP Client takes the control of incoming call and no notification is received by my application.)

    according to my understanding, it seems there are two options for getting incoming call notification
    1. applying for API partnering request with Nokia.
    2. using Extensions Plug-in (i am looking at AIW* APIs / PhoneClient* APIs. but have not found the solution yet.)

    my questions:
    how do you get incoming call notification?
    do you have API partnering request with Nokia?

    i would really appreciate your helpful insight on this problem.

    best rgds,
    vasu

  8. #8
    Regular Contributor
    Join Date
    May 2007
    Location
    India
    Posts
    136

    Re: SIP crashing in 2 VoIP Calls

    Hi Vasu,

    Just go through the SIPExample sample of SDK.

    Best Regards
    Rajat

  9. #9
    Registered User
    Join Date
    Sep 2007
    Location
    India
    Posts
    45

    Re: SIP crashing in 2 VoIP Calls

    hi,

    SIPExample per se, is working on E61, because its Media type is "application".
    (resolverplugin implementation contains the following line
    ;;;
    <LINE name=\"m\" value=\"application 0 TCP SIPEx\"/>\
    ;;;
    )

    If it is changed to "audio" (as below in resolverplugin implementation), it is NOT working.
    ;;;
    ;;;
    <LINE name=\"m\" value=\"audio 9000 RTP/AVP 0\"/>\
    ;;;
    ;;;

    And I saw in some other posts, it is not possible for two SIP Client implementations to register for same m-line type, i.e., "audio".

    OR am I missing something very Important?

    best rgds,
    vasu.

  10. #10
    Regular Contributor
    Join Date
    May 2007
    Location
    India
    Posts
    136

    Re: SIP crashing in 2 VoIP Calls

    Hi,

    Here is one sample resolver plugin:
    <SIP_CLIENT ALLOW_STARTING=\"NO\">
    /*Headers*/
    <SIP_HEADERS>
    <ACCEPT value=\"application/sdp\"/>
    </SIP_HEADERS>
    /*Sdp*/
    <SDP_LINES>
    <LINE name=\"m\" value=\"audio 0 RTP/AVP 0\"/>
    </SDP_LINES>
    </SIP_CLIENT>

    Also one need to take care to set the application UID in .rss file of resolver plugin in "implementation_uid".

    Best Regards
    Rajat

  11. #11
    Registered User
    Join Date
    Sep 2007
    Location
    India
    Posts
    45

    Re: SIP crashing in 2 VoIP Calls

    hi raj,

    i have been using the same RESOLVERPLUGIN configuration... (well, I think the configuration is fine because, it works if the "m-line" has different type, say "application" instead of "audio").

    may i know the following:
    1. firmware version of your E61?
    2. SDK version
    3. have you taken any technical support?
    4. are there no other things to change other than RESOLVERPLUGIN?
    5. does your E61 has builtin VoIP Client?
    6. are there any APIs for overriding Nokia VoIP Client?

    rgds,
    vasu
    Last edited by mevasudeva; 2008-01-11 at 06:13.

Similar Threads

  1. SIP VoIP Settings Tool
    By petrosoi in forum VoIP
    Replies: 19
    Last Post: 2009-01-18, 05:23
  2. SIP calls via UMTS, not WLAN
    By alain_dc in forum VoIP
    Replies: 5
    Last Post: 2008-06-05, 19:01
  3. Replies: 5
    Last Post: 2008-02-20, 09:52
  4. N95 - VoiP & Emergency Calls
    By ChrisL in forum VoIP
    Replies: 1
    Last Post: 2007-05-31, 10:31
  5. SIP: BYE/ 481 (No Dialog Found)!!!!!!!!!!
    By Mini Pillai in forum Symbian Networking & Messaging (Closed)
    Replies: 13
    Last Post: 2007-02-09, 04: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
  •  
×