[asterisk-commits] qwell: branch qwell/pimp_my_sip-butnotwithpjproject r382855 - in /team/qwell/...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Mar 12 12:01:45 CDT 2013


Author: qwell
Date: Tue Mar 12 12:01:35 2013
New Revision: 382855

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=382855
Log:
Multiple revisions 382196,382201,382206,382229,382237,382270,382301,382317,382326,382342,382362,382395,382413,382442,382473,382494,382544,382558,382578,382591,382606,382623,382638,382650,382673,382687,382711,382728,382752,382767,382790,382831

........
  r382196 | root | 2013-02-27 11:18:00 -0600 (Wed, 27 Feb 2013) | 20 lines
  
  Merged revisions 382182 via svnmerge from 
  file:///srv/subversion/repos/asterisk/trunk
  
  ................
    r382182 | file | 2013-02-27 10:19:51 -0600 (Wed, 27 Feb 2013) | 13 lines
    
    Relax dialog checking in get_sip_pvt_byid_locked so it works when the dialog is forked.
    
    (closes issue ASTERISK-20638)
    Reported by: eelcob
    Patches:
          pedantic-call-pickup-from-tag.patch uploaded by eelcob (license 6442)
    ........
    
    Merged revisions 382171 from http://svn.asterisk.org/svn/asterisk/branches/1.8
    ........
    
    Merged revisions 382174 from http://svn.asterisk.org/svn/asterisk/branches/11
  ................
........
  r382201 | file | 2013-02-27 11:38:04 -0600 (Wed, 27 Feb 2013) | 1 line
  
  Fix a bug where an INVITE without SDP would cause a crash.
........
  r382206 | root | 2013-02-27 15:17:59 -0600 (Wed, 27 Feb 2013) | 13 lines
  
  Merged revisions 382203-382204 via svnmerge from 
  file:///srv/subversion/repos/asterisk/trunk
  
  ........
    r382203 | rmudgett | 2013-02-27 14:21:40 -0600 (Wed, 27 Feb 2013) | 1 line
    
    Fix compiler warning by eliminating the need for a cast.
  ........
    r382204 | rmudgett | 2013-02-27 14:31:56 -0600 (Wed, 27 Feb 2013) | 1 line
    
    More places to eliminate the cast to argv but were not giving warnings.
  ........
........
  r382229 | mmichelson | 2013-02-28 10:50:27 -0600 (Thu, 28 Feb 2013) | 6 lines
  
  Initialize pass/fail result of ACL check.
  
  Calls were being denied because this variable was used
  uninitialized. This should prevent false positives in the ACL checking.
........
  r382237 | root | 2013-02-28 11:18:08 -0600 (Thu, 28 Feb 2013) | 67 lines
  
  Merged revisions 382232,382236 via svnmerge from 
  file:///srv/subversion/repos/asterisk/trunk
  
  ................
    r382232 | mjordan | 2013-02-28 10:56:20 -0600 (Thu, 28 Feb 2013) | 33 lines
    
    Let channels joining a MeetMe conference opt out of the denoiser
    
    For some channel drivers, specifically those that have a varying rate in the
    number of audio samples, the audio quality for a MeetMe conference can be
    exceedingly poor. This is due to a unilateral application of the DENOISE
    function in func_speex to channels joining the conference.
    
    The denoiser function in the speex library is initialized with the number of
    audio samples in each sample that will be provided to it. If the number of
    audio samples changes, the denoiser has to be thrown away and re-initialized.
    
    While this could be worked around by removing func_speex, that doesn't help
    if you actually use the denoiser with other channels on the system.
    
    This patches does the following:
     * Checks for the presence of func_speex as opposed to codec_speex when
       determining if the DENOISE function is present (which is where the function
       is actually implemented)
     * Adds an option to MeetMe 'n' that causes the denoiser to not be applied
       to a channel when it joins. This keeps the current behavior the default, but
       let's users disable the denoiser if it causes problems on their system.
    
    Review: https://reviewboard.asterisk.org/r/2358
    
    (closes issue AST-1062)
    Reported by: Thomas Arimont
    ........
    
    Merged revisions 382227 from http://svn.asterisk.org/svn/asterisk/branches/1.8
    ........
    
    Merged revisions 382230 from http://svn.asterisk.org/svn/asterisk/branches/11
  ................
    r382236 | mjordan | 2013-02-28 11:17:35 -0600 (Thu, 28 Feb 2013) | 25 lines
    
    Prevent deadlock in chan_iax2 when attempting to set caller ID
    
    A deadlock can occur in chan_iax2 when it attempts to set the caller ID, as it
    already holds the iax2 private lock and improperly fails to obtain the channel
    lock before calling ast_set_callerid. By not safely obtaining the channel lock,
    a locking inversion can take place, causing a deadlock.
    
    This patch solves this by calling the required deadlock avoidance functions
    that obtain the channel lock before setting the caller ID.
    
    Thanks to Pavel for fixing my syntax errors and testing this patch out.
    
    (closes issue ASTERISK-21128)
    Reported by: Pavel Troller
    Tested by: Pavel Troller
    patches:
      ASTERISK-21128-1.8.diff uploaded by mjordan (license 6283)
      ASTERISK-21128-modified-1.8.diff uploaded by Pavel Troller (license 6302)
    ........
    
    Merged revisions 382233 from http://svn.asterisk.org/svn/asterisk/branches/1.8
    ........
    
    Merged revisions 382234 from http://svn.asterisk.org/svn/asterisk/branches/11
  ................
........
  r382270 | mmichelson | 2013-02-28 12:49:24 -0600 (Thu, 28 Feb 2013) | 18 lines
  
  Add options to determine how endpoints are identified.
  
  Prior to this commit, the method by which endpoints were identified was
  dependent on what endpoint identification modules were loaded. While this
  works, it's not likely to be useful for most deployments. Instead, having
  control within the configuration of how identification should occur per
  endpoint is more useful.
  
  There is now an "identify_by" option that accepts a comma-delimited list of
  methods by which the endpoint can be identified. By default, this is set to
  "username,location" which allows for the endpoint to be identified by both
  by username and by its IP address. The option can be changed to only allow
  one method or the other.
  
  Using this allows for easy expansion in case new methods of endpoint identification
  are devised.
........
  r382301 | mmichelson | 2013-02-28 16:17:52 -0600 (Thu, 28 Feb 2013) | 6 lines
  
  Fix size issue when converting UUID to string.
  
  We were passing the size of a pointer in, which is not
  appropriate.
........
  r382317 | root | 2013-02-28 17:17:31 -0600 (Thu, 28 Feb 2013) | 42 lines
  
  Multiple revisions 382292,382294-382295,382297,382299
  
  ........
    r382292 | qwell | 2013-02-28 15:21:50 -0600 (Thu, 28 Feb 2013) | 7 lines
    
    Don't undefine bzero()/bcopy().
    
    This was causing build failures against external libraries that happened to use
    them, unless silly hacks were added to the modules that used those headers.
    
    Review: https://reviewboard.asterisk.org/r/2359/
  ........
    r382294 | rmudgett | 2013-02-28 15:29:57 -0600 (Thu, 28 Feb 2013) | 1 line
    
    threadpool: Whitespace and comment corrections.
  ........
    r382295 | rmudgett | 2013-02-28 15:31:14 -0600 (Thu, 28 Feb 2013) | 1 line
    
    threadpool: Make ast_threadpool_push() return -1 if shutting_down
  ........
    r382297 | file | 2013-02-28 15:37:57 -0600 (Thu, 28 Feb 2013) | 10 lines
    
    Fix a bug with ICE and strictrtp where media could get dropped.
    
    If the end result of the ICE negotiation resulted in the path for media
    changing it was possible for the strictrtp code to discard the RTP packets.
    This change causes strictrtp to enter learning mode once again when the
    ICE negotiation has completed successfully.
    ........
    
    Merged revisions 382296 from http://svn.asterisk.org/svn/asterisk/branches/11
  ........
    r382299 | file | 2013-02-28 15:59:56 -0600 (Thu, 28 Feb 2013) | 5 lines
    
    While the ICE negotiation is occurring leave strictrtp in an open state, media can and will come from different places.
    ........
    
    Merged revisions 382298 from http://svn.asterisk.org/svn/asterisk/branches/11
  ........
  
  Merged revisions 382292,382294-382295,382297,382299 from file:///srv/subversion/repos/asterisk/trunk
........
  r382326 | root | 2013-02-28 23:17:57 -0600 (Thu, 28 Feb 2013) | 40 lines
  
  Fix / Clean Up Some Items To Handle The New auto_* NAT Options
  
  The original report had to do with a realtime peer behind NAT being pruned and
  the peer's private address being used instead of its external address.  Upon
  debugging, it was discovered that this was being caused by the addition of
  the auto_force_rport and auto_comedia settings.
  
  This patch does the following:
  
  * Adds a missing note to the CHANGES file indicating that the default global nat
    setting is auto_force_rport
  
  * Constify the 'req' parameter for check_via()
  
  * Add calls to check_via() in a couple of places in order for the auto_*
    settings to do their job in attempting to determine if NAT is involved
  
  * Set the flags SIP_NAT_FORCE_RPORT and SIP_PAGE2_SYMMETRICRTP if the auto_*
    settings are in use where it was needed
  
  * Moves the copying of peer flags up in build_peer() to before they are used;
    this fixes the realtime prune issue
  
  * Update the contrib/realtime schemas to allow the nat column to handle the
    different nat setting combinations we have
  
  This patch received a review and "Ship It!" on the issue itself.
  
  (closes issue ASTERISK-20904)
  Reported by: JoshE
  Tested by: JoshE, Michael L. Young
  Patches:
    asterisk-20904-nat-auto-and-rt-peersv2.diff Michael L. Young (license 5026)
  ........
  
  Merged revisions 382322 from http://svn.asterisk.org/svn/asterisk/branches/11
  ........
  
  Merged revisions 382323 from file:///srv/subversion/repos/asterisk/trunk
........
  r382342 | root | 2013-03-01 12:18:32 -0600 (Fri, 01 Mar 2013) | 7 lines
  
  Add support for registering a sorcery handler which supports multiple fields using a regex.
  
  Review: https://reviewboard.asterisk.org/r/2332/
  ........
  
  Merged revisions 382340 from file:///srv/subversion/repos/asterisk/trunk
........
  r382362 | file | 2013-03-02 10:49:39 -0600 (Sat, 02 Mar 2013) | 2 lines
  
  Slightly reduce memory usage and copying.
........
  r382395 | root | 2013-03-04 15:18:11 -0600 (Mon, 04 Mar 2013) | 37 lines
  
  Multiple revisions 382386,382391-382392
  
  ........
    r382386 | kharwell | 2013-03-04 14:18:36 -0600 (Mon, 04 Mar 2013) | 13 lines
    
    Confbridge CLI new record file name check.
    
    This fix checks to make sure that if a confbridge record start command is issued
    from the CLI it will always use the file name given on the CLI even if it
    changes between start/stop records for a conference.  Previously it had been
    reusing the same file between start/stops even if a new filename was given.
    
    (issue AST-1088)
    Reported by: John Bigelow
    ........
    
    Merged revisions 382385 from http://svn.asterisk.org/svn/asterisk/branches/11
  ........
    r382391 | qwell | 2013-03-04 15:14:30 -0600 (Mon, 04 Mar 2013) | 10 lines
    
    Fix comparison of presence state in event subsystem.
    
    Several new IEs were not given types (or names), causing the comparison
    function to improperly succeed.  This adds those.
    
    (closes issue AST-1128)
    ........
    
    Merged revisions 382390 from http://svn.asterisk.org/svn/asterisk/branches/11
  ........
    r382392 | rmudgett | 2013-03-04 15:15:36 -0600 (Mon, 04 Mar 2013) | 1 line
    
    Fixup some bridge and format capabilities comments and whitespace.
  ........
  
  Merged revisions 382386,382391-382392 from file:///srv/subversion/repos/asterisk/trunk
........
  r382413 | root | 2013-03-04 22:17:55 -0600 (Mon, 04 Mar 2013) | 16 lines
  
  
  Fix several unreleased mutex locks that cause problem with processing calls
  Reported by: Daniel Bohling
  Tested by: Daniel Bohling
  
  (Closes issue ASTERISK-21119)
  ........
  
  Merged revisions 382409 from http://svn.asterisk.org/svn/asterisk/branches/1.8
  ........
  
  Merged revisions 382410 from http://svn.asterisk.org/svn/asterisk/branches/11
  ........
  
  Merged revisions 382411 from file:///srv/subversion/repos/asterisk/trunk
........
  r382442 | root | 2013-03-05 07:18:27 -0600 (Tue, 05 Mar 2013) | 25 lines
  
  Add RFC 3327 Path header support to chan_sip
  
  This patch adds support for RFC 3327 "Path" headers. This can be enabled in
  sip.conf using the 'supportpath' setting, either on a global basis or on a
  peer basis. This setting enables Asterisk to route outgoing out-of-dialog
  requests via a set of proxies by using a pre-loaded route-set defined by the
  Path headers in the REGISTER request. This patch also adds Realtime support
  for dynamically updating the Path information for a peer.
  
  A huge thank-you to Klaus Darillion and Olle E Johansson for their efforts
  in writing this patch.
  
  Review: https://reviewboard.asterisk.org/r/2235/
  Review: https://reviewboard.asterisk.org/r/991/
  
  (closes issue ASTERISK-16884)
  Reported by: klaus3000
  Tested by: klaus3000, oej, mjordan
  patches:
    path-1.8.0-patch.txt uploaded by klaus3000 (License 5054)
    oolong-path-support-trunk in team branch by oej (License 5267)
  ........
  
  Merged revisions 382440 from file:///srv/subversion/repos/asterisk/trunk
........
  r382473 | file | 2013-03-05 16:02:47 -0600 (Tue, 05 Mar 2013) | 4 lines
  
  Move serialization to occur before invoking any main pjsip modules.
  
  Review: https://reviewboard.asterisk.org/r/2362/
........
  r382494 | root | 2013-03-06 10:18:29 -0600 (Wed, 06 Mar 2013) | 9 lines
  
  Resolve a ref leak in threadpool.c
  
  Ownership of the listener reference is not transferred because the
  listener is reffed when placed into the taskprocessor. Ensure that the
  listener is dereffed properly.
  ........
  
  Merged revisions 382489 from file:///srv/subversion/repos/asterisk/trunk
........
  r382544 | file | 2013-03-06 16:05:14 -0600 (Wed, 06 Mar 2013) | 1 line
  
  Disable res_sip_endpoint_identifier_constant by default and make it allocate from sorcery so default values get applied.
........
  r382558 | root | 2013-03-06 18:17:53 -0600 (Wed, 06 Mar 2013) | 8 lines
  
  Fix ref leak in threadpool.c
  
  If ast_threadpool_set_size with a size equal to the current size, a
  reference to a set_size_data structure would be leaked.
  ........
  
  Merged revisions 382555 from file:///srv/subversion/repos/asterisk/trunk
........
  r382578 | root | 2013-03-07 09:18:28 -0600 (Thu, 07 Mar 2013) | 11 lines
  
  Ensure that logmsgs are freed properly
  
  Messages sent while the logger thread is shutting down will now have
  their associated callid freed properly.
  ........
  
  Merged revisions 382574 from http://svn.asterisk.org/svn/asterisk/branches/11
  ........
  
  Merged revisions 382575 from file:///srv/subversion/repos/asterisk/trunk
........
  r382591 | root | 2013-03-07 10:17:55 -0600 (Thu, 07 Mar 2013) | 43 lines
  
  Multiple revisions 382587,382589
  
  ........
    r382587 | kmoore | 2013-03-07 09:36:52 -0600 (Thu, 07 Mar 2013) | 5 lines
    
    Fix minor memory leak in xmldoc
    
    Strings retrieved via ast_xml_get_text() must be freed with
    ast_xml_free_text().
  ........
    r382589 | mjordan | 2013-03-07 09:48:06 -0600 (Thu, 07 Mar 2013) | 28 lines
    
    Add a 'secret' probation strictrtp mode to handle delayed changes in RTP source
    
    Often, Asterisk may realize that a change in the source of an RTP stream is
    about to occur and ask that the RTP engine reset it's lock on the current RTP
    source. In certain scenarios, it may take awhile for the new remote system to
    send RTP packets, while the old remote system may continue providing RTP during
    that time period. This causes Asterisk to re-lock onto the old source, thereby
    rejecting the new source when the old source stops sending RTP and the new
    source begins.
    
    This patch prevents that by having a constant secondary, 'secret' probation
    mode enabled when an RTP source has been chosen. RTP packets from other sources
    are always considered, but never chosen unless the current RTP source stops
    sending RTP.
    
    Review: https://reviewboard.asterisk.org/r/2364
    
    (closes issue AST-1124)
    Reported by: John Bigelow
    Tested by: John Bigelow
    
    (closes issue AST-1125)
    Reported by: John Bigelow
    Tested by: John Bigelow
    ........
    
    Merged revisions 382573 from http://svn.asterisk.org/svn/asterisk/branches/11
  ........
  
  Merged revisions 382587,382589 from file:///srv/subversion/repos/asterisk/trunk
........
  r382606 | root | 2013-03-07 11:17:55 -0600 (Thu, 07 Mar 2013) | 19 lines
  
  Multiple revisions 382600,382604
  
  ........
    r382600 | kmoore | 2013-03-07 10:21:52 -0600 (Thu, 07 Mar 2013) | 5 lines
    
    Resolve more memory leaks in xmldoc
    
    Many places that allocated to pull out an attribute are now freed
    properly.
  ........
    r382604 | kmoore | 2013-03-07 10:48:19 -0600 (Thu, 07 Mar 2013) | 4 lines
    
    Fix a memory leak in xmldoc
    
    Another instance of attribute retrieval not being freed properly.
  ........
  
  Merged revisions 382600,382604 from file:///srv/subversion/repos/asterisk/trunk
........
  r382623 | root | 2013-03-07 13:17:57 -0600 (Thu, 07 Mar 2013) | 15 lines
  
  Let vm_mailbox_snapshot combine "Urgent" when no folder is specified
  
  r381835 fixed a bug in vm_mailbox_snapshot where combining INBOX and Old forgot
  that Urgent also "counts" as new messages. This fixed the problem when any of
  the three folders was specified and the combine option was used.
  
  It missed the case where the folder isn't specified and we build a snapshot of
  all folders. This patch corrects that.
  ........
  
  Merged revisions 382617 from http://svn.asterisk.org/svn/asterisk/branches/11
  ........
  
  Merged revisions 382621 from file:///srv/subversion/repos/asterisk/trunk
........
  r382638 | root | 2013-03-07 15:18:00 -0600 (Thu, 07 Mar 2013) | 5 lines
  
  Load sorcery modules earlier, so they can actually be used.
  ........
  
  Merged revisions 382636 from file:///srv/subversion/repos/asterisk/trunk
........
  r382650 | root | 2013-03-07 16:17:53 -0600 (Thu, 07 Mar 2013) | 5 lines
  
  Changing log level of "Not changing threadpool size" from notice to debug.
  ........
  
  Merged revisions 382648 from file:///srv/subversion/repos/asterisk/trunk
........
  r382673 | root | 2013-03-07 22:17:55 -0600 (Thu, 07 Mar 2013) | 36 lines
  
  Multiple revisions 382670-382671
  
  ........
    r382670 | mjordan | 2013-03-07 21:54:38 -0600 (Thu, 07 Mar 2013) | 21 lines
    
    Don't reset the RTP address on a glare re-INVITE
    
    Originally, way back in r201583, we added the alternate RTP address so
    that the RTP engine would expect to receive audio from a new source
    when a glare re-INVITE occurred. In r382589, we remove the alternate
    RTP source, as the 'secret' probation mode allows for switching to a new
    RTP source when a previous source stops sending RTP. At the time, it
    seemed appropriate to set the RTP source based on the information in the
    glared re-INVITE.
    
    Unfortunately, that doesn't work so well - in a glared re-INVITE that occurs
    with no SDP - such as in a connected line update that glances - we'll set
    the RTP source to an invalid address. In subsequent re-INVITE requests from
    this Asterisk instance, we'll then send an invalid media address, which will
    result in the remote side sending a 488. Whoops.
    
    There isn't any need to reset the RTP source - if we're using strictrtp, we'll
    simply synchronize to a new source when we stop getting packets from the old
    one. If we aren't using strictrtp, then again there shouldn't be a problem.
    
    Note that the Asterisk Test Suite's connectedline test caught this error.
  ........
    r382671 | mjordan | 2013-03-07 22:11:12 -0600 (Thu, 07 Mar 2013) | 4 lines
    
    Remove unused function
    
    After r382670, get_ip_and_port_from_sdp was no longer used.
  ........
  
  Merged revisions 382670-382671 from file:///srv/subversion/repos/asterisk/trunk
........
  r382687 | root | 2013-03-08 09:18:30 -0600 (Fri, 08 Mar 2013) | 26 lines
  
  This patch adds a new message bus API to Asterisk.
  
  For the initial use of this bus, I took some work kmoore did creating
  channel snapshots. So rather than create AMI events directly in the
  channel code, this patch generates Stasis events, which manager.c uses
  to then publish the AMI event.
  
  This message bus provides a generic publish/subscribe mechanism within
  Asterisk. This message bus is:
  
   - Loosely coupled; new message types can be added in seperate modules.
   - Easy to use; publishing and subscribing are straightforward
     operations.
   - Consistent memory management; all message bus objects are AO2
     managed objects, using ao2_ref() and ao2_cleanup() to manage the
     reference counting.
  
  In addition to basic publish/subscribe, the patch also provides
  mechanisms for message forwarding, and for message caching.
  
  (closes issue ASTERISK-20959)
  Review: https://reviewboard.asterisk.org/r/2339/
  ........
  
  Merged revisions 382685 from file:///srv/subversion/repos/asterisk/trunk
........
  r382711 | root | 2013-03-08 10:17:55 -0600 (Fri, 08 Mar 2013) | 14 lines
  
  Add message dump capability to stasis cache layer
  
  The cache dump mechanism allows the developer to retreive multiple
  items of a given type (or of all types) from the cache residing in a
  stasis caching topic in addition to the existing single-item cache
  retreival mechanism.  This also adds to the caching unit tests to
  ensure that the new cache dump mechanism is functioning properly.
  
  Review: https://reviewboard.asterisk.org/r/2367/
  (issue ASTERISK-21097)
  ........
  
  Merged revisions 382705 from file:///srv/subversion/repos/asterisk/trunk
........
  r382728 | root | 2013-03-08 11:17:56 -0600 (Fri, 08 Mar 2013) | 22 lines
  
  Multiple revisions 382721,382724
  
  ........
    r382721 | dlee | 2013-03-08 10:25:58 -0600 (Fri, 08 Mar 2013) | 7 lines
    
    Ensure dummy channels get a stasis topic.
    
    Fixes test failure introduced in r382685.
    
    (issue ASTERISK-20887)
    (issue ASTERISK-20959)
  ........
    r382724 | dlee | 2013-03-08 10:59:02 -0600 (Fri, 08 Mar 2013) | 6 lines
    
    Stasis documentation updates.
    
    (issue ASTERISK-20887)
    (issue ASTERISK-20959)
  ........
  
  Merged revisions 382721,382724 from file:///srv/subversion/repos/asterisk/trunk
........
  r382752 | root | 2013-03-08 15:17:56 -0600 (Fri, 08 Mar 2013) | 19 lines
  
  chan_sip: Update the via header when relaying SMS MESSAGE
  
  Prior to this change, certain conditions for sending the message would
  result in an address of '(null)' being used in the via header of the
  SIP message because a NULl value of pvt->ourip was used when initially
  generating the via header. This is fixed by adding a call to build_via
  when the address is set before sending the message.
  
  (closes issue ASTERISK-21148)
  Reported by: Zhi Cheng
  Patches:
  	700-sip_msg_send_via_fix.patch uploaded by Zhi Cheng (license 6475)
  ........
  
  Merged revisions 382739 from http://svn.asterisk.org/svn/asterisk/branches/11
  ........
  
  Merged revisions 382746 from file:///srv/subversion/repos/asterisk/trunk
........
  r382767 | root | 2013-03-08 19:17:32 -0600 (Fri, 08 Mar 2013) | 21 lines
  
  confbridge: Rename items for clarity and consistency.
  
  struct conference_bridge_user -> struct confbridge_user
  struct conference_bridge -> struct confbridge_conference
  struct conference_state -> struct confbridge_state
  
  struct conference_bridge_user *conference_bridge_user -> struct confbridge_user *user
  struct conference_bridge_user *cbu -> struct confbridge_user *user
  struct conference_bridge *conference_bridge -> struct confbridge_conference *conference
  
  The names are now generally shorter, consistently used, and don't conflict
  with the struct names.
  
  This patch handles the renaming part of the issue.
  
  (issue ASTERISK-20776)
  Reported by: rmudgett
  ........
  
  Merged revisions 382764 from file:///srv/subversion/repos/asterisk/trunk
........
  r382790 | root | 2013-03-11 11:18:09 -0500 (Mon, 11 Mar 2013) | 13 lines
  
  Added an option to disallow music on hold
  
  Added an option "discard_remote_hold_retrieval" (default "no") that if set does
  not trigger the music on hold event.  This essentially stops telling the peer
  to start music on hold.
  
  (issue ABE-2899)
  Reported by: Denis Alberto Martinez
  Review: https://reviewboard.asterisk.org/r/2336/
  ........
  
  Merged revisions 382787 from file:///srv/subversion/repos/asterisk/trunk
........
  r382831 | root | 2013-03-12 04:19:40 -0500 (Tue, 12 Mar 2013) | 10 lines
  
  Fix core dump on CLI usage
  
  Fix issue with 'unistim show info' CLI command when device connected not configured
  ........
  
  Merged revisions 382827 from http://svn.asterisk.org/svn/asterisk/branches/11
  ........
  
  Merged revisions 382828 from file:///srv/subversion/repos/asterisk/trunk
........

Merged revisions 382196,382201,382206,382229,382237,382270,382301,382317,382326,382342,382362,382395,382413,382442,382473,382494,382544,382558,382578,382591,382606,382623,382638,382650,382673,382687,382711,382728,382752,382767,382790,382831 from http://svn.asterisk.org/svn/asterisk/team/group/pimp_my_sip

Added:
    team/qwell/pimp_my_sip-butnotwithpjproject/include/asterisk/stasis.h
      - copied unchanged from r382831, team/group/pimp_my_sip/include/asterisk/stasis.h
    team/qwell/pimp_my_sip-butnotwithpjproject/main/stasis.c
      - copied unchanged from r382831, team/group/pimp_my_sip/main/stasis.c
    team/qwell/pimp_my_sip-butnotwithpjproject/main/stasis_cache.c
      - copied unchanged from r382831, team/group/pimp_my_sip/main/stasis_cache.c
    team/qwell/pimp_my_sip-butnotwithpjproject/main/stasis_message.c
      - copied unchanged from r382831, team/group/pimp_my_sip/main/stasis_message.c
    team/qwell/pimp_my_sip-butnotwithpjproject/tests/test_stasis.c
      - copied unchanged from r382831, team/group/pimp_my_sip/tests/test_stasis.c
Modified:
    team/qwell/pimp_my_sip-butnotwithpjproject/   (props changed)
    team/qwell/pimp_my_sip-butnotwithpjproject/CHANGES
    team/qwell/pimp_my_sip-butnotwithpjproject/CREDITS
    team/qwell/pimp_my_sip-butnotwithpjproject/apps/app_confbridge.c
    team/qwell/pimp_my_sip-butnotwithpjproject/apps/app_meetme.c
    team/qwell/pimp_my_sip-butnotwithpjproject/apps/app_voicemail.c
    team/qwell/pimp_my_sip-butnotwithpjproject/apps/confbridge/conf_config_parser.c
    team/qwell/pimp_my_sip-butnotwithpjproject/apps/confbridge/conf_state.c
    team/qwell/pimp_my_sip-butnotwithpjproject/apps/confbridge/conf_state_empty.c
    team/qwell/pimp_my_sip-butnotwithpjproject/apps/confbridge/conf_state_inactive.c
    team/qwell/pimp_my_sip-butnotwithpjproject/apps/confbridge/conf_state_multi.c
    team/qwell/pimp_my_sip-butnotwithpjproject/apps/confbridge/conf_state_multi_marked.c
    team/qwell/pimp_my_sip-butnotwithpjproject/apps/confbridge/conf_state_single.c
    team/qwell/pimp_my_sip-butnotwithpjproject/apps/confbridge/conf_state_single_marked.c
    team/qwell/pimp_my_sip-butnotwithpjproject/apps/confbridge/include/conf_state.h
    team/qwell/pimp_my_sip-butnotwithpjproject/apps/confbridge/include/confbridge.h
    team/qwell/pimp_my_sip-butnotwithpjproject/channels/chan_iax2.c
    team/qwell/pimp_my_sip-butnotwithpjproject/channels/chan_sip.c
    team/qwell/pimp_my_sip-butnotwithpjproject/channels/chan_skinny.c
    team/qwell/pimp_my_sip-butnotwithpjproject/channels/chan_unistim.c
    team/qwell/pimp_my_sip-butnotwithpjproject/channels/sip/include/sip.h
    team/qwell/pimp_my_sip-butnotwithpjproject/configs/res_ldap.conf.sample
    team/qwell/pimp_my_sip-butnotwithpjproject/configs/sip.conf.sample
    team/qwell/pimp_my_sip-butnotwithpjproject/contrib/realtime/mysql/sippeers.sql
    team/qwell/pimp_my_sip-butnotwithpjproject/contrib/realtime/postgresql/realtime.sql
    team/qwell/pimp_my_sip-butnotwithpjproject/contrib/scripts/asterisk.ldap-schema
    team/qwell/pimp_my_sip-butnotwithpjproject/contrib/scripts/asterisk.ldif
    team/qwell/pimp_my_sip-butnotwithpjproject/include/asterisk.h
    team/qwell/pimp_my_sip-butnotwithpjproject/include/asterisk/channel.h
    team/qwell/pimp_my_sip-butnotwithpjproject/include/asterisk/channel_internal.h
    team/qwell/pimp_my_sip-butnotwithpjproject/include/asterisk/format_cap.h
    team/qwell/pimp_my_sip-butnotwithpjproject/include/asterisk/res_sip.h
    team/qwell/pimp_my_sip-butnotwithpjproject/include/asterisk/rtp_engine.h
    team/qwell/pimp_my_sip-butnotwithpjproject/include/asterisk/sorcery.h
    team/qwell/pimp_my_sip-butnotwithpjproject/include/asterisk/threadpool.h
    team/qwell/pimp_my_sip-butnotwithpjproject/main/asterisk.c
    team/qwell/pimp_my_sip-butnotwithpjproject/main/asterisk.exports.in
    team/qwell/pimp_my_sip-butnotwithpjproject/main/bridging.c
    team/qwell/pimp_my_sip-butnotwithpjproject/main/channel.c
    team/qwell/pimp_my_sip-butnotwithpjproject/main/channel_internal_api.c
    team/qwell/pimp_my_sip-butnotwithpjproject/main/event.c
    team/qwell/pimp_my_sip-butnotwithpjproject/main/logger.c
    team/qwell/pimp_my_sip-butnotwithpjproject/main/manager.c
    team/qwell/pimp_my_sip-butnotwithpjproject/main/pbx.c
    team/qwell/pimp_my_sip-butnotwithpjproject/main/rtp_engine.c
    team/qwell/pimp_my_sip-butnotwithpjproject/main/sorcery.c
    team/qwell/pimp_my_sip-butnotwithpjproject/main/threadpool.c
    team/qwell/pimp_my_sip-butnotwithpjproject/main/xmldoc.c
    team/qwell/pimp_my_sip-butnotwithpjproject/res/res_rtp_asterisk.c
    team/qwell/pimp_my_sip-butnotwithpjproject/res/res_sip.exports.in
    team/qwell/pimp_my_sip-butnotwithpjproject/res/res_sip/sip_configuration.c
    team/qwell/pimp_my_sip-butnotwithpjproject/res/res_sip/sip_distributor.c
    team/qwell/pimp_my_sip-butnotwithpjproject/res/res_sip_acl.c
    team/qwell/pimp_my_sip-butnotwithpjproject/res/res_sip_authenticator_digest.c
    team/qwell/pimp_my_sip-butnotwithpjproject/res/res_sip_endpoint_identifier_constant.c
    team/qwell/pimp_my_sip-butnotwithpjproject/res/res_sip_endpoint_identifier_ip.c
    team/qwell/pimp_my_sip-butnotwithpjproject/res/res_sip_endpoint_identifier_user.c
    team/qwell/pimp_my_sip-butnotwithpjproject/res/res_sip_session.c
    team/qwell/pimp_my_sip-butnotwithpjproject/res/res_sorcery_config.c
    team/qwell/pimp_my_sip-butnotwithpjproject/res/res_sorcery_memory.c
    team/qwell/pimp_my_sip-butnotwithpjproject/tests/test_sorcery.c

Propchange: team/qwell/pimp_my_sip-butnotwithpjproject/
------------------------------------------------------------------------------
Binary property 'branch-11-merged' - no diff available.

Propchange: team/qwell/pimp_my_sip-butnotwithpjproject/
------------------------------------------------------------------------------
Binary property 'branchmerge' - no diff available.

Modified: team/qwell/pimp_my_sip-butnotwithpjproject/CHANGES
URL: http://svnview.digium.com/svn/asterisk/team/qwell/pimp_my_sip-butnotwithpjproject/CHANGES?view=diff&rev=382855&r1=382854&r2=382855
==============================================================================
--- team/qwell/pimp_my_sip-butnotwithpjproject/CHANGES (original)
+++ team/qwell/pimp_my_sip-butnotwithpjproject/CHANGES Tue Mar 12 12:01:35 2013
@@ -50,6 +50,13 @@
 
  * Added ECAM command support for Sony Ericsson phones.
 
+chan_sip
+------------------
+ * Added support for RFC 3327 "Path" headers. This can be enabled in sip.conf
+   using the 'supportpath' setting, either on a global basis or on a peer basis.
+   This setting enables Asterisk to route outgoing out-of-dialog requests via a
+   set of proxies by using a pre-loaded route-set defined by the Path headers in
+   the REGISTER request. See Realtime updates for more configuration information.
 
 Features
 -------------------
@@ -72,6 +79,14 @@
 
  * Added the 'queue_log_realtime_use_gmt' option to have timestamps in GMT
    for realtime queue log entries.
+
+MeetMe
+-------------------
+* Added the 'n' option to MeetMe to prevent application of the DENOISE function
+  to a channel joining a conference. Some channel drivers that vary the number
+  of audio samples in a voice frame will experience significant quality problems
+  if a denoiser is attached to the channel; this option gives them the ability
+  to remove the denoiser without having to unload func_speex.
 
 Queue
 -------------------
@@ -86,6 +101,15 @@
    that the REDIRECTING dialplan function can be used to set the redirecting
    reason to any string. It also allows for custom strings to be read as the
    redirecting reason from SIP Diversion headers.
+
+Realtime
+------------------
+ * Dynamic realtime tables for SIP Users can now include a 'path' field. This
+   will store the path information for that peer when it registers. Realtime
+   tables can also use the 'supportpath' field to enable Path header support.
+
+ * LDAP realtime configurations for SIP Users now have the AstAccountPathSupport
+   objectIdentifier. This maps to the supportpath option in sip.conf. 
 
 ------------------------------------------------------------------------------
 --- Functionality changes from Asterisk 10 to Asterisk 11 --------------------
@@ -390,6 +414,9 @@
    detects that an incoming SIP request crossed a NAT after being sent by
    the remote endpoint.
 
+ * The default global nat setting in sip.conf has been changed from force_rport
+   to auto_force_rport.
+
  * NAT settings are now a combinable list of options. The equivalent of the
    deprecated nat=yes is nat=force_rport,comedia. nat=no behaves as before.
 
@@ -445,6 +472,9 @@
    when using Transfer application. See refer_addheaders in sip.conf.sample.
 
  * Added support to use private party ID information with calls.
+
+ * Adds an option discard_remote_hold_retrieval that when set stops telling
+   the peer to start music on hold.
 
 
 chan_skinny

Modified: team/qwell/pimp_my_sip-butnotwithpjproject/CREDITS
URL: http://svnview.digium.com/svn/asterisk/team/qwell/pimp_my_sip-butnotwithpjproject/CREDITS?view=diff&rev=382855&r1=382854&r2=382855
==============================================================================
--- team/qwell/pimp_my_sip-butnotwithpjproject/CREDITS (original)
+++ team/qwell/pimp_my_sip-butnotwithpjproject/CREDITS Tue Mar 12 12:01:35 2013
@@ -22,7 +22,7 @@
 	* John Todd, TalkPlus, Inc.  and JR Richardson, Ntegrated Solutions. 
 		for funding the development of SIP Session Timers support.
 
-	* Omnitor AB, Gunnar Hellström, for funding work with videocaps, 
+	* Omnitor AB, Gunnar Hellstr�m, for funding work with videocaps, 
 		T.140 RED, originate with video/text and many more 
 		contributions.
 
@@ -54,7 +54,7 @@
 
 === HARDWARE DONORS === 
 
- We'd like to thank the followwing for granting access to hardware for testing.
+ We'd like to thank the following for granting access to hardware for testing.
 
 	* Thanks to QuickNet Technologies for their donation of an Internet
 		PhoneJack and Linejack card to the project.  
@@ -63,13 +63,12 @@
 	* Thanks to VoipSupply for their donation of Sipura ATAs to the project
 		for T.38 testing. (http://www.voipsupply.com)
 
-
 	* Thanks to Grandstream for their donation of ATAs to the project for
 		T.38 testing. (http://www.grandstream.com)
 
 === MISCELLANEOUS PATCHES ===
 
- We'd like to thank the flollowing for their patches
+ We'd like to thank the following for their patches
 
 	* Jim Dixon - Zapata Telephony and app_rpt
 		http://www.zapatatelephony.org/app_rpt.html
@@ -240,7 +239,8 @@
 		ControlPlayback, and multiple bug fixes See 
 		http://voip-info.org/users/view/sergee serg(AT)voipsolutions.ru
 
-	* Klaus Darillon - the SIPremoveHeader function in chan_sip
+	* Klaus Darillon - the SIPremoveHeader function in chan_sip and SIP Path
+		Support.
 
 	* Moises Silva (moy) - for writing LibOpenR2, and providing support for
 		it in chan_dahdi moises.silva(AT)gmail.com
@@ -252,7 +252,7 @@
 		cdr_tds rewrite, countless other improvements, fixes, and good
 		ideas. sean(AT)malleable.com
 
-	* Jan Kaláb - Calendaring support for Exchange Server 2007+ via 
+	* Jan Kal�b - Calendaring support for Exchange Server 2007+ via 
 		Exchange Web Services.
 
 	* University of Oslo (uio.no), Norway - SIP Max-Forwards setting 

Modified: team/qwell/pimp_my_sip-butnotwithpjproject/apps/app_confbridge.c
URL: http://svnview.digium.com/svn/asterisk/team/qwell/pimp_my_sip-butnotwithpjproject/apps/app_confbridge.c?view=diff&rev=382855&r1=382854&r2=382855
==============================================================================
--- team/qwell/pimp_my_sip-butnotwithpjproject/apps/app_confbridge.c (original)
+++ team/qwell/pimp_my_sip-butnotwithpjproject/apps/app_confbridge.c Tue Mar 12 12:01:35 2013
@@ -305,10 +305,10 @@
 /*! \brief Container to hold all conference bridges in progress */
 static struct ao2_container *conference_bridges;
 
-static void leave_conference(struct conference_bridge_user *user);
-static int play_sound_number(struct conference_bridge *conference_bridge, int say_number);
-static int execute_menu_entry(struct conference_bridge *conference_bridge,
-	struct conference_bridge_user *conference_bridge_user,
+static void leave_conference(struct confbridge_user *user);
+static int play_sound_number(struct confbridge_conference *conference, int say_number);
+static int execute_menu_entry(struct confbridge_conference *conference,
+	struct confbridge_user *user,
 	struct ast_bridge_channel *bridge_channel,
 	struct conf_menu_entry *menu_entry,
 	struct conf_menu *menu);
@@ -316,15 +316,15 @@
 /*! \brief Hashing function used for conference bridges container */
 static int conference_bridge_hash_cb(const void *obj, const int flags)
 {
-	const struct conference_bridge *conference_bridge = obj;
-	return ast_str_case_hash(conference_bridge->name);
+	const struct confbridge_conference *conference = obj;
+	return ast_str_case_hash(conference->name);
 }
 
 /*! \brief Comparison function used for conference bridges container */
 static int conference_bridge_cmp_cb(void *obj, void *arg, int flags)
 {
-	const struct conference_bridge *conference_bridge0 = obj, *conference_bridge1 = arg;
-	return (!strcasecmp(conference_bridge0->name, conference_bridge1->name) ? CMP_MATCH | CMP_STOP : 0);
+	const struct confbridge_conference *conference0 = obj, *conference1 = arg;
+	return (!strcasecmp(conference0->name, conference1->name) ? CMP_MATCH | CMP_STOP : 0);
 }
 
 const char *conf_get_sound(enum conf_sounds sound, struct bridge_profile_sounds *custom_sounds)
@@ -596,13 +596,13 @@
 	return tmp;
 }
 
-static void set_rec_filename(struct conference_bridge *bridge, struct ast_str **filename)
-{
-	char *rec_file = bridge->b_profile.rec_file;
+static void set_rec_filename(struct confbridge_conference *conference, struct ast_str **filename, int is_new)
+{
+	char *rec_file = conference->b_profile.rec_file;
 	time_t now;
 	char *ext;
 
-	if (ast_str_strlen(*filename) && ast_test_flag(&bridge->b_profile, BRIDGE_OPT_RECORD_FILE_APPEND)) {
+	if (ast_str_strlen(*filename) && ast_test_flag(&conference->b_profile, BRIDGE_OPT_RECORD_FILE_APPEND) && !is_new) {
 		    return;
 	}
 
@@ -610,7 +610,7 @@
 
 	ast_str_reset(*filename);
 	if (ast_strlen_zero(rec_file)) {
-		ast_str_set(filename, 0, "confbridge-%s-%u.wav", bridge->name, (unsigned int)now);
+		ast_str_set(filename, 0, "confbridge-%s-%u.wav", conference->name, (unsigned int)now);
 	} else {
 		/* insert time before file extension */
 		ext = strrchr(rec_file, '.');
@@ -622,73 +622,91 @@
 		}
 	}
 
-	if (ast_test_flag(&bridge->b_profile, BRIDGE_OPT_RECORD_FILE_APPEND)) {
+	if (ast_test_flag(&conference->b_profile, BRIDGE_OPT_RECORD_FILE_APPEND)) {
 		ast_str_append(filename, 0, ",a");
 	}
 }
 

[... 7625 lines stripped ...]



More information about the asterisk-commits mailing list