[asterisk-addons-commits] mnicholson: branch mnicholson/chan-mobile-refactor r792 - /team/mnicholson/ch...
SVN commits to the Asterisk addons project
asterisk-addons-commits at lists.digium.com
Mon Feb 23 14:33:06 CST 2009
Author: mnicholson
Date: Mon Feb 23 14:33:06 2009
New Revision: 792
URL: http://svn.digium.com/svn-view/asterisk-addons?view=rev&rev=792
Log:
reset the dsp when creating new channels
Modified:
team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c
Modified: team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c
URL: http://svn.digium.com/svn-view/asterisk-addons/team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c?view=diff&rev=792&r1=791&r2=792
==============================================================================
--- team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c (original)
+++ team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c Mon Feb 23 14:33:06 2009
@@ -736,6 +736,9 @@
else
pvt->do_alignment_detection = 0;
pvt->do_hangup = 1;
+
+ ast_dsp_digitreset(pvt->dsp);
+
chn = ast_channel_alloc(1, state, cid_num, pvt->id, 0, 0, pvt->context, 0, "Mobile/%s-%04lx", pvt->id, ast_random() & 0xffff);
if (chn) {
chn->tech = &mbl_tech;
More information about the asterisk-addons-commits
mailing list