Closed GoogleCodeExporter closed 9 years ago
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
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
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
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
I have the same problem. Have You solved it?
Original comment by x.Samadh...@gmail.com
on 17 Jun 2010 at 4:36
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
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
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
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:
[deleted comment]
the issue is fixed in the current trunk.
thanks for the suggestions!
Original comment by RAndriese
on 6 May 2012 at 7:55
Original issue reported on code.google.com by
zhangyue...@gmail.com
on 11 Oct 2009 at 12:38