[asterisk-commits] jdixon: branch jdixon/chan_usbradio-1.4 r141093 - /team/jdixon/chan_usbradio-...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Sep 4 15:32:20 CDT 2008
Author: jdixon
Date: Thu Sep 4 15:32:20 2008
New Revision: 141093
URL: http://svn.digium.com/view/asterisk?view=rev&rev=141093
Log:
Hopefully this is it on this one
Modified:
team/jdixon/chan_usbradio-1.4/apps/app_rpt.c
Modified: team/jdixon/chan_usbradio-1.4/apps/app_rpt.c
URL: http://svn.digium.com/view/asterisk/team/jdixon/chan_usbradio-1.4/apps/app_rpt.c?view=diff&rev=141093&r1=141092&r2=141093
==============================================================================
--- team/jdixon/chan_usbradio-1.4/apps/app_rpt.c (original)
+++ team/jdixon/chan_usbradio-1.4/apps/app_rpt.c Thu Sep 4 15:32:20 2008
@@ -14114,8 +14114,6 @@
LOCAL_USER_ADD(u);
#endif
rpt_mutex_unlock(&myrpt->lock);
- i = 3;
- ast_channel_setoption(myrpt->rxchannel,AST_OPTION_TONE_VERIFY,&i,sizeof(char),0);
/* find our index, and load the vars initially */
for(i = 0; i < nrpts; i++)
{
@@ -14215,6 +14213,8 @@
if (!strncasecmp(myrpt->rxchanname,"Zap",3))
myrpt->zaptxchannel = myrpt->rxchannel;
}
+ i = 3;
+ ast_channel_setoption(myrpt->rxchannel,AST_OPTION_TONE_VERIFY,&i,sizeof(char),0);
/* allocate a pseudo-channel thru asterisk */
myrpt->pchannel = ast_request("zap",AST_FORMAT_SLINEAR,"pseudo",NULL);
if (!myrpt->pchannel)
More information about the asterisk-commits
mailing list