Commit Graph

4136 Commits (3cc997694d65eb07e45b1f54130611a2223c145d)

Author SHA1 Message Date
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
Joshua Colp f912c6ba71 Merged revisions 73318 via svnmerge from
18 years ago
Christian Richter a95d9718c9 Merged revisions 73252 via svnmerge from
18 years ago
Christian Richter 17be3d5858 Merged revisions 73207 via svnmerge from
18 years ago
Christian Richter 1e392965f4 Merged revisions 73004 via svnmerge from
18 years ago
Christian Richter 07a72b546f Merged revisions 72585 via svnmerge from
18 years ago
Christian Richter 8fc4089947 Merged revisions 72099 via svnmerge from
18 years ago
Christian Richter 9dc0104a12 Merged revisions 72087 via svnmerge from
18 years ago
Luigi Rizzo 475e73e27d Add -Wdeclaration-after-statement to AST_DEVMODE flags to catch
18 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)
18 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
18 years ago
Jason Parker 7508fce25b Don't modify a variable that we don't want modified. Make a copy of it instead.
18 years ago
Christian Richter 2294156c9d Merged revisions 72040-72041 via svnmerge from
18 years ago
Joshua Colp bd8be32993 Build a peer as well when hash323 is enabled in users.conf (issue #9599 reported by asagage)
18 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)
18 years ago
Joshua Colp a6895cb26d Merged revisions 71414 via svnmerge from
18 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)
18 years ago
Christian Richter d0bc56b953 Merged revisions 70341 via svnmerge from
18 years ago
Christian Richter 795e189aa2 Merged revisions 70672 via svnmerge from
18 years ago
Christian Richter e1791cab97 Merged revisions 70342 via svnmerge from
18 years ago
Christian Richter 9b17b11c08 Merged revisions 70311 via svnmerge from
18 years ago
Christian Richter 933ebc4141 Merged revisions 69887 via svnmerge from
18 years ago
Christian Richter 82fe97efd5 Merged revisions 69053 via svnmerge from
18 years ago
Christian Richter 0847f57595 Merged revisions 68887 via svnmerge from
18 years ago
Christian Richter 84434f5f2f Merged revisions 68874 via svnmerge from
18 years ago
Russell Bryant 5fb99cbf73 Fix a small typo which ... well ... completely broke chan_iax2. oops!
18 years ago
Russell Bryant dbe2d8eeb6 Put the thread reading from the socket back in the idle list if it deferred the
18 years ago
Russell Bryant 6e7332a507 If a full frame is received while one of the iax2 threads is in the middle
18 years ago
Joshua Colp f1c32710a8 Merged revisions 70551 via svnmerge from
18 years ago
Jason Parker 60bf4f35c6 Make sure we clear the previously dialed number if it did not exist.
18 years ago
Russell Bryant 85f7646a2a Merged revisions 70396 via svnmerge from
18 years ago
Russell Bryant a0a33670bd Only attempt to queue a hangup on the owner channel if it actually exists.
18 years ago
Russell Bryant a2084d8ab8 Fix a crash that could occur when handing device state changes.
18 years ago
Tilghman Lesher 759dc00599 Issue 10005 - Segfault with missing arguments, plus fix a missing define for SIP INFO channels
18 years ago
Joshua Colp a50bc6e3a8 Don't count RTP timeout when involved in a T38 fax session. (issue #9222 reported by ivoc)
18 years ago
Joshua Colp f95038d97e Merged revisions 69765 via svnmerge from
18 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.
18 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.
18 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)
18 years ago
Kevin P. Fleming ae82d97c6d use ast_localtime() in every place localtime_r() was being used
18 years ago
Joshua Colp b86b8229c8 Whoops...
18 years ago
Joshua Colp 9604f04ed5 Let's make chan_iax2 media only native transfers actually work. (issue #9376 reported by simone cittadini)
18 years ago
Joshua Colp 7572eb866a Add TXMEDIA to list so that it is properly displayed during iax2 packet output.
18 years ago
Russell Bryant 93f3abb3e8 Move the logic for destroying a call when no response is received to a BYE
18 years ago
Russell Bryant f56c3be8ad Clarify a bit of logic. This doesn't change behavior in any way, but it is
18 years ago
Russell Bryant 0072ea9933 Fix a place where a chan_iax2 pvt struct was accessed without the lock held.
18 years ago
Joshua Colp 200248f687 Change the full frame dropping log message to debug to avoid future bug reports.
18 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.
18 years ago
Christian Richter 48f8dc5340 Merged revisions 68732 via svnmerge from
18 years ago
Christian Richter 7d491a7c24 Merged revisions 68631 via svnmerge from
18 years ago
Kevin P. Fleming f4b7a2c9cb actually remember the type/subclass of full frames that are in process
18 years ago
Kevin P. Fleming e816700d6e some improvements to the IAX2 full frame dropping logic recently added:
18 years ago
Russell Bryant e7cb53e8b2 Fix loading persistent queue members when using realtime configuration for queues.
18 years ago
Jason Parker 51f1d28d2d Fix an issue with newer phones which require packets be padded out to the correct length.
18 years ago
Olle Johansson 2d491b0eae Disable chan_features by default in menuselect
18 years ago
Joshua Colp b58a48d672 Merged revisions 67938 via svnmerge from
18 years ago
Russell Bryant 6595debbc5 Fix a crash when doing call pickups with SIP phones. The code unlocked the
18 years ago
Russell Bryant 83744c244a Suppress a bunch of debug output unless option_debug is on
18 years ago
Jason Parker 4a7ae2ebde Correctly update date/time on devices throughout the life of the device, instead of just at registration.
18 years ago
Christian Richter 619cdb016a Merged revisions 67307 via svnmerge from
18 years ago
Christian Richter b0dd31cb52 Merged revisions 67306 via svnmerge from
18 years ago
Joshua Colp 24922406f4 Only muck with the thread structure if an idle one was found/created.
18 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)
18 years ago
Christian Richter 9f749257ef Merged revisions 67209 via svnmerge from
18 years ago
Russell Bryant 3b5bd316ed Fix up a bunch of places where the iax2 pvt structure can disappear and the
18 years ago
Jason Parker 0b7607ad55 Fix for skinny keepalives.
18 years ago
Jason Parker 6b150d7b9c Fixes for dtmf/dialing with mgcp (similar to the recent fix for chan_skinny)
18 years ago
Russell Bryant 885d846739 Add comments for two functions that get called with the appropriate call locked,
18 years ago
Joshua Colp 01456184f9 Better handle SIP devices that say they have SDP content... but really don't. (issue #9398 reported by mthomasslo)
18 years ago
Russell Bryant 0b7719e9a1 Resolve a deadlock in chan_iax2. When handling an implicit ACK to a frame that
18 years ago
Russell Bryant 0ecb2ecf42 Changes to the way DTMF is handled in the core broke dialing in chan_skinny.
18 years ago
Joshua Colp c7112015ba Merged revisions 66764 via svnmerge from
18 years ago
Joshua Colp 612f61a9b2 Silly me for having out of date source! Oh well... I'm still leaving my comment.
18 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.
18 years ago
Joshua Colp 7905fca326 Change how channel names are generated a bit. (issue #9825 reported by eldadran)
18 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.
18 years ago
Olle Johansson 8d06f379fe Don't issue hangup on hangup on hangup on hangup (for jcmoore)
18 years ago
Olle Johansson 9f15005143 Don't reset hangupcause if we already have one
18 years ago
Olle Johansson ff9e2751c6 Tracking down hanging channels, killing them one by one. Issue #9235 and related
18 years ago
Olle Johansson bab6473879 Merged revisions 66349 via svnmerge from
18 years ago
Joshua Colp 3a5a649415 Make the usedistinctiveringdetection option work again. (issue #9823 reported by premeau)
18 years ago
Jason Parker a8ab3e5738 I don't know what this was trying to do, but it's clearly incorrect.
18 years ago
Kevin P. Fleming 5f9897ba56 handle the GNUTLS library properly in the configure script and build system
18 years ago
Kevin P. Fleming 0b14e93d00 oops, use #ifdef instead of #if
18 years ago
Kevin P. Fleming e49f14e6cb don't reference GnuTLS headers and functions unless the configure script found it
18 years ago
Olle Johansson 4eab565b25 Issue 7672 - fix by zandbelt - Asterisk core dump since the GnuTLS interface did not support multithreading correctly.
18 years ago
Olle Johansson e8addde3f1 Issue 8193 - NAT issues with gtalk/STUN. Patch by phsultan. Thanks!
18 years ago
Olle Johansson abc8683ce7 Issue 7686, fix by phsultan, NAT issues when calling from gtalk to SIP over nat.
18 years ago
Olle Johansson e4f9cc15e6 Issue #8536 - Caller ID not set in CDR for jingle
18 years ago
Joshua Colp 0df2a42f96 Merged revisions 65837 via svnmerge from
18 years ago
Olle Johansson 6cfe6a550e Issue 8409 - phsultan - Fix "login" as component to jabber server.
18 years ago
Christian Richter 9f54cd55af Merged revisions 65767 via svnmerge from
18 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
18 years ago
Kevin P. Fleming ca6b421be4 Merged revisions 65682 via svnmerge from
18 years ago
Kevin P. Fleming b89faf596b clear the 'delay PBX' flag when we are ready to start the PBX
18 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)
18 years ago
Kevin P. Fleming f608d90283 Merged revisions 65676 via svnmerge from
18 years ago
Russell Bryant 7398856cea Merged revisions 65588 via svnmerge from
18 years ago
Russell Bryant c556cc222c List res_smdi as a dependency for app_voicemail and chan_zap
18 years ago
Christian Richter e7355ec53b Merged revisions 65328 via svnmerge from
18 years ago
Olle Johansson 4483fa12e8 Merged revisions 65122 via svnmerge from
18 years ago
Olle Johansson 7fe3608300 Merged revisions 65075 via svnmerge from
18 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.
18 years ago
Christian Richter 012fe116fa Merged revisions 65007 via svnmerge from
18 years ago
Olle Johansson 73d0ba053b Issue 9487 - stop media flows at hangup of call
18 years ago
Christian Richter d682a74e26 Merged revisions 64902 via svnmerge from
18 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)
18 years ago
Olle Johansson 4ae20ba8e4 Fix auth on BYE. (Different patch than for 1.2)
18 years ago
Olle Johansson 5acc63d688 Issue #9681 - Handle www-auth on BYE
18 years ago
Olle Johansson 374b52f717 Final part of issue #9483 - fixing transfer() of sip calls in the dial plan (twilson)
18 years ago
Olle Johansson 70ad556544 Issue #9439 - properly handle username parameters in SIP uri.
18 years ago
Olle Johansson bf1a15b9bf Merged revisions 64535 via svnmerge from
18 years ago
Olle Johansson 56af259505 Merged following patch with a lot of changes for 1.4
18 years ago
Christian Richter d17174cfc1 Merged revisions 64513 via svnmerge from
18 years ago
Olle Johansson 1f2afa0ff1 Change -2 to XMIT_ERROR to clarify a bit more
18 years ago
Russell Bryant b340fcd7d0 Properly handle AST_CONTROL_PROGRESS by just ignoring it. An unknown indication
18 years ago
Olle Johansson e041d57175 Handle network errors, like host or network unreachable, in a better way. This means that
18 years ago
Steve Murphy 8c635fb2c1 As per 9570, worrisome CDR warnings have been removed, that are either not helpful, or not relevant.
18 years ago
Joshua Colp 9a73c07fb1 This concludes my final adventure with bitmasks and the onhold flag. Would anyone care for some peanuts?
18 years ago
Joshua Colp 699aa6ad74 Tweak hold flags some more. They can be of three states when active: active, inactive, one direction.
18 years ago
Joshua Colp 026000bae8 Ensure the onhold flag is set no matter what when being put on hold.
18 years ago
Jason Parker c2c91c7fef Merged revisions 63828 via svnmerge from
18 years ago
Olle Johansson ca1ae5e81a Merged revisions 63748 via svnmerge from
18 years ago
Joshua Colp 67a0bbaa83 Do not prematurely go on hold if sendonly was not actually set.
18 years ago
Matthew Fredrickson a181c6a777 Merged revisions 63653 via svnmerge from
18 years ago
Joshua Colp c83c0072bb Merged revisions 63610 via svnmerge from
18 years ago
Christian Richter 3e63c9d542 Merged revisions 62945,63402,63519 via svnmerge from
18 years ago
Olle Johansson d30faa1dc2 Don't retransmit 200 OK's on ignore status. (Reported on asterisk-users)
18 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.
18 years ago
Joshua Colp 95de3fbf0c Merged revisions 62987 via svnmerge from
18 years ago
Christian Richter 460e677ea6 Merged revisions 61357,61770,62885 via svnmerge from
18 years ago
Tilghman Lesher 8bcfcfca88 Merged revisions 62691 via svnmerge from
18 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.
18 years ago
Olle Johansson d5fda03428 Don't unlock a channel that we already know does not exist (propably isue 8228)
18 years ago
Russell Bryant 3595c5fed1 Merged revisions 62417 via svnmerge from
18 years ago
Russell Bryant 8936804377 Fix a bug that made the "language" setting in zapata.conf not
18 years ago
Russell Bryant 6b76a95f09 Fix a weird problem where when a caller talking to someone sitting behind an
18 years ago
Olle Johansson 34f9e0c4dd Merged revisions 62126 via svnmerge from
18 years ago
Olle Johansson b0121ca8a3 Issue #9608 - fix some annoying DEBUG messages not controlled by option_debug (DEA). Thanks!
18 years ago
Joshua Colp 0525347958 Merged revisions 62037 via svnmerge from
18 years ago
Kevin P. Fleming 0e525813a8 Merged revisions 61913 via svnmerge from
18 years ago
Russell Bryant 5574da0c12 Merged revisions 61866 via svnmerge from
18 years ago
Russell Bryant e6aa1145ed Merged revisions 61862 via svnmerge from
18 years ago
Russell Bryant 77c52fd8bf Merged revisions 61798 via svnmerge from
18 years ago
Dwayne M. Hubbard db55615090 Merged revisions 61777 via svnmerge from
18 years ago
Joshua Colp b271179161 Merged revisions 61771 via svnmerge from
18 years ago
Olle Johansson 32be6621f6 Merged revisions 61685 via svnmerge from
18 years ago
Olle Johansson dc6d309bdb #9483, half of patch by twilson to solve 302 redirect issues
18 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)
18 years ago
Steve Murphy 8a386a9816 A fix for chan_oss that resulted from the CDR changes; it helps to use the right info.
18 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)
18 years ago
Russell Bryant 5858778f40 Merged revisions 61476 via svnmerge from
18 years ago
Nadi Sarrar 3bd81c31fb Don't export AOCD variables on misdn_hangup anymore, this was mainly a fix for trunk..
18 years ago
Russell Bryant a0d75effd5 Merged revisions 61426 via svnmerge from
18 years ago
Russell Bryant 9ce476a89c Merged revisions 61376 via svnmerge from
18 years ago
Nadi Sarrar 4e2ab7de64 Export AOCD variables on misdn_hangup.
18 years ago
Nadi Sarrar b31fe9be83 Ignore facility messages in case we don't have a corresponding channel object.
18 years ago
Nadi Sarrar 5e08746b28 AOCD's are now exported to asterisk channel variables.
18 years ago
Nadi Sarrar 50d606bbf8 Merged revisions 61170 via svnmerge from
18 years ago
Olle Johansson 3e5c59f235 Merged revisions 61038 via svnmerge from
18 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.
18 years ago
Tilghman Lesher 1d3fbc214a Merged revisions 60846 via svnmerge from
18 years ago
Tilghman Lesher dc54d451dc Off by one error, resulting in a crash (Issue 9500)
18 years ago
Matthew Fredrickson e7e3929740 Make sure we check the faxdetect option before doing fax processing
18 years ago
Matthew Fredrickson 96a8eadf29 Merged revisions 60456 via svnmerge from
18 years ago
Joshua Colp a85156a737 Merged revisions 60213 via svnmerge from
18 years ago
Russell Bryant 0b94c7c27c Add a Content-Length of 0 to the response built by transmit_response_with_unsupported().
18 years ago
Russell Bryant 3e058dab84 Merged revisions 60083 via svnmerge from
18 years ago
Russell Bryant dff65e38f4 Merged revisions 59938 via svnmerge from
18 years ago
Russell Bryant f8773a1e80 Merged revisions 59916 via svnmerge from
18 years ago
Nadi Sarrar 911a8f501d Merged revisions 59788,59803 via svnmerge from
18 years ago
Christian Richter 30ace959bb Merged revisions 59623-59624,59639 via svnmerge from
18 years ago
Russell Bryant 8acd1e8349 When the IAX2 read callback gets called, return NULL instead of a "null frame".
18 years ago
Russell Bryant a2fc7b9e36 Fix the check that ensures that the CHANNEL function's first argument is "rtpqos".
18 years ago
Russell Bryant 8fdf6e3c47 Merged revisions 59258 via svnmerge from
18 years ago
Russell Bryant c0aca26f30 Convert the RTPQOS function to just be additional parameter of the CHANNEL
18 years ago
Christian Richter 10760fce2c Merged revisions 59252 via svnmerge from
18 years ago
Tilghman Lesher 0220349ca4 Oops, this should be case insensitive
18 years ago
Tilghman Lesher ec028bd1b2 Change this to a single dp function to make oej happy.
18 years ago
Russell Bryant cd3238d543 Rename the new dialplan functions to match the variable name
18 years ago
Russell Bryant fa97f6c381 The AUDIORTPQOS and VIDEORTPQOS variables are not fully functional in some
18 years ago
Nadi Sarrar 980b0bc785 * mISDN >= 1.2 provides a dsp pipeline for i.e. echo cancellation modules, make chan_misdn use it.
18 years ago
Joshua Colp 3b6f376425 Merged revisions 59194 via svnmerge from
18 years ago
Kevin P. Fleming cf58b2ba46 don't allow string input to overrun the buffer to hold it (ASA-2007-010)
18 years ago
Kevin P. Fleming 34f55a9bf6 remove variables that are no longer used (--enable-dev-mode is good, developers should be using it)
18 years ago
Joshua Colp 067876afbc Until we can do media level parsing for sendrecv/etc just use the first value found. This crept up when a phone was offered audio+video and returned an inactive video stream. chan_sip thought the phone said to put the person on hold but that was totally wrong. (issue #9319 reported by benbrown)
18 years ago
Joshua Colp bfeb3bcf18 Copy len variable as well, should fix remaining IAX2 DTMF issues.
18 years ago
Christian Richter 30165b1bf2 Merged revisions 58849-58850,59062-59063 via svnmerge from
18 years ago
Olle Johansson 156c178143 Issue #9313, Asterisk crash on SIP return code 0 (reported by qwerty1979) (ASA-2007-011)
18 years ago
Joshua Colp 6548086af0 Don't assume that the pvt structure will still exist after calling schedule_delivery as it may not. (issue #9278 reported by fmachado)
18 years ago
Russell Bryant 4fc7d081d3 Some people like to put "limitonpeer" instead of "limitonpeers" in their
18 years ago
Olle Johansson 0eda92609d Merged revisions 58847 via svnmerge from
18 years ago