diff options
author | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-02-09 23:35:55 +0000 |
---|---|---|
committer | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-02-09 23:35:55 +0000 |
commit | bac85d924ff7980e5b71e2d80b8aa725ab472ed0 (patch) | |
tree | 9dc3c88fcf4b1fb2dde34b4bbb1515070aa82158 | |
parent | ea8b3d2711d8eca0d9aeddedc5d412c555a6e91a (diff) |
fixes regression caused by randomized call numbers.
(closes issue 0015997)
Reported by: exarv
Patches:
iax_fix.diff uploaded by dvossel (license 671)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@245874 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | channels/chan_iax2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index 2b15d056d..19066fcc7 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -824,8 +824,8 @@ static void jb_debug_output(const char *fmt, ...) /* XXX We probably should use a mutex when working with this XXX */ -static struct chan_iax2_pvt *iaxs[IAX_MAX_CALLS]; -static ast_mutex_t iaxsl[IAX_MAX_CALLS]; +static struct chan_iax2_pvt *iaxs[IAX_MAX_CALLS + 1]; +static ast_mutex_t iaxsl[IAX_MAX_CALLS + 1]; /*! * \brief Another container of iax2_pvt structures |