dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

13345 Commits

Author SHA1 Message Date
qwell 4cd58adb00 Update documentation to give an example of how to use the return status of RaiseException
Closes issue #11117, patch by blitzrage (yay blitzrage)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87626 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-30 18:28:55 +00:00
mmichelson d6bb8d4d0b The priority gets incremented after raising an exception, so the priority should be set to 0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87608 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-30 17:07:26 +00:00
mmichelson cae7b14e24 Jumped the gun a bit in the RaiseException app. It would always return -1
since it checked for the existence of something that will never exist.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87573 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-30 16:36:29 +00:00
file 04f28eeb73 Merged revisions 87571 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87571 | file | 2007-10-30 13:13:39 -0300 (Tue, 30 Oct 2007) | 4 lines

Add two more checks before printing out a warning message about bridging. If either channel has hungup of course the bridge will have failed.
(closes issue #10009)
Reported by: dimas

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87572 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-30 16:15:23 +00:00
qwell ca9768961f Merged revisions 87567 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue #11113)
........
r87567 | qwell | 2007-10-30 10:45:35 -0500 (Tue, 30 Oct 2007) | 4 lines

Fix build of editline on Solaris.

Issue 11113, patch by snuffy.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87568 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-30 15:47:19 +00:00
file b79b24ea96 Blocked revisions 87534 via svnmerge
........
r87534 | file | 2007-10-30 12:10:13 -0300 (Tue, 30 Oct 2007) | 2 lines

Return 1.4 to a state where it builds. Changing the arguments to a function and not changing where they are used is bad, mmmk?

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87535 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-30 15:11:09 +00:00
kpfleming 9e40a36718 UGH... while trying to fix #10995, I found all kinds of cruft in this Makefile. It should all be gone now, and as a side effect hashtest2 now builds with --enable-dev-mode enabled without a host of errors
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87498 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-29 22:44:49 +00:00
kpfleming 5aafb5a5e4 clean up assembler and preprocessor files if they are here too
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87467 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-29 22:24:44 +00:00
kpfleming de04a59313 ignore preprocessor and assembler files if they are present
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87466 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-29 22:21:52 +00:00
kpfleming 8bdcddc624 Merged revisions 87460 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87460 | kpfleming | 2007-10-29 17:04:29 -0500 (Mon, 29 Oct 2007) | 2 lines

don't put '-pipe' into ASTCFLAGS if '-save-temps' is already there (used when debugging preprocessor issues) because the compiler will whine about each compile command

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87462 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-29 22:05:17 +00:00
russell 0226c6b0a8 If a caller is listen-only, then don't bother with doing talker detection.
(closes issue #10911, reported by junky, patched by me)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87428 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-29 21:34:47 +00:00
russell 525cd3a0d9 Merged revisions 87396 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87396 | russell | 2007-10-29 15:22:07 -0500 (Mon, 29 Oct 2007) | 5 lines

Add some more details to the output of "core show locks".  When a thread
is waiting for a lock, this will now show the details about who currently
has it locked.
(inspired by issue #11100)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87397 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-29 20:24:47 +00:00
mmichelson ad6d79e68b Adding the more flexible QUEUE_MEMBER function to replace the QUEUE_MEMBER_COUNT function.
A deprecation notice will be issued the first time QUEUE_MEMBER_COUNT is used.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87395 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-29 20:13:23 +00:00
file c3322f662b Drop the RTCP Read too short message to debug. There are some phones out there that send a sort of keep alive packet in the RTCP that trigger this every 5 seconds.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87394 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-29 20:02:31 +00:00
qwell b6f49255a3 Make sure we set flags to a 0 value before trying to use it. Pointed out by seanbright while I was debugging issue 11109.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87393 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-29 19:56:50 +00:00
russell 2e0817f0ef Merged revisions 87373 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87373 | russell | 2007-10-29 14:21:06 -0500 (Mon, 29 Oct 2007) | 5 lines

Remove a lock that doesn't make any sense.  The regions lock needs to be held
when traversing the list of allocated chunks so that they can be printed out
to the CLI.
(Thanks to eliel on #asterisk-dev for pointing this out!)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87392 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-29 19:47:52 +00:00
file aaac5d9829 Merged revisions 87342 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87342 | file | 2007-10-29 14:20:28 -0300 (Mon, 29 Oct 2007) | 6 lines

Fix issue where if both sides of the dialog cancelled the dialog at the same time chan_sip could kepe retransmitting a response for no reason.
(closes issue #9566)
Reported by: atca_pres
Patches:
      bug9566.patch uploaded by oej

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87343 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-29 17:22:16 +00:00
qwell 3e75c284f6 Blocked revisions 87340 via svnmerge
(Closes issue #11104)
........
r87340 | qwell | 2007-10-29 12:13:04 -0500 (Mon, 29 Oct 2007) | 4 lines

Allow some function modules to compile under dev mode.

Issue 11104, patch by andrew.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87341 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-29 17:19:22 +00:00
file e2b1306c6c Remove duplicate stdlib.h include.
(closes issue #11105)
Reported by: eliel
Patches:
      app_voicemail.c.patch uploaded by eliel (license 64)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87327 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-29 16:38:31 +00:00
file cbbce6c578 Add autoconf checks for extra suppserv definitions that are not present in releases yet. chan_misdn should now build against the latest release.
(closes issue #11103)
Reported by: IgorG


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87325 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-29 16:34:45 +00:00
file 96322a96fe Merged revisions 87294 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87294 | file | 2007-10-29 11:23:49 -0300 (Mon, 29 Oct 2007) | 6 lines

Fix issue with ast_unescape_semicolon going into an endless loop.
(closes issue #10550)
Reported by: ramonpeek
Patches:
      unescape-85177-1.patch uploaded by IgorG (license 20)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87295 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-29 14:29:18 +00:00
tilghman 87971c627a Add a simple dialgroup function. By taking one of the simpler uses of Queue
away from Queue, we simplify the lives of people who do not need all the bells
and whistles.  Also, this is part of the functions that people need to
reimplement Queue in the dialplan, as a set of logic, rather than as a single
app with hundreds of options.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87264 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-28 14:16:45 +00:00
tilghman 01a542af5a Merged revisions 87262 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87262 | tilghman | 2007-10-28 08:46:55 -0500 (Sun, 28 Oct 2007) | 7 lines

Add autoservice to several more functions which might delay in their responses.
Also, make sure that func_odbc functions have a channel on which to set
variables.
Reported by russell
Fixed by tilghman
Closes issue #11099

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87263 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-28 14:11:01 +00:00
russell 878edbcba6 Update the configure script for the last libss7 API change
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87247 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-27 15:41:38 +00:00
russell 9a3872cc77 Make sure a channel exists before attempting to start or stop channel
autoservice in func_lock and func_shell.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87233 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-27 01:15:02 +00:00
mattf 39afbccd81 Add Circuit Group Queury message code
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87232 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-27 00:48:12 +00:00
mattf 744b434989 Make sure we turn on the DSP when we answer the call
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87231 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-27 00:43:59 +00:00
mmichelson b548833b6c Forgot to update CHANGES when I committed the linear queue strategy.
Thank you Russell, for pointing this out!



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87217 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-26 22:21:08 +00:00
qwell ecd7ce6f49 Correctly use defined return values in (some) load_module functions.
(issue #11096)
Patches:
      chan_agent.c.patch uploaded by eliel (license 64)
      chan_local.c.patch uploaded by eliel (license 64)
      chan_features.c.patch uploaded by eliel (license 64)
      chan_zap.c.patch uploaded by eliel (license 64)
      res_monitor.c.patch uploaded by eliel (license 64)
      res_realtime.c.patch uploaded by eliel (license 64)
      res_crypto.c.patch uploaded by eliel (license 64)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87202 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-26 21:37:02 +00:00
murf 15b76d347e Merged revisions 87168 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87168 | murf | 2007-10-26 10:34:02 -0600 (Fri, 26 Oct 2007) | 1 line

closes issue #11086 where a user complains that references to following contexts report a problem; The problem was REALLy that he was referring to empty contexts, which were being ignored. Reporter stated that empty contexts should be OK. I checked it out against extensions.conf, and sure enough, empty contexts ARE ok. So, I removed the restriction from AEL. This, though, highlighted a problem with multiple contexts of the same name. This should be OK, also. So, I added the extend keyword to AEL, and it can preceed the 'context' keyword (mixed with 'abstract', if nec.). This will turn off the warnings in AEL if the same context name is used 2 or more times. Also, I now call ast_context_find_or_create for contexts now, instead of just ast_context_create; I did this because pbx_config does this. The 'extend' keyword thus becomes a statement of intent. AEL can now duplicate the behavior of pbx_config,
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87187 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-26 17:39:39 +00:00
mmichelson 8649193a72 Added queue strategy "linear". This strategy is useful for those who always wish for their
phones to be rung in a specific order.

(closes issue #7279, reported and initially patched by diLLec, patch reworked by me)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87154 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-26 15:19:46 +00:00
mmichelson 567a160597 Remove information about the roundrobin strategy from trunk's queues.conf.sample
since it no longer exists



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87153 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-26 14:59:31 +00:00
tilghman 60dcf795b0 Merged revisions 87120 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87120 | tilghman | 2007-10-26 08:54:30 -0500 (Fri, 26 Oct 2007) | 7 lines

The addition of autoservice to func_curl additionally made func_curl dependent
on the existence of a channel, with no real reason.  This should make func_curl
once again work without a channel.
Reported by jmls.
Fixed by tilghman.
Closes issue #11090

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87121 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-26 14:00:48 +00:00
tilghman 0a35bdbd37 Blocked revisions 87067 via svnmerge
........
r87067 | tilghman | 2007-10-25 17:53:06 -0500 (Thu, 25 Oct 2007) | 4 lines

Backport alternate encoding of newline delimiters from trunk to 1.4, as approved by Russell
Reported by blitzrage
Closes issue #10903

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87104 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-26 00:16:08 +00:00
tilghman 1c1252b9de Use the same delimited character as the FILTER function in FIELDQTY and CUT.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87103 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-26 00:11:31 +00:00
kpfleming daac309efb Merged revisions 87069 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87069 | kpfleming | 2007-10-25 18:03:11 -0500 (Thu, 25 Oct 2007) | 2 lines

appending one list to another should leave the first list empty, and not require the user to do that

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87070 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-25 23:11:28 +00:00
russell b3aade8e81 Add support for a muted user to request to talk. The '2' option in the user
menu will adjust this status if a user is muted.  The talk request status will
be reflected in the CLI commands as well as the manager interface.

(closes issue #9418)
Reported by: imesper
Patches: 
      app_meetme_v2.patch uploaded by imesper (license 275)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87040 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-25 18:59:22 +00:00
murf 73a9575e92 closes issue #11045 - each file needs to define ASTERISK_FILE_VERSION, if you are going to set MTX_PROFILE in the compiler flags; the problem was that the fixes were getting made to the generated .c file, and erased the next time someone regenerated that file from the corresponding .y or .flex file. Moral of story: keep your eyes open and make mods to the .y (or flex input file) and re-run bison (or flex) as the Makefile directs for that file, and then check in both. Also, res_config_sqlite was kinda missed, and has the same issue.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87024 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-25 16:21:30 +00:00
mmichelson 7b69bb8f38 Adding the general option "shared_lastcall" to queues so that a member's wrapuptime
may be used across multiple queues.

(closes issue #9777, reported and patched by eliel)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86985 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-24 21:26:27 +00:00
qwell 46cd8cbfc5 Merged revisions 86982 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue #11079)
........
r86982 | qwell | 2007-10-24 15:56:47 -0500 (Wed, 24 Oct 2007) | 5 lines

Correctly respect hidecalleridname configuration option.
Simplify code slightly in the process.

Issue 11079, reported by ddv2005

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86983 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-24 20:59:00 +00:00
murf f7ffafc70a closes issue #11005, where #include uses the current dir instead of the config dir (/etc/asterisk) for relative path includes for AEL
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86967 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-24 13:21:29 +00:00
murf eaff46c5d7 Merged revisions 86936 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86936 | murf | 2007-10-23 22:14:28 -0600 (Tue, 23 Oct 2007) | 1 line

closes issue #11037 -- unable to specify app:spec in hint arguments
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86954 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-24 04:44:27 +00:00
murf 08a1f8a741 Merged revisions 86902 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86902 | murf | 2007-10-23 15:18:08 -0600 (Tue, 23 Oct 2007) | 1 line

closes issue #11052 -- where nothing after the ? will allow un-initialized variable values to corrupt and crash asterisk on 64-bit platforms
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86903 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-23 21:25:37 +00:00
murf 2323883d4f Merged revisions 86880 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86880 | murf | 2007-10-23 14:20:54 -0600 (Tue, 23 Oct 2007) | 1 line

This should get rid of a really, really irritating warning generated by some 64-bit platforms from libc, where free(0) is frowned upon
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86901 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-23 21:06:15 +00:00
murf 4d0fc8b4d5 Merged revisions 86881 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86881 | murf | 2007-10-23 14:22:25 -0600 (Tue, 23 Oct 2007) | 1 line

this update to Makefile corrects how ast_expr2f.c should be generated
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86900 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-23 20:44:58 +00:00
russell e7eeedfe90 Merged revisions 86836 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86836 | russell | 2007-10-22 16:36:12 -0500 (Mon, 22 Oct 2007) | 9 lines

If lock tracking is not enabled, then we can not attempt to log any mutex
failures.  If so, we could end up in infinite recursion.  The only lock that
is affected by this is a mutex in astmm.c used when MALLOC_DEBUG is enabled.

(closes issue #11044)
Reported by: ys
Patches:
      lock.h.diff uploaded by ys (license 281)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86839 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-22 21:37:58 +00:00
russell 9877aa711d Convert some spaces to tabs and make it so the CLI command is only registered
once instead of 3 times.

(closes issue #11053)
Reported by: seanbright
Patches:
      app_playback.patch uploaded by seanbright (license 71)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86835 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-22 21:17:16 +00:00
qwell 7756b987a0 Switch from AST_CLI (formerly NEW_CLI) to AST_CLI_DEFINE, since the former didn't make much sense
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86820 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-22 20:05:18 +00:00
tilghman 8451f11052 Merged revisions 86787 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86787 | tilghman | 2007-10-22 12:38:13 -0500 (Mon, 22 Oct 2007) | 2 lines

Minor FreeBSD build fix

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86790 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-22 17:40:29 +00:00
file 8fc6314f5a Merged revisions 86756 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86756 | file | 2007-10-22 13:35:22 -0300 (Mon, 22 Oct 2007) | 4 lines

After reading online I have confirmed that Record-Route headers should be copied to 1xx responses as well.
(closes issue #10113)
Reported by: makoto

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86757 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-22 16:36:56 +00:00