Re: Proposal: Fire a toneDiscarded event while discarding the invalid DTMF values.

On 14 June 2014 02:19, Harald Alvestrand <harald@alvestrand.no> wrote:
>> FWIW, I'm with Tim on this one. I also think it makes it clearer -
>> either the UA throws, or it sends all symbols.
>
> FWIW, I think the spec will be simpler if we throw
> IllegalCharacterException on strings that contain any character except
> [0-9A-Da-d*#,], and have no special treatment at sendout time (illegal
> characters can't occur there).


FWIW, FWIW isn't necessary.  This is simply good design.  Having
something blow up early avoids nasty deferred surprises.

Received on Saturday, 14 June 2014 19:22:57 UTC