Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 10 Replies) Problem with displaying a long name (Read 3207 times)
HellRabbit
YaBB Newbies
*
Offline


Thanks for the PhonerLite!

Posts: 13
Location: Belarus
Joined: 24. Aug 2020
Gender: Male
Problem with displaying a long name
27. Apr 2022 at 11:17
Print Post  
Hello!
I have a problem with displaying a long name received over the SIP protocol

In the PBX call log, this is displayed in full:

https://prnt.sc/yG4huWghXNXR

Using the SIP protocol, it is also sent to the softphone completely:

https://prnt.sc/GD-81Lp3yIRz

But in the softphone itself, the caller's name is cut off:

https://prnt.sc/LRG3LK9Om4Sn

Version 3.2:

https://prnt.sc/FBg3t7ROpl5o

Can you help me, please?
  
Back to top
 
IP Logged
 
Phoner Admin
YaBB Administrator
*****
Offline



Posts: 10894
Location: Germany
Joined: 12. Oct 2003
Gender: Male
Re: Problem with displaying a long name
Reply #1 - 27. Apr 2022 at 11:34
Print Post  
You can show and hide the debug window in PhonerLite via the help menu. You can see the complete message exchange as text. You should see an INVITE message containing that long name. Can you please copy&paste that message (not the complete log!) here or send it to me by e-mail?
I assume that UTF-8 encoding needs too much bytes and the name is cut.
  
Back to top
WWW  
IP Logged
 
HellRabbit
YaBB Newbies
*
Offline


Thanks for the PhonerLite!

Posts: 13
Location: Belarus
Joined: 24. Aug 2020
Gender: Male
Re: Problem with displaying a long name
Reply #2 - 27. Apr 2022 at 11:50
Print Post  
Phoner Admin wrote on 27. Apr 2022 at 11:34:
Can you please copy&paste that message


Thank you for your prompt feedback! I hope this is what you need. If not, then the full log (only for this call) in the attachment

Quote:
12:45:43,539: R: 192.168.1.16:5060 (UDP)
INVITE sip:204@192.168.1.77 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.16:5060;branch=z9hG4bK666f818b;rport
Max-Forwards: 70
From: "Шипило Станислав Витальевич (BNBEREZ, Wialon_BN, начальник транспортного отдела)" <sip:+375333737878@192.168.1.16>;tag=as19d6d621
To: <sip:204@192.168.1.77>
Contact: <sip:+375333737878@192.168.1.16:5060>
Call-ID: 4dc09396071207b7255d70bf2c2bb91d@192.168.1.16:5060
CSeq: 102 INVITE
User-Agent: pbx
Date: Wed, 27 Apr 2022 09:45:44 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
P-Asserted-Identity: "Шипило Станислав Витальевич (BNBEREZ, Wialon_BN, начальник транспортного отдР" <sip:+375333737878@192.168.1.16>
Content-Type: application/sdp
Content-Length: 234
  

new.txt ( 7 KB | 57 Downloads )
Back to top
 
IP Logged
 
Phoner Admin
YaBB Administrator
*****
Offline



Posts: 10894
Location: Germany
Joined: 12. Oct 2003
Gender: Male
Re: Problem with displaying a long name
Reply #3 - 27. Apr 2022 at 12:12
Print Post  
OK, that name is coming from the "Display" field in "From" header. Internally PhonerLite only supports 64 bytes for it. UTF-8 encoding may lead to shorter number of characters due multi byte encoding. 
To be honest: So long names always have a problem. I don't want to enlarge window size to display such long names. I hope you can live with that.
  
Back to top
WWW  
IP Logged
 
HellRabbit
YaBB Newbies
*
Offline


Thanks for the PhonerLite!

Posts: 13
Location: Belarus
Joined: 24. Aug 2020
Gender: Male
Re: Problem with displaying a long name
Reply #4 - 27. Apr 2022 at 12:41
Print Post  
Phoner Admin wrote on 27. Apr 2022 at 12:12:
I hope you can live with that.


It's very sad... We really need it very much... Maybe, as an option, make two installers of the program, one with long names, the second ordinary (for those who do not want to take risks). Please
  
Back to top
 
IP Logged
 
Phoner Admin
YaBB Administrator
*****
Offline



Posts: 10894
Location: Germany
Joined: 12. Oct 2003
Gender: Male
Re: Problem with displaying a long name
Reply #5 - 27. Apr 2022 at 14:32
Print Post  
Sorry, but that would change the interface of my DLL and the GUI itself (incoming call dialog). I don't like to change that.
I hope you will find another solution.
  
Back to top
WWW  
IP Logged
 
HellRabbit
YaBB Newbies
*
Offline


Thanks for the PhonerLite!

Posts: 13
Location: Belarus
Joined: 24. Aug 2020
Gender: Male
Re: Problem with displaying a long name
Reply #6 - 27. Apr 2022 at 15:08
Print Post  
Phoner Admin wrote on 27. Apr 2022 at 14:32:
Sorry, but that would change the interface of my DLL and the GUI itself (incoming call dialog). I don't like to change that.
I hope you will find another solution.


But when such a contact is in the program directory (internal directory or Google Contacts), then it is displayed in the program completely, without cropping. The problem is when the name is transmitted from the PBX itself
  
Back to top
 
IP Logged
 
Phoner Admin
YaBB Administrator
*****
Offline



Posts: 10894
Location: Germany
Joined: 12. Oct 2003
Gender: Male
Re: Problem with displaying a long name
Reply #7 - 28. Apr 2022 at 12:42
Print Post  
I uploaded a new beta version of PhonerLite. Give it a try and tell me, if all more information is displayed now.
  
Back to top
WWW  
IP Logged
 
HellRabbit
YaBB Newbies
*
Offline


Thanks for the PhonerLite!

Posts: 13
Location: Belarus
Joined: 24. Aug 2020
Gender: Male
Re: Problem with displaying a long name
Reply #8 - 28. Apr 2022 at 13:16
Print Post  
Phoner Admin wrote on 28. Apr 2022 at 12:42:
I uploaded a new beta version of PhonerLite. Give it a try and tell me, if all more information is displayed now.


I tested it, the result is great!
Thank you very much! Tell me, please, will this remain a beta version specifically for our needs, or will a stable version be released and will continue to be updated?

https://prnt.sc/ayScf2pQQkhy
  
Back to top
 
IP Logged
 
Phoner Admin
YaBB Administrator
*****
Offline



Posts: 10894
Location: Germany
Joined: 12. Oct 2003
Gender: Male
Re: Problem with displaying a long name
Reply #9 - 28. Apr 2022 at 13:41
Print Post  
Nice to hear that. As soon as a new Version will be available, this will be included!
But you see, that the incoming call dialog (lower right corner in your image) is not large enough to show that very long information. I mean exactly that - I won't change it.
  
Back to top
WWW  
IP Logged
 
HellRabbit
YaBB Newbies
*
Offline


Thanks for the PhonerLite!

Posts: 13
Location: Belarus
Joined: 24. Aug 2020
Gender: Male
Re: Problem with displaying a long name
Reply #10 - 28. Apr 2022 at 13:51
Print Post  
Phoner Admin wrote on 28. Apr 2022 at 13:41:
Nice to hear that. As soon as a new Version will be available, this will be included!
But you see, that the incoming call dialog (lower right corner in your image) is not large enough to show that very long information. I mean exactly that - I won't change it.


This is definitely not a problem, we have been working with this since 2016! Smiley
  
Back to top
 
IP Logged
 
HellRabbit
YaBB Newbies
*
Offline


Thanks for the PhonerLite!

Posts: 13
Location: Belarus
Joined: 24. Aug 2020
Gender: Male
Re: Problem with displaying a long name
Reply #11 - 05. May 2022 at 07:40
Print Post  
Good morning!
Please tell me when the new version of the program will be available?
  
Back to top
 
IP Logged
 
Phoner Admin
YaBB Administrator
*****
Offline



Posts: 10894
Location: Germany
Joined: 12. Oct 2003
Gender: Male
Re: Problem with displaying a long name
Reply #12 - 09. May 2022 at 14:58
Print Post  
I enhanced that scripting capability a bit and wait for some feedback. I hope the final version will be available at the end of the week.
  
Back to top
WWW  
IP Logged
 
Phoner Admin
YaBB Administrator
*****
Offline



Posts: 10894
Location: Germany
Joined: 12. Oct 2003
Gender: Male
Re: Problem with displaying a long name
Reply #13 - 13. May 2022 at 09:45
Print Post  
Version 3.04 is now available. The support for longer display names is included.
  
Back to top
WWW  
IP Logged
 
HellRabbit
YaBB Newbies
*
Offline


Thanks for the PhonerLite!

Posts: 13
Location: Belarus
Joined: 24. Aug 2020
Gender: Male
Re: Problem with displaying a long name
Reply #14 - 24. May 2022 at 07:55
Print Post  
Thank you!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint