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

Library does not display destination phone number while incoming call #5

Closed
MetalMuxa opened this issue Feb 16, 2017 · 1 comment
Closed

Comments

@MetalMuxa
Copy link

case LinphoneCallState.LinphoneCallIncomingReceived:
				case LinphoneCallState.LinphoneCallIncomingEarlyMedia:
					newstate = Call.CallState.Loading;
					newtype = Call.CallType.Incoming;
                                        addressStringPtr = linphone_call_get_remote_address_as_string(call);
                                        if (addressStringPtr != IntPtr.Zero) from = Marshal.PtrToStringAnsi(addressStringPtr);
					to = identity;

Problem here is that "to" variable contains just identity like "sip:user1@...", but does not takes any information about destination phone number from incoming call.
Any ideas what linphone function can we use for it?

@bedefaced
Copy link
Owner

Please, try to recompile library with ADDRESS_BY_CALLDATA compilation conditional symbol from dev-branch. Maybe this will help.

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

2 participants