![]() |
Re: [Announce] HeySms - Send and receive sms on your computer
Quote:
When I started HeySms, i remember to get an error like this with Kopete ! But I didn't reproduce the bug with Pidgin ... So i think that was one of countless bigs of kopete ... ;) So, I just need to know how "encode" space character and I think I have the same bug with accented characters ... |
Re: [Announce] HeySms - Send and receive sms on your computer
Maybe a urlencode ???
=> From="firstname%20lastname" ??? |
Re: [Announce] HeySms - Send and receive sms on your computer
Quote:
A valid XMPP address is either of: * host * node@host * node@host/resource Spaces are not allowed in neither host nor node. I would recommend something like +xxxxx@n900/sender's name, where +xxxxx is the sender's number. You will have to apply the resourceprep profile of stringprep to the resource part (i.e. the sender's name) to avoid trouble with accents etc. Since sender number can be alphanumeric it might be a good idea to apply the nodeprep profile of stringprep to the node part, too. If you can guarantee that those alphanumeric numbers use ASCII characters only then you can skip that part. But if you get resourceprepping working then this shouldn't be difficult to add and might make things easier if non-ASCII numbers should turn up in the future. :) |
Re: [Announce] HeySms - Send and receive sms on your computer
Quote:
Is it possible to have "heysms@n900/sender1", "heysms@n900/sender2", ... ? And how the contact will be shown in the pidgin/kopete/... client ?? "sender1" ? "heysms@n900/sender1" |
Re: [Announce] HeySms - Send and receive sms on your computer
Quote:
First name, last name and nickname are not supposed to be part of the ID that is transmitted in the "from"-attribute. According to the specification, they are part of the DNS TXT record that mDNS publishes. The ID that's used for the "from" (or "to") attribute will normally not show up in the chat client. It seems it's used as a fallback only if everything else fails... which is the case with HeySMS. Do you have avahi-discover installed? It gives you a nice comparison. For example, both the desktop account and the regular N900 account show up under "iChat Presence" as somthing like this: type '_presence._tcp' name benny@myhome domain 'local' Host myhome.local / 10.0.0.160:5298, TXT txtvers=1 TXT 1st=Oskar G. TXT last=Welzl TXT port.p2pj=5298 TXT status=avail TXT node=libpurple TXT ver=2.10.4 TXT vc=! TXT phsh=8917af748c3a0d52c7a0aadda54bde740e8ac3c0 What I know is that this account, created in Pidgin, shows up as "Oskar G. Welzl" in every other XMPP Link Local enabled client I use. It does not show up as "benny", although "benny@myhome" is used in the "from"-/"to"-attributes that are used during the conversation. All these data fields preceded by TXT come from the DNS TXT record. When I examine one of the accounts created by HeySMS with avahi-discover, most of these TXT fields don't exist. I only find: TXT port.p2pj=5299 TXT version=1 TXT txtvers=1 TXT status=avail So what I assume would be the right thing to do is: Find a way to create these TXT fields from within your code. In case it's a known contact from the address book, fill in TXT last TXT nick TXT 1st accordingly. If the sender is not found in the address book, maybe use TXT nick only and put the number there. Then, create an ID based on the hostname and the phone numer of the sender - you'll end up with something like "+123456@Nokia-N900-42-11". Use this ID within the XMPP-conversation to fill "From"/"To". And, above all, wait for input from other folks here. I'm not a real expert in XMPP and zeroconf. |
Re: [Announce] HeySms - Send and receive sms on your computer
Hello !
Fix is in devel repository ! 1.2.1-1 I think it fixes the compatibility with client like Empathy (normal clients :D ) I'm waiting for you comments ! Thanks all ! |
Re: [Announce] HeySms - Send and receive sms on your computer
Works with Empathy and all the various name combinations that had not worked last time. Sweet! This should be on every phone! :)
|
Re: [Announce] HeySms - Send and receive sms on your computer
Quote:
Imported to testing ! Thanks again ! (I use the "TXT nick" and i delete all special characters ...) |
Re: [Announce] HeySms - Send and receive sms on your computer
Quote:
(Of course I still think you should win a N9 or N950 for this.) |
Re: [Announce] HeySms - Send and receive sms on your computer
Quote:
Code:
contact1 Yet the phone number printed and the new code in createPDUmessage seems OK. I don't get it. |
All times are GMT. The time now is 04:18. |
vBulletin® Version 3.8.8