Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incoming Call Service Unavailable Error #14

Open
fatihtastemur opened this issue Oct 7, 2019 · 3 comments
Open

Incoming Call Service Unavailable Error #14

fatihtastemur opened this issue Oct 7, 2019 · 3 comments

Comments

@fatihtastemur
Copy link

sipManager.events does not working on incoming calls.

@lanjinlin
Copy link

add mCore.start(); to LinphoneMiniManager

public LinphoneMiniManager(Context c) {
		mContext = c;
		Factory.instance().setDebugMode(true, "Linphone Mini");
        //mPrefs = LinphonePreferences.instance();


		try {

			String basePath = mContext.getFilesDir().getAbsolutePath();
			copyAssetsFromPackage(basePath);
			mCore = Factory.instance().createCore(basePath + "/.linphonerc", basePath + "/linphonerc", mContext);
			initCoreValues(basePath);

			setUserAgent();
			setFrontCamAsDefault();
			startIterate();
			mInstance = this;
			mCore.setNetworkReachable(true); // Let's assume it's true
			mCore.addListener(this);
			mCaptureView = new SurfaceView(mContext);
			mCore.start();


		} catch (IOException e) {
			Log.e(new Object[]{"Error initializing Linphone",e.getMessage()});

		}
	}

@danielehrhardt
Copy link

danielehrhardt commented Nov 13, 2019

Thank you for the Fix!

ionic cordova plugin remove cordova-plugin-sip
ionic cordova plugin add https://github.com/codextde/cordova-plugin-sip.git

@devjva
Copy link

devjva commented Dec 5, 2019

hi guys, I can't register on a port other than 5060 can anyone help me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants