aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2010-01-10It's been long enough -- make the behavior introduced in 1.6 the default.tilghman2-5/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@239000 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-09Merged revisions 238915 via svnmerge from tilghman1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r238915 | tilghman | 2010-01-08 18:57:58 -0600 (Fri, 08 Jan 2010) | 6 lines -1 is interpreted as an error, intead of the maximum mask. (closes issue #16241) Reported by: vnovy Patches: manager.c.patch uploaded by vnovy (license 922) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@238916 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-08Merged revisions 238834 via svnmerge from jpeeler1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r238834 | jpeeler | 2010-01-08 17:28:37 -0600 (Fri, 08 Jan 2010) | 4 lines Stop a crash when no peer is passed to masq_park_call. (distantly related to issue #16406) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@238835 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-08Add the class actually used in the MusicOnHold start event.tilghman1-2/+4
(closes issue #16499) Reported by: syspert Patches: mohclass.patch uploaded by syspert (license 938) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@238795 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-08Initialize variables that we attempt to free later.tilghman1-0/+1
(closes issue #16302) Reported by: yahsyn Patches: 20091124__issue16302.diff.txt uploaded by tilghman (license 14) Tested by: yahsyn git-svn-id: http://svn.digium.com/svn/asterisk/trunk@238754 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-08Added a test for ast_format_reduce_str().mnicholson1-0/+117
(related to issue #16560) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@238716 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-08fixes AUDIOHOOK_INHERIT regressiondvossel2-1/+13
During the process of removing an audiohook from one channel and attaching it to another the audiohook's status is updated to DONE and then back to whatever it was previously. Typically updating the status after setting it to DONE is not a good idea because DONE can trigger unrecoverable audiohook destruction events... because of this a conditional check was added to audiohook_update_status to explicitly prevent the audiohook from ever changing after being set to DONE. It was this check that prevented audiohook inherit from work properly though. Now ast_audiohook_move_by_source is treated as a special exception, as the audiohook must be returned to its previous status after attaching it to the new channel. This is only a safe operation because the audiohook's lock is held the entire time, otherwise this could cause trouble. (closes issue #16522) Reported by: corruptor git-svn-id: http://svn.digium.com/svn/asterisk/trunk@238635 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-08Merged revisions 238629 via svnmerge from mnicholson1-4/+7
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r238629 | mnicholson | 2010-01-08 13:20:44 -0600 (Fri, 08 Jan 2010) | 5 lines Properly calculate the remaining space in the output string when reducing format strings. (closes issue #16560) Reported by: goldwein ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@238630 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-08Stop trying to find a parking space after traversing the parkinglot one time.jpeeler1-3/+2
(closes issue #16428) Reported by: Yasuhiro Konishi git-svn-id: http://svn.digium.com/svn/asterisk/trunk@238583 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-07Fix using the wrong pointer type in do_idle_thread().rmudgett1-4/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@238527 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-07fixes ast_transfer stall until hangup if called with a channel that doesn't ↵dvossel1-1/+1
support transfers ast_transfer sets res to 0 if there is no technology transfer function, but then tests for it to be negative before deciding to do an early exit. As a result, it will will wait for an AST_CONTROL_TRANSFER message that will never come. (closes issue #16424) Reported by: davidw Patches: Issue_16424_trunk_234134.patch uploaded by davidw (license 780) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@238492 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-07Merged revisions 238411 via svnmerge from dvossel1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r238411 | dvossel | 2010-01-07 14:14:25 -0600 (Thu, 07 Jan 2010) | 10 lines fixes crash in "scheduled_destroy" in chan_iax A signed short was used to represent a callnumber. This is makes it possible to attempt to access the iaxs array with a negative index. (closes issue #16565) Reported by: jensvb ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@238412 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-07Blocked revisions 238409 via svnmergedvossel0-0/+0
........ r238409 | dvossel | 2010-01-07 14:06:00 -0600 (Thu, 07 Jan 2010) | 7 lines Change in sip show channels display format allowing more digits for CID (closes issue 0016459) Reported by: Rzadzins Patches: chan_sip_longer_cid.patch uploaded by Rzadzins (license 953) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@238410 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-07Change in sip show channels display format allowing more digits for CIDdvossel1-4/+4
(closes issue #16459) Reported by: Rzadzins Patches: chan_sip_longer_cid.patch uploaded by Rzadzins (license 953) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@238405 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-07cli 'queue show' formatting fix. queue name was truncated over 12 charactersdvossel1-1/+1
(closes issue #16078) Reported by: RoadKill Patches: quequename_limit.patch uploaded by ppyy (license 906) Tested by: dvossel git-svn-id: http://svn.digium.com/svn/asterisk/trunk@238361 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-07Document the usefulness of explicit udp:// in the register stringtzafrir1-0/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@238313 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-06Merged revisions 238230 via svnmerge from tilghman1-5/+8
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r238230 | tilghman | 2010-01-06 15:41:55 -0600 (Wed, 06 Jan 2010) | 4 lines Revise documentation on disposition values to the actual values used. (closes issue #16289) Reported by: wdoekes ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@238231 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-06Fix misreverting from 177158.jpeeler1-1/+1
(closes issue #15725) Reported by: shanermn Patches: v1-15725.patch uploaded by dimas (license 88) Tested by: shanermn git-svn-id: http://svn.digium.com/svn/asterisk/trunk@238181 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-06Fix channel name comparison for bridge application.jpeeler1-3/+1
The channel name comparison was not comparing the whole string and therefore if one channel name was a substring of the other, the bridge would fail. (closes issue #16528) Reported by: telecos82 Patches: res_features_r236843.diff uploaded by telecos82 (license 687) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@238134 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-06fixes test.c compile issue when TEST_FRAMEWORK is not enableddvossel1-1/+1
The ast_test_status_update() function is defined in test.h. When TEST_FRAMEWORK is not enabled a macro is defined as a no-op place holder for this function. The macro did not contain the correct number of arguments. This caused a compile error. Much thanks to wdoekes for reporting the issue and supplying the patch! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@238091 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-06Fix reading samples from format_mp3 after ast_seekstream/ast_tellstream.seanbright1-1/+1
There is a bug when using ast_seekstream/ast_tellstream with format_mp3 in that the file read position is not reset before attempting to read samples. So when we seek to determine the maximum size of the file (as in res_agi's STREAM FILE) we weren't then resetting the file pointer so that we could properly read samples. This patch addresses that (in a similar manner to format_wav.c). (closes issue #15224) Reported by: rbd Patches: 20091230_addons_1.4_issue15224.diff uploaded by seanbright (license 71) Tested by: rbd, seanbright Review: https://reviewboard.asterisk.org/r/453 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@238014 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-06Merged revisions 238009 via svnmerge from russell1-2/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r238009 | russell | 2010-01-06 09:18:22 -0600 (Wed, 06 Jan 2010) | 7 lines Resolve a crash due to an ast_frame not being fully initialized. (closes issue #16531) Reported by: john8675309 (closes SWP-615) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@238010 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-06Whoa, duplicate setting (dead code).tilghman1-5/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@237968 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-05fixes holdtime playback issue in app_queuedvossel1-5/+2
When reporting hold time, the number of seconds should be mod 60. Otherwise audio playback could be something like "2 minutes 123 seconds" rather than "2 minutes 3 seconds". Also, the "minute" sound file is missing, so for the moment until that file can be created the "minutes" file is used instead. (closes issue #16168) Reported by: nickilo Patches: patch-unified-trunk-rev-222176 uploaded by nickilo (license ) Tested by: nickilo, wonderg git-svn-id: http://svn.digium.com/svn/asterisk/trunk@237920 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-05Mismerged a bit.mmichelson1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@237882 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-05fixes subscriptions being lost after 'module reload'dvossel1-3/+4
During a module reload if multiple extension configs are present, such as both extensions.conf and extensions.ael, watchers for one config's hints will be lost during the merging of the other config. This happens because hint watchers are only preserved for the current config being merged. The old context list is destroyed after the merging takes place, meaning any watchers that were not perserved will be removed. Now all hints are preserved during merging regardless of what config file is being merged. These hints are only restored if they are present within the new context list. (closes issue #16093) Reported by: jlaroff git-svn-id: http://svn.digium.com/svn/asterisk/trunk@237839 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-05Removed unused parameters from analog_available() and sig_pri_available().rmudgett5-6/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@237804 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-05Add a missing part of the connected line work into trunk.mmichelson2-8/+29
Part of the work done for connected line was to add an optional argument to the 'f' option to allow for the connected party information of the outgoing channel to be set to the argument provided. This was overlooked during the merge of the work to trunk and is being added back now. The CHANGES file has also been updated to note this change. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@237803 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-05Spell "aficionado" like someone who isn't stupid.mmichelson1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@237802 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-05Fix build of utility apps that include utils.c.russell1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@237749 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-05Merged revisions 237697 via svnmerge from russell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r237697 | russell | 2010-01-05 11:13:28 -0600 (Tue, 05 Jan 2010) | 7 lines Change a NOTICE log message to DEBUG where it belongs. (closes issue #16479) Reported by: alexrecarey (closes SWP-577) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@237699 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-05Make CLI command 'mixmonitor start|stop <channel> work again.mvanbaak1-1/+1
(closes issue #16534) Reported by: jlaguilar Fix as suggested by jlaguilar in the bugreport git-svn-id: http://svn.digium.com/svn/asterisk/trunk@237656 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-04Merged revisions 237573 via svnmerge from tilghman1-28/+28
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r237573 | tilghman | 2010-01-04 15:45:46 -0600 (Mon, 04 Jan 2010) | 6 lines Bounds checking for input string (closes issue #16407) Reported by: qwell Patches: 20100104__issue16407.diff.txt uploaded by tilghman (license 14) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@237574 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-04Merged revisions 237493 via svnmerge from tilghman1-22/+20
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r237493 | tilghman | 2010-01-04 14:57:35 -0600 (Mon, 04 Jan 2010) | 8 lines Regression in issue #15421 - Pattern matching (closes issue #16482) Reported by: wdoekes Patches: astsvn-16482-betterfix.diff uploaded by wdoekes (license 717) 20091223__issue16482.diff.txt uploaded by tilghman (license 14) Tested by: wdoekes, tilghman ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@237494 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-04Oops, didn't compile (thanks, kpfleming)tilghman1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@237414 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-04Further reduce the encoded blank values back to blank in the realtime API.tilghman1-0/+3
(closes issue #16533) Reported by: sergee Patches: 200100104__issue16533.diff.txt uploaded by tilghman (license 14) Tested by: sergee git-svn-id: http://svn.digium.com/svn/asterisk/trunk@237410 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-04Merged revisions 237405 via svnmerge from tilghman3-5/+20
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r237405 | tilghman | 2010-01-04 12:19:00 -0600 (Mon, 04 Jan 2010) | 16 lines Add a flag to disable the Background behavior, for AGI users. This is in a section of code that relates to two other issues, namely issue #14011 and issue #14940), one of which was the behavior of Background when called with a context argument that matched the current context. This fix broke FreePBX, however, in a post-Dial situation. Needless to say, this is an extremely difficult collision of several different issues. While the use of an exception flag is ugly, fixing all of the issues linked is rather difficult (although if someone would like to propose a better solution, we're happy to entertain that suggestion). (closes issue #16434) Reported by: rickead2000 Patches: 20091217__issue16434.diff.txt uploaded by tilghman (license 14) 20091222__issue16434__1.6.1.diff.txt uploaded by tilghman (license 14) Tested by: rickead2000 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@237406 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-04app_queue segfaults if realtime field uniqueid is NULLdvossel1-0/+5
(closes issue #16385) Reported by: haakon Patches: app_queue.c.patch uploaded by haakon (license 880) app_queue.c.patch_v2 uploaded by dvossel (license 671) Tested by: haakon git-svn-id: http://svn.digium.com/svn/asterisk/trunk@237327 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-04Fix timeout for AGI command speech recognize.jpeeler1-1/+1
(closes issue #16297) Reported by: semond git-svn-id: http://svn.digium.com/svn/asterisk/trunk@237323 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-04Merged revisions 237318 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r237318 | tilghman | 2010-01-04 10:18:59 -0600 (Mon, 04 Jan 2010) | 3 lines It's also possible for the Local channel to directly execute an Application. Reviewboard: https://reviewboard.asterisk.org/r/452/ ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@237319 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-04- Disable res_pktccops by defaultoej2-3/+19
- Add dependency in chan_mgcp that was missing - Add a small amount of doc to the source code git-svn-id: http://svn.digium.com/svn/asterisk/trunk@237284 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-041. Added reporting operator names in AuthReq.transnexus1-26/+107
2. Added retrieving operator names from AuthRsp and exporting them. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@237250 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-02global_contact_ha was renamed in trunktilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@237213 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-02Merged revisions 237135 via svnmerge from oej1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r237135 | oej | 2010-01-02 10:52:30 +0100 (Lör, 02 Jan 2010) | 2 lines Release memory of the contact acl before unloading module ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@237136 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-30small q931 processing and signalling correctionsmay3-6/+4
don't decode UUIE from Q931StatusMessage clean call without callIdentifier data don't start tcs/msd exchange procedure after call proceeding received (closes issue #16365) Reported by: benngard2 Tested by: may213, benngard2 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@237098 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-30Add app_voicemail and say.c support for Vietnamese.qwell3-3/+414
Also add an XXX comment that I'm baffled nobody has ever complained about. We say "first message", and then we go into language-specific stuff where we proceed to say..."first message". (closes issue #15053) Reported by: dinhtrung Patches: vietnamese.ods uploaded by dinhtrung (license 776) app_voicemail.c.diff uploaded by dinhtrung (license 776) (closes issue #15626) Reported by: dinhtrung Patches: say.c.diff uploaded by dinhtrung (license 776) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@237050 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-30Merged revisions 236981 via svnmerge from tilghman1-1/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r236981 | tilghman | 2009-12-30 15:57:10 -0600 (Wed, 30 Dec 2009) | 9 lines Don't queue frames to channels that have no means to process them. (closes issue #15609) Reported by: aragon Patches: 20091230__issue16521__1.4__chan_local_only.diff.txt uploaded by tilghman (license 14) Tested by: aragon Review: https://reviewboard.asterisk.org/r/452/ ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@236982 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-30One more LOW_MEMORY compile fix.jpeeler1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@236902 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-30Fix compiling with LOW_MEMORY.jpeeler2-17/+10
Modified handle_verbose to be LOW_MEMORY aware, removed old RTP related code in chan_sip. (closes issue #16381) Reported by: michael_iedema Patches: ast_complete_source_filename.patch uploaded by michael iedema (license 942) modified by me git-svn-id: http://svn.digium.com/svn/asterisk/trunk@236893 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-30Blocked revisions 236890 via svnmergejpeeler0-0/+0
........ r236890 | jpeeler | 2009-12-30 14:25:11 -0600 (Wed, 30 Dec 2009) | 2 lines Remove conflicting function definitions (asterisk.h) so LOW_MEMORY compiles. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@236891 f38db490-d61c-443f-a65b-d21fe96a405b