versatica/JsSIP — pull request #220 by mEkblom (2014-04-30 15:40:33+00:00)
Title: Type checking for DTMF fixed, tone 0 could not be sent

Because of the rigid type checking the DTMF tone for 0 could not be sent. Would be good to have this fixed for the upcoming new version.

OT: I shouldn't criticize this project which is really great work, but in my opinion the very careful type checking is causing problems sometimes (this also happened with the STUN server checks). Passing an empty string, array or a zero is not always unintentional. Relaxing the type checking generally would help avoiding unnecessary problems.