Stefan Schuermans commited on 2019-06-23 09:16:00
Showing 1 changed files, with 5 additions and 0 deletions.
| ... | ... |
@@ -691,6 +691,11 @@ void SipPhone::timeCall() |
| 691 | 691 |
if (m_fileTarget.m_valid) {
|
| 692 | 692 |
m_curConn = m_mgrs.m_opMgr.connect(m_fileTarget.m_obj.m_str, this); |
| 693 | 693 |
} |
| 694 |
+ // operator connection failed -> request hang up of phone |
|
| 695 |
+ if (! m_curConn) {
|
|
| 696 |
+ std::lock_guard<std::mutex> lock(m_sharedData.mtx); |
|
| 697 |
+ m_sharedData.hangup = true; |
|
| 698 |
+ } |
|
| 694 | 699 |
} |
| 695 | 700 |
|
| 696 | 701 |
// DTMF received -> send to operator connection |
| 697 | 702 |