Username: Password:

Author Topic: Betamax- VoipStunt  (Read 23078 times)

Bluesman

  • Administrator
  • Hero Member
  • *****
  • Posts: 1249
    • View Profile
    • goText
Re: Betamax- VoipStunt
« Reply #15 on: March 25, 2008, 09:47:16 pm »
thank you for info, i have to do some test, i ll do them this week cause i m gonna buy some betamax credit cause i have finished it :-)

Tigerix

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Betamax- VoipStunt
« Reply #16 on: April 08, 2008, 03:19:50 pm »
Hi Bluesman,

I guess that I have found out the reason for the website error! :)

The problem is:
If characters like "üäöß" are used in the text message,
then the message may exceed the character length of the text!

Thats because for some reason Betamax-HTTP-API counts each of these special characters with a length of 2 characters.

So a text which is 160 characters long and which contains for example: ä, ü, ö, is 163 characters long in reality.

A sad fact is, that the Betamax HTTP-API seems not to be able to deal with characters like äüöß, because they are getting send out as "*" on the mobile phone. Only the betamax windows software / client is able to deal correctly with äüöß.

A few ideas:
1. So, could you possibly implement a "feature" which converts these characters to a,u,o,s ?
This would make it possible to still use predicted text (T9) of the phone, even if the spelling send to the recipient is not totally correct. But its better than "*" anyways.

2.
Could you also possibly implement the "split message" and "multiple recipient" feature to the "All-Betamax.pl"-Skript? Please :)


Thanks very much for your time and answers.
Cheers from the Black Forest,
Tigerix.

Zydio

  • Administrator
  • Hero Member
  • *****
  • Posts: 2111
  • goText++ Desk! author
    • View Profile
    • goText++ Desk! homepage
Re: Betamax- VoipStunt
« Reply #17 on: April 09, 2008, 08:29:32 am »
Quote

Tigerix ha scritto:
Hi Bluesman,

I guess that I have found out the reason for the website error! :)

The problem is:
If characters like "üäöß" are used in the text message,
then the message may exceed the character length of the text!

Thats because for some reason Betamax-HTTP-API counts each of these special characters with a length of 2 characters.

So a text which is 160 characters long and which contains for example: ä, ü, ö, is 163 characters long in reality.

A sad fact is, that the Betamax HTTP-API seems not to be able to deal with characters like äüöß, because they are getting send out as "*" on the mobile phone. Only the betamax windows software / client is able to deal correctly with äüöß.

Maybe it's an encoding related problem? The catch may be that the script needs to send those characters as UTF-8, or something else..
Someone should do some tests (I can't because I don't have betamax account).

Quote

A few ideas:
1. So, could you possibly implement a "feature" which converts these characters to a,u,o,s ?
This would make it possible to still use predicted text (T9) of the phone, even if the spelling send to the recipient is not totally correct. But its better than "*" anyways.

This is alread possible, and if I'm not wrong already done with other chars (like à, è, ì ...).
If you give us a complete list of problematic characters we can replace them on the script side, if we can't solve this problem changing the encoding (as said above).

Quote

2.
Could you also possibly implement the "split message" and "multiple recipient" feature to the "All-Betamax.pl"-Skript? Please :)


Thanks very much for your time and answers.
Cheers from the Black Forest,
Tigerix.

Bluesman can you do this from your new notebook?  :-D

Tigerix

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Betamax- VoipStunt
« Reply #18 on: April 09, 2008, 12:16:26 pm »
Hi Zydio,

thanks for your reply.

I have made a bit of research and found the following working character translation:

"ß" = "%1E"
"Ä" = "%5B"
"Ö" = "%5C"
"Ü" = "%5E"
"ä" = "%7b"
"ö" = "%7c"
"ü" = "%7e"

Source (Unfortunately in German):
http://www.ip-phone-forum.de/showpost.php?p=965296&postcount=22

The translation was found out by try-and-error, and apparently hasn't been found in any code table yet.

Could you possibly implement this translation, and maybe also add the  "split message" and "multiple recipient" feature :) ?

Unfortunately I am working on an old AMD 1800+ PC (No Laptop yet!)...


Cheers,
Tigerix.

Tigerix

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Betamax- VoipStunt
« Reply #19 on: April 09, 2008, 02:35:16 pm »
After an hour of research I finally found the "Character encoding" Betamax is using :)
http://en.wikipedia.org/wiki/ISO/IEC_646

The characters mentioned in my previous post can be found in the "DE" column in this table:
"Characters for each ISO 646 compatible charset"

I really don't understand why Betamax is using such an old format...

Tigerix

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Betamax- VoipStunt
« Reply #20 on: April 09, 2008, 07:17:51 pm »
The code table mentioned above seems to be not exactly what Betamax is using!

But I have made the following test, which shows the exact encoding:
(Starting from %01 to %7F):
https://myaccount.nonoh.net/clx/sendsms.php?username=myUsername&password=myPassword&from=0123456789&to=0123456789&text=%01%02%03%04%05%06%07%08%09%0A%0B%0C%0D%0E%0F%10%11%12%13%14%15%16%17%18%19%1A%1B%1C%1D%1E%1F%20%21%22%23%24%25%26%27%28%29%2A%2B%2C%2D%2E%2F%30%31%32%33%34%35%36%37%38%39%3A%3B%3C%3D%3E%3F%40%41%42%43%44%45%46%47%48%49%4A%4B%4C%4D%4E%4F%50%51%52%53%54%55%56%57%58%59%5A%5B%5C%5D%5E%5F%60%61%62%63%64%65%66%67%68%69%6A%6B%6C%6D%6E%6F%70%71%72%73%74%75%76%77%78%79%7A%7B%7C%7D%7E%7F

This is the result on my phone:
£$¥èéùìòç
Øø
Åå?_?????????*æßÉ !"#¤%&'()*+,-./0123456789:;<=>?¡ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÑܧ¿abcdefghijklmnopqrstuvwxyzäöñüà

Tigerix

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Betamax- VoipStunt
« Reply #21 on: April 09, 2008, 08:28:57 pm »
Hi Zydio,
Hi Bluesman,
Hi Everyone :)

To make the character encoding tests more readable I have made a new test (Via 3 Test-SMS), which shows the result of the encoding received by my phone. Starting from %01 to %8F:

https://myaccount.nonoh.net/clx/sendsms.php?username=myUsername&password=myPassword&from=0123456789&to=0123456789&text=01%0102%0203%0304%0405%0506%0607%0708%0809%090A%0A0B%0B0C%0C0D%0D0E%0E0F%0F10%1011%1112%1213%1314%1415%1516%1617%1718%1819%191A%1A1B%1B1C%1C1D%1D1E%1E1F%1F20%2021%2122%2223%2324%2425%2526%2627%2728%2829%292A%2A2B%2B2C%2C2D%2D2E%2E2F%2F

https://myaccount.nonoh.net/clx/sendsms.php?username=myUsername&password=myPassword&from=0123456789&to=0123456789&text=30%3031%3132%3233%3334%3435%3536%3637%3738%3839%393A%3A3B%3B3C%3C3D%3D3E%3E3F%3F40%4041%4142%4243%4344%4445%4546%4647%4748%4849%494A%4A4B%4B4C%4C4D%4D4E%4E4F%4F50%5051%5152%5253%5354%5455%5556%5657%5758%5859%595A%5A5B%5B5C%5C5D%5D5E%5E5F%5F

https://myaccount.nonoh.net/clx/sendsms.php?username=myUsername&password=myPassword&from=0123456789&to=0123456789&text=60%6061%6162%6263%6364%6465%6566%6667%6768%6869%696A%6A6B%6B6C%6C6D%6D6E%6E6F%6F70%7071%7172%7273%7374%7475%7576%7677%7778%7879%797A%7A7B%7B7C%7C7D%7D7E%7E7F%7F80%8081%8182%8283%8384%8485%8586%8687%8788%8889%898A%8A8B%8B8C%8C8D%8D8E%8E8F%8F


Edit1: Sorry, for all my postings: I just realized, that this board has also an edit function :)

Edit2: If you try to reply to this post, please scroll to the right to be able see the post editor :)


And Finally: This is the result on my phone:

01 £
02 $
03 ¥
04 è
05 é
06 ù
07 ì
08 ò
09 ç
0A
0B Ø
0C ø
0D
0E Å
0F å
10 ?
11 _
12 ?
13 ?
14 ?
15 ?
16 ?
17 ?
18 ?
19 ?
1A ?
1B *
1C Æ
1D æ
1E ß
1F É
20
21 !
22 "
23 #
24 ¤
25 %
26 &
27 '
28 (
29 )
2A *
2B +
2C ,
2D -
2E .
2F /
30 0
31 1
32 2
33 3
34 4
35 5
36 6
37 7
38 8
39 9
3A :
3B ;
3C <
3D =
3E >
3F ?
40 ¡
41 A
42 B
43 C
44 D
45 E
46 F
47 G
48 H
49 I
4A J
4B K
4C L
4D M
4E N
4F O
50 P
51 Q
52 R
53 S
54 T
55 U
56 V
57 W
58 X
59 Y
5A Z
5B Ä
5C Ö
5D Ñ
5E Ü
5F §
60 ¿
61 a
62 b
63 c
64 d
65 e
66 f
67 g
68 h
69 i
6A j
6B k
6C l
6D m
6E n
6F o
70 p
71 q
72 r
73 s
74 t
75 u
76 v
77 w
78 x
79 y
7A z
7B ä
7C ö
7D ñ
7E ü
7F à
80*
81*
82*
83*
84*
85*
86*
87*
88*
89*
8A*
8B*
8C*
8D*
8E*
8F*

Bluesman

  • Administrator
  • Hero Member
  • *****
  • Posts: 1249
    • View Profile
    • goText
Re: Betamax- VoipStunt
« Reply #22 on: April 11, 2008, 01:10:30 am »
hi!
sorry for delay, but i'm very busy for exams!
I think the problem is the encoding of perl script communicating with betamax API, the script works with western-europe encoding, i should try utf-8 and I need you help to test it.
Anyway the script made a POST of that request of the API, so any special char is auto converted in the HTTP safe one (if encoding is supported)

Tigerix

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Betamax- VoipStunt
« Reply #23 on: April 11, 2008, 10:04:22 am »
Hi Bluesman,

No problem. Let me know when it is ready to test! :)

Michael Sorokin

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Betamax- VoipStunt
« Reply #24 on: May 04, 2008, 06:15:34 pm »
I have "Website error (12voip)" with 12voip when using goText.
I am using only Latin letters and messages are short (15-20 symbols in average).
So maybe the problem is not in coding? What do you think?

P.S.: In spite of error, recipient get SMS.