[Home]

Summary:ASTERISK-03685: Fixed Read in * 1.0.6
Reporter:varnar (varnar)Labels:
Date Opened:2005-03-16 03:19:20.000-0600Date Closed:2011-06-07 14:11:58
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) skrep.txt
Description:I have fixed the Read app
Read app has wrong forked with Cisco ATA186 H.323 (but using oh323)
Its has returned like this string ' 1 8 1 8 5 4 0 2 0 2 0 '
I have fixed, after this I have take from ATA186 normal phone number

****** ADDITIONAL INFORMATION ******

in this function
static int read_exec(struct ast_channel *chan, void *data)
I have add the next
if (!res) {
               ast_stopstream(chan);
               res = ast_app_getdata(chan, filename, tmp, maxdigits, 0);
               if (res > -1) {
                           for( i = 0; i < sizeof(tmp); i++ )
                               {
                                   if ( tmp[i] != ' ' )
                                   {
                                       tmp1[k] = tmp[i];
                                       k++;
                                   }
                               }
                       pbx_builtin_setvar_helper(chan, varname, tmp1);
                       ast_verbose(VERBOSE_PREFIX_3 "MUser entered '%s'\n", tmp1);
                       res = 0;
               } else {
                       ast_verbose(VERBOSE_PREFIX_3 "User disconnected\n");
               }
       }
Comments:By: Olle Johansson (oej) 2005-03-16 03:44:03.000-0600

Please read the bug instructions. You need to submit an attachment to the bug report in the "cvs diff -u" format. If you have any questions, please contact us on #irc, channel #asterisk-bugs

Thank you!

/O

By: Brian West (bkw918) 2005-03-16 10:25:32.000-0600

couldn't this be an h323 bug?  Why not try to fix the real problem and not work around it?  Just my thoughts.

/b

By: Olle Johansson (oej) 2005-03-16 13:08:40.000-0600

Anyone else that has seen this behaviour?

By: varnar (varnar) 2005-03-16 13:19:36.000-0600

I have used oh323

By: Brian West (bkw918) 2005-03-16 17:41:33.000-0600

oh323 or h323 reguardless is the same core libs... fixing the issue there and not working around it is what should be done.

/b

By: Mark Spencer (markster) 2005-03-17 16:50:24.000-0600

chan_oh323 should not be sending DTMF's that are spaces.  This must be fixed there, not in read, since there are other things which use DTMF's other than read and would be affected by this bug in oh323.  Thanks!