CNG frames need to have codec set too

This commit is contained in:
Mathieu Rene 2011-06-14 00:35:18 -04:00
parent d52a254d91
commit 36f812d938

View File

@ -410,6 +410,7 @@ cng:
data[1] = 0;
tech_pvt->read_frame.datalen = 2;
tech_pvt->read_frame.flags = SFF_CNG;
tech_pvt->read_frame.codec = &tech_pvt->read_codec;
switch_core_timer_sync(&tech_pvt->timer);