Commit Graph

4162 Commits (645af85225ad0611e6130250819a3502fe3b2173)

Author SHA1 Message Date
Russell Bryant f2de04d1d1 Don't call find_peer in registry_authrequest with the pvt lock held to avoid a
18 years ago
Russell Bryant 68faf63811 Release the pvt lock before calling find_peer in register_verify to avoid a
18 years ago
Russell Bryant c06aba4c8a Don't call find_peer within update_registry with a pvt lock held. This can
18 years ago
Russell Bryant 60bcd4e03c I am fighting deadlocks in chan_iax2. I have tracked them down to a single
18 years ago
Russell Bryant 4f785d7d28 Fix a potential deadlock in socket_process. check_provisioning can eventually
18 years ago
Joshua Colp 9a35428295 (closes issue #10437)
18 years ago
Christian Richter 1f62b98d45 fixed a bug with the useruser information element. We send them now also in the disconnect message.
18 years ago
Mark Michelson 6c3d28a231 I broke canreinvite...Now I'm fixing it. I put some new code in the wrong place and so I've reverted the canreinvite section to how it was and put my new code where it should be.
18 years ago
Jason Parker cb0701052c Allow chan_sip to build in devmode
19 years ago
Jason Parker 1b58e7a828 Properly check the capabilities count to avoid a segfault.
19 years ago
Russell Bryant c40325aecc Merged revisions 78370 via svnmerge from
19 years ago
Russell Bryant 2e8439052f Fix an issue where dynamic threads can get free'd, but still exist in the
19 years ago
Joshua Colp 03bcbd11c1 It is possible for a transfer to occur before the remote device has our tag in which case they send none in the transfer. In this case we need to not fail the transfer dialog lookup.
19 years ago
Mark Michelson b463a8dcbb Fixed a mistake I made in realtime_peer which caused it to return NULL every time.
19 years ago
Tilghman Lesher a7ade6f213 If peer is not found, the error message is misleading (should be peer not found, not ACL failure)
19 years ago
Mark Michelson 05ba4d90d4 Changed the behavior of sip's realtime_peer function to match the corresponding way of matching for non-realtime peers.
19 years ago
Russell Bryant 9c3f16e023 Only pass through HOLD and UNHOLD control frames when the mohinterpret option
19 years ago
Russell Bryant f58354525f Don't reuse the timespec that was set to 0 in the previous timedwait as it
19 years ago
Jason Parker 6caf638f90 Make sure we actually allow 6 chars to be sent.
19 years ago
Jason Parker eb63c3eece If a device disconnects, the session will go away.
19 years ago
Russell Bryant 311841c1b3 Fix the case where a dynamic thread times out waiting for something to do
19 years ago
Jason Parker 4386df68d9 Make sure we clear the prompt status message on a hangup.
19 years ago
Russell Bryant 02f69d36f4 Fix another race condition in the handling of dynamic threads. If the dynamic
19 years ago
Russell Bryant 847515b5c6 Add another sanity check to vnak_retransmit(). This check ensures that frames
19 years ago
Jason Parker e3bf324023 Make sure that we show the correct extension if dialed from a macro
19 years ago
Jason Parker db137aca0f Put in some additional debug information for softkey/stimulus messages.
19 years ago
Russell Bryant 5179aee53b Fix some race conditions which have been causing weird problems in chan_iax2.
19 years ago
Jason Parker d44d0a9a8c Fix an issue that caused one-way audio on some newer devices (specifically the 7921),
19 years ago
Joshua Colp 68c221f69a Add some fixes for building on Solaris.
19 years ago
Jim Dixon cd1614fcd8 Made VAST improvements in DTMF receiver in RADIO_RELAX mode (thanx Steve
19 years ago
Mark Michelson 43b39d02ae This patch makes Asterisk send 100 Trying provisional responses upon receipt of re-invites. This makes it so that if there are two or more Asterisk
19 years ago
Russell Bryant 8ed859dfc0 Fix an issue that could potentially cause corruption of the global iax frame
19 years ago
Joshua Colp 20d0b01607 (closes issue #10323)
19 years ago
Mark Michelson 7a09244181 "re-invite" was misspelled
19 years ago
Steve Murphy 0d7eb34a3e Merged revisions 76978 via svnmerge from
19 years ago
Jason Parker 9e24b3926f Don't create the Asterisk channel until we are starting the PBX on it.
19 years ago
Jason Parker c92ba70e75 Fix some incorrect softkey labels in messages.
19 years ago
Joshua Colp 2c4fe2dc00 Merged revisions 76653 via svnmerge from
19 years ago
Jason Parker b0040e0361 Don't try to queue up hold/unhold frames on a non-existent channel.
19 years ago
Joshua Colp 91eec8f228 Merged revisions 76560 via svnmerge from
19 years ago
Joshua Colp bd0608a38f (closes issue #10268)
19 years ago
Russell Bryant b838fcc22e Use a signed integer for storing the number of bytes in the packet read from
19 years ago
Russell Bryant b75f30bdd8 Merged revisions 76226 via svnmerge from
19 years ago
Jason Parker d0baa5500e Allow getting a call from an existing "sub" channel.
19 years ago
Jason Parker 73452d34a1 It's possible for sub->owner to be NULL here if you cancel the call immediately after/during sending a digit.
19 years ago
Joshua Colp 24e7873766 Merged revisions 76080 via svnmerge from
19 years ago
Jason Parker 6fde7764dc Remove some duplicate code.
19 years ago
Russell Bryant ee82ac13d6 Merged revisions 75927 via svnmerge from
19 years ago
Jason Parker c6a174bd96 Need to make sure we set milliseconds and timestamp - pointed out by the recent ast_ time stuff from Tilghman
19 years ago
Russell Bryant 5eedf74578 Merged revisions 75757 via svnmerge from
19 years ago
Jason Parker 48138cca9d Umm, why are we transmitting dialtone on cfwdall?
19 years ago
Joshua Colp 6d143d401f Backport GCC 4.2 fixes. Without these Asterisk won't build under devmode using GCC 4.2.
19 years ago
Jason Parker 7d9778c9f8 Fixes for 7935/7936 conference phones.
19 years ago
Jason Parker 2e7fe12cfb Fix issues with new 79x1 phones.
19 years ago
Joshua Colp 55a12a986e Few more places that needs to check for onhold state.
19 years ago
Joshua Colp f08e137283 (closes issue #10165)
19 years ago
Joshua Colp dc9b640755 Don't bother reloading chan_h323 if it did not load successfully in the first place. This would otherwise cause a crash.
19 years ago
Russell Bryant c6e2a119b7 Merged revisions 75449 via svnmerge from
19 years ago
Russell Bryant 89497599be Merged revisions 75444 via svnmerge from
19 years ago
Russell Bryant 2193734456 Merged revisions 75440 via svnmerge from
19 years ago
Russell Bryant 3e138057df Merged revisions 75052 via svnmerge from
19 years ago
Mark Michelson 613059e270 Change to my previous fix regarding agent logoff soft. Now uses deferlogoff instead of loginstart
19 years ago
Steve Murphy 2aab6c341f This patch resolves 10143; thanks to irroot for the patch; looked acceptable. Let the community decide if it messes things up
19 years ago
Jason Parker f642f7fc86 It helps if I actually add this stuff for the 7921 too - otherwise it won't actually do much of anything.
19 years ago
Jason Parker d6ff30694e Add device ID for 7921 wireless skinny phone
19 years ago
Jason Parker abf5430584 Fix dialing in skinny that was broken in some cases.
19 years ago
Russell Bryant 1eb3dd6381 Merged revisions 74766 via svnmerge from
19 years ago
Mark Michelson b827d5a183 Merged revisions 74719 via svnmerge from
19 years ago
Joshua Colp 5f37fa26d2 Instead of figuring out kernel versions that have compiler.h and not... let's just use autoconf to check for it's presence. (issue #10174 reported by francesco_r)
19 years ago
Joshua Colp 058a40ff02 Only check if we need to do a SIGMA based tone generation if we have a card. (issue #10179 reported by mikowhy)
19 years ago
Jason Parker f3c04c4b7e Merged revisions 74376 via svnmerge from
19 years ago
Joshua Colp 446f14f0dc Only spit out an inringing warning message when it is applicable. Since call limits are already toast in realtime let's not scare the user if they are using it. (issue #10166 reported by bcnit)
19 years ago
Jason Parker bf8172ff95 Merged revisions 74158 via svnmerge from
19 years ago
Joshua Colp 94cd7026ef Only destroy the scheduler context if it was allocated. (issue #10124 reported by gzero)
19 years ago
Joshua Colp ce4e654f2c Few minor thread synchronization tweaks. (issue #10124 reported by gzero)
19 years ago
Olle Johansson 7bbda30564 While tracking down a bug, I need some more history. Dumphistory is very useful, indeed.
19 years ago
Russell Bryant 5b544349d9 Merged revisions 73768 via svnmerge from
19 years ago
Russell Bryant 1e588db75a Merged revisions 73678 via svnmerge from
19 years ago
Mark Michelson 757160d5c9 Merged revisions 73674 via svnmerge from
19 years ago
Russell Bryant be09062a6a Fix a crash in chan_sip. Don't try to stop the monitor thread if it was never
19 years ago
Russell Bryant cf2c26a948 copy from the correct buffer when deferring a full frame
19 years ago
Russell Bryant be1502faa3 * Store the call number that a thread is processing without the full frame bit
19 years ago
Kevin P. Fleming 3b8be36363 Merged revisions 73547 via svnmerge from
19 years ago
Joshua Colp 9b753a0649 Merged revisions 73466 via svnmerge from
19 years ago
Russell Bryant 0041898603 Make this module build for me in dev-mode
19 years ago
Joshua Colp f912c6ba71 Merged revisions 73318 via svnmerge from
19 years ago
Christian Richter a95d9718c9 Merged revisions 73252 via svnmerge from
19 years ago
Christian Richter 17be3d5858 Merged revisions 73207 via svnmerge from
19 years ago
Christian Richter 1e392965f4 Merged revisions 73004 via svnmerge from
19 years ago
Christian Richter 07a72b546f Merged revisions 72585 via svnmerge from
19 years ago
Christian Richter 8fc4089947 Merged revisions 72099 via svnmerge from
19 years ago
Christian Richter 9dc0104a12 Merged revisions 72087 via svnmerge from
19 years ago
Luigi Rizzo 475e73e27d Add -Wdeclaration-after-statement to AST_DEVMODE flags to catch
19 years ago
Joshua Colp 5055793871 Make payload IDs for iLBC/Speex match to our list. Since these are dynamic payloads the other side shouldn't care. (issue #9426 reported by irroot)
19 years ago
Kevin P. Fleming 39236d2728 use the proper type for storing group number bits so that if someone specifies 'group=42' it will actually work instead of being silently ignored
19 years ago
Jason Parker 7508fce25b Don't modify a variable that we don't want modified. Make a copy of it instead.
19 years ago
Christian Richter 2294156c9d Merged revisions 72040-72041 via svnmerge from
19 years ago
Joshua Colp bd8be32993 Build a peer as well when hash323 is enabled in users.conf (issue #9599 reported by asagage)
19 years ago
Joshua Colp e973bf0ba9 Minor tweak for queueing up the unhold frame... this will teach me to do bugs while half asleep. (issue #10046 reported by dimas)
19 years ago
Joshua Colp a6895cb26d Merged revisions 71414 via svnmerge from
19 years ago
Joshua Colp 2886f912d6 Check to make sure the channel pointer is present before queueing up an unhold frame on it. (issue #10046 reported by dimas)
19 years ago
Christian Richter d0bc56b953 Merged revisions 70341 via svnmerge from
19 years ago
Christian Richter 795e189aa2 Merged revisions 70672 via svnmerge from
19 years ago
Christian Richter e1791cab97 Merged revisions 70342 via svnmerge from
19 years ago
Christian Richter 9b17b11c08 Merged revisions 70311 via svnmerge from
19 years ago
Christian Richter 933ebc4141 Merged revisions 69887 via svnmerge from
19 years ago
Christian Richter 82fe97efd5 Merged revisions 69053 via svnmerge from
19 years ago
Christian Richter 0847f57595 Merged revisions 68887 via svnmerge from
19 years ago
Christian Richter 84434f5f2f Merged revisions 68874 via svnmerge from
19 years ago
Russell Bryant 5fb99cbf73 Fix a small typo which ... well ... completely broke chan_iax2. oops!
19 years ago
Russell Bryant dbe2d8eeb6 Put the thread reading from the socket back in the idle list if it deferred the
19 years ago
Russell Bryant 6e7332a507 If a full frame is received while one of the iax2 threads is in the middle
19 years ago
Joshua Colp f1c32710a8 Merged revisions 70551 via svnmerge from
19 years ago
Jason Parker 60bf4f35c6 Make sure we clear the previously dialed number if it did not exist.
19 years ago
Russell Bryant 85f7646a2a Merged revisions 70396 via svnmerge from
19 years ago
Russell Bryant a0a33670bd Only attempt to queue a hangup on the owner channel if it actually exists.
19 years ago
Russell Bryant a2084d8ab8 Fix a crash that could occur when handing device state changes.
19 years ago
Tilghman Lesher 759dc00599 Issue 10005 - Segfault with missing arguments, plus fix a missing define for SIP INFO channels
19 years ago
Joshua Colp a50bc6e3a8 Don't count RTP timeout when involved in a T38 fax session. (issue #9222 reported by ivoc)
19 years ago
Joshua Colp f95038d97e Merged revisions 69765 via svnmerge from
19 years ago
Joshua Colp 009f6f9112 Don't defer the BYE till later on a transfer when the transfer itself goes kaboom and has no hope of working.
19 years ago
Joshua Colp 3e29d89200 Few minor transfer tweaks. We can't unlock something we never locked, and better handle a specific scenario with doing an attended transfer between two non-bridged calls.
19 years ago
Joshua Colp 2c9ffadffb Fix issue where it would be possible for the negotiated codecs to get set back to nothing. (issue #9992 reported by yehavi)
19 years ago
Kevin P. Fleming ae82d97c6d use ast_localtime() in every place localtime_r() was being used
19 years ago
Joshua Colp b86b8229c8 Whoops...
19 years ago
Joshua Colp 9604f04ed5 Let's make chan_iax2 media only native transfers actually work. (issue #9376 reported by simone cittadini)
19 years ago
Joshua Colp 7572eb866a Add TXMEDIA to list so that it is properly displayed during iax2 packet output.
19 years ago
Russell Bryant 93f3abb3e8 Move the logic for destroying a call when no response is received to a BYE
19 years ago
Russell Bryant f56c3be8ad Clarify a bit of logic. This doesn't change behavior in any way, but it is
19 years ago
Russell Bryant 0072ea9933 Fix a place where a chan_iax2 pvt struct was accessed without the lock held.
19 years ago
Joshua Colp 200248f687 Change the full frame dropping log message to debug to avoid future bug reports.
19 years ago
Joshua Colp 9d7dae818f Schedule the sending of a PING packet a second later than previously so that it does not collide with the LAGRQ.
19 years ago
Christian Richter 48f8dc5340 Merged revisions 68732 via svnmerge from
19 years ago
Christian Richter 7d491a7c24 Merged revisions 68631 via svnmerge from
19 years ago
Kevin P. Fleming f4b7a2c9cb actually remember the type/subclass of full frames that are in process
19 years ago
Kevin P. Fleming e816700d6e some improvements to the IAX2 full frame dropping logic recently added:
19 years ago
Russell Bryant e7cb53e8b2 Fix loading persistent queue members when using realtime configuration for queues.
19 years ago
Jason Parker 51f1d28d2d Fix an issue with newer phones which require packets be padded out to the correct length.
19 years ago
Olle Johansson 2d491b0eae Disable chan_features by default in menuselect
19 years ago
Joshua Colp b58a48d672 Merged revisions 67938 via svnmerge from
19 years ago
Russell Bryant 6595debbc5 Fix a crash when doing call pickups with SIP phones. The code unlocked the
19 years ago
Russell Bryant 83744c244a Suppress a bunch of debug output unless option_debug is on
19 years ago
Jason Parker 4a7ae2ebde Correctly update date/time on devices throughout the life of the device, instead of just at registration.
19 years ago
Christian Richter 619cdb016a Merged revisions 67307 via svnmerge from
19 years ago
Christian Richter b0dd31cb52 Merged revisions 67306 via svnmerge from
19 years ago
Joshua Colp 24922406f4 Only muck with the thread structure if an idle one was found/created.
19 years ago
Kevin P. Fleming 5a5d549b1d ensure that a burst of full frames (AST_FRAME_DTMF being the prime example) will not be processed out of order... this is a brute force fix, but seems to be the safest fix for now (thanks to the Digium PQ department for finding this bug)
19 years ago
Christian Richter 9f749257ef Merged revisions 67209 via svnmerge from
19 years ago
Russell Bryant 3b5bd316ed Fix up a bunch of places where the iax2 pvt structure can disappear and the
19 years ago
Jason Parker 0b7607ad55 Fix for skinny keepalives.
19 years ago