NMT: Fix, stop ringing timer at answer

This commit is contained in:
Andreas Eversberg 2016-08-02 11:18:13 +02:00
parent 28ae3e300f
commit 55229a397c
1 changed files with 1 additions and 0 deletions

View File

@ -1177,6 +1177,7 @@ static void rx_mt_ringing(nmt_t *nmt, frame_t *frame)
PDEBUG_CHAN(DNMT, DEBUG_INFO, "Received 'answer' from phone.\n");
nmt_new_state(nmt, STATE_MT_COMPLETE);
nmt->tx_frame_count = 0;
timer_stop(&nmt->timer);
call_in_answer(nmt->sender.callref, &nmt->subscriber.country);
break;
default: