aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2010-08-23Use autotagged externalsv1X4X36-rc1lmadsen0-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.36-rc1@283276 f38db490-d61c-443f-a65b-d21fe96a405b
2010-08-23Importing release summary for 1.4.36-rc1 release.lmadsen2-0/+491
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.36-rc1@283275 f38db490-d61c-443f-a65b-d21fe96a405b
2010-08-23Importing files for 1.4.36-rc1 release.lmadsen3-0/+29665
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.36-rc1@283274 f38db490-d61c-443f-a65b-d21fe96a405b
2010-08-23Creating tag for the release of asterisk-1.4.36-rc1lmadsen0-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.36-rc1@283273 f38db490-d61c-443f-a65b-d21fe96a405b
2010-08-23Creating tag for the release of asterisk-1.4.36-rc1lmadsen0-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.36-rc1@283271 f38db490-d61c-443f-a65b-d21fe96a405b
2010-08-20Merged revision 278274 fromrmudgett10-39/+439
https://origsvn.digium.com/svn/asterisk/trunk .......... r278274 | rmudgett | 2010-07-20 17:38:13 -0500 (Tue, 20 Jul 2010) | 1 line Reference correct struct member for unlikely event PRI_EVENT_CONFIG_ERR. .......... git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@283123 f38db490-d61c-443f-a65b-d21fe96a405b
2010-08-03Prevent DAHDI channels from overriding the callerid, once it's been set by ↵tilghman2-3/+9
the user. (closes issue #16661) Reported by: jstapleton Patches: 20100414__issue16661.diff.txt uploaded by tilghman (license 14) 20100415__issue16661__1.6.2.diff.txt uploaded by tilghman (license 14) Tested by: jstapleton git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@280811 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-29fixes issue with translator frame not getting freeddvossel1-0/+3
A translator frame even if it local storage so the translation path can be freed. This issue prevented g729 licenses from being freed up. (closes issue #17630) Reported by: manvirr Patches: encoder_fix.diff uploaded by dvossel (license 671) Tested by: manvirr, dvossel git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@280448 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-29Fix a dsp structure leak occuring when a local channel is put into a meetmejeang1-0/+3
conference, then masquaraded away. ABE-2422 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@280341 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-28Update help text to be less confusing.lmadsen1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@280088 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-27remove empty audiohook write list on channeldvossel3-1/+28
If a channel has an audiohook write list created on it, that list stays on the channel until the channel is destroyed. There is no reason to keep that list on the channel if it becomes empty. If it is empty that just means we are doing needless translating for every ast_read and ast_write. This patch removes the audiohook list from the channel once it is detected to be empty on either a read or write. If a audiohook is added back to the channel after this list is destroyed, the list just gets recreated as if it never existed to begin with. (closes issue #17630) Reported by: manvirr Review: https://reviewboard.asterisk.org/r/799/ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@279945 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-24Minor update to man pagesnuffy1-3/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@279346 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-24Provide a default value for DAHDI_TRANSCODE so when DAHDI is not installedjpeeler3-19595/+6392
menuselect doesn't get confused: Unknown value '' found in build_tools/menuselect-deps for DAHDI_TRANSCODE git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@279344 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-23SIP promiscuous redirect could fail to dial the redirect.rmudgett2-6/+12
The ast_channel was created with one variable to ast_request() but the call to ast_call() that initiates the outgoing call was using a different variable. The two variables are not equivalent if the call_forward string included a channel technology specifier. e.g., SIP/200 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@279206 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-23Backport fixes for sip_uri_params_cmp() from trunk.mmichelson1-39/+25
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@279053 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-23Establish a maximum version for openh323 (i.e. not opal), because chan_h323 ↵tilghman3-4/+36
will fail to load, even if it links. (issue #17679) Reported by: am git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@278984 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-23Avoid race with consolethread on shutdown (on parallel processors).tilghman1-6/+13
(closes issue #17080) Reported by: sybasesql Patches: 20100721__issue17080.diff.txt uploaded by tilghman (license 14) Tested by: sybasesql git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@278981 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-22DNID does not get cleard on a new call when using immediate=yes with ISDN ↵rmudgett1-4/+4
signaling. When you are using chan_dahdi ISDN signaling with immediate=yes and a call comes in without a DNID then you get the DNID of a previous call. Chan_dahdi does not touch the DNID field on a new call if it does not have a DNID. Made always copy the DNID from the new call. The patches backport the relevant changes from trunk -r210387. (closes issue #17568) Reported by: wuwu Patches: issue17568_v1.4.patch uploaded by rmudgett (license 664) issue17568_v1.6.2.patch uploaded by rmudgett (license 664) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@278701 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-22Allow PLC to function properly when channels use SLIN for audio.mmichelson1-1/+3
If a channel involved in a bridge was using SLIN audio, then translation paths were not guaranteed to be set up properly since in all likelihood the number of translation steps was only 1. This patch enforces the transcode_via_slin behavior if transcode_via_slin or generic_plc is enabled and one of the formats to make compatible is SLIN. AST-352 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@278618 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-20Delete IMAP messages in reverse order, to ensure reordering after each ↵tilghman1-5/+8
expunge does not cause deletion of the wrong message. (closes issue #16350) Reported by: noahisaac Patches: 20100623__issue16350.diff.txt uploaded by tilghman (license 14) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@278261 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-20Do not queue up DTMF frames while a call is on hold.tilghman3-1/+37
(Fixes ABE-2110) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@278167 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-20Off-by-one errortilghman1-5/+3
(closes issue #16506) Reported by: nik600 Patches: 20100629__issue16506.diff.txt uploaded by tilghman (license 14) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@278023 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-19Regression with T.38 negotiationpabelanger1-7/+7
Prior to 1.4.26.3 T.38 negotiation worked properly, in the case of the reporter. (issue #16852) Reported by: cfc (closes issue #16705) Reported by: mpiazzatnetbug Patches: issue16705_2.diff uploaded by ebroad (license 878) Tested by: vrban, ebroad, c0rnoTa, samdell3 Review: https://reviewboard.asterisk.org/r/754/ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@277944 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-19Avoid trying to pickup a parked extension before the park operation is ↵jeang1-1/+1
completed. A crash could occur if the extension is picked up while the parking extension is being announced. Testing pu->notquiteyet while searching for a parked extension resolves this crash. (ABE-2418) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@277906 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-17Remove uclibc cross-compile triplet, as uclibc has a working fork()... it's ↵tilghman2-3/+3
only uclinux that does not. (closes issue #17616) Reported by: pprindeville git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@277738 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16Save and restore AST_FLAG_BRIDGE_HANGUP_DONT on attended transfer.tringenbach1-0/+13
ast_bridge_call() clears AST_FLAG_BRIDGE_HANGUP_DONT. But during an attended transfer, ast_bridge_call() is called for a second bridge on the same channel, and it clears that flag, which still needs to get set for when the original ast_bridge_call() gets control back and checks it. Review: https://reviewboard.asterisk.org/r/741 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@277625 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16Since we split values at the semicolon, we should store values with a ↵tilghman2-31/+133
semicolon as an encoded value. (closes issue #17369) Reported by: gkservice Patches: 20100625__issue17369.diff.txt uploaded by tilghman (license 14) Tested by: tilghman git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@277568 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16Default to no udptl error correction so that error correction will be ↵mnicholson1-0/+5
disabled in the event that the remote end indicates that they do not support the error correction mode we requested. FAX-128 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@277497 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16priexclusive in chan_dahdi.conf ignored when reloading dahdi modulermudgett1-2/+4
During a reload, the priexclusive and outsignalling parameters are not read in from the config file as intended. Unfortunately, they get set to defaults as a result. This patch makes sure that they do not get set to defaults during a reload. (closes issue #17441) Reported by: mtryfoss Patches: issue17441_v1.4.patch uploaded by rmudgett (license 664) issue17441_v1.6.2.patch uploaded by rmudgett (license 664) issue17441_trunk.patch uploaded by rmudgett (license 664) Tested by: rmudgett git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@277419 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16Interpret device state AST_DEVICE_UNKNOWN as extension state ↵mnicholson1-1/+2
AST_EXTENSION_NOT_INUSE. (closes issue #16035) Reported by: francesco_r Patches: pbx.c.patch uploaded by viniciusfontes (license 978) Tested by: francesco_r, agx, lawbar git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@277327 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16If variable gotten is not set, will segfault on Solaris.tilghman1-1/+1
(closes issue #17636) Reported by: bklang git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@277261 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16For pass through DTMF tones, measure the actual duration between the begin ↵mnicholson1-0/+13
and end packets on the wire. If it is detected to be less than AST_MIN_DTMF_DURATION, trigger dtmf emulation. AST-362 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@277247 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-16Total analysis time error with SIP and silence suppressionpabelanger1-3/+4
When using app_amd with SIP providers that have silence suppression on, the iTotalTime count increases exponentially. (closes issue #17656) Reported by: juls git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@277182 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-15In a perfect world, the frame source would never be NULL. In the meantime, ↵jpeeler1-1/+1
don't crash when it is. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@276652 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-14Update documentation for voicemail.conf externpass option.lmadsen1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@276267 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-13Only reset a CDR that exists.russell1-1/+3
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@276126 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-13Use chan->cdr instead of chan_cdr (just like peer->cdr instead of peer_cdr ↵russell1-1/+1
in the last commit). git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@276123 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-13Access peer->cdr directly instead of through a saved off reference.russell1-1/+1
At this point in the code, it is possible that peer_cdr may be invalid. Specifically, in the blind transfer code, CDRs are swapped between channels. So, peer_cdr is no longer == peer->cdr. The scenario that exposed a crash in this code was a blind transfer that hit the system call limit, causing the transferee channel to get destroyed after the transfer attempt failed. Even if it succeeds and this code doesn't crash, this code was still trying to reset a CDR on a channel that was now owned by a different thread, which is a BadThing(tm). (ABE-2417) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@275994 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-13Move SQL scripts into their own database-specific directories.tilghman5-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@275909 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-12Make user removals and traversals thread safe in meetme.jpeeler1-85/+173
Race conditions present in meetme involving the user list where a lack of locking has the potential for a user to be removed during a traversal or as in the case of the reporter after checking if the list is empty could cause a crash. Fixing this was done by convering the userlist to an ao2 container. (closes issue #17390) Reported by: Vince Review: https://reviewboard.asterisk.org/r/746/ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@275773 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-12Change ast_write to not stop generator when called from ast_prod.jpeeler1-5/+5
For SIP channels configured with the progressinband option on, the ringback was being immediately stopped. This problem was due to ast_prod being moved for a deadlock fix in 259858. Prodding the channel after setting up the generator triggered the check in ast_write to stop the generator. The fix here should write the frame the same as was done before the call to ast_prod was moved. (closes issue #17372) Reported by: tech_admin git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@275665 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-09fix tab-completion for unload command.pabelanger1-1/+6
(closes issue #17536) Reported by: junky Patches: unload_vs_mod_unload.diff uploaded by junky (license 177) Tested by: pabelanger git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@275290 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-09Fix logging message for stale nonce.pabelanger1-1/+1
(closes issue #17582) Reported by: kenner Patches: chan_sip.c.diff uploaded by kenner (license 1040) Tested by: lmadsen git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@275241 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-09give a better error message when attempting to unload a module that is not ↵mnicholson1-1/+3
loaded git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@275182 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-09don't unload modules that returned AST_MODULE_LOAD_DECLINE when they were loadedmnicholson1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@275143 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-09Clear the AST_CDR_FLAG_DIALED flag for channels going into the pbx via the G ↵mnicholson1-0/+5
option in app_dial (closes issue #17592) Reported by: jamicque Patches: G-flag-cdr-fix1.diff uploaded by mnicholson (license 96) Tested by: jamicque, mnicholson git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@275027 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-09Document that a leading and trailing slash is expected for test categories.russell2-1/+11
Also, emit a warning if a test is registered without one of these. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@275021 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-07Close the DAHDI FD on error when processing chan_dahdi toneduration config ↵rmudgett1-0/+1
parameter. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@274579 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-07Correct how 100, 200, 300, etc. is said. Also add the crazy British numbers.tilghman1-0/+9
(closes issue #16102) Reported by: Delvar Patches: say.conf.fix.patch uploaded by Delvar (license 908) (plus a few additional fixes and simplifications by me) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@274417 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-06Ensure file.o is built correctly.jpeeler1-1/+1
(related to issue #15250) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@274359 f38db490-d61c-443f-a65b-d21fe96a405b