[asterisk-commits] jdixon: branch jdixon/chan_usbradio-1.4 r156123 - /team/jdixon/chan_usbradio-...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Nov 12 03:42:07 CST 2008
Author: jdixon
Date: Wed Nov 12 03:42:06 2008
New Revision: 156123
URL: http://svn.digium.com/view/asterisk?view=rev&rev=156123
Log:
Fixed DTMF with # (D) at end
Modified:
team/jdixon/chan_usbradio-1.4/channels/chan_irlp.c
Modified: team/jdixon/chan_usbradio-1.4/channels/chan_irlp.c
URL: http://svn.digium.com/view/asterisk/team/jdixon/chan_usbradio-1.4/channels/chan_irlp.c?view=diff&rev=156123&r1=156122&r2=156123
==============================================================================
--- team/jdixon/chan_usbradio-1.4/channels/chan_irlp.c (original)
+++ team/jdixon/chan_usbradio-1.4/channels/chan_irlp.c Wed Nov 12 03:42:06 2008
@@ -1312,6 +1312,15 @@
lasttx = p->txkey;
if ((!p->txkey) && irlp_dtmf_string[0])
{
+ if (irlp_dtmf_special)
+ {
+ i = strlen(irlp_dtmf_string);
+ if (i < (sizeof(irlp_dtmf_string) - 1))
+ {
+ irlp_dtmf_string[i + 1] = 0;
+ irlp_dtmf_string[i] = 'P';
+ }
+ }
sprintf(str,IRLP_SEND_DTMF,in_node,irlp_dtmf_string);
ast_safe_system(str);
ast_log(LOG_NOTICE,"Sent DTMF %s to IRLP\n",irlp_dtmf_string);
More information about the asterisk-commits
mailing list