[Asterisk-Users] Re: DTMF oddity with OH323

Tony Mountifield tony at softins.clara.co.uk
Fri May 6 03:48:52 MST 2005


I wrote:
> I would be inclined to ignore the "space" exception in the function
> oh323_exception(), as follows:
> 
> --- chan_oh323.c        2005-04-18 21:20:30.000000000 +0100
> +++ chan_oh323.c.new    2005-05-06 11:36:03.000000000 +0100
> @@ -1164,7 +1164,7 @@
>                         p->fr.subclass = AST_CONTROL_FLASH;
>                         if (option_debug)
>                                 ast_log(LOG_DEBUG, "%s: Got flash hook.\n", c->name);
> -               } else {
> +               } else if (p->except_struct.data[0] != ' ') {
>                         p->fr.frametype = AST_FRAME_DTMF;
>                         p->fr.subclass = p->except_struct.data[0];
>                         if (option_debug)
> 
> I'm using v0.6.5 of chan_oh323 with Asterisk CVS-STABLE.

Just for the record, I've now tried the above change, and it completely
fixes the problem I was having.

Cheers
Tony
-- 
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org



More information about the asterisk-users mailing list