Commit Graph

4127 Commits (bae41357596e6ec24c1d1a222bc1036c469413c7)

Author SHA1 Message Date
Russell Bryant c5cf1e50ac Don't crash when using realtime in chan_sip without an insecure setting in the database.
18 years ago
Russell Bryant 566371bd50 Merge changes from team/russell/iax_refcount.
18 years ago
Russell Bryant 3c2eae9ab4 Don't record SIP dialog history if it's not turned on. Also, put an upper
18 years ago
Russell Bryant db1f93048f Don't try to dereference the owner channel when it may not exist
18 years ago
Russell Bryant 467ceebc82 Avoid a crash in the handling of DTMF based Caller ID. It is valid for
18 years ago
Jason Parker f1cb3f70b7 Don't send a semicolon over the wire in sip notify messages.
18 years ago
Jason Parker e9ab13fa81 Re-add the setting of callerid name and number.
18 years ago
Russell Bryant 9be377d89f Fix some crashes in chan_sip. This patch changes various places that add items
18 years ago
Christian Richter c71c5098b7 sometimes we don't need to signal dtmf tones to asterisk, we just want them to go through as inband. Otherwise they might be generated by the other channel partner and then there is a double tone.
18 years ago
Russell Bryant 0dbd8e04af Fix more deadlocks in chan_iax2 that were introduced by making frame handling
18 years ago
Mark Michelson 6ec280adfc Fixes a problem where agents would get stuck busy due to their wrapuptime being longer than the queue's wrapuptime and
18 years ago
Christian Richter 6d6a045cc0 0x80 + protocol is wrong for USERUSER when we want to send IA5 Chars.
18 years ago
Joshua Colp e856a6fb34 (closes issue #10456)
18 years ago
Russell Bryant e3ecc74dc1 Fix another spot where an iax2_peer would be leaked if realtime was in use.
18 years ago
Russell Bryant a713275c1b Fix some memory leaks throughout chan_iax2 related to the use of realtime.
18 years ago
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
18 years ago
Jason Parker 1b58e7a828 Properly check the capabilities count to avoid a segfault.
18 years ago
Russell Bryant c40325aecc Merged revisions 78370 via svnmerge from
18 years ago
Russell Bryant 2e8439052f Fix an issue where dynamic threads can get free'd, but still exist in the
18 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.
18 years ago
Mark Michelson b463a8dcbb Fixed a mistake I made in realtime_peer which caused it to return NULL every time.
18 years ago
Tilghman Lesher a7ade6f213 If peer is not found, the error message is misleading (should be peer not found, not ACL failure)
18 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.
18 years ago
Russell Bryant 9c3f16e023 Only pass through HOLD and UNHOLD control frames when the mohinterpret option
18 years ago
Russell Bryant f58354525f Don't reuse the timespec that was set to 0 in the previous timedwait as it
18 years ago
Jason Parker 6caf638f90 Make sure we actually allow 6 chars to be sent.
18 years ago
Jason Parker eb63c3eece If a device disconnects, the session will go away.
18 years ago
Russell Bryant 311841c1b3 Fix the case where a dynamic thread times out waiting for something to do
18 years ago
Jason Parker 4386df68d9 Make sure we clear the prompt status message on a hangup.
18 years ago
Russell Bryant 02f69d36f4 Fix another race condition in the handling of dynamic threads. If the dynamic
18 years ago
Russell Bryant 847515b5c6 Add another sanity check to vnak_retransmit(). This check ensures that frames
18 years ago
Jason Parker e3bf324023 Make sure that we show the correct extension if dialed from a macro
18 years ago
Jason Parker db137aca0f Put in some additional debug information for softkey/stimulus messages.
18 years ago
Russell Bryant 5179aee53b Fix some race conditions which have been causing weird problems in chan_iax2.
18 years ago
Jason Parker d44d0a9a8c Fix an issue that caused one-way audio on some newer devices (specifically the 7921),
18 years ago
Joshua Colp 68c221f69a Add some fixes for building on Solaris.
18 years ago
Jim Dixon cd1614fcd8 Made VAST improvements in DTMF receiver in RADIO_RELAX mode (thanx Steve
18 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
18 years ago
Russell Bryant 8ed859dfc0 Fix an issue that could potentially cause corruption of the global iax frame
18 years ago
Joshua Colp 20d0b01607 (closes issue #10323)
18 years ago
Mark Michelson 7a09244181 "re-invite" was misspelled
18 years ago
Steve Murphy 0d7eb34a3e Merged revisions 76978 via svnmerge from
18 years ago
Jason Parker 9e24b3926f Don't create the Asterisk channel until we are starting the PBX on it.
18 years ago
Jason Parker c92ba70e75 Fix some incorrect softkey labels in messages.
18 years ago
Joshua Colp 2c4fe2dc00 Merged revisions 76653 via svnmerge from
18 years ago
Jason Parker b0040e0361 Don't try to queue up hold/unhold frames on a non-existent channel.
18 years ago
Joshua Colp 91eec8f228 Merged revisions 76560 via svnmerge from
18 years ago
Joshua Colp bd0608a38f (closes issue #10268)
18 years ago
Russell Bryant b838fcc22e Use a signed integer for storing the number of bytes in the packet read from
18 years ago
Russell Bryant b75f30bdd8 Merged revisions 76226 via svnmerge from
18 years ago
Jason Parker d0baa5500e Allow getting a call from an existing "sub" channel.
18 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.
18 years ago
Joshua Colp 24e7873766 Merged revisions 76080 via svnmerge from
18 years ago
Jason Parker 6fde7764dc Remove some duplicate code.
18 years ago
Russell Bryant ee82ac13d6 Merged revisions 75927 via svnmerge from
18 years ago
Jason Parker c6a174bd96 Need to make sure we set milliseconds and timestamp - pointed out by the recent ast_ time stuff from Tilghman
18 years ago
Russell Bryant 5eedf74578 Merged revisions 75757 via svnmerge from
18 years ago
Jason Parker 48138cca9d Umm, why are we transmitting dialtone on cfwdall?
18 years ago
Joshua Colp 6d143d401f Backport GCC 4.2 fixes. Without these Asterisk won't build under devmode using GCC 4.2.
18 years ago
Jason Parker 7d9778c9f8 Fixes for 7935/7936 conference phones.
18 years ago
Jason Parker 2e7fe12cfb Fix issues with new 79x1 phones.
18 years ago
Joshua Colp 55a12a986e Few more places that needs to check for onhold state.
18 years ago
Joshua Colp f08e137283 (closes issue #10165)
18 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.
18 years ago
Russell Bryant c6e2a119b7 Merged revisions 75449 via svnmerge from
18 years ago
Russell Bryant 89497599be Merged revisions 75444 via svnmerge from
18 years ago
Russell Bryant 2193734456 Merged revisions 75440 via svnmerge from
18 years ago
Russell Bryant 3e138057df Merged revisions 75052 via svnmerge from
18 years ago
Mark Michelson 613059e270 Change to my previous fix regarding agent logoff soft. Now uses deferlogoff instead of loginstart
18 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
18 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.
18 years ago
Jason Parker d6ff30694e Add device ID for 7921 wireless skinny phone
18 years ago
Jason Parker abf5430584 Fix dialing in skinny that was broken in some cases.
18 years ago
Russell Bryant 1eb3dd6381 Merged revisions 74766 via svnmerge from
18 years ago
Mark Michelson b827d5a183 Merged revisions 74719 via svnmerge from
18 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)
18 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)
18 years ago
Jason Parker f3c04c4b7e Merged revisions 74376 via svnmerge from
18 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)
18 years ago
Jason Parker bf8172ff95 Merged revisions 74158 via svnmerge from
18 years ago
Joshua Colp 94cd7026ef Only destroy the scheduler context if it was allocated. (issue #10124 reported by gzero)
18 years ago
Joshua Colp ce4e654f2c Few minor thread synchronization tweaks. (issue #10124 reported by gzero)
18 years ago
Olle Johansson 7bbda30564 While tracking down a bug, I need some more history. Dumphistory is very useful, indeed.
18 years ago
Russell Bryant 5b544349d9 Merged revisions 73768 via svnmerge from
18 years ago
Russell Bryant 1e588db75a Merged revisions 73678 via svnmerge from
18 years ago
Mark Michelson 757160d5c9 Merged revisions 73674 via svnmerge from
18 years ago
Russell Bryant be09062a6a Fix a crash in chan_sip. Don't try to stop the monitor thread if it was never
18 years ago
Russell Bryant cf2c26a948 copy from the correct buffer when deferring a full frame
18 years ago
Russell Bryant be1502faa3 * Store the call number that a thread is processing without the full frame bit
18 years ago
Kevin P. Fleming 3b8be36363 Merged revisions 73547 via svnmerge from
18 years ago
Joshua Colp 9b753a0649 Merged revisions 73466 via svnmerge from
18 years ago
Russell Bryant 0041898603 Make this module build for me in dev-mode
18 years ago