linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] [Linphone] Implemented Logout but app crashed on c


From: Vicky Dhas
Subject: [Linphone-developers] [Linphone] Implemented Logout but app crashed on calling with other user name
Date: Fri, 01 Aug 2014 15:26:58 +0800
User-agent: Microsoft-MacOutlook/14.4.3.140616

Hello Experts,

I am facing one issue, I have mentioned the  steps so the issue is understood and helped to fix.

  1. I login using One username and password
  2. Call --> All Ok
  3. Logout --> This is not there in SIP so have implemted following code to reset linphone as below

    [self destroyLibLinphone];

    [self createLinphoneCore];

    

    // reset network state to trigger a new network connectivity assessment

    linphone_core_set_network_reachable(theLinphoneCore, FALSE);


  1. Call again login with another user 
    1. Till the SIP address passed to the function (- (void)call:(NSString *)address displayName:(NSString*)displayName transfer:(BOOL)transfer {
      ) all is okay but the app gives me EXCESS – BAD ACCESS at line (linphone_call_set_user_pointer(call, data);
      )
  2. If restart the application It works fine with second user logged in.
  3. I assume that some where I am not resetting the linphone settings back to the way as Application starts. 

Please help me to get hold of this issue as to how I can reset all settings same as the application starts.

Thanks,

Regards,
Vicky Dhas

reply via email to

[Prev in Thread] Current Thread [Next in Thread]