Commit Graph

2741 Commits (c79e242adabb4fe2de1781fae9ad76741d8c2061)

Author SHA1 Message Date
Steve Murphy 13a60eba0c This patch fixes h-exten running misbehavior in manager-redirected
17 years ago
Sean Bright 52b97107ea Resolve a logic error that was causing Page() to crash when more than one
17 years ago
Joshua Colp 8a1faf0a58 When a call is forwarded stop any active indications. The new channel will provide an indication, if need be, itself.
17 years ago
Joshua Colp c8f9023696 If we are unable to request a DAHDI pseudo channel and we are using the user introduction without review option make sure it gets unset so other code does not blindly assume a DAHDI pseudo channel exists.
17 years ago
Tilghman Lesher f311539733 Truncate userevents at the end of a line, when the command exceeds the buffer.
17 years ago
Tilghman Lesher d671bb1404 Fix the conjugation of Russian and Ukrainian languages.
17 years ago
Mark Michelson 26658ead16 Fix some crashes from bad datastore handling in app_queue.c
17 years ago
Steve Murphy 7c1d2de899 app_page was failing to compile in dev-mode on my gcc-4.2.4 system. This change gets rid of the warning.
17 years ago
Terry Wilson b3ea953313 Don't overflow when paging more than 128 extensions
17 years ago
Russell Bryant 9161b7fc87 Revert unnecessary indications API change from rev 122314
17 years ago
Steve Murphy e3700a13a4 This merges the masqpark branch into 1.4
17 years ago
Jeff Peeler e0bec5d67d (closes issue #13480)
17 years ago
Russell Bryant 5de6848d0c Ensure that the chanspy datastore is fully initialized.
17 years ago
Tilghman Lesher 139be9556b Add mutexes around accesses to the IMAP library interface. This prevents
17 years ago
Joshua Colp 3a0e7aec6a Do not crash if we are not passed in a followme id.
17 years ago
Tilghman Lesher 8468d435e8 Reverse the fix from issue #6176 and add proper handling for that issue.
17 years ago
Mark Michelson a391fd9b1c Fix some memory leaks found while looking at how realtime
17 years ago
Russell Bryant c703960acc Do not dereference the channel if AST_PBX_KEEPALIVE has been returned.
17 years ago
Joshua Colp dfa5f7c4b4 Can we try not to assign an unsigned int to -1?
17 years ago
Tilghman Lesher d8ff8d169d Change the default calldurationlimit from the special value 0 to -1, so we
17 years ago
Mark Michelson 60c9cae6d6 Revert this cast to long. Using time_t here causes build failures on a
17 years ago
Mark Michelson ef56f0dbd4 Fix a potential crash due to unsafe datastore handling.
17 years ago
Tilghman Lesher 8a7982c1ff Oops, should be "tz", not "zonetag".
17 years ago
Tilghman Lesher 5134bb74a9 We appear to have documented tz= in the [general] section of voicemail.conf,
17 years ago
Joshua Colp a7520ee4bf Add 'down' as a valid state for directed call pickup. This creeps up when we receive session progress when dialing a device and not ringing.
17 years ago
Russell Bryant 5d985ce022 Fix an issue where callers on an incoming call on an SLA trunk would not hear ringback.
17 years ago
Joshua Colp 7eeb7f7493 Fix double declaration of 'x' on the PPC platform.
17 years ago
Russell Bryant 97bb6d4c65 Allow DISA to handle extensions that start with #.
17 years ago
Tilghman Lesher 16f94acd53 Some compilers warn on null format strings; some don't (caught by buildbot)
17 years ago
Tilghman Lesher 1653a9ef65 Ensure that Asterisk builds with --enable-dev-mode, even on the latest gcc
17 years ago
Terry Wilson e8f9274ca7 Add missing variable declaration in the PPC code
17 years ago
Tilghman Lesher 929c14e432 System call ioperm is non-portable, so check for its existence in autoconf.
17 years ago
Mark Michelson 72a8661580 This change had somehow gotten reverted due to a
17 years ago
Mark Michelson 3a1a981e2e Make sure to set the hangup cause on the calling channel in the case
17 years ago
Jeff Peeler 161a05a3d1 (closes issue #13899)
17 years ago
Mark Michelson 3429c9de5e Fix a crash in the end_bridge_callback of app_dial and
17 years ago
Mark Michelson b753654cbd If the prompt to reenter a voicemail password timed out, it
17 years ago
Tilghman Lesher bc208d63c2 ast_waitfordigit() requires that the channel be up, for no good logical
17 years ago
Tilghman Lesher 382459fac8 When using call limits under 1 second, infinite call lengths are allowed,
17 years ago
Tilghman Lesher 7e353eeaa1 If the SLA thread is not started, then reload causes a memory leak.
17 years ago
Jeff Peeler 738ec1fb71 For whatever reason, gcc only warned me about the possible use of an uninitialized variable when compiling 1.6.1.
17 years ago
Jeff Peeler c9cec47bf0 (closes issue #13173)
17 years ago
Mark Michelson bd9001e16b When doing some tests, I was having a crash at the end of every call
17 years ago
Sean Bright f2ecc4c80e Use static functions here instead of nested ones. This requires a small
17 years ago
Tilghman Lesher 799fe53401 Attempting to expunge a mailbox when the mailstream is NULL will crash Asterisk.
17 years ago
Kevin P. Fleming add5ff5b05 fix a bunch of potential problems found by gcc 4.3.x, primarily bare strings being passed to printf()-like functions and ignored results from read()/write() and friends
17 years ago
Terry Wilson 705d6f3742 Add end_bridge_callback for app_follome and add AUTOLOOP flag to res_features
17 years ago
Terry Wilson 6280e04736 Recent CDR fixes moved execution of the 'h' exten into the bridging code, so variables that were set after ast_bridge_call was called would not show up in the 'h' exten. Added a callback function to handle setting variables, etc. from w/in the bridging code. Calls back into a nested function within the function calling ast_bridge_call
17 years ago
Steve Murphy fffb7722be A little documentation cross-ref between features and
17 years ago
Steve Murphy 961bc7e758 The magic trick to avoid this crash is not to
17 years ago
Tilghman Lesher fd9de775c5 Quoting in the wrong direction
17 years ago
Tilghman Lesher 785f27a29a Reset all DIAL variables back to blank, in case Dial is called multiple times
17 years ago
Mark Michelson 3c205d2d3f Update the queue with the correct number of calls and
17 years ago
Tilghman Lesher 124e45e739 Check correct values in the return of ast_waitfor(); also, get rid of a
17 years ago
Tilghman Lesher 2d65bd3f1f Some compilers warn, some don't. Fixing.
17 years ago
Tilghman Lesher f4584aa9ff Ensure that mail headers are 7-bit clean, even when UTF-8 characters are used
17 years ago
Tilghman Lesher 8dad2a85a5 User not notified of temporary greeting, if ODBC storage is in use.
17 years ago
Tilghman Lesher 276f78ae7d When blank, callerid name and number should display "unknown caller" in voicemail
17 years ago
Joshua Colp 38402d868c If we receive DTMF make sure that the state of the speech structure goes back to being not ready. (issue #LUMENVOX-8)
17 years ago
Sean Bright 3c576b4262 Make 'imapsecret' an alias to 'imappassword' in voicemail.conf.
17 years ago
Tilghman Lesher 93ef1ee4ef Dialplan functions should not actually return 0, unless they have modified the
17 years ago
Sean Bright 9f0f616c1e Change some preprocessor macros to struct definitions so that we get
17 years ago
Tilghman Lesher 987835bbfe Backport Hebrew language to voicemail.
17 years ago
Tilghman Lesher 128c387bf2 When callerid is blank, we want to use "unknown caller" in those cases, too.
17 years ago
Tilghman Lesher 496b85d5ed Missing merge from 1.2 fixes errant exit on DTMF, only when language is Italian
17 years ago
Steve Murphy eccd14d7f0 Tested by: sergee, murf, chris-mac, andrew, KNK
17 years ago
Mark Michelson 8ac105b26d Since greetings are not stored in IMAP, we should
17 years ago
Mark Michelson 3bf0a6c221 Fix voicemail forwarding when using ODBC storage.
17 years ago
Mark Michelson df5793b73c After adding the context checking to app_voicemail
17 years ago
Mark Michelson e1b81179dc After working on the ao2_containers branch, I noticed
17 years ago
Mark Michelson 8fc827e3cd Add context checking when retrieving a vm_state.
17 years ago
Russell Bryant 6177d367e2 Fix a crash in the ChanSpy application. The issue here is that if you call
17 years ago
Mark Michelson ccfa1564da Add a lock and unlock prior to the destruction of the chanspy_ds
17 years ago
Mark Michelson 6f9bd7d072 Change the inequalities used in app_queue with regards
17 years ago
Kevin P. Fleming 2ebf0eee36 remove some more chan_zap references
17 years ago
Kevin P. Fleming a57dd05769 convert this module to be able to handle DAHDI or Zaptel (reported on asterisk-users, don't know how this got missed before)
17 years ago
Tilghman Lesher 925996df48 Update persistent state on all exit conditions.
17 years ago
Kevin P. Fleming 24dedd7016 work around a bug in gcc-4.2.3 that incorrectly ignores the casting away of 'const' for pointers when the developer knows it is safe to do so
17 years ago
Mark Michelson 7dcb58af43 We only need to unregister the QueueStatus manager
17 years ago
Mark Michelson bae517b1e2 Revert inadvertent changes to app_skel that occurred when
17 years ago
Mark Michelson b8bbf8b61a Merging the issue11259 branch.
17 years ago
Steve Murphy ee8adb313e (closes issue #12982)
17 years ago
Tilghman Lesher b0e9870535 Memory leak on unload
17 years ago
Michiel van Baak c5ef42b87c make app_ices compile on OpenBSD.
17 years ago
Russell Bryant 9105d1ecff Get app_ices working again
17 years ago
Mark Michelson f51e53921c Add more timeout checks into app_queue, specifically
17 years ago
Kevin P. Fleming 7b61edde36 build against the now-typedef-free dahdi/user.h
17 years ago
Mark Michelson b7aa2fb03c Merging the imap_consistency branch.
17 years ago
Tilghman Lesher 0b2e233479 Detect when sox fails to raise the volume, because sox can't read the file.
17 years ago
Tilghman Lesher 8e0165bb17 Remove unnecessary mmap flag
17 years ago
Kevin P. Fleming cd12517eeb make some more changes to the dahdi/zap channel name support stuff to ensure allthe globals are 'const', and clean up mmichelson's changes to app_chanspy to simplify the code
17 years ago
Mark Michelson 252c5728fc As suggested by seanbright, the PSEUDO_CHAN_LEN in
17 years ago
Mark Michelson 9482af686b Zap/pseudo is ten characters, but DAHDI/pseudo is
17 years ago
Mark Michelson ba642db1f4 Update the "last" channel in next_channel in app_chanspy so
17 years ago
Kevin P. Fleming 6a0bcc4754 fix up namespace pollution for dahdi_chan_mode enum
17 years ago
Brett Bryant 222f6d733a Fix a bug where SENDTEXTSTATUS isn't set properly when it isn't
17 years ago
Mark Michelson 592497392b Move the init_queue call back to where it used to be (changed
17 years ago
Mark Michelson 47924ba64d Apparently, "thread safety" is important, whatever
17 years ago
Mark Michelson e10908c6d2 Make absolutely certain that the transfer datastore
17 years ago
Mark Michelson cb503c4cb4 Add a check to the CAN_EARLY_BRIDGE macro in app_dial to
17 years ago
Kevin P. Fleming 75c6f9ab0f a whole pile of Zaptel/DAHDI compatibility work, with lots more to come... this tree is not yet ready for users to be easily upgrading or switching, but it needs to be :-)
17 years ago
Mark Michelson 7b1c12bcb0 Backport TCP-related timeouts to IMAP voicemail in 1.4
17 years ago
Tilghman Lesher e46bb5f5bc Cause SIP to return a 480 instead of a 404 when a sip peer exists, but is not
17 years ago
Tilghman Lesher 37d56a983f Check for non-NULL before stripping characters.
17 years ago
Tilghman Lesher 03ba0f7ef0 Stop using deprecated method, as requested by Kevin.
17 years ago
Kevin P. Fleming 589c7bdb3a remove this, it has been moved to the main Makefile
17 years ago
Mark Michelson 2ddc2e2ca0 Add error message to failed open(2) calls inside the copy() function of
17 years ago
Mark Michelson 28004bb651 Add the interface of a queue member to the output of the "queue show" command
17 years ago
Mark Michelson 3d2bc51957 Backport of attended transfer queue_log patch from trunk.
17 years ago
Mark Michelson 033e0392e7 Prior to this patch, the "queue show" command used cached
17 years ago
Kevin P. Fleming 994998a9da allow tonezone to live in a different place than DAHDI/Zaptel, since dahdi-tools and dahdi-linux are now separate packages and can be installed in different places
17 years ago
Tilghman Lesher b8e3e5c6d5 Occasionally control characters find their way into CallerID. These need to
17 years ago
Steve Murphy a8f8c021d2 (closes issue #12910)
17 years ago
Tilghman Lesher 6bcc02490f usleep with a value over 1,000,000 is nonportable. Changing to use sleep()
17 years ago
Mark Michelson 83efc923de Fix IMAP forwarding so that messages are sent to the proper mailbox.
17 years ago
Mark Michelson d7fbc9aae2 davidw pointed out that the holdtime calculation used by
17 years ago
Terry Wilson d432d18723 Remove extra option from previous solution attempt
17 years ago
Terry Wilson e128c2a314 This should fix the behavior of the 'T' dial feature being passed incorrectly to the transferee when builtin_atxfers are used.
17 years ago
Jeff Peeler f9818af8dd Adds DAHDI support alongside Zaptel. DAHDI usage favored, but all Zap stuff should continue working. Release announcement to follow.
17 years ago
Mark Michelson 9f669a3a09 Properly play a holdtime message if the announce-holdtime option is
17 years ago
Jeff Peeler 0c0a5cdc73 (closes issue #12193)
17 years ago
Tilghman Lesher 3ca503066a Flipflop the sections for two options, since the section for 'X' (exit context)
17 years ago
Steve Murphy 50449140e8 Arkadia tried to warn me, but the code added to ast_cdr_busy, _failed, and _noanswer was redundant. Didn't spot it until I was resolving conflicts in trunk. Ugh. Redundant code removed. It wasn't harmful. Just dumb.
17 years ago
Steve Murphy 5c2cf0f3c0 (closes issue #10668)
17 years ago
Terry Wilson c340004d76 Backport fix for 11520--for some reason I didn't do this back in February when I patched for trunk.
17 years ago
Mark Michelson d600851f16 Make sure that the string we set will survive the unref of
17 years ago
Mark Michelson f145259724 Tab completion when removing a member should give the member's interface,
17 years ago
Russell Bryant c6c26f7c34 Fix another typo in documentation
17 years ago
Michiel van Baak 383a1ece6b small typo fix 'retires' => 'retries'
17 years ago
Tilghman Lesher c9ddda2b1f When joinempty=strict, it only failed on join if there were busy members. If
17 years ago
Russell Bryant e4f25aab4b - Fix a typo in the argument to Playtones
17 years ago
Russell Bryant ecc4690b4b - Mark app_milliwatt dependent on res_indications (thanks to jsmith)
17 years ago
Russell Bryant e5b9da59e2 Change milliwatt to use the proper tone by default (1004 Hz) instead of 1000 Hz.
17 years ago
Steve Murphy e58b5c63c6 (closes issue #10668)
17 years ago
Mark Michelson a7f2c5dbf9 Russell noted to me that in the case that separate threads use their
17 years ago
Michiel van Baak 68589940b4 small update to the g() option of app_voicemail to
17 years ago
Mark Michelson 9460de70ef Add a unique id to the datastore allocated in app_chanspy since
17 years ago
Tilghman Lesher aa32d71fcc Detect another way for a connection to have gone away.
17 years ago
Mark Michelson 1eee42a78a Don't consider a caller "handled" until the caller is bridged with
17 years ago
Mark Michelson b066825d56 Use the MACRO_CONTEXT and MACRO_EXTEN channel variables instead of the channel's macrocontext
17 years ago
Tilghman Lesher a4732cfb3c When modules are embedded, they take on a different name, without the ".so"
17 years ago
Mark Michelson fcd288a33e Move the unlock of the spyee channel to outside the start_spying() function so that
17 years ago
Mark Michelson 44c157b36a Output of channel variables when eventwhencalled=vars was set
17 years ago
Russell Bryant 74694c686d Fix an issue that caused getting the correct next channel to not always work.
17 years ago
Tilghman Lesher 5955dbc3c1 Ensure that help text terminates with a newline
17 years ago
Tilghman Lesher 9f6634f7c1 For consistency sake, ensure that the values that ${CALLINGPRES} returns are valid as an
17 years ago
Mark Michelson 2dbf0778b3 Declaration of the peer channel in this scope was making it so the peer variable defined
17 years ago
Sean Bright e7072918e0 Make sure we have enough room for the recording's filename.
17 years ago
Joshua Colp c99280a59e Include the proper headers for using mkdir on FreeBSD.
17 years ago
Jason Parker e4d2e03956 Allow autofill to work in the general section of queues.conf.
17 years ago