aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2010-08-10Importing release summary for 1.4.35 release.v1X4X35lmadsen2-0/+775
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.35@281647 f38db490-d61c-443f-a65b-d21fe96a405b
2010-08-10Update .version and ChangeLog.lmadsen2-1/+5
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.35@281617 f38db490-d61c-443f-a65b-d21fe96a405b
2010-08-10Create Asterisk 1.4.35 from 1.4.35-rc1.lmadsen0-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.35@281594 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-22Use autotagged externalsv1.4.35-rc1lmadsen0-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.35-rc1@278700 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-22Importing release summary for 1.4.35-rc1 release.lmadsen2-0/+775
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.35-rc1@278699 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-22Importing files for 1.4.35-rc1 release.lmadsen3-0/+29431
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.35-rc1@278698 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-22Creating tag for the release of asterisk-1.4.35-rc1lmadsen0-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.35-rc1@278697 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
2010-07-06Correct sip.conf.sample comments for prematuremedia option.jpeeler1-6/+8
(closes issue #17513) Reported by: festr Patches: patch uploaded by festr (license 443) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@274283 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-06Add option to not do a call forward on 482 Loop Detectedtwilson2-10/+22
Asterisk has always set up a forwarded call when receiving a 482 Loop Detected. This prevents handling the call failure by just continuing on in the dialplan. Since this would be a change in behavior, the new option to disable this behavior is forwardloopdetected which defaults to 'yes'. Review: https://reviewboard.asterisk.org/r/764/ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@274280 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-06Fix problem with RFC 2833 DTMF not being accepted.mmichelson1-1/+5
A recent check was added to ensure that we did not erroneously detect duplicate DTMF when we received packets out of order. The problem was that the check did not account for the fact that the seqno of an RTP stream will roll over back to 0 after hitting 65535. Now, we have a secondary check that will ensure that the seqno rolling over will not cause us to stop accepting DTMF. (closes issue #17571) Reported by: mdeneen Patches: rtp_seqno_rollover.patch uploaded by mmichelson (license 60) Tested by: richardf, maxochoa, JJCinAZ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@274157 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-06Make get_member_status return QUEUE_NO_MEMBERS instead of ↵mnicholson1-4/+6
QUEUE_NO_REACHABLE_MEMBERS to make joinempty=no work again. This regression was introduced in 273639. Also fixed whitespace. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@274093 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-05Command 'stop gracefully' doesn't.tilghman2-16/+44
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@273981 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-05Remove extra line breaks from 'core show config mappings'pabelanger1-3/+1
(closes issue #17583) Reported by: pabelanger Patches: issue17583.patch uploaded by pabelanger (license 224) Tested by: lmadsen git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@273884 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-02Have the DEADLOCK_AVOIDANCE macro warn when an unlock fails, to help catch ↵tilghman9-6395/+19675
potentially large software bugs. (closes issue #17407) Reported by: pdf Patches: 20100527__issue17407.diff.txt uploaded by tilghman (license 14) Review: https://reviewboard.asterisk.org/r/751/ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@273793 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-02Autoservice loop optimization causes a busy loop, when channels are serviced ↵tilghman1-0/+5
while in hangup. (closes issue #17564) Reported by: ramonpeek Patches: 20100630__issue17564.diff.txt uploaded by tilghman (license 14) Tested by: ramonpeek git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@273717 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-02Fix various typos, reported by Lintiantzafrir6-14/+14
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@273640 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-02If all members are paused, the wrong status is indicated.tilghman1-0/+7
(closes issue #17576) Reported by: ramonpeek Patches: diff.txt uploaded by ramonpeek (license 266) Tested by: ramonpeek git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@273639 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-01Don't return a partially initialized datastore.russell1-1/+4
If memory allocation fails in ast_strdup(), don't return a partially initialized datastore. Bad things may happen. (related to ABE-2415) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@273565 f38db490-d61c-443f-a65b-d21fe96a405b