[asterisk-commits] kharwell: branch kharwell/pimp_my_sip r387573 - in /team/kharwell/pimp_my_sip...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri May 3 10:30:15 CDT 2013
Author: kharwell
Date: Fri May 3 10:29:55 2013
New Revision: 387573
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=387573
Log:
Multiple revisions 386056,386163,386192,386213,386238,386304,386321,386338,386343,386345,386354,386378,386430,386465,386490,386532,386545,386865-386867,386882,386941,386994,387044,387097,387111,387139,387189,387219,387267,387302,387349,387394,387416,387427,387489,387523,387549,387567
........
r386056 | root | 2013-04-19 01:17:38 -0500 (Fri, 19 Apr 2013) | 13 lines
cli.c: Properly initialize debug_modules and verbose_modules.
This avoids some lock errors on the core set {debug,verbose} commands.
........
Merged revisions 386049 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 386051 from http://svn.asterisk.org/svn/asterisk/branches/11
........
Merged revisions 386054 from file:///srv/subversion/repos/asterisk/trunk
........
r386163 | root | 2013-04-19 18:17:44 -0500 (Fri, 19 Apr 2013) | 58 lines
Prevent res_timing_pthread from blocking callers
There were several reports of deadlock when using
res_timing_pthread. Backtraces indicated that one thread was blocked
waiting for the write to the pipe to complete and this thread held
the container lock for the timers. Therefore any thread that wanted
to create a new timer or read an existing timer would block waiting
for either the timer lock or the container lock and deadlock ensued.
This patch changes the way the pipe is used to eliminate this source
of deadlocks:
1) The pipe is placed in non-blocking mode so that it would never
block even if the following changes someone fail...
2) Instead of writing bytes into the pipe for each "tick" that's
fired the pipe now has two states--signaled and unsignaled. If
signaled, the pipe is hot and any pollers of the read side
filedescriptor will be woken up. If unsigned the pipe is idle. This
eliminates even the chance of filling up the pipe and reduces the
potential overhead of calling unnecessary writes.
3) Since we're tracking the signaled / unsignaled state, we can
eliminate the exta poll system call for every firing because we know
that there is data to be read.
(closes issue ASTERISK-21389)
Reported by: Matt Jordan
Tested by: Shaun Ruffell, Matt Jordan, Tony Lewis
patches:
0001-res_timing_pthread-Reduce-probability-of-deadlocking.patch uploaded by sruffell (License 5417)
(closes issue ASTERISK-19754)
Reported by: Nikola Ciprich
(closes issue ASTERISK-20577)
Reported by: Kien Kennedy
(closes issue ASTERISK-17436)
Reported by: Henry Fernandes
(closes issue ASTERISK-17467)
Reported by: isrl
(closes issue ASTERISK-17458)
Reported by: isrl
Review: https://reviewboard.asterisk.org/r/2441/
........
Merged revisions 386109 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 386159 from http://svn.asterisk.org/svn/asterisk/branches/11
........
Merged revisions 386160 from file:///srv/subversion/repos/asterisk/trunk
........
r386192 | root | 2013-04-21 20:18:32 -0500 (Sun, 21 Apr 2013) | 9 lines
sla: remove redundant locking.
sla.lock was already locked in the only place that sla_check_reload() was called.
Remove the redundant locking of sla.lock done in this function. Less recursive
locking is A Good Thing.
........
Merged revisions 386190 from file:///srv/subversion/repos/asterisk/trunk
........
r386213 | root | 2013-04-22 08:18:13 -0500 (Mon, 22 Apr 2013) | 7 lines
Fix mistake in Doxygen.
Doxygen is only *ONE* comment that applies to the NEXT piece of code.
........
Merged revisions 386211 from file:///srv/subversion/repos/asterisk/trunk
........
r386238 | root | 2013-04-22 10:17:48 -0500 (Mon, 22 Apr 2013) | 1 line
automerge cancel
........
r386304 | qwell | 2013-04-22 12:50:44 -0500 (Mon, 22 Apr 2013) | 9 lines
Add support for DTMF via SIP INFO.
For sending, set dtmfmode=info in res_sip.conf.
For receiving, load res_sip_dtmf_info.so.
(closes issue ASTERISK-21261)
Review: https://reviewboard.asterisk.org/r/2455/
........
r386321 | mmichelson | 2013-04-22 15:06:26 -0500 (Mon, 22 Apr 2013) | 3 lines
Resolve conflict and reset automerge.
........
r386338 | file | 2013-04-23 10:13:25 -0500 (Tue, 23 Apr 2013) | 2 lines
Reduce long-term memory usage by using the provisional pool on the invite session.
........
r386343 | file | 2013-04-23 10:24:34 -0500 (Tue, 23 Apr 2013) | 2 lines
Don't assume a session will be present when has_supplement is called, it may have gone away.
........
r386345 | file | 2013-04-23 10:37:06 -0500 (Tue, 23 Apr 2013) | 2 lines
If incoming SDP can not be handled send a 488, not a 500.
........
r386354 | root | 2013-04-23 14:17:40 -0500 (Tue, 23 Apr 2013) | 7 lines
Fix some bad whitespace
This crept in with the RESTful HTTP interface merge.
........
Merged revisions 386352 from file:///srv/subversion/repos/asterisk/trunk
........
r386378 | root | 2013-04-23 16:17:37 -0500 (Tue, 23 Apr 2013) | 12 lines
confbridge: Make search the conference bridges container using OBJ_KEY.
* Make confbridge config parsing user profile, bridge profile, and menu
container hash/cmp functions correctly check the OBJ_POINTER, OBJ_KEY, and
OBJ_PARTIAL_KEY flags.
* Made confbridge load_module()/unload_module() free all resources on
failure conditions.
........
Merged revisions 386375 from file:///srv/subversion/repos/asterisk/trunk
........
r386430 | kmoore | 2013-04-24 13:57:25 -0500 (Wed, 24 Apr 2013) | 4 lines
Fix res_sip sample config
Fix listing of possible values for timers endpoint configuration option.
........
r386465 | root | 2013-04-24 17:17:44 -0500 (Wed, 24 Apr 2013) | 14 lines
Multiple revisions 386461-386462
........
r386461 | dlee | 2013-04-24 16:43:16 -0500 (Wed, 24 Apr 2013) | 1 line
Oops. Mustache doesn't like dictionaries
........
r386462 | dlee | 2013-04-24 16:47:03 -0500 (Wed, 24 Apr 2013) | 1 line
Document JSON models in resource_*.h
........
Merged revisions 386461-386462 from file:///srv/subversion/repos/asterisk/trunk
........
r386490 | root | 2013-04-24 22:17:56 -0500 (Wed, 24 Apr 2013) | 28 lines
Multiple revisions 386485,386487
........
r386485 | elguero | 2013-04-24 21:48:44 -0500 (Wed, 24 Apr 2013) | 10 lines
Change Case On Forcerport For Consistency
* Change "ForcerPort" to "Forcerport" to match everywhere else it is displayed
........
Merged revisions 386483 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 386484 from http://svn.asterisk.org/svn/asterisk/branches/11
........
r386487 | elguero | 2013-04-24 22:04:21 -0500 (Wed, 24 Apr 2013) | 8 lines
Fix Displaying Symmetric RTP Global Setting
* Use comedia_string() to display correctly the symmetric rtp setting when
running "sip show settings"
........
Merged revisions 386486 from http://svn.asterisk.org/svn/asterisk/branches/11
........
Merged revisions 386485,386487 from file:///srv/subversion/repos/asterisk/trunk
........
r386532 | mmichelson | 2013-04-25 12:44:41 -0500 (Thu, 25 Apr 2013) | 8 lines
Merge SUBSCRIBE/NOTIFY support and MWI support.
(closes ASTERISK-21259)
(closes ASTERISK-21260)
Review: https://reviewboard.asterisk.org/r/2456
........
r386545 | root | 2013-04-25 14:17:50 -0500 (Thu, 25 Apr 2013) | 1 line
automerge cancel
........
r386865 | qwell | 2013-04-29 12:54:19 -0500 (Mon, 29 Apr 2013) | 26 lines
Recorded merge of revisions 386540-386541 from http://svn.asterisk.org/svn/asterisk/trunk
........
Multiple revisions 386540-386541
........
r386540 | mmichelson | 2013-04-25 13:25:31 -0500 (Thu, 25 Apr 2013) | 15 lines
Merge the pimp_my_sip branch into trunk.
The pimp_my_sip branch is being merged at this point because
it offers basic functionality, and from an API standpoint, things
are complete.
SIP work is *not* feature-complete; however, with the completion
of the SUBSCRIBE/NOTIFY API, all APIs (except a PUBLISH API) have
been created, and thus it is possible for developers to attempt
to create new SIP work.
API documentation can be found in the doxygen in the code, but
usability documentation is still lacking.
........
r386541 | mmichelson | 2013-04-25 13:28:37 -0500 (Thu, 25 Apr 2013) | 3 lines
REmove automerge properties.
........
r386866 | qwell | 2013-04-29 12:54:30 -0500 (Mon, 29 Apr 2013) | 1 line
Re-enable automerge.
........
r386867 | qwell | 2013-04-29 12:56:05 -0500 (Mon, 29 Apr 2013) | 162 lines
Multiple revisions 386577,386623-386624,386638,386640,386676,386684-386686,386731,386746,386760,386774,386793,386841
........
r386577 | file | 2013-04-25 16:32:48 -0500 (Thu, 25 Apr 2013) | 2 lines
Don't bind to anything in the sample configuration so we don't clash with chan_sip on a "make samples" right now.
........
r386623 | dlee | 2013-04-26 15:03:32 -0500 (Fri, 26 Apr 2013) | 1 line
Ignore *.[oi] files in res/res_sip
........
r386624 | dlee | 2013-04-26 15:05:15 -0500 (Fri, 26 Apr 2013) | 27 lines
Example of how to use the Stasis message bus
In order to get people familiar with the Stasis message bus, it would
be useful to have something of a tutorial. Since I'm not clever enough
to think of some cool integration we could do with Twitter, I settled
for something that might actually be useful.
This patch adds a res_statsd.so module, which implements a basic
statsd[1] client. Statsd is a very simple statistics gathering server,
which can publish its results to a backend graphing engine, like
Graphite[2]. There are several different Statsd server
implementations[3], so you can pick what works best for your
environment.
The actual example of how to use the Stasis message bus is in
res_chan_stats.so. This module demonstrates how to use subscriptions
and the message router by monitoring messages and posting channels
stats to the statsd server.
A wiki page walking through res_chan_stats.so is forthcoming.
[1]: https://github.com/etsy/statsd/
[2]: http://graphite.readthedocs.org/en/latest/
[3]: http://joemiller.me/2011/09/21/list-of-statsd-server-implementations/
Review: https://reviewboard.asterisk.org/r/2460/
........
r386638 | mmichelson | 2013-04-26 15:32:11 -0500 (Fri, 26 Apr 2013) | 5 lines
Add an \extref doxygen pointer for libuuid.
Thanks to Olle Johansson for suggesting this.
........
r386640 | dlee | 2013-04-26 16:00:45 -0500 (Fri, 26 Apr 2013) | 1 line
Removing stray printf from r386540
........
r386676 | mjordan | 2013-04-26 16:27:24 -0500 (Fri, 26 Apr 2013) | 19 lines
Clean up resources in features on exit
This patch cleans up two things features:
* It properly unregisters the CLI commands that features registered
* It cancels and performs a pthread_join on the created parking thread. This
not only properly joins a non-detached thread, but also prevents disposing
of the parking lots prior to the parking thread completely exiting.
(closes issue ASTERISK-21407)
Reported by: Corey Farrell
patches:
features_shutdown-r2.patch uploaded by Corey Farrell (License 5909)
........
Merged revisions 386641 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 386642 from http://svn.asterisk.org/svn/asterisk/branches/11
........
r386684 | dlee | 2013-04-26 16:31:39 -0500 (Fri, 26 Apr 2013) | 5 lines
By popular demand, putting the about-to-load-module printf back.
But now it only prints during the initial startup, and prints at verbose 1
level.
........
r386685 | mjordan | 2013-04-26 16:34:16 -0500 (Fri, 26 Apr 2013) | 20 lines
Clean up memory leak in config file on off nominal paths when glob is allowed
If a system allows for its usage, Asterisk will use glob to help parse
Asterisk .conf files. The config file loading routine was leaking the memory
allocated by the glob() routine when the config file was in an unmodified
or invalid state.
This patch properly calls globfree in those off nominal paths.
(closes issue ASTERISK-21412)
Reported by: Corey Farrell
patches:
config_glob_leak.patch uploaded by Corey Farrell (license 5909)
........
Merged revisions 386672 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 386677 from http://svn.asterisk.org/svn/asterisk/branches/11
........
r386686 | mjordan | 2013-04-26 16:52:06 -0500 (Fri, 26 Apr 2013) | 16 lines
Add missing module dependencies to various res_sip* modules
This patch updates the various res_sip modules with their proper menuselect
options and proper dependencies, such that Asterisk still has a snowball's
chance in hell of compiling without pjproject.
Much thanks to snuffy(-home|-work) for making everyone's life
easier with this patch.
Review: https://reviewboard.asterisk.org/r/2472/
(closes issue ASTERISK-21669)
Reported by: snuffy
patches:
xml-depends.diff uploaded by snuffy (license 5024)
........
r386731 | file | 2013-04-27 07:01:29 -0500 (Sat, 27 Apr 2013) | 11 lines
Add support for a realtime sorcery module.
This change does the following:
1. Adds the sorcery realtime module
2. Adds unit tests for the sorcery realtime module
3. Changes the realtime core to use an ast_variable list instead of variadic arguments
4. Changes all realtime drivers to accept an ast_variable list
Review: https://reviewboard.asterisk.org/r/2424/
........
r386746 | file | 2013-04-27 11:17:01 -0500 (Sat, 27 Apr 2013) | 2 lines
Update res_config_sqlite to use the ast_variable lists.
........
r386760 | file | 2013-04-27 14:03:39 -0500 (Sat, 27 Apr 2013) | 2 lines
Tweak res_sip priority so it gets loaded first before all other SIP stuff.
........
r386774 | kmoore | 2013-04-27 22:32:35 -0500 (Sat, 27 Apr 2013) | 1 line
Fix spelling error in python doc
........
r386793 | oej | 2013-04-29 03:40:16 -0500 (Mon, 29 Apr 2013) | 2 lines
Change pointer to existing wiki page instead of non-existing page
........
r386841 | oej | 2013-04-29 08:38:59 -0500 (Mon, 29 Apr 2013) | 10 lines
Play periodic prompts for first call in a call queue
Review: https://reviewboard.asterisk.org/r/2263/
........
Merged revisions 386792 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 386794 from http://svn.asterisk.org/svn/asterisk/branches/11
........
Merged revisions 386577,386623-386624,386638,386640,386676,386684-386686,386731,386746,386760,386774,386793,386841 from http://svn.asterisk.org/svn/asterisk/trunk
........
r386882 | root | 2013-04-29 19:17:58 -0500 (Mon, 29 Apr 2013) | 16 lines
Modifying sounds/Makefile to pull down 1.4.24 core sounds
1.4.24 core sounds includes a full set of Italian prompts for core sounds and a fix for the missing voicemail prompts in the Russian language.
(closes issue ASTERISK-19431)
(closes issue ASTERISK-19721)
........
Merged revisions 386877 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 386878 from http://svn.asterisk.org/svn/asterisk/branches/11
........
Merged revisions 386879 from file:///srv/subversion/repos/asterisk/trunk
........
r386941 | root | 2013-04-30 09:18:15 -0500 (Tue, 30 Apr 2013) | 29 lines
Multiple revisions 386928,386931
........
r386928 | dlee | 2013-04-30 08:37:09 -0500 (Tue, 30 Apr 2013) | 6 lines
Just a couple of Stasis-HTTP nitpick fixes.
* Fixed crash when res_stasis_http is unloaded before the
implementation modules.
* Cleaned up test initialization for test_stasis_http.so.
........
r386931 | seanbright | 2013-04-30 08:48:12 -0500 (Tue, 30 Apr 2013) | 13 lines
Use the proper lower bound when doing saturation arithmetic.
16 bit signed integers have a range of [-32768, 32768). The existing code
was using the interval (-32768, 32768) instead. This patch fixes that.
Review: https://reviewboard.asterisk.org/r/2479/
........
Merged revisions 386929 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 386930 from http://svn.asterisk.org/svn/asterisk/branches/11
........
Merged revisions 386928,386931 from file:///srv/subversion/repos/asterisk/trunk
........
r386994 | root | 2013-04-30 13:17:54 -0500 (Tue, 30 Apr 2013) | 5 lines
Fix a log message.
........
Merged revisions 386990 from file:///srv/subversion/repos/asterisk/trunk
........
r387044 | root | 2013-04-30 18:18:20 -0500 (Tue, 30 Apr 2013) | 59 lines
Multiple revisions 387035,387037,387039
........
r387035 | jrose | 2013-04-30 17:20:55 -0500 (Tue, 30 Apr 2013) | 5 lines
Add forgotten event types to event_names array
........
Merged revisions 387030 from http://svn.asterisk.org/svn/asterisk/branches/11
........
r387037 | jrose | 2013-04-30 17:37:24 -0500 (Tue, 30 Apr 2013) | 6 lines
Stasis Core: Refactor ACL Change events to go out over the stasis core msg bus
(issue ASTERISK-21103)
Reported by: Matt Jordan
Review: https://reviewboard.asterisk.org/r/2481/
........
r387039 | mjordan | 2013-04-30 17:50:40 -0500 (Tue, 30 Apr 2013) | 36 lines
Fix CDR not being created during an externally initiated blind transfer
Way back when in the dark days of Asterisk 1.8.9, blind transferring a call
in a context that included the 'h' extension would inadvertently execute the
hangup code logic on the transferred channel. This was a "bad thing". The fix
was to properly check for the softhangup flags on the channel and only execute
the 'h' extension logic (and, in later versions, hangup handler logic) if the
channel was well and truly dead (Jim).
Unfortunately, CDRs are fickle. Setting the softhangup flag when we detected
that the channel was leaving the bridge (but not to die) caused some crucial
snippet of CDR code, lying in ambush in the middle of the bridging code, to
not get executed. This had the effect of blowing away one of the CDRs that is
typically created during a blind transfer.
While we live and die by the adage "don't touch CDRs in release branches", this
was our bad. The attached patch restores the CDR behavior, and still manages to
not run the 'h' extension during a blind transfer (at least not when it's
supposed to).
Thanks to Steve Davies for diagnosing this and providing a fix.
Review: https://reviewboard.asterisk.org/r/2476
(closes issue ASTERISK-21394)
Reported by: Ishfaq Malik
Tested by: Ishfaq Malik, mjordan
patches:
fix_missing_blindXfer_cdr2 uploaded by one47 (License 5012)
........
Merged revisions 387036 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 387038 from http://svn.asterisk.org/svn/asterisk/branches/11
........
Merged revisions 387035,387037,387039 from file:///srv/subversion/repos/asterisk/trunk
........
r387097 | kmoore | 2013-05-01 08:16:20 -0500 (Wed, 01 May 2013) | 15 lines
Add SDES SRTP support to res_sip
Pull large parts of the SRTP negotiation and key management code out of
chan_sip so that they can be accessed by res_sip and add SDES SRTP
support to res_sip including support for mid-call key changes. This
feature can be activated by setting media_encryption=sdes on the
endpoint (dtls will come later).
This patch also adds support for AVPF via the use_avpf endpoint
setting.
Review: https://reviewboard.asterisk.org/r/2468
(closes issue ASTERISK-21416)
Patch-By: Kinsey Moore <kmoore at digium.com>
........
r387111 | root | 2013-05-01 12:17:57 -0500 (Wed, 01 May 2013) | 5 lines
Move some annoying chan_dahdi debug messages to level 5.
........
Merged revisions 387108 from file:///srv/subversion/repos/asterisk/trunk
........
r387139 | root | 2013-05-01 14:17:57 -0500 (Wed, 01 May 2013) | 19 lines
Prevent crash in 'sip show peers' when the number of peers on a system is large
When you have lots of SIP peers (according to the issue reporter, around 3500),
the 'sip show peers' CLI command or AMI action can crash due to a poorly placed
string duplication that occurs on the stack. This patch refactors the command
to not allocate the string on the stack, and handles the formatting of a single
peer in a separate function call.
(closes issue ASTERISK-21466)
Reported by: Guillaume Knispel
patches:
fix_sip_show_peers_stack_overflow_asterisk_11.3.0-v2.patch uploaded by gknispel (License 6492)
........
Merged revisions 387134 from http://svn.asterisk.org/svn/asterisk/branches/11
........
Merged revisions 387135 from file:///srv/subversion/repos/asterisk/trunk
........
r387189 | root | 2013-05-01 15:18:17 -0500 (Wed, 01 May 2013) | 26 lines
Multiple revisions 387181-387185
........
r387181 | rmudgett | 2013-05-01 15:00:31 -0500 (Wed, 01 May 2013) | 1 line
Remove some unnecessary calls to ast_bridged_channel() in chan_dahdi.c/sig_analog.c
........
r387182 | rmudgett | 2013-05-01 15:00:53 -0500 (Wed, 01 May 2013) | 1 line
Remove some unnecessary calls to ast_bridged_channel() in chan_iax2.c
........
r387183 | rmudgett | 2013-05-01 15:01:10 -0500 (Wed, 01 May 2013) | 1 line
Remove some unnecessary calls to ast_bridged_channel() in chan_skinny.c
........
r387184 | rmudgett | 2013-05-01 15:01:27 -0500 (Wed, 01 May 2013) | 1 line
Remove some unnecessary calls to ast_bridged_channel() in chan_mgcp.c
........
r387185 | rmudgett | 2013-05-01 15:01:43 -0500 (Wed, 01 May 2013) | 1 line
Remove some unnecessary calls to ast_bridged_channel() in chan_unistim.c
........
Merged revisions 387181-387185 from file:///srv/subversion/repos/asterisk/trunk
........
r387219 | root | 2013-05-01 16:18:13 -0500 (Wed, 01 May 2013) | 28 lines
Multiple revisions 387209-387212
........
r387209 | rmudgett | 2013-05-01 15:35:25 -0500 (Wed, 01 May 2013) | 5 lines
Make mod_load_cmp() not as klunky.
There is a reason the heap comparison functions like qsort(), and other
comparison functions specify <0, >0, and =0 for the return values.
........
r387210 | rmudgett | 2013-05-01 15:53:30 -0500 (Wed, 01 May 2013) | 1 line
Whitespace changes.
........
r387211 | rmudgett | 2013-05-01 15:59:29 -0500 (Wed, 01 May 2013) | 5 lines
Make chan_local locals container an explicit list container.
Pretending that chan_local locals container can have more than one bucket
is silly. The container has no key to help search.
........
r387212 | rmudgett | 2013-05-01 16:09:14 -0500 (Wed, 01 May 2013) | 1 line
Trivial changes. Comments, parentheses, spelling, wording.
........
Merged revisions 387209-387212 from file:///srv/subversion/repos/asterisk/trunk
........
r387267 | root | 2013-05-01 17:18:09 -0500 (Wed, 01 May 2013) | 44 lines
Multiple revisions 387220,387260-387261
........
r387220 | mjordan | 2013-05-01 16:18:24 -0500 (Wed, 01 May 2013) | 20 lines
Clear the DTMF sending digit tracking on off nominal paths
In certain situations, when the RTP engine goes to send a DTMF end digit
it may be in a situation where the remote address is no longer available,
or the digit that was supposed to be sent is invalid. In such cases, we
need to clear the RTP counters appropriately. Otherwise, when the RTP
source is set again, we'll continue to think that we're in the middle of
sending a DTMF digit, which can confuse the remote party (signficantly).
(closes issue ASTERISK-21522)
Reported by: Corey Farrell
patches:
rtp_dtmf_process_end.patch uploaded by Corey Farrell (License 5909)
........
Merged revisions 387213 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 387216 from http://svn.asterisk.org/svn/asterisk/branches/11
........
r387260 | rmudgett | 2013-05-01 16:35:53 -0500 (Wed, 01 May 2013) | 10 lines
Cleanup chan_local.c:local_new().
* Remove t and ama local variables. There is no way they could be
anything other than default because p->owner can only be NULL at this
point.
* Rename tmp and tmp2 to owner and chan respectively.
* Remove redundant initialization of channel context, exten, priority.
........
r387261 | rmudgett | 2013-05-01 16:55:53 -0500 (Wed, 01 May 2013) | 2 lines
Simplify chan_local.c:manager_optimize_away() using ao2_find().
........
Merged revisions 387220,387260-387261 from file:///srv/subversion/repos/asterisk/trunk
........
r387302 | root | 2013-05-02 02:18:01 -0500 (Thu, 02 May 2013) | 50 lines
Multiple revisions 387296,387299
........
r387296 | alecdavis | 2013-05-02 01:47:16 -0500 (Thu, 02 May 2013) | 24 lines
Add Asterisk Version to core show locks
Assist with reporting 'core show locks' when submitting bug reports.
Example below:
===========================
== SVN-branch-1.8-...
== Currently Held Locks
===========================
(closes issue ASTERISK-21743)
Reported by: alecdavis
Tested by: alecdavis
alecdavis (license 585)
........
Merged revisions 387294 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 387295 from http://svn.asterisk.org/svn/asterisk/branches/11
........
r387299 | alecdavis | 2013-05-02 01:57:04 -0500 (Thu, 02 May 2013) | 16 lines
chan_dahdi: fix lower bound check with -ve integer conversion from a float
Lower bound of a 16bit signed int is -32768 not -32767
(closes issue ASTERISK-21744)
Reported by: alecdavis
Tested by: alecdavis
alecdavis (license 585)
........
Merged revisions 387297 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 387298 from http://svn.asterisk.org/svn/asterisk/branches/11
........
Merged revisions 387296,387299 from file:///srv/subversion/repos/asterisk/trunk
........
r387349 | root | 2013-05-02 03:18:16 -0500 (Thu, 02 May 2013) | 39 lines
chan_sip: Honor Session-Expires in 200OK response when it's a RE-INVITE when asterisk is the refresher.
RFC 4028 Section 7.2
"UACs MUST be prepared to receive a Session-Expires header field in a
response, even if none were present in the request."
What changed
After ASTERISK-20787, inbound calls to asterisk with no Session-Expires in the INVITE are now are offered
a Session-Expires (1800 asterisk default) in the response, with asterisk as the refresher.
Symptom:
After 900 seconds (asterisk default refresher period 1800), asterisk RE-INVITEs the device, the device
may respond with a much lower Session-Expires (180 in our case) value that it is now using.
Asterisk ignores this response, as it's deemed both an INBOUND CALL, and a RE-INVITE.
After 180 seconds the device times out and sends BYE (hangs up), asterisk is still working with the
refresher period of 1800 as it ignored the 'Session Expires: 180' in the previous 200OK response.
Fix:
handle_response_invite() when 200OK, remove check for outbound and reinvite.
(closes issue ASTERISK-21664)
Reported by: alecdavis
Tested by: alecdavis
alecdavis (license 585)
Review https://reviewboard.asterisk.org/r/2463/
........
Merged revisions 387312 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 387319 from http://svn.asterisk.org/svn/asterisk/branches/11
........
Merged revisions 387327 from file:///srv/subversion/repos/asterisk/trunk
........
r387394 | root | 2013-05-02 04:19:30 -0500 (Thu, 02 May 2013) | 31 lines
chan_sip: Session-Expires: Set timer to correctly expire at (~2/3) of the interval when not the refresher
RFC 4028 Section 10
if the side not performing refreshes does not receive a
session refresh request before the session expiration, it SHOULD send
a BYE to terminate the session, slightly before the session
expiration. The minimum of 32 seconds and one third of the session
interval is RECOMMENDED.
Prior to this asterisk would refresh at 1/2 the Session-Expires interval,
or if the remote device was the refresher, asterisk would timeout at interval end.
Now, when not refresher, timeout as per RFC noted above.
(closes issue ASTERISK-21742)
Reported by: alecdavis
Tested by: alecdavis
alecdavis (license 585)
Review https://reviewboard.asterisk.org/r/2488/
........
Merged revisions 387344 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 387345 from http://svn.asterisk.org/svn/asterisk/branches/11
........
Merged revisions 387369 from file:///srv/subversion/repos/asterisk/trunk
........
r387416 | qwell | 2013-05-02 10:58:39 -0500 (Thu, 02 May 2013) | 5 lines
Send a 181 for forwarded calls.
(closes issue ASTERISK-21435)
Review: https://reviewboard.asterisk.org/r/2484/
........
r387427 | root | 2013-05-02 12:18:13 -0500 (Thu, 02 May 2013) | 25 lines
Multiple revisions 387420,387423
........
r387420 | jrose | 2013-05-02 11:39:28 -0500 (Thu, 02 May 2013) | 2 lines
Putting all event defs and names back for now due to res_corosync dependency
........
r387423 | mjordan | 2013-05-02 12:15:46 -0500 (Thu, 02 May 2013) | 13 lines
Update utils Makefile to handle r387294
Alec's patch that added the Asterisk version to 'core show locks' angered the
items in utils, as they exist somewhat outside of the Asterisk build system.
Some day, this Makefile should get nuked from high orbit, but for now, include
version.c in its list of stuff to pile in.
........
Merged revisions 387421 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 387422 from http://svn.asterisk.org/svn/asterisk/branches/11
........
Merged revisions 387420,387423 from file:///srv/subversion/repos/asterisk/trunk
........
r387489 | root | 2013-05-02 14:18:24 -0500 (Thu, 02 May 2013) | 5 lines
Remove the ABI compatability ast_channel_alloc(). It is no longer needed.
........
Merged revisions 387482 from file:///srv/subversion/repos/asterisk/trunk
........
r387523 | root | 2013-05-02 16:18:04 -0500 (Thu, 02 May 2013) | 11 lines
Migrate AMI VarSet events raised by GoSub local variables
This patch moves VarSet events for local variables raised by GoSub
over to Stasis-Core. It also tweaks up the post-processing documentation
scripts to not combine parameters if both parameters are already documented.
(issue ASTERISK-21462)
........
Merged revisions 387519 from file:///srv/subversion/repos/asterisk/trunk
........
r387549 | root | 2013-05-03 07:18:36 -0500 (Fri, 03 May 2013) | 7 lines
Use the configured formats for Gulp sessions if there are no joint formats between requested formats and configured formats.
(closes issue ASTERISK-21756)
........
Merged revisions 387545 from file:///srv/subversion/repos/asterisk/trunk
........
r387567 | qwell | 2013-05-03 09:12:27 -0500 (Fri, 03 May 2013) | 1 line
Fix svn:keywords property.
........
Merged revisions 386056,386163,386192,386213,386238,386304,386321,386338,386343,386345,386354,386378,386430,386465,386490,386532,386545,386865-386867,386882,386941,386994,387044,387097,387111,387139,387189,387219,387267,387302,387349,387394,387416,387427,387489,387523,387549,387567 from http://svn.asterisk.org/svn/asterisk/team/group/pimp_my_sip
Added:
team/kharwell/pimp_my_sip/configs/stasis_http.conf.sample
- copied unchanged from r387567, team/group/pimp_my_sip/configs/stasis_http.conf.sample
team/kharwell/pimp_my_sip/configs/statsd.conf.sample
- copied unchanged from r387567, team/group/pimp_my_sip/configs/statsd.conf.sample
team/kharwell/pimp_my_sip/include/asterisk/res_sip_pubsub.h
- copied unchanged from r387567, team/group/pimp_my_sip/include/asterisk/res_sip_pubsub.h
team/kharwell/pimp_my_sip/include/asterisk/sdp_srtp.h
- copied unchanged from r387567, team/group/pimp_my_sip/include/asterisk/sdp_srtp.h
team/kharwell/pimp_my_sip/include/asterisk/stasis_http.h
- copied unchanged from r387567, team/group/pimp_my_sip/include/asterisk/stasis_http.h
team/kharwell/pimp_my_sip/include/asterisk/statsd.h
- copied unchanged from r387567, team/group/pimp_my_sip/include/asterisk/statsd.h
team/kharwell/pimp_my_sip/main/sdp_srtp.c
- copied unchanged from r387567, team/group/pimp_my_sip/main/sdp_srtp.c
team/kharwell/pimp_my_sip/res/res_chan_stats.c
- copied unchanged from r387567, team/group/pimp_my_sip/res/res_chan_stats.c
team/kharwell/pimp_my_sip/res/res_sip_dtmf_info.c
- copied unchanged from r387567, team/group/pimp_my_sip/res/res_sip_dtmf_info.c
team/kharwell/pimp_my_sip/res/res_sip_mwi.c
- copied unchanged from r387567, team/group/pimp_my_sip/res/res_sip_mwi.c
team/kharwell/pimp_my_sip/res/res_sip_pubsub.c
- copied unchanged from r387567, team/group/pimp_my_sip/res/res_sip_pubsub.c
team/kharwell/pimp_my_sip/res/res_sip_pubsub.exports.in
- copied unchanged from r387567, team/group/pimp_my_sip/res/res_sip_pubsub.exports.in
team/kharwell/pimp_my_sip/res/res_sorcery_realtime.c
- copied unchanged from r387567, team/group/pimp_my_sip/res/res_sorcery_realtime.c
team/kharwell/pimp_my_sip/res/res_stasis_http.c
- copied unchanged from r387567, team/group/pimp_my_sip/res/res_stasis_http.c
team/kharwell/pimp_my_sip/res/res_stasis_http.exports.in
- copied unchanged from r387567, team/group/pimp_my_sip/res/res_stasis_http.exports.in
team/kharwell/pimp_my_sip/res/res_stasis_http_asterisk.c
- copied unchanged from r387567, team/group/pimp_my_sip/res/res_stasis_http_asterisk.c
team/kharwell/pimp_my_sip/res/res_stasis_http_bridges.c
- copied unchanged from r387567, team/group/pimp_my_sip/res/res_stasis_http_bridges.c
team/kharwell/pimp_my_sip/res/res_stasis_http_channels.c
- copied unchanged from r387567, team/group/pimp_my_sip/res/res_stasis_http_channels.c
team/kharwell/pimp_my_sip/res/res_stasis_http_endpoints.c
- copied unchanged from r387567, team/group/pimp_my_sip/res/res_stasis_http_endpoints.c
team/kharwell/pimp_my_sip/res/res_stasis_http_events.c
- copied unchanged from r387567, team/group/pimp_my_sip/res/res_stasis_http_events.c
team/kharwell/pimp_my_sip/res/res_stasis_http_playback.c
- copied unchanged from r387567, team/group/pimp_my_sip/res/res_stasis_http_playback.c
team/kharwell/pimp_my_sip/res/res_stasis_http_recordings.c
- copied unchanged from r387567, team/group/pimp_my_sip/res/res_stasis_http_recordings.c
team/kharwell/pimp_my_sip/res/res_stasis_http_sounds.c
- copied unchanged from r387567, team/group/pimp_my_sip/res/res_stasis_http_sounds.c
team/kharwell/pimp_my_sip/res/res_statsd.c
- copied unchanged from r387567, team/group/pimp_my_sip/res/res_statsd.c
team/kharwell/pimp_my_sip/res/res_statsd.exports.in
- copied unchanged from r387567, team/group/pimp_my_sip/res/res_statsd.exports.in
team/kharwell/pimp_my_sip/res/stasis_http/ (props changed)
- copied from r387567, team/group/pimp_my_sip/res/stasis_http/
team/kharwell/pimp_my_sip/res/stasis_http.make
- copied unchanged from r387567, team/group/pimp_my_sip/res/stasis_http.make
team/kharwell/pimp_my_sip/res/stasis_http/resource_asterisk.c
- copied unchanged from r387567, team/group/pimp_my_sip/res/stasis_http/resource_asterisk.c
team/kharwell/pimp_my_sip/res/stasis_http/resource_asterisk.h
- copied unchanged from r387567, team/group/pimp_my_sip/res/stasis_http/resource_asterisk.h
team/kharwell/pimp_my_sip/res/stasis_http/resource_bridges.c
- copied unchanged from r387567, team/group/pimp_my_sip/res/stasis_http/resource_bridges.c
team/kharwell/pimp_my_sip/res/stasis_http/resource_bridges.h
- copied unchanged from r387567, team/group/pimp_my_sip/res/stasis_http/resource_bridges.h
team/kharwell/pimp_my_sip/res/stasis_http/resource_channels.c
- copied unchanged from r387567, team/group/pimp_my_sip/res/stasis_http/resource_channels.c
team/kharwell/pimp_my_sip/res/stasis_http/resource_channels.h
- copied unchanged from r387567, team/group/pimp_my_sip/res/stasis_http/resource_channels.h
team/kharwell/pimp_my_sip/res/stasis_http/resource_endpoints.c
- copied unchanged from r387567, team/group/pimp_my_sip/res/stasis_http/resource_endpoints.c
team/kharwell/pimp_my_sip/res/stasis_http/resource_endpoints.h
- copied unchanged from r387567, team/group/pimp_my_sip/res/stasis_http/resource_endpoints.h
team/kharwell/pimp_my_sip/res/stasis_http/resource_events.c
- copied unchanged from r387567, team/group/pimp_my_sip/res/stasis_http/resource_events.c
team/kharwell/pimp_my_sip/res/stasis_http/resource_events.h
- copied unchanged from r387567, team/group/pimp_my_sip/res/stasis_http/resource_events.h
team/kharwell/pimp_my_sip/res/stasis_http/resource_playback.c
- copied unchanged from r387567, team/group/pimp_my_sip/res/stasis_http/resource_playback.c
team/kharwell/pimp_my_sip/res/stasis_http/resource_playback.h
- copied unchanged from r387567, team/group/pimp_my_sip/res/stasis_http/resource_playback.h
team/kharwell/pimp_my_sip/res/stasis_http/resource_recordings.c
- copied unchanged from r387567, team/group/pimp_my_sip/res/stasis_http/resource_recordings.c
team/kharwell/pimp_my_sip/res/stasis_http/resource_recordings.h
- copied unchanged from r387567, team/group/pimp_my_sip/res/stasis_http/resource_recordings.h
team/kharwell/pimp_my_sip/res/stasis_http/resource_sounds.c
- copied unchanged from r387567, team/group/pimp_my_sip/res/stasis_http/resource_sounds.c
team/kharwell/pimp_my_sip/res/stasis_http/resource_sounds.h
- copied unchanged from r387567, team/group/pimp_my_sip/res/stasis_http/resource_sounds.h
team/kharwell/pimp_my_sip/rest-api/
- copied from r387567, team/group/pimp_my_sip/rest-api/
team/kharwell/pimp_my_sip/rest-api-templates/ (props changed)
- copied from r387567, team/group/pimp_my_sip/rest-api-templates/
team/kharwell/pimp_my_sip/rest-api-templates/README.txt
- copied unchanged from r387567, team/group/pimp_my_sip/rest-api-templates/README.txt
team/kharwell/pimp_my_sip/rest-api-templates/asterisk_processor.py
- copied unchanged from r387567, team/group/pimp_my_sip/rest-api-templates/asterisk_processor.py
team/kharwell/pimp_my_sip/rest-api-templates/do-not-edit.mustache
- copied unchanged
[... 10349 lines stripped ...]
More information about the asterisk-commits
mailing list