diff options
author | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-02-02 22:32:56 +0000 |
---|---|---|
committer | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-02-02 22:32:56 +0000 |
commit | f04f470bcb68598efca099cbdb80082e8e493fdc (patch) | |
tree | 83a7d31578f0777d40f0692f366520fdbfd63277 /include | |
parent | 9bdf9d7b1b450e6dffc3be46cbd1267047fc452b (diff) |
Merged revisions 244443 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r244443 | dvossel | 2010-02-02 16:27:23 -0600 (Tue, 02 Feb 2010) | 18 lines
fixes crash during T.38 negotiation caused by invalid or missing FaxMaxDatagram field
AST-2010-001
(closes issue #16634)
Reported by: krn
(closes issue #16724)
Reported by: barthpbx
(closes issue #16517)
Reported by: bklang
(closes issue #16485)
Reported by: elsto
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@244447 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/udptl.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/asterisk/udptl.h b/include/asterisk/udptl.h index dba2cc0d6..f10dd8c57 100644 --- a/include/asterisk/udptl.h +++ b/include/asterisk/udptl.h @@ -108,12 +108,28 @@ void ast_udptl_set_error_correction_scheme(struct ast_udptl *udptl, enum ast_t38 void ast_udptl_set_local_max_ifp(struct ast_udptl *udptl, unsigned int max_ifp); +/*! + * \brief retrieves local_max_datagram. + * + * \retval positive value representing max datagram size. + * \retval 0 if no value is present + */ unsigned int ast_udptl_get_local_max_datagram(struct ast_udptl *udptl); +/*! + * \brief sets far max datagram size. If max_datagram is = 0, the far max datagram + * size is set to a default value. + */ void ast_udptl_set_far_max_datagram(struct ast_udptl *udptl, unsigned int max_datagram); unsigned int ast_udptl_get_far_max_datagram(const struct ast_udptl *udptl); +/*! + * \brief retrieves far max ifp + * + * \retval positive value representing max ifp size + * \retval 0 if no value is present + */ unsigned int ast_udptl_get_far_max_ifp(struct ast_udptl *udptl); void ast_udptl_setnat(struct ast_udptl *udptl, int nat); |