Properly detect and report invalid maxrate and maxrate values in the FAXOPT dialplan...
authorMatthew Nicholson <mnicholson@digium.com>
Tue, 6 Jul 2010 19:53:04 +0000 (19:53 +0000)
committerMatthew Nicholson <mnicholson@digium.com>
Tue, 6 Jul 2010 19:53:04 +0000 (19:53 +0000)
commit390d5781cfdf83209dbc064af44d3cded8838c47
treea7a3936d21fbba0ca67908ffcffc84c390f44c76
parent41cdf6a720b6e6beca99253a1692b401496faca6
Properly detect and report invalid maxrate and maxrate values in the FAXOPT dialplan function.  Also make fax_rate_str_to_int() return an unsigned int and return 0 instead of -1 in the event of an error.

FAX-202

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@274243 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_fax.c