Commit Graph

3216 Commits (a4597d4d4509cd20036775ca0bb593e5146efda3)

Author SHA1 Message Date
Mark Michelson dd315e5f74 Fix a crash when attempting to spy on an unbridged channel.
17 years ago
Mark Michelson e4c93fc8c3 Added a new option, "timeoutpriority" to queues.conf. A detailed
17 years ago
Tilghman Lesher 267b9d4eb4 Oops
17 years ago
Tilghman Lesher 885d17506b Keep ast_app_inboxcount API compatible with 1.6.0.
17 years ago
Tilghman Lesher 3a27a6a9e7 Fix some crashlike bugs because flag could be NULL in play_record_review().
17 years ago
Mark Michelson 13a81dd7ae Merged revisions 127244 via svnmerge from
17 years ago
Kevin P. Fleming da14954bdc another minor ast_channel memory size decrease... for nearly all channels, 'dialcontext' is only going to be set once during the channel's lifetime, so make it a string field instead of a char array
17 years ago
Luigi Rizzo f55143f0a6 fix an uninitialized variable
17 years ago
Mark Michelson 6d1ebfbed5 Remove debug message
17 years ago
Mark Michelson ab7809ace9 Ensure the thread-safety of the monexec variable in app_queue.
17 years ago
Mark Michelson 09c659d7d0 Make this compile with dev-mode on
17 years ago
Mark Michelson 9aef593e58 The monitor-join option for queues was deprecated in favor of using
17 years ago
Mark Michelson 0178d0ccd6 Improve consistency between app_dial and app_queue with regards
17 years ago
Mark Michelson edbe6b7a25 Fix a really stupid mistake
17 years ago
Mark Michelson 3859074667 Merged revisions 125585 via svnmerge from
17 years ago
Mark Michelson 96f92f468f Merged revisions 125476 via svnmerge from
17 years ago
Tilghman Lesher c9ac1b8ca5 Don't play "your message has been saved" twice.
17 years ago
Kevin P. Fleming fd4a60c459 Merged revisions 125132 via svnmerge from
17 years ago
Tilghman Lesher 7ec25255c5 Merged revisions 124910 via svnmerge from
17 years ago
Sean Bright 3e0071199d Let app_rpt compile.
17 years ago
Steve Murphy d68b137c3d Merged revisions 124540 via svnmerge from
17 years ago
Tilghman Lesher 2bec827536 Merged revisions 124450 via svnmerge from
17 years ago
Mark Michelson 1d2ac41c07 Fix attachment behavior when using IMAP storage for voicemails
17 years ago
Michiel van Baak 8e8359465b Older versions of GNU gcc do not allow 'NULL' as sentinel.
17 years ago
Mark Michelson 7852d30fe8 Merged revisions 124112 via svnmerge from
17 years ago
Mark Michelson a2b4382fd7 Forwarding non-urgent IMAP messages could inadvertently cause the messages
17 years ago
Tilghman Lesher d2247c2573 Missing comma
17 years ago
Sean Bright 62cb684f59 Include original position in TRANSFER entries written to queue_log.
17 years ago
Mark Michelson eaa14309dd A portion of the code which handled the 'c' queue option had been
17 years ago
Mark Michelson 103a94c6c4 Silly pointers. This fixes a memory corruption I introduced
17 years ago
Tilghman Lesher 90867b2b0c Channel lock janitor -- add locks around retrieval of channel variables
17 years ago
Brett Bryant 2aae0ba13d Updates all usages of ast_tcptls_session_instance to be managed by reference counts so that they only get destroyed when all threads are done using
17 years ago
Tilghman Lesher 9d403c379f Add an option, specifying maximum analysis time for talk detection.
17 years ago
Mark Michelson 0283469cfc Merged revisions 123274 via svnmerge from
17 years ago
Steve Murphy f4c85ebd22 (closes issue #12689)
17 years ago
Chris Tooley 39606a9c64 Changes response to the ExternalIVR() P command from pipe delimited to comma delimited. closes issue #12804
17 years ago
Sean Bright 6c49489b00 Resurrected app_fax
17 years ago
Mark Michelson eb1e6f0806 Fix a segfault by not trying to store a stack address for
17 years ago
Jeff Peeler 84d0404ed5 (closes issue 0012193)
17 years ago
Mark Michelson 54c92d9a63 Recommitting revision 122228, which was accidentally reverted
17 years ago
Mark Michelson 054f08a1c8 Merged revisions 122311 via svnmerge from
17 years ago
Jeff Peeler ef3b214728 Goodbye Zaptel, hello DAHDI. Removes Zaptel driver support with DAHDI. Configuration file and dialplan backwards compatability has been put in place where appropiate. Release announcement to follow.
17 years ago
Mark Michelson cf3a2a431f Merging the work done in the queue-log-atxfer branch. The
17 years ago
Tilghman Lesher eae21f826a Merged revisions 122137 via svnmerge from
17 years ago
Steve Murphy 86aaed2cc5 Merged revisions 122127 via svnmerge from
17 years ago
Steve Murphy 1cebe01dac Merged revisions 122046 via svnmerge from
17 years ago
Russell Bryant e9d72e0cb2 Merge another big set of changes from team/russell/events
17 years ago
Tilghman Lesher 53459f86b2 Expand RQ_INTEGER type out to multiple types, one for each precision
17 years ago
Michiel van Baak c5ea45af11 add a new argument to PrivacyManager to specify a context
17 years ago
Jeff Peeler c1b88b3cf4 Fixes segfault when using ParkAndAnnounce. Also, loop made more efficient as announce template only needs to be checked until the number of colon separated arguments run out, not the entire pointer storage array. Was done in a similiar fashion in 1.4, but here we're using less variables.
17 years ago
Tilghman Lesher 15dd5c0a50 For the purpose of making the changed syntax to ExecIf easier to transition,
17 years ago
Tilghman Lesher 9471b87d27 Merge the adaptive realtime branch, which will make adding new required fields
17 years ago
Tilghman Lesher 90d75af346 Conditionally load the AGI command gosub, depending on whether or not res_agi
17 years ago
Mark Michelson 4b1fae3efb Merged revisions 120513 via svnmerge from
17 years ago
Mark Michelson 564528663d Merged revisions 120285 via svnmerge from
17 years ago
Mark Michelson d81d206148 Adding two new queue log events. The ADDMEMBER event is logged when
17 years ago
Russell Bryant 3f47cf6101 Use proper return values for a few application modules
17 years ago
Russell Bryant 5b7344ab66 Add app_fax from asterisk-addons, with some additional changes to resolve compiler
17 years ago
Russell Bryant db5f489865 Merged revisions 119530 via svnmerge from
17 years ago
Michiel van Baak 0da2734cb5 Merged revisions 119478 via svnmerge from
17 years ago
Tilghman Lesher ae317add1b Merged revisions 119404 via svnmerge from
17 years ago
Tilghman Lesher 428f08bd64 Suppress warning about pbx structure already existing
17 years ago
Tilghman Lesher c7191467d2 Add native AGI command GOSUB, as invoking Gosub with EXEC does not work
17 years ago
Russell Bryant 83b13ff7c9 Merged revisions 119012 via svnmerge from
17 years ago
Russell Bryant 9f7209af47 Merged revisions 118961 via svnmerge from
17 years ago
Russell Bryant 361bb66953 Merged revisions 118956 via svnmerge from
17 years ago
Steve Murphy a2367c07f8 Merged revisions 118858 via svnmerge from
17 years ago
Mark Michelson dd7e1255ac Update to the janitor project for making sure to be thread-safe when
17 years ago
Mark Michelson 614ae91092 Merged revisions 118509 via svnmerge from
17 years ago
Michiel van Baak 00da438e4c Zap is now DAHDI, mkay
17 years ago
Michiel van Baak 3d4a1cee98 small update to the g() option of app_voicemail to
17 years ago
Mark Michelson b5eb8b7462 Merged revisions 118365 via svnmerge from
17 years ago
Mark Michelson 4ad72ce1cf Get rid of warnings for those silly compilers which warn when freeing
17 years ago
Mark Michelson 7e49fd2f0e Use a deep copy on strings that come from ast_events. Otherwise it is
17 years ago
Michiel van Baak 8f45823dda add option 'a' to chanisavail.
17 years ago
Sean Bright d46f9af7fa A couple more places the frame data change was missed.
17 years ago
Jason Parker f7eb823a7a Fix a few places where frame data was used directly.
17 years ago
Michiel van Baak f1e9371da8 - revert change to ast_queue_hangup and create ast_queue_hangup_with_cause
17 years ago
Mark Michelson 2c7760e626 Committing a fix pointed out by Atis Lezdins on the asterisk-dev list. Thanks!
17 years ago
Tilghman Lesher ce8453f57c Enhance ExternalIVR with new options and commands.
17 years ago
Mark Michelson b0e637791c Add a new manager event, AgentRingNoAnswer to
17 years ago
Mark Michelson 06a7b4ea43 Optimize the update_realtime_member_field function by not having
17 years ago
Tilghman Lesher ffc9f89189 On socket-based connections, there is no error FD, so don't try waiting on one.
17 years ago
Jim Dixon 76707a409c Bring all app_rpt and chan_usbradio stuff up to date
17 years ago
Mark Michelson 028016b401 When counting urgent messages when using IMAP storage, take into account that
17 years ago
Mark Michelson a92223a240 Modify externnotify to take the number of urgent voicemails as a final argument instead
17 years ago
Mark Michelson f10440a35f Prevent crashes from occurring due to a strcmp of a NULL pointer.
17 years ago
Luigi Rizzo 18065a175d Use casts or intermediate variables to remove a number
17 years ago
Mark Michelson 193d16cbde Adding a new option to Chanspy(). The 'd' option allows for the spy to
17 years ago
Jason Parker 8340b21c1d Voicemail "* exit" should not require an exitcontext to be specified.
17 years ago
Tilghman Lesher c15ed0f3f6 Merged revisions 116296 via svnmerge from
17 years ago
Russell Bryant ea3fb96b29 Re-introduce proper error handling that was removed in recent commits.
17 years ago
Jason Parker e785520eb9 Correctly document state interface for AddQueueMember. Discovered while looking at issue #12626.
17 years ago
Claude Patry dfe475cc59 ameliorate load and unload to dont use DECLINED or FAILED, when theres no .conf involved.
17 years ago
Mark Michelson 93e84a7d76 Remove a debug line
17 years ago
Mark Michelson 7daebcd610 Adding support for "urgent" voicemail messages. Messages which are
17 years ago
Tilghman Lesher 8b1d52c9a5 Allow a password change to be validated by an external script.
17 years ago
Mark Michelson c854ba85a5 Merged revisions 115320 via svnmerge from
17 years ago
Joshua Colp aa2e9d2fdc Document the 'B' option of app_chanspy.
17 years ago
Dwayne M. Hubbard 817e1ed55f app_voicemail uses a taskprocessor for mwi notification subscriptions
17 years ago
Dwayne M. Hubbard 8fdea12f33 app_queue uses a taskprocessor for device state changes
17 years ago
Tilghman Lesher b11854445b Add attributes to various API calls, to help track down bugs (and remove a deprecated function)
17 years ago
Tilghman Lesher b5a127daac Modify TIMEOUT() to be accurate down to the millisecond.
17 years ago
Mark Michelson e37dafdd3a Adding new configuration options to app_queue. This adds two new values
17 years ago
Tilghman Lesher 527c601d0c Lock around variables retrieved, and copy the values, if they stay persistent,
17 years ago
Mark Michelson 1bff41eb44 Patching app_chanspy to jibe better with what is documented. This allows for
17 years ago
Mark Michelson 6447280c2f Merged revisions 114848 via svnmerge from
17 years ago
Mark Michelson 8b1cb3ce53 Make app_directory dependent on app_voicemail. This is because the function
17 years ago
Mark Michelson 6e45d3c223 Since there is now a globally available function for saying someone's name, a LOT of
17 years ago
Mark Michelson 1016811538 Fix a crash happening in app_directory. This crash would occur if a users.conf existed.
17 years ago
Mark Michelson 3aad03e5f0 Adding a new option 'n' to app_chanspy. This option allows for the name of the spied-on
17 years ago
Tilghman Lesher 6a81da594d Add incomplete matching to PBX code and app_dial
17 years ago
Tilghman Lesher ff2ca49cd0 Fix breakage caused by #12028. (Closes issue #12535)
17 years ago
Mark Michelson d0f35e6355 Adding a new option, 'B' to app_chanspy. This option allows the spy to
17 years ago
Tilghman Lesher 463a5dbd0a Whitespace changes only
17 years ago
Mark Michelson 9e1a67cfeb Merged revisions 114662 via svnmerge from
17 years ago
Jason Parker 80f8fc9ffd Merge app_pickupchan with app_directed_pickup, for AST-27.
17 years ago
Mark Michelson 8ce5a0a500 This patch allows for forwarding a message with a "comment" attachment
17 years ago
Mark Michelson 2b2571d011 Fix a memory leak and protect against potential dereferences of a NULL
17 years ago
Michiel van Baak 08e674bce0 Pass the hangup cause all the way to the calling app/channel.
17 years ago
Mark Michelson 14fc93e721 Merged revisions 114628 via svnmerge from
17 years ago
Tilghman Lesher 330909bf6e Fix DST calculation, and fix bug in calculation of whether conf has started yet or not
17 years ago
Russell Bryant 24d6eab5f6 Merged revisions 114597 via svnmerge from
17 years ago
Mark Michelson 797adf6bf8 Round 2 of IMAP_STORAGE app_voicemail.c fixes:
17 years ago
Mark Michelson edf0313215 Round 1 of IMAP_STORAGE-related app_voicemail changes
17 years ago
Jason Parker 6f549bc324 Allow setqueuevar=yes (et al) to work, after changes to pbx_builtin_setvar()
17 years ago
Russell Bryant 01f3a08f8a Add a c() option for the Jack() application and JACK_HOOK() funciton for supplying
17 years ago
Jeff Peeler 41fd7a6a21 (closes issue #6113)
17 years ago
Jeff Peeler b7a25e15d1 This removes an invalid warning message for an incorrectly entered pin, but more importantly removes an inapplicable check. If the first argument passed to app_authenticate does not contain a '/', the argument should be treated as the sole fixed "password" to match against and that is all. (Previous behavior was attempting to open a file based on the pin.)
17 years ago
Joshua Colp e52ae01831 Add MEETME_INFO dialplan function that allows querying various properties of a Meetme conference.
17 years ago
Tilghman Lesher 2f33780bfa Merged revisions 114242 via svnmerge from
17 years ago
Mark Michelson 9facdcb64f Merged revisions 114226 via svnmerge from
17 years ago
Sean Bright 45ebcb77a2 Merged revisions 114191 via svnmerge from
17 years ago
Tilghman Lesher 123ac5fd64 Standardized routines for forking processes (keeps all the specialized code in one place).
17 years ago
Sean Bright 5fbdb4af73 Add the ability to disable channel technology name playback when speaking the current channel name
17 years ago
Jason Parker fe65716e15 If somebody enters a digit during ast_stream_and_wait, the return value is the digit, which we need to use later.
17 years ago
Sean Bright 98c789ad12 I'm not sure why, but "this" bothers me. Ba dum dum.
17 years ago
Jason Parker f6cfccbc07 Merged revisions 114133 via svnmerge from
17 years ago
Mark Michelson df7cb6b30b Merged revisions 114112 via svnmerge from
17 years ago
Tilghman Lesher dc3e185e96 Use ast_mkdir instead of mkdir
17 years ago
Joshua Colp 43de3860ea Merged revisions 114029 via svnmerge from
17 years ago
Joshua Colp c9338b76ee Don't hardcode ru into the digits filename so that languageprefix can work.
17 years ago
Mark Michelson 9bd9421c83 Fix a crash that happened due to accessing free'd memory
17 years ago
Tilghman Lesher 137c02a020 Permit message wrap-around during message retrieval.
17 years ago
Tilghman Lesher 1c691646a9 Permit callee to continue in the dialplan, after caller has hung up.
17 years ago
Mark Michelson a83661d39c This is a "fix" for something that's been bugging the crap out of me for a while.
17 years ago
Mark Michelson b95d24ea47 Merged revisions 112393 via svnmerge from
17 years ago
Jason Parker a734470a2b Minor formatting cleanup.
17 years ago
Jason Parker 9f1e663935 More voicemail doxygen additions/cleanup.
17 years ago
Jason Parker 4edaf04348 Merged revisions 112068 via svnmerge from
17 years ago
Jason Parker ed9e3ef23e Replace magic number size from msgArray array with a define.
17 years ago
Jason Parker 1f8cb622bb Add a bit of doxygen documentation for app_voicemail.
17 years ago
Joshua Colp cafce80cd5 Forgetting to unregister a manager action is bad, mmmk?
17 years ago
Mark Michelson 0f8f6e239e Fix a crash that would happen when attempting to unload the app_queue module.
17 years ago
Steve Murphy 6928ccfa02 Merged revisions 111391 via svnmerge from
17 years ago
Mark Michelson e94d06b83c Merged revisions 111121 via svnmerge from
17 years ago
Mark Michelson 5278d1d62b Merged revisions 111049 via svnmerge from
17 years ago
Russell Bryant bccebdd21f Remove astobj.h from some places where it wasn't needed
17 years ago
Tilghman Lesher 3826278d38 Upgrade the sounds version; add several directory enhancements:
17 years ago
Russell Bryant 013db1d42f Merged revisions 110163 via svnmerge from
17 years ago
Mark Michelson 96c674a6f4 Merged revisions 110083 via svnmerge from
17 years ago
Russell Bryant d0edd39023 Merged revisions 109763 via svnmerge from
17 years ago
Mark Michelson 994d025523 Merged revisions 109713 via svnmerge from
17 years ago
Mark Michelson cd7efcf4e7 Add option 'randomperiodicannounce' to queues.conf. Setting this will
17 years ago
Terry Wilson b02bc230af Go through and fix a bunch of places where character strings were being interpreted as format strings. Most of these changes are solely to make compiling with -Wsecurity and -Wformat=2 happy, and were not
17 years ago
Mark Michelson 2c67438ebe Merged revisions 109012 via svnmerge from
17 years ago
Russell Bryant dfe03485a6 Remove an unnecessary thread attribute instance
17 years ago
Russell Bryant 7ccd146656 Fix polling for mailbox changes in mailboxes that are not in the default vm context.
17 years ago
Jeff Peeler 3c4c3c0dd2 documenting changes as a result of adding TCP functionality to ExternalIVR
17 years ago
Russell Bryant 835df7d30f Merged revisions 108583 via svnmerge from
17 years ago
Jeff Peeler 5aba7c1cbe set variable to NULL to prevent uninitialized warning
17 years ago
Russell Bryant 906a28ad5d Fix a place where configuration values could cause an overflow of a buffer.
17 years ago
Russell Bryant 432cb90411 Merged revisions 108469 via svnmerge from
17 years ago
Jeff Peeler b2cad9d925 (closes issue #11827)
17 years ago
Russell Bryant b38cb44acd Merged revisions 108135 via svnmerge from
17 years ago
Joshua Colp 5fc569f5f5 Merged revisions 108083 via svnmerge from
17 years ago
Tilghman Lesher 10609251f9 Revert several changes from revision 102525, as the changes were not
17 years ago
Russell Bryant a29d862631 This patch adds support for extended help prompts in voicemail. These prompts
17 years ago
Joshua Colp b9a6dbf587 Dial a device even if it's state is unknown.
17 years ago
Joshua Colp b5003a1943 Merged revisions 107637 via svnmerge from
17 years ago
Mark Michelson 5176911dfe Remove some redundant logic from wait_for_answer. This also let's us get rid of one of
17 years ago
Kevin P. Fleming 4925e7b835 Merged revisions 107464 via svnmerge from
17 years ago
Kevin P. Fleming 5875146526 Merged revisions 107461 via svnmerge from
17 years ago
Mark Michelson 9c876e801f app_queue has now been doxygenified thanks to snuffy! The ony thing I changed
17 years ago
Joshua Colp af7e1964f2 Merged revisions 107016 via svnmerge from
17 years ago
Russell Bryant dbc74f0dd0 Merged revisions 106895 via svnmerge from
17 years ago
Steve Murphy 377e51c4d4 (closes issue #6002)
17 years ago
Tilghman Lesher 0b8bccb5ce Merged revisions 106635 via svnmerge from
17 years ago
Tilghman Lesher 8718878490 Merged revisions 106552 via svnmerge from
17 years ago
Joshua Colp 496adc6fc0 Merged revisions 106235 via svnmerge from
17 years ago
Tilghman Lesher f6bb68fd56 Should check these values for non-NULL before scanning.
17 years ago
Tilghman Lesher 8a411ccf83 Create a centralized configuration option for silencethreshold
17 years ago
Russell Bryant 5403b28778 - simplify a few statements with ARRAY_LEN()
17 years ago
Tilghman Lesher 7007c565fe Fix minor misuses of snprintf
17 years ago
Terry Wilson 7d1891d5c3 Asterisk, when parking can drop rights a caller when a parking timeout occurs. Also, when doing built-in attended transfers, sometimes incorrectly passes rights from the transferrer to the transferee. This patch tries to fixes the parking issue and lays some groundwork for later fixing the transfer issue.
17 years ago
Joshua Colp 0e5d9f53cc Merged revisions 105261 via svnmerge from
18 years ago
Mark Michelson f0379886c5 Merged revisions 105059 via svnmerge from
18 years ago
Joshua Colp 9080a65bec Merged revisions 104787 via svnmerge from
18 years ago
Jason Parker 0723f79313 Remove useless 's' and 'key' variables, in favor of 'val', which serves the exact same purpose.
18 years ago
Russell Bryant ce29e46767 Merged revisions 104625 via svnmerge from
18 years ago