Skip to content
Snippets Groups Projects
Commit 52b57d43 authored by Alexandre Lision's avatar Alexandre Lision
Browse files

Keep reference of callbacks

Refs: #53478
parent dc093cde
No related branches found
No related tags found
No related merge requests found
......@@ -50,6 +50,8 @@ public class SipService extends Service {
protected MediaManager mMediaManager;
private HashMap<String, Conference> mConferences = new HashMap<String, Conference>();
private ConfigurationCallback conf;
private CallManagerCallBack call;
public HashMap<String, Conference> getConferences() {
return mConferences;
......@@ -238,7 +240,9 @@ public class SipService extends Service {
Log.i(TAG, "PjSIPStack started");
SFLPhoneservice.init(new ConfigurationCallback(), new CallManagerCallBack(this));
conf = new ConfigurationCallback();
call = new CallManagerCallBack(this);
SFLPhoneservice.init(conf, call);
Log.i(TAG, "->startPjSipStack");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment