Commit Graph

4162 Commits (645af85225ad0611e6130250819a3502fe3b2173)

Author SHA1 Message Date
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
Jason Parker 6b150d7b9c Fixes for dtmf/dialing with mgcp (similar to the recent fix for chan_skinny)
19 years ago
Russell Bryant 885d846739 Add comments for two functions that get called with the appropriate call locked,
19 years ago
Joshua Colp 01456184f9 Better handle SIP devices that say they have SDP content... but really don't. (issue #9398 reported by mthomasslo)
19 years ago
Russell Bryant 0b7719e9a1 Resolve a deadlock in chan_iax2. When handling an implicit ACK to a frame that
19 years ago
Russell Bryant 0ecb2ecf42 Changes to the way DTMF is handled in the core broke dialing in chan_skinny.
19 years ago
Joshua Colp c7112015ba Merged revisions 66764 via svnmerge from
19 years ago
Joshua Colp 612f61a9b2 Silly me for having out of date source! Oh well... I'm still leaving my comment.
19 years ago
Joshua Colp 3d8d697e34 When calling some peer/host that may not exist/reply back... don't keep the dialog in memory for all of eternity.
19 years ago
Joshua Colp 7905fca326 Change how channel names are generated a bit. (issue #9825 reported by eldadran)
19 years ago
Olle Johansson 332eabcc07 Properly handle 408 request timeout - according to the RFC, the dialog dies if a request in a dialog gets this response.
19 years ago
Olle Johansson 8d06f379fe Don't issue hangup on hangup on hangup on hangup (for jcmoore)
19 years ago
Olle Johansson 9f15005143 Don't reset hangupcause if we already have one
19 years ago
Olle Johansson ff9e2751c6 Tracking down hanging channels, killing them one by one. Issue #9235 and related
19 years ago
Olle Johansson bab6473879 Merged revisions 66349 via svnmerge from
19 years ago
Joshua Colp 3a5a649415 Make the usedistinctiveringdetection option work again. (issue #9823 reported by premeau)
19 years ago
Jason Parker a8ab3e5738 I don't know what this was trying to do, but it's clearly incorrect.
19 years ago
Kevin P. Fleming 5f9897ba56 handle the GNUTLS library properly in the configure script and build system
19 years ago
Kevin P. Fleming 0b14e93d00 oops, use #ifdef instead of #if
19 years ago
Kevin P. Fleming e49f14e6cb don't reference GnuTLS headers and functions unless the configure script found it
19 years ago
Olle Johansson 4eab565b25 Issue 7672 - fix by zandbelt - Asterisk core dump since the GnuTLS interface did not support multithreading correctly.
19 years ago
Olle Johansson e8addde3f1 Issue 8193 - NAT issues with gtalk/STUN. Patch by phsultan. Thanks!
19 years ago
Olle Johansson abc8683ce7 Issue 7686, fix by phsultan, NAT issues when calling from gtalk to SIP over nat.
19 years ago
Olle Johansson e4f9cc15e6 Issue #8536 - Caller ID not set in CDR for jingle
19 years ago
Joshua Colp 0df2a42f96 Merged revisions 65837 via svnmerge from
19 years ago
Olle Johansson 6cfe6a550e Issue 8409 - phsultan - Fix "login" as component to jabber server.
19 years ago
Christian Richter 9f54cd55af Merged revisions 65767 via svnmerge from
19 years ago
Kevin P. Fleming e1518f42ae start the delayed PBX when receive voice or video full frames as well, and comment this delayed-PBX activity
19 years ago
Kevin P. Fleming ca6b421be4 Merged revisions 65682 via svnmerge from
19 years ago
Kevin P. Fleming b89faf596b clear the 'delay PBX' flag when we are ready to start the PBX
19 years ago
Kevin P. Fleming 09dc4253d8 don't start a PBX on a new incoming IAX2 channel until we have some sort of response to our ACCEPT (ACK or anything else)
19 years ago
Kevin P. Fleming f608d90283 Merged revisions 65676 via svnmerge from
19 years ago
Russell Bryant 7398856cea Merged revisions 65588 via svnmerge from
19 years ago
Russell Bryant c556cc222c List res_smdi as a dependency for app_voicemail and chan_zap
19 years ago
Christian Richter e7355ec53b Merged revisions 65328 via svnmerge from
19 years ago
Olle Johansson 4483fa12e8 Merged revisions 65122 via svnmerge from
19 years ago
Olle Johansson 7fe3608300 Merged revisions 65075 via svnmerge from
19 years ago
Olle Johansson 50f79ba4b2 - Adding support for putting calls OFF hold with a re-invite with blank SDP. This was a bug found while doing tests at SIPit in Antwerp.
19 years ago
Christian Richter 012fe116fa Merged revisions 65007 via svnmerge from
19 years ago
Olle Johansson 73d0ba053b Issue 9487 - stop media flows at hangup of call
19 years ago
Christian Richter d682a74e26 Merged revisions 64902 via svnmerge from
19 years ago
Joshua Colp 7a8ca54257 Even more direct RTP setup fixes! Don't allow a codec that isn't supported to creep into the SDP of either side. (issue #9446 reported by marcelbarbulescu)
19 years ago
Olle Johansson 4ae20ba8e4 Fix auth on BYE. (Different patch than for 1.2)
19 years ago
Olle Johansson 5acc63d688 Issue #9681 - Handle www-auth on BYE
19 years ago
Olle Johansson 374b52f717 Final part of issue #9483 - fixing transfer() of sip calls in the dial plan (twilson)
19 years ago
Olle Johansson 70ad556544 Issue #9439 - properly handle username parameters in SIP uri.
19 years ago
Olle Johansson bf1a15b9bf Merged revisions 64535 via svnmerge from
19 years ago
Olle Johansson 56af259505 Merged following patch with a lot of changes for 1.4
19 years ago
Christian Richter d17174cfc1 Merged revisions 64513 via svnmerge from
19 years ago
Olle Johansson 1f2afa0ff1 Change -2 to XMIT_ERROR to clarify a bit more
19 years ago
Russell Bryant b340fcd7d0 Properly handle AST_CONTROL_PROGRESS by just ignoring it. An unknown indication
19 years ago
Olle Johansson e041d57175 Handle network errors, like host or network unreachable, in a better way. This means that
19 years ago
Steve Murphy 8c635fb2c1 As per 9570, worrisome CDR warnings have been removed, that are either not helpful, or not relevant.
19 years ago
Joshua Colp 9a73c07fb1 This concludes my final adventure with bitmasks and the onhold flag. Would anyone care for some peanuts?
19 years ago
Joshua Colp 699aa6ad74 Tweak hold flags some more. They can be of three states when active: active, inactive, one direction.
19 years ago
Joshua Colp 026000bae8 Ensure the onhold flag is set no matter what when being put on hold.
19 years ago
Jason Parker c2c91c7fef Merged revisions 63828 via svnmerge from
19 years ago
Olle Johansson ca1ae5e81a Merged revisions 63748 via svnmerge from
19 years ago
Joshua Colp 67a0bbaa83 Do not prematurely go on hold if sendonly was not actually set.
19 years ago
Matthew Fredrickson a181c6a777 Merged revisions 63653 via svnmerge from
19 years ago
Joshua Colp c83c0072bb Merged revisions 63610 via svnmerge from
19 years ago
Christian Richter 3e63c9d542 Merged revisions 62945,63402,63519 via svnmerge from
19 years ago
Olle Johansson d30faa1dc2 Don't retransmit 200 OK's on ignore status. (Reported on asterisk-users)
19 years ago
Joshua Colp b50b92ab77 Minor backport of revision 59083 in trunk. Don't queue an unhold frame up if the call was never on hold to begin with.
19 years ago
Joshua Colp 95de3fbf0c Merged revisions 62987 via svnmerge from
19 years ago
Christian Richter 460e677ea6 Merged revisions 61357,61770,62885 via svnmerge from
19 years ago
Tilghman Lesher 8bcfcfca88 Merged revisions 62691 via svnmerge from
19 years ago
Steve Murphy 55f4eb3e3d a)In chan_zap, set the clid, src fields in channel_alloc call. b)in the channel_alloc func, set the cid_num and name fields from the arglist[blush]. c) don't update the channel app & app data fields if you are in the 'h' extension. d)the load_module func in cdr_radius needs to return DECLINE, SUCCESS.
19 years ago
Olle Johansson d5fda03428 Don't unlock a channel that we already know does not exist (propably isue 8228)
19 years ago
Russell Bryant 3595c5fed1 Merged revisions 62417 via svnmerge from
19 years ago
Russell Bryant 8936804377 Fix a bug that made the "language" setting in zapata.conf not
19 years ago
Russell Bryant 6b76a95f09 Fix a weird problem where when a caller talking to someone sitting behind an
19 years ago
Olle Johansson 34f9e0c4dd Merged revisions 62126 via svnmerge from
19 years ago
Olle Johansson b0121ca8a3 Issue #9608 - fix some annoying DEBUG messages not controlled by option_debug (DEA). Thanks!
19 years ago
Joshua Colp 0525347958 Merged revisions 62037 via svnmerge from
19 years ago
Kevin P. Fleming 0e525813a8 Merged revisions 61913 via svnmerge from
19 years ago
Russell Bryant 5574da0c12 Merged revisions 61866 via svnmerge from
19 years ago
Russell Bryant e6aa1145ed Merged revisions 61862 via svnmerge from
19 years ago
Russell Bryant 77c52fd8bf Merged revisions 61798 via svnmerge from
19 years ago
Dwayne M. Hubbard db55615090 Merged revisions 61777 via svnmerge from
19 years ago
Joshua Colp b271179161 Merged revisions 61771 via svnmerge from
19 years ago
Olle Johansson 32be6621f6 Merged revisions 61685 via svnmerge from
19 years ago
Olle Johansson dc6d309bdb #9483, half of patch by twilson to solve 302 redirect issues
19 years ago
Joshua Colp eb631c00a3 For those very verbose SIP implementations that attach tons of info to the Contact header... let's increase our variable sizes. (issue #9535 reported by jeffg)
19 years ago
Steve Murphy 8a386a9816 A fix for chan_oss that resulted from the CDR changes; it helps to use the right info.
19 years ago
Joshua Colp c06e063e1a Don't assume the callid of a dialog will be set, as in some circumstances it may not. (issue #9534 reported by tecnoxarxa)
19 years ago
Russell Bryant 5858778f40 Merged revisions 61476 via svnmerge from
19 years ago
Nadi Sarrar 3bd81c31fb Don't export AOCD variables on misdn_hangup anymore, this was mainly a fix for trunk..
19 years ago
Russell Bryant a0d75effd5 Merged revisions 61426 via svnmerge from
19 years ago
Russell Bryant 9ce476a89c Merged revisions 61376 via svnmerge from
19 years ago
Nadi Sarrar 4e2ab7de64 Export AOCD variables on misdn_hangup.
19 years ago
Nadi Sarrar b31fe9be83 Ignore facility messages in case we don't have a corresponding channel object.
19 years ago
Nadi Sarrar 5e08746b28 AOCD's are now exported to asterisk channel variables.
19 years ago
Nadi Sarrar 50d606bbf8 Merged revisions 61170 via svnmerge from
19 years ago
Olle Johansson 3e5c59f235 Merged revisions 61038 via svnmerge from
19 years ago
Steve Murphy 7d5a79a0b9 This is a big improvement over the current CDR fixes. It may still need refinement, but this won't have as many folks bothered.
19 years ago
Tilghman Lesher 1d3fbc214a Merged revisions 60846 via svnmerge from
19 years ago
Tilghman Lesher dc54d451dc Off by one error, resulting in a crash (Issue 9500)
19 years ago
Matthew Fredrickson e7e3929740 Make sure we check the faxdetect option before doing fax processing
19 years ago
Matthew Fredrickson 96a8eadf29 Merged revisions 60456 via svnmerge from
19 years ago
Joshua Colp a85156a737 Merged revisions 60213 via svnmerge from
19 years ago