aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2009-12-01Fix a build error on FreeBSD.russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@232012 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-01Merged revisions 232007 via svnmerge from russell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r232007 | russell | 2009-12-01 17:25:36 -0600 (Tue, 01 Dec 2009) | 2 lines Fix a warning pointed out by buildbot. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@232008 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-01Merged revisions 231911 via svnmerge from jpeeler1-0/+11
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r231911 | jpeeler | 2009-12-01 15:29:31 -0600 (Tue, 01 Dec 2009) | 12 lines Fix crash with invalid frame data The crash was happening as a result of a frame containing an invalid data pointer, but was set with data length of zero. The few times the issue was reproduced it _seemed_ that the frame was queued properly, that is the data pointer was set to NULL. I never could reproduce the crash so as a last resort the crash has been fixed, but a check in __ast_read has been added to give as much information about the source of problematic frames in the future. (closes issue #16058) Reported by: atis ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@231927 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-01Merged revisions 231853 via svnmerge from dvossel1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r231853 | dvossel | 2009-12-01 15:14:31 -0600 (Tue, 01 Dec 2009) | 3 lines WaitExten m option with no parameters generates frame with zero datalen but non-null data ptr ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@231867 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-01More 32->64 bit codec conversions.tilghman16-52/+57
In the process of swapping ULAW to a place in the extended codec space, we found several unhandled cases, where a 32-bit integer was still being used to handle a codec field. Most of these have been fixed with this commit, although there is at least one case (codec_dahdi) which depends upon outside headers to be altered before a conversion can be made. (Fixes AST-278, SWP-459) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@231850 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-01Formats need to be able to represent all 64 codec bits.tilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@231814 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-01Merged revisions 231740 via svnmerge from mnicholson1-2/+15
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r231740 | mnicholson | 2009-12-01 09:34:57 -0600 (Tue, 01 Dec 2009) | 2 lines Ignore unknown formats in ast_format_str_reduce() and return an error if no know formats are found. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@231741 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-30Another round of UDPTL stack fixes/improvements:kpfleming3-136/+200
1) Allow users of UDPTL stack to associate a character-string tag with a UDPTL session, so that log/error/debug messages generated by the UDPTL stack can be 'connected' to the endpoint that caused them to be generated. 2) Improve comments (and process) of calculating the far end's maximum IFP size when redundancy mode is in use for error correction. 3) When an IFP larger than the calculated 'far max IFP' size is presented for writing, truncate it rather than putting in the buffer and allowing the buffer to overflow; this will cause the ends to retrain to a lower bit rate that produces IFPs of an appropriate size if possible, and if not possible, the FAX transfer will fail completely. In these cases, it is due to the one endpoint supplying a T38FaxMaxDatagram value that is improperly calculated and is too low to be of use; we have configuration options available to override this behavior. 4) Eliminate use of T38FaxMaxDatagram value in udptl.conf; it is no longer needed. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@231692 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-30Merged revisions 231614 via svnmerge from mnicholson4-8/+87
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r231614 | mnicholson | 2009-11-30 15:11:44 -0600 (Mon, 30 Nov 2009) | 8 lines Remove duplicate entries from voicemail format lists. This prevents app_voicemail from entering an infinite loop when the same format is specified twice in the format list. (closes issue #15625) Reported by: Shagg63 Tested by: mnicholson Review: https://reviewboard.asterisk.org/r/429/ ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@231688 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-30Reverted 231616mnicholson3-27/+8
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@231637 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-30Merged revisions 231614 via svnmerge from mnicholson3-8/+27
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r231614 | mnicholson | 2009-11-30 15:11:44 -0600 (Mon, 30 Nov 2009) | 8 lines Remove duplicate entries from voicemail format lists. This prevents app_voicemail from entering an infinite loop when the same format is specified twice in the format list. (closes issue #15625) Reported by: Shagg63 Tested by: mnicholson Review: https://reviewboard.asterisk.org/r/429/ ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@231616 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-30When receiving SDP that matches the version of the last one do not treat it ↵file1-3/+6
as a fatal error. (closes issue #16238) Reported by: seandarcy git-svn-id: http://svn.digium.com/svn/asterisk/trunk@231602 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-30app_queue crashes randomly, often during call-transfersdvossel1-2/+13
This patch adds a ref to the queue_ent object's parent call_queue in queue_exec() so the call_queue won't be destroyed while the the queue_ent still holds a pointer to it. (closes issue 0015686) Tested by: dvossel, aragon git-svn-id: http://svn.digium.com/svn/asterisk/trunk@231556 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-30Merged revisions 231441 via svnmerge from dvossel1-1/+0
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r231441 | dvossel | 2009-11-30 11:14:08 -0600 (Mon, 30 Nov 2009) | 11 lines fixes crash caused by RTP comfort noise payload greater than 24 bytes AST-2009-010 (closes issue #16242) Reported by: amorsen Patches: issue16242.diff uploaded by oej (license 306) Tested by: amorsen, oej, dvossel ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@231491 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-30Export dynamic (weak-linked) symbols correctly.tilghman2-1/+10
(closes issue #15193) Reported by: eliel Patches: 20091111__issue15193.diff.txt uploaded by tilghman (license 14) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@231439 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-30Blocked revisions 231437 via svnmergedvossel0-0/+0
........ r231437 | dvossel | 2009-11-30 10:32:58 -0600 (Mon, 30 Nov 2009) | 18 lines app_queue crashes randomly, often during call-transfers In app_queue, it is possible for a call_queue to be destroyed while another object still holds a pointer to it. This patch converts call_queue objects to ao2 objects allowing them to be ref counted. This makes it safe for the queue_ent object in queue_exec() to reference it's parent call_queue even after it has left the queue. (closes issue #15686) Reported by: Hatrix Patches: v2_queue_ao2.diff uploaded by dvossel (license 671) Tested by: dvossel, aragon Review: https://reviewboard.asterisk.org/r/427/ ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@231438 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-30Fix a bug where an immediate masquerade would cause a queued unhold frame to ↵file1-0/+2
get lost. Now we just indicate unhold directly after the masquerade is complete. (issue ABE-2011) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@231436 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-271. Modified exported variable names.transnexus1-120/+458
2. Added destination port support. 3. Added new protocols. 4. Added QoS. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@231401 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-26Reorder option flags. Change guidelines so that example code is consistent ↵tilghman2-61/+69
with guidelines git-svn-id: http://svn.digium.com/svn/asterisk/trunk@231369 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-25Merged revisions 231298 via svnmerge from tilghman1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r231298 | tilghman | 2009-11-25 16:31:57 -0600 (Wed, 25 Nov 2009) | 2 lines After a frame duplication failure, unlock the channel before returning. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@231299 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-25Blocked revisions 231235 via svnmergedvossel0-0/+0
........ r231235 | dvossel | 2009-11-25 15:38:32 -0600 (Wed, 25 Nov 2009) | 9 lines fixes solaris segfault on dial with verbosity >= 3 (closes issue #16193) Reported by: asgaroth Patches: bug_16193_1.4.21.2_vers.diff uploaded by snuffy (license 35) Tested by: asgaroth, snuffy ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@231236 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-25Blocked revisions 231233 via svnmergedvossel0-0/+0
........ r231233 | dvossel | 2009-11-25 15:23:41 -0600 (Wed, 25 Nov 2009) | 8 lines fixes conditional jump or move depending on uninitialised STACK value (closes issue #16261) Reported by: edguy3 Patches: edguy16261.patch uploaded by edguy3 (license 917) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@231234 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-25Load pbx_lua with global symbols to allow linking with other lua libraries.mnicholson1-1/+1
Found by Maxim Litnitskiy. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@231189 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-24Found a few places where queue refcounts were counted incorrectly. Also add ↵tilghman1-70/+87
debug statements. (closes issue #15982, closes issue #15984) Reported by: atis Patches: 20091111__issue15982.diff.txt uploaded by tilghman (license 14) Tested by: atis git-svn-id: http://svn.digium.com/svn/asterisk/trunk@231134 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-24Fix erroneous hangup extension executionjpeeler1-1/+5
ast_spawn_extension behaves differently from 1.4 in that hangups and extensions that do not exist do not return an error, whereas in 1.6 it does. This is now taken into account so that the AST_FLAG_BRIDGE_HANGUP_RUN flag gets set properly. (closes issue #16106) Reported by: ajohnson Tested by: ajohnson git-svn-id: http://svn.digium.com/svn/asterisk/trunk@231095 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-24Fix problem on digital channels due to digital flag not getting set jpeeler3-26/+48
Changed areas in sig_pri to set the digital flag using a callback that will also set the corresponding flag in chan_dahdi. Modified dahdi_request slightly so that if a bearer is marked as digital, that information is available when creating the new channel. (closes issue #16151) Reported by: alecdavis Patch based on bug_16151.diff.txt uploaded by alecdavis (license 585) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@231058 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-24Updated CHANGES file to describe the new 'd' option to app_followme added in ↵mnicholson1-0/+2
r230964 (related to issue #14155) Reported by: junky git-svn-id: http://svn.digium.com/svn/asterisk/trunk@231025 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-24Add REPLACE & PASSTHRU functions, overhaul of func_strings, fix API docs for ↵tilghman3-84/+203
the ast_get_encoded_* functions. * Add REPLACE function, which searches a given variable for a set of characters and replaces each with a given character. * Add PASSTHRU function, which passes a literal string back, like a NoOp for functions. Intent is to be able to specify a literal string to another function that takes a variable name as an argument. * Let the array manipulation functions work with dialplan functions, in addition to variables. This allows the array manipulation functions to modify ASTDB and ODBC backends, assuming the func_odbc configuration has both read and write functions. (closes issue #15223) Reported by: ajohnson Patches: 20091112__issue15223.diff.txt uploaded by tilghman (license 14) Tested by: lmadsen, tilghman git-svn-id: http://svn.digium.com/svn/asterisk/trunk@230994 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-23Add an option to app_followme to disable the "please hold" announcement.mnicholson1-6/+12
(closes issue #14155) Reported by: junky Patches: M14555-trunk.diff uploaded by junky (license 177) (modified) Tested by: junky git-svn-id: http://svn.digium.com/svn/asterisk/trunk@230964 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-23Change fax detection in chan_sip so it behaves as one would expect.file2-27/+60
Internally the way T.38 is negotiated has changed and the option no longer reflects a behavior that is valid. It will now look for a CNG tone on received calls and if present send the call to the 'fax' extension. It is then up to the application or channel to request the switch over to T.38. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@230881 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-23Merged revisions 230839 via svnmerge from kpfleming1-10/+15
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r230839 | kpfleming | 2009-11-23 09:09:24 -0600 (Mon, 23 Nov 2009) | 1 line Correct fix for issue #16268... the reporter's original patch was very close to correct. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@230877 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-23Blocked revisions 230875 via svnmergekpfleming0-0/+0
........ r230875 | kpfleming | 2009-11-23 09:31:02 -0600 (Mon, 23 Nov 2009) | 7 lines When 'sip set debug' is enabled, and the last line of an incoming SIP message is not properly newline terminated, ensure that that line is included in the debug output. (part of issue #16268) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@230876 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-23Merged revisions 230772 via svnmerge from kpfleming1-4/+5
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r230772 | kpfleming | 2009-11-23 08:13:56 -0600 (Mon, 23 Nov 2009) | 5 lines Ensure that SDP parsing does not ignore the last line of the SDP. (closes issue #16268) Reported by: sgimeno ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@230773 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-20fixes iax2 show cache locking error, thanks alecdavis!dvossel1-1/+1
(closes issue #16094) Reported by: alecdavis Patches: bug16094.diff.txt uploaded by alecdavis (license 585) Tested by: alecdavis, dvossel git-svn-id: http://svn.digium.com/svn/asterisk/trunk@230726 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-20Revert code in error and include the gcc suggested workaround for the ↵tilghman1-9/+2
original problem, while gcc investigates. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@230697 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-20Merged revisions 230627 via svnmerge from mnicholson1-0/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r230627 | mnicholson | 2009-11-20 14:53:06 -0600 (Fri, 20 Nov 2009) | 8 lines Copy the peer CDR's userfield to the bridge CDR if it exists. This is necessary for the recordagentcalls option in chan_agent to store the recorded file name in the bridge CDR. (closes issue #14590) Reported by: msetim Patches: queue_agent_userfield.patch uploaded by Laureano (license 265) Tested by: Laureano, mnicholson ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@230628 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-20Fix/Implement error events for non-existing filesdiruggles2-26/+27
also include a better cmd define for S command Review: https://reviewboard.asterisk.org/r/430/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@230584 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-20audiohook signal trigger on every status changedvossel2-25/+32
(issue #14618) Review: https://reviewboard.asterisk.org/r/434/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@230583 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-19Merged revisions 230508 via svnmerge from dvossel1-26/+70
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r230508 | dvossel | 2009-11-19 15:22:46 -0600 (Thu, 19 Nov 2009) | 10 lines fixes MixMonitor thread not exiting when StopMixMonitor is used (closes issue #16152) Reported by: AlexMS Patches: stopmixmonitor_1.4.diff uploaded by dvossel (license 671) Tested by: dvossel, AlexMS Review: https://reviewboard.asterisk.org/r/424/ ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@230509 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-19Basic cleanup of ExternalIVR: cleaned up argument parsing; implemented good ↵diruggles1-109/+112
coding practices where applicable; replaced most notice level logging with verbose logging; replaced warning messages that terminated with error messages; fixed memory leak identified by russellb git-svn-id: http://svn.digium.com/svn/asterisk/trunk@230438 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-16Fix another buglet in T.38 session teardown at the end of FAX sessions.kpfleming1-2/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@230381 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-16Ensure that only one end of a T.38 session initiates teardown at completion.kpfleming1-1/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@230343 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-161. Added SIP Diversion support.transnexus1-283/+323
2. Fixed compile warning for UUID. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@230314 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-15Merged revisions 230246 via svnmerge from kpfleming1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r230246 | kpfleming | 2009-11-15 11:19:06 -0600 (Sun, 15 Nov 2009) | 6 lines Correct mistaken option name in error message. The configuration option for allowing hosts to make non-token-based calls is 'calltokenoptional', not 'calltokenignore'. (reported on asterisk-users) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@230247 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-15Increase maximum length of language bufferstilghman1-1/+1
(closes issue #16217) Reported by: dsessions git-svn-id: http://svn.digium.com/svn/asterisk/trunk@230217 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-13Merged revisions 230144 via svnmerge from file1-2/+18
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r230144 | file | 2009-11-13 16:00:19 -0600 (Fri, 13 Nov 2009) | 8 lines Respect the maddr parameter in the Via header. (closes issue #14446) Reported by: frawd Patches: via_maddr.patch uploaded by frawd (license 610) Tested by: frawd ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@230145 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-13Display a list of channel variables in each channel-oriented event.tilghman18-76/+173
(Closes AST-33) Reviewboard: https://reviewboard.asterisk.org/r/368/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@230111 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-13Merged revisions 230038 via svnmerge from file1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r230038 | file | 2009-11-13 13:44:07 -0600 (Fri, 13 Nov 2009) | 9 lines Fix a crash caused by two threads thinking they should both free the chan_local private structure when only one should. (closes issue #15314) Reported by: sroberts Patches: Issue15314_Move_Nulling_owner.patch uploaded by davidw (license 780) Tested by: davidw, lottc ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@230039 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-13Store the cause code that is returned when trying to create a channel in ↵file3-5/+17
ChanIsAvail in the AVAILCAUSECODE dialplan variable instead of overwriting the device state in AVAILSTATUS. (closes issue #14426) Reported by: macli git-svn-id: http://svn.digium.com/svn/asterisk/trunk@229970 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-13Merged revisions 229965 via svnmerge from file0-0/+0
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r229965 | file | 2009-11-13 11:19:59 -0600 (Fri, 13 Nov 2009) | 6 lines Document a limitation in the AVAILSTATUS variable from ChanIsAvail and provide a workaround for it that does not change existing behavior. (closes issue #14426) Reported by: macli ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@229966 f38db490-d61c-443f-a65b-d21fe96a405b