| Commit message (Collapse) | Author | Age | Lines |
... | |
| |\ \ \
| | | | |
| | | | | |
Prevent recursive locking of phone_users_mtx in add_phone_user()
|
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When encountering two users with the same contact name, attempting to
differentiate them using USER_HOST(), a.k.a. get_ip_sip(), would result
in EDEADLK since phone_users_mtx was already locked by add_phone_user().
Closes #88
|
| |\ \ \
| | | | |
| | | | | |
resolve nat_public_ip hostname for dyndns to work
|
| | |/ / |
|
| |\ \ \
| | | |/
| | |/| |
Simple fixes for two deadlocks
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
`t_phone::mutex_3way` can be locked twice when hanging up a conference
call:
- `t_phone::cleanup_3way_state()` acquires a lock
- `t_audio_session::stop_3way()` is called
- `t_audio_session::get_peer_3way()` is called
- `t_phone::get_3way_peer_line()` is called
- which acquires another lock
Making that mutex recursive is a simple way to work around this issue.
|
| | |/
| | |
| | |
| | |
| | | |
A write lock on `lines_mtx` has already been acquired at the beginning
of `end_call()`.
|
| |\ \
| | | |
| | | | |
let gui set MAX_PTIME cutoff 80ms
|
| | |/ |
|
| | | |
|
| | | |
|
| | | |
|
| |\ \
| | | |
| | | | |
Add Slovak translation
|
| | |/ |
|
| |/ |
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Since Qt 5.11, generated ui_getprofilename.h no longer includes QHeaderView
which breaks the chain that included qvalidator.h in getprofilename.cpp.
As it feels rather fragile to rely on such indirect includes, let's include
<QRegExpValidator> explicitly in each file using QRegExpValidator class.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
There's a potential ambiguity between ::bind() and std::bind() if
<functional> happens to be included beforehand (as is the case with
libc++).
|
| |
|
|\
| |
| | |
PAI Header option
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When you reject a call, either
A. the forwarding rule for User-Busy kicks in,
like an answering machine or another extension (of a personal secretary or a deputy). Or
B. the caller hears normal ringing first, and then the busy tone.
To allow case A, a SIP user-agent client (UAC) has to return the status User-Busy (486). The same should happen in case B, because the caller shall hear a busy tone on rejection. 486 is mandated for SIP clients in mobile phones by the GSMA. Furthermore, other SIP-client creators give a 486 in that case as well; I tested Acrobits, Atlinks, Counterpath, Gigaset, Grandstream, RTX, Snom, Yealink, and Vtech.
Before this change, twinkle rejected a call with the SIP-Status 603. The class 6xx requires that *all* other registered phones stop to ring. Furthermore, some SIP user-agent servers (UAS) follow RFC 3398 and map a status 603 to the cause-code 21, which is mapped back to status 403 (Forbidden). Cisco and Digium Asterisk do this. For example in Asterisk, after you rejected the call in twinkle, the caller did not get 603 or 486, but 403. However, in case of 403, the original caller is allowed to re-try the call setup. For example, I have a Nokia Symbian/S60 based phone which tries via IPv4 first, then after it received the 403, that phone tries again via IPv6. Consequently, a user of twinkle had to reject the call twice when 603 was returned.
|
| | |
|
|/ |
|
| |
|
|
|
| |
I've updated the German translation file.
|
| |
|
|
|
|
| |
(This is just cut-and-paste, also removing some trailing whitespace.)
|
|
|
|
| |
Fixes #82
|
|\
| |
| | |
Fix two issues with SelectUserForm
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Fix two issues with multiple number conversion rules in UserProfileForm
|
| | | |
|
| |/ |
|
|\ \
| | |
| | | |
Skip over the mutex field when copying t_call_info data
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
t_line::get_call_info() returns a copy of a (locked) t_call_info;
copying the mutex, aside from being undefined in POSIX, returns an
unexpectedly locked copy, possibly resulting in a deadlock.
This fix is pretty much a copy of the one applied to t_call_record in
38bb6b7, with an added check for self-assignment. Like its predecessor,
it is still susceptible to deadlock, though (as unlikely as it may be).
Fixes #73
|
|\ \
| | |
| | | |
Replace (old) FSF postal address with URL in header files
|
| | |
| | |
| | |
| | |
| | |
| | | |
Wording copied from https://www.gnu.org/licenses/gpl-howto.en.html
Fixes #25, fixes #71
|
| |/
|/|
| |
| | |
Fixes #74
|
| |
| |
| |
| |
| |
| |
| | |
The correct French term for "address book" is "carnet d'adresses", as
documented in the following term record:
http://www.gdt.oqlf.gouv.qc.ca/ficheOqlf.aspx?Id_Fiche=8365993
|
|/
|
|
|
|
| |
The confirmation prompt when deleting a contact from the local address
book (added in 57dc032) contains two new translatable strings; this
commit provides their French translation.
|