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 cannot display the caller name #2

Closed
GoogleCodeExporter opened this issue Sep 27, 2015 · 11 comments
Closed

Incoming call cannot display the caller name #2

GoogleCodeExporter opened this issue Sep 27, 2015 · 11 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Incoming call cannot display the caller name
2. pjsipCallWrapper.cs  onCallIncoming
3. sturi  is in <sip:xxxxx:@xxx@.com>   not display name

What is the expected output? What do you see instead?
the sturi shall be  "XXXDisplayName"<sip:xxxx@xxx@.com>

What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by zhangyue...@gmail.com on 11 Oct 2009 at 12:38

@GoogleCodeExporter
Copy link
Author

Hi, ist there a solution for this problem?

I need to display the Displayname in my Aplliakation: "XXXDisplayName" but i 
get 
only the Number xxxx in the event onIncomingCall

Original comment by jose.seg...@googlemail.com on 20 Oct 2009 at 12:47

@GoogleCodeExporter
Copy link
Author

No answer is also an answer!

Thank you for the (none)Help!

Original comment by jose.seg...@googlemail.com on 21 Jan 2010 at 7:52

@GoogleCodeExporter
Copy link
Author

hi jose.seguin..
off topic comment here ..but can u receive call? May i know how u do it? u can 
reply 
me at cwchia87@gmail.com
thank you 

Original comment by cwchi...@gmail.com on 5 Mar 2010 at 11:07

@GoogleCodeExporter
Copy link
Author

I get neither the DisplayName or the Number.  Instead, I get a GUID-like string:
e.g. 
sturi="sip:e04d938de9124da690c8f1760f151...@204.11.192.37:5060;transport=udp" 
Can anyone explain why?

Original comment by alw...@gmail.com on 5 May 2010 at 5:42

@GoogleCodeExporter
Copy link
Author

I have the same problem. Have You solved it?

Original comment by x.Samadh...@gmail.com on 17 Jun 2010 at 4:36

@GoogleCodeExporter
Copy link
Author

You can modify pjsipdll sources to obtain this value.

In my case (pjsipDll_mobile)
In function "static void on_incoming_call

Add 

"
    wchar_t* treminfo = (wchar_t*)pj_pool_alloc(app_config.pool, 255);
    treminfo = PJ_STRING_TO_NATIVE(call_info.remote_info.ptr, treminfo, call_info.remote_info.slen);
"

And change 
    cb_callincoming(call_id, tremcontat);
by
    cb_callincoming(call_id, treminfo);

Original comment by Jonas.Si...@gmail.com on 18 Jun 2010 at 8:56

@GoogleCodeExporter
Copy link
Author

Unfortunally i don't have ability to compile this library. 
Can You send to me working one, please.

Original comment by x.Samadh...@gmail.com on 18 Jun 2010 at 10:28

@GoogleCodeExporter
Copy link
Author

Thanks for the information but i can't find 'cb_callincoming(call_id, 
tremcontat)' in the entire solution...

Which version did you mean??

Thanks!

Original comment by jose.seg...@googlemail.com on 21 Jul 2010 at 9:48

@GoogleCodeExporter
Copy link
Author

For pjsipDll (rev-166):  

Open pjsipDll.cpp file and go to static void on_incoming_call ... function; 
then change the line 

if (cb_callincoming != 0) cb_callincoming(call_id, 
call_info.remote_contact.ptr);

by this one:

if (cb_callincoming != 0) cb_callincoming(call_id, call_info.remote_info.ptr);

Build the project again.

HC
Regards.

Original comment by hcaa...@gmail.com on 29 Jul 2010 at 6:23

Attachments:

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

the issue is fixed in the current trunk.

thanks for the suggestions!

Original comment by RAndriese on 6 May 2012 at 7:55

  • Changed state: Fixed

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

No branches or pull requests

1 participant