[asterisk-commits] mmichelson: branch mmichelson/bridge-tests r3414 - /asterisk/team/mmichelson/...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Aug 7 17:45:46 CDT 2012
Author: mmichelson
Date: Tue Aug 7 17:45:42 2012
New Revision: 3414
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3414
Log:
Add CEL event processing into the simple bridge test.
13 events per call makes this a bit overwhelming to try to
do at once, so I'm handling it one test at a time.
Modified:
asterisk/team/mmichelson/bridge-tests/tests/bridge/simple_bridge/test-config.yaml
Modified: asterisk/team/mmichelson/bridge-tests/tests/bridge/simple_bridge/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/mmichelson/bridge-tests/tests/bridge/simple_bridge/test-config.yaml?view=diff&rev=3414&r1=3413&r2=3414
==============================================================================
--- asterisk/team/mmichelson/bridge-tests/tests/bridge/simple_bridge/test-config.yaml (original)
+++ asterisk/team/mmichelson/bridge-tests/tests/bridge/simple_bridge/test-config.yaml Tue Aug 7 17:45:42 2012
@@ -12,6 +12,10 @@
-
config-section: 'cdr-config'
typename: 'cdr.CDRModule'
+ modules:
+ -
+ config-section: 'cel-config'
+ typename: 'cel.CELModule'
bridge-config:
-
@@ -46,6 +50,222 @@
disposition: 'ANSWERED'
amaflags: 'DOCUMENTATION'
+cel-config:
+ -
+ file: 'Master'
+ lines:
+ -
+ eventtype: 'CHAN_START'
+ cidname: 'Alice'
+ cidnum: '1234'
+ exten: 'test_call'
+ context: 'default'
+ channel: '.*/alice-.*'
+ -
+ eventtype: 'APP_START'
+ cidname: 'Alice'
+ cidnum: '1234'
+ dnid: 'test_call'
+ exten: 'test_call'
+ context: 'default'
+ channel: '.*/alice-.*'
+ app: 'Dial'
+ -
+ eventtype: 'CHAN_START'
+ cidname: 'Bob'
+ cidnum: '4321'
+ channel: '.*/bob-.*'
+ -
+ eventtype: 'ANSWER'
+ cidname: 'Bob'
+ cidnum: '4321'
+ channel: '.*/bob-.*'
+ app: 'AppDial'
+ appdata: '\(Outgoing Line\)'
+ -
+ eventtype: 'ANSWER'
+ cidname: 'Alice'
+ cidnum: '1234'
+ dnid: 'test_call'
+ exten: 'test_call'
+ context: 'default'
+ channel: '.*/alice-.*'
+ app: 'Dial'
+ -
+ eventtype: 'BRIDGE_START'
+ cidname: 'Alice'
+ cidnum: '1234'
+ dnid: 'test_call'
+ exten: 'test_call'
+ context: 'default'
+ channel: '.*/alice-.*'
+ app: 'Dial'
+ bridgepeer: '.*/bob-.*'
+ -
+ eventtype: 'BRIDGE_END'
+ cidname: 'Alice'
+ cidnum: '1234'
+ dnid: 'test_call'
+ exten: 'test_call'
+ context: 'default'
+ channel: '.*/alice-.*'
+ app: 'Dial'
+ bridgepeer: '.*/bob-.*'
+ -
+ eventtype: 'HANGUP'
+ cidname: 'Bob'
+ cidnum: '4321'
+ channel: '.*/bob-.*'
+ app: 'AppDial'
+ appdata: '\(Outgoing Line\)'
+ eventextra: '16,.*/alice-.*'
+ -
+ eventtype: 'CHAN_END'
+ cidname: 'Bob'
+ cidnum: '4321'
+ channel: '.*/bob-.*'
+ app: 'AppDial'
+ appdata: '\(Outgoing Line\)'
+ -
+ eventtype: 'APP_END'
+ cidname: 'Alice'
+ cidnum: '1234'
+ dnid: 'test_call'
+ exten: 'test_call'
+ context: 'default'
+ channel: '.*/alice-.*'
+ app: 'Dial'
+ -
+ eventtype: 'HANGUP'
+ cidname: 'Alice'
+ cidnum: '1234'
+ dnid: 'test_call'
+ exten: 'test_call'
+ context: 'default'
+ channel: '.*/alice-.*'
+ eventextra: '16,.*/alice-.*,ANSWER'
+ -
+ eventtype: 'CHAN_END'
+ cidname: 'Alice'
+ cidnum: '1234'
+ dnid: 'test_call'
+ exten: 'test_call'
+ context: 'default'
+ channel: '.*/alice-.*'
+ -
+ eventtype: 'LINKEDID_END'
+ cidname: 'Alice'
+ cidnum: '1234'
+ dnid: 'test_call'
+ exten: 'test_call'
+ context: 'default'
+ channel: '.*/alice-.*'
+ -
+ eventtype: 'CHAN_START'
+ cidname: 'Alice'
+ cidnum: '1234'
+ exten: 'test_call'
+ context: 'default'
+ channel: '.*/alice-.*'
+ -
+ eventtype: 'APP_START'
+ cidname: 'Alice'
+ cidnum: '1234'
+ dnid: 'test_call'
+ exten: 'test_call'
+ context: 'default'
+ channel: '.*/alice-.*'
+ app: 'Dial'
+ -
+ eventtype: 'CHAN_START'
+ cidname: 'Bob'
+ cidnum: '4321'
+ channel: '.*/bob-.*'
+ -
+ eventtype: 'ANSWER'
+ cidname: 'Bob'
+ cidnum: '4321'
+ channel: '.*/bob-.*'
+ app: 'AppDial'
+ appdata: '\(Outgoing Line\)'
+ -
+ eventtype: 'ANSWER'
+ cidname: 'Alice'
+ cidnum: '1234'
+ dnid: 'test_call'
+ exten: 'test_call'
+ context: 'default'
+ channel: '.*/alice-.*'
+ app: 'Dial'
+ -
+ eventtype: 'BRIDGE_START'
+ cidname: 'Alice'
+ cidnum: '1234'
+ dnid: 'test_call'
+ exten: 'test_call'
+ context: 'default'
+ channel: '.*/alice-.*'
+ app: 'Dial'
+ bridgepeer: '.*/bob-.*'
+ -
+ eventtype: 'BRIDGE_END'
+ cidname: 'Alice'
+ cidnum: '1234'
+ dnid: 'test_call'
+ exten: 'test_call'
+ context: 'default'
+ channel: '.*/alice-.*'
+ app: 'Dial'
+ bridgepeer: '.*/bob-.*'
+ -
+ eventtype: 'HANGUP'
+ cidname: 'Bob'
+ cidnum: '4321'
+ channel: '.*/bob-.*'
+ app: 'AppDial'
+ appdata: '\(Outgoing Line\)'
+ eventextra: '16,.*/bob-.*'
+ -
+ eventtype: 'CHAN_END'
+ cidname: 'Bob'
+ cidnum: '4321'
+ channel: '.*/bob-.*'
+ app: 'AppDial'
+ appdata: '\(Outgoing Line\)'
+ -
+ eventtype: 'APP_END'
+ cidname: 'Alice'
+ cidnum: '1234'
+ dnid: 'test_call'
+ exten: 'test_call'
+ context: 'default'
+ channel: '.*/alice-.*'
+ app: 'Dial'
+ -
+ eventtype: 'HANGUP'
+ cidname: 'Alice'
+ cidnum: '1234'
+ dnid: 'test_call'
+ exten: 'test_call'
+ context: 'default'
+ channel: '.*/alice-.*'
+ eventextra: '16,.*/bob-.*,ANSWER'
+ -
+ eventtype: 'CHAN_END'
+ cidname: 'Alice'
+ cidnum: '1234'
+ dnid: 'test_call'
+ exten: 'test_call'
+ context: 'default'
+ channel: '.*/alice-.*'
+ -
+ eventtype: 'LINKEDID_END'
+ cidname: 'Alice'
+ cidnum: '1234'
+ dnid: 'test_call'
+ exten: 'test_call'
+ context: 'default'
+ channel: '.*/alice-.*'
properties:
minversion: '11.0.0'
More information about the asterisk-commits
mailing list