[asterisk-commits] kmoore: branch kmoore/stasis-channel_events r383727 - /team/kmoore/stasis-cha...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Mar 25 11:28:57 CDT 2013


Author: kmoore
Date: Mon Mar 25 11:28:54 2013
New Revision: 383727

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=383727
Log:
Move NewCallerid, HangupRequest and SoftHangupRequest to Stasis

HangupRequest and SoftHangupRequest are now ast_channel_blob Stasis
messages, with the cause code as an optional field in the blob.

NewCallerid now simply watches for changes in the callerid information
in channel snapshots, and creates the AMI event appropriately.

Since the original NewCallerid event honored the channelvars setting
in manager.conf, the channel variables configured there had to become
a part of the channel snapshot. These are now a part of every snapshot
based event, making the configuration description "every time a
channel-oriented event is emitted" less of a lie.

There a a few other changes wrapped up in here as well.

 * When ast_channel_topic() is given NULL for a channel, it returns
   the ast_channel_topic_all() topic instead of NULL. This can clean
   up a lot of NULL checking we're doing currently.
 * The fields Cause and Cause-txt were removed from the base channel
   information and put only on the Hangup events, since those fields
   are meaningless outside of a Hangup event.
 * Removed the pipe-delimiter processing of the channelvars field,
   since that's been deprecated forever.

(closes issue ASTERISK-21096)
Review: https://reviewboard.asterisk.org/r/2405/
........

Merged revisions 383726 from http://svn.asterisk.org/svn/asterisk/trunk

Modified:
    team/kmoore/stasis-channel_events/   (props changed)

Propchange: team/kmoore/stasis-channel_events/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Mon Mar 25 11:28:54 2013
@@ -1,1 +1,1 @@
-/trunk:1-383703
+/trunk:1-383726




More information about the asterisk-commits mailing list