Commit Graph

442 Commits (577c0ebedd71b02737f00ec91f4fe7dc48816e05)

Author SHA1 Message Date
Russell Bryant 2c757b4ab7 The function make_trunk() can fail and return -1 instead of a valid new call
18 years ago
Russell Bryant defd4eb3e2 Backport changes that make chan_iax2 not start the PBX on an incoming channel
18 years ago
Kevin P. Fleming 9edd1e094c if we are going to set variables on a newly created channel, it should be done *before* we start the PBX on it
18 years ago
Jason Parker 074cc21291 Fix an issue with trying to kill a thread before it gets created.
18 years ago
Tilghman Lesher 9b71a5799b Issue 9638 - if a text frame is sent with no terminating NULL through a bridged
18 years ago
Joshua Colp babe9cbbef Revert previous fix for when the IAX2 channel goes funky (that's the technical term). This is causing legit calls to be prematurely hung up. (issue #9600 reported by justdave)
18 years ago
Russell Bryant bc604c9e9a If the callerid= option is specified, but empty, clear any previous data.
18 years ago
Russell Bryant 85cff883ee Ensure that callerid settings are reset on a reload.
18 years ago
Russell Bryant b87695d824 Backport the change to chan_iax2 to return NULL instead of a "null frame"
18 years ago
Russell Bryant ec9fb9a970 Fix the use of the "sourceaddress" option when "bindaddr" is set to 0.0.0.0
18 years ago
Russell Bryant c072213569 Fix a problem where the Asterisk channel name could be that of the wrong IAX2
19 years ago
Russell Bryant 4fb7eb1b7b Don't destroy mutexes before unregistering all of the entry points from the core.
19 years ago
Joshua Colp d2261a98af Fix a few potential memory leaks with realtime users and peers. (issue #8999 reported by bsmithurst)
19 years ago
Russell Bryant f9db7779f0 Fix a bunch of places where pthread_attr_init() was called, but
19 years ago
Russell Bryant 3d12e45f06 Fix the extraction of the timestamp from video frames. It was using the
19 years ago
Joshua Colp 5e9fdf2aa7 Make the last context entry read in the dominant one. (issue #8918 reported by pj)
19 years ago
Joshua Colp 8ca9fedc42 Ensure we use the default refresh value of 60 if the remote server does not send one. (issue #8746 reported by maethor)
19 years ago
Kevin P. Fleming 2194a0b079 ensure that threads which are supposed to be detached (because we aren't going to wait on them) are created properly
19 years ago
Russell Bryant 847ddc1e2c Check for the proper return value on an error in a call to mmap().
19 years ago
Russell Bryant f2df4138cb Use locking when accessing the registrations list. This list is not actually
19 years ago
Joshua Colp 1b287f7406 Only print out debug message if bridged channel is not NULL. (issue #8412 reported by jubilex)
19 years ago
Russell Bryant 18f4324baf Only do the check to determine whether the channel calling this function is an
19 years ago
Kevin P. Fleming 170abc16b0 when sending a call to a peer, use the proper socket if we have multiple bindings (reported on asterisk-dev)
19 years ago
Russell Bryant 00ca92aeee Check to see if the channel that is activating the IAXPEER function is actually
19 years ago
Tilghman Lesher a729fb97e4 When a realtime peer expires, reset the ipaddress in the realtime database back to 0 (Issue 6656)
19 years ago
Joshua Colp e627ecb8a7 Make realtime regseconds work as people expected (0 on registration expiration or release, and actual on normal state) (issue #7684 reported by kshumard)
19 years ago
Russell Bryant e174a3c762 Restore original functionality of 1.2 in places where ANI was not set, but was
19 years ago
Russell Bryant 66b15a3461 Fix an issue that would cause a NewCallerID manager event to be generated
19 years ago
Russell Bryant 228c35198c Fix crash when using the "regexten" option with MALLOC_DEBUG enabled. This was
19 years ago
Kevin P. Fleming 1cd1b27779 ensure that global 'maxauthreq' is reset to zero during 'reload'
19 years ago
Joshua Colp ff29ba6296 Add support to have maxauthreq as a global option
19 years ago
Kevin P. Fleming 648bc1828d remove some more bad examples of using printf
19 years ago
Joshua Colp 3d8ef8de96 Add configuration option for IAX2 users that will limit the amount of outstanding AUTHREQs we are waiting for replies on.
19 years ago
Russell Bryant 99b3637d6a use ast_set_callerid to be more consistent and to make sure that the
19 years ago
Russell Bryant 4893f1917f don't store multiple secrets delimited with semicolons for peers because this
19 years ago
Joshua Colp 7807373222 Zero out a declared structure so as to not crash if it contains invalid data (reported by Qwell on #asterisk-dev)
19 years ago
Kevin P. Fleming b9e587a361 use existing dial string parser for strings supplied to iax2_devicestate, because they can be complete dial strings, not just device names
19 years ago
Joshua Colp c38c7a1f46 Remove an unneeded double lock (issue #7310 reported by arkadia)
19 years ago
Russell Bryant 8daadb91c1 fix some broken code with BRIDGE_OPTIMIZATION defined (issue #7292)
19 years ago
Kevin P. Fleming f0d3be1740 clean up yesterday's security fix to not cause breakage when video mini frames are received
19 years ago
Kevin P. Fleming c515ef705c ensure that the received number of bytes is included in all IAX2 incoming frame analysis checks (fixes a known vulnerability)
19 years ago
Russell Bryant 6d3d5e1649 fix the sourceaddress option (issue #7213, alphaque)
19 years ago
Kevin P. Fleming 4eef3ef785 don't try to predict where the compiler will place things on the stack... put them in the right place explicitly (issues #7029 and #7100, maybe others)
19 years ago
Joshua Colp 3361be7b6e Fix codec priority stuff during authentication (issue #6194 reported by jkoopmann)
19 years ago
Kevin P. Fleming 37e9f9a15c remove a pointless comparison, since the buffer is smaller than the length being checked for
19 years ago
Russell Bryant 9a729f7aff move a NULL check to before the first time the pointer is dereferenced (issue #6832)
19 years ago
Russell Bryant d125a1a278 fix the situation where bindport is specified but bindaddr is not (issue #6616)
19 years ago
Russell Bryant 8c63eaec22 fix Bus Error on sparc (issue #6354)
19 years ago
Olle Johansson 108275cf6c Do not overwrite ANI if it's set by IE (sendany=yes in the peer)
19 years ago
Russell Bryant b26f150b75 fix the output that indicates whether qualify smoothing is on or not (issue #6608)
20 years ago