KnownIssues

Version 39 (Adrian Georgescu, 01/17/2014 12:27 am)

1 1 Adrian Georgescu
h1. Known Issues
2 1 Adrian Georgescu
3 38 Adrian Georgescu
h2. Blink Pro 3.5.0 
4 38 Adrian Georgescu
5 39 Adrian Georgescu
h3. Automatic contact backups fail
6 39 Adrian Georgescu
7 38 Adrian Georgescu
This version has introduced a bug that happens during period automatic backup of contacts. To fix this, replace this file: 
8 37 Adrian Georgescu
9 37 Adrian Georgescu
<pre>
10 37 Adrian Georgescu
/Applications/Blink\ Pro.app/Contents/Resources/ContactListModel.py
11 37 Adrian Georgescu
</pre>
12 37 Adrian Georgescu
13 37 Adrian Georgescu
with
14 37 Adrian Georgescu
15 37 Adrian Georgescu
http://download.ag-projects.com/Blink/ContactListModel.py
16 39 Adrian Georgescu
17 39 Adrian Georgescu
h3. Ringtone problem
18 39 Adrian Georgescu
19 39 Adrian Georgescu
For some call scenarios, outgoing ring tone fails to stop playing.
20 39 Adrian Georgescu
21 39 Adrian Georgescu
<pre>
22 39 Adrian Georgescu
/Applications/Blink\ Pro.app/Contents/Resources/AudioController.py
23 39 Adrian Georgescu
</pre>
24 39 Adrian Georgescu
25 39 Adrian Georgescu
with
26 39 Adrian Georgescu
27 39 Adrian Georgescu
http://download.ag-projects.com/Blink/AudioController.py
28 37 Adrian Georgescu
29 29 Adrian Georgescu
30 27 Adrian Georgescu
h2. STUN is not supported
31 27 Adrian Georgescu
32 28 Adrian Georgescu
Blink does not interoperate with SIP service providers that require STUN for REGISTER. STUN is an obsolete broken standard that claimed  that it solved NAT traversal problem. More concrete, these providers require the use of public IP addresses in the Contact header by the end-points when they REGISTER or make outgoing SIP sessions. As most of the end-points are located behind a NAT-ted router and using a private IP address, the way to obtain a public IP address was by using a protocol named STUN, which was wrongly described in 2003 as a NAT traversal solution (this is IETF standard RFC3489). Years later in 2008, this standard has been rectified (in RFC5389) to explicitly say that it does not provide a reliable solution for the original purpose and it should not be used the way it was originally thought. Using STUN is unreliable because it depends on the way the NAT routers are implemented, which is not standardized nor can be probed and guessing the IP address and port used for outbound connections was not working deterministically. Also, it is unsecure behaviour for a server to trust an IP address expressed in a header by a client. The new version of the STUN protocol defined in RFC 5389 explains in which context STUN may be used and advises against the use of STUN as a standalone NAT traversal utility, quote from the standard:
33 27 Adrian Georgescu
34 28 Adrian Georgescu
*Experience since the publication of RFC 3489 has found that classic STUN simply does not work sufficiently well to be a deployable solution.*
35 27 Adrian Georgescu
36 28 Adrian Georgescu
Unfortunately, some SIP service providers have not updated their implementations to fix this issue, which implies using a simple technique that is using for replies the actual IP and port where the packets originate from rather than using the ones presented in the Contact header. Blink was developed in 2009. Implementing a broken standard from 2003 which was deprecated in 2008 was not considered and is not on the roadmap.
37 31 Adrian Georgescu
38 31 Adrian Georgescu
h2. Session Requests with no Media
39 31 Adrian Georgescu
40 31 Adrian Georgescu
Blink rejects incoming session request with no media (no SDP body present in INVITE message). Some phones simply assume somehow that audio is the only possible media type. Blink does not interoperate with these devices.
41 32 Adrian Georgescu
42 36 Adrian Georgescu
h2. Missing columns in history tables
43 32 Adrian Georgescu
44 32 Adrian Georgescu
<pre>
45 32 Adrian Georgescu
Error: Error getting entries from sessions history table: no such column: sessions.am_filename
46 32 Adrian Georgescu
</pre>
47 32 Adrian Georgescu
48 32 Adrian Georgescu
Add the missing column:
49 32 Adrian Georgescu
50 32 Adrian Georgescu
Connect to history database by typing this command in the Terminal application:
51 32 Adrian Georgescu
<pre>
52 32 Adrian Georgescu
sqlite3 Library/Containers/com.agprojects.Blink/Data/Library/Application\ Support/Blink\ Pro/history/history.sqlite
53 33 Adrian Georgescu
</pre>
54 32 Adrian Georgescu
55 32 Adrian Georgescu
SQlite prompt appears:
56 32 Adrian Georgescu
57 32 Adrian Georgescu
<pre>
58 32 Adrian Georgescu
Enter ".help" for instructions
59 32 Adrian Georgescu
Enter SQL statements terminated with a ";"
60 32 Adrian Georgescu
sqlite> 
61 32 Adrian Georgescu
</pre>
62 32 Adrian Georgescu
63 35 Adrian Georgescu
Type the following command at the *sqlite>* prompt followed by Enter:
64 32 Adrian Georgescu
65 32 Adrian Georgescu
<pre>
66 32 Adrian Georgescu
ALTER TABLE sessions add column 'am_filename' LONGTEXT DEFAULT '';
67 32 Adrian Georgescu
</pre>