[asterisk-commits] jrose: testsuite/asterisk/trunk r3582 - in /asterisk/trunk/tests/bridge: auto...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Dec 20 14:59:05 CST 2012
Author: jrose
Date: Thu Dec 20 14:58:59 2012
New Revision: 3582
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3582
Log:
testsuite: Add tests to automon and automixmon bridge feature test configs
Updates the bridge tests to cover the following:
automonitor tests:
* Monitor feature set via Dial on caller - start and stop. Make sure feature
is not detected for callee.
* Monitor feature set via Dial on callee - start and stop. Make sure feature
is not detected for caller.
* Monitor feature set via BRIDGE_FEATURES on caller - start and stop. Make sure
feature is not detected for callee.
* Monitor feature set via BRIDGE_FEATURES on callee - start and stop. Make sure
feature is not detected for caller.
automixmonitor tests:
* MixMonitor feature set via Dial on caller - start and stop. Make sure feature
is not detected for callee.
* MixMonitor feature set via Dial on callee - start and stop. Make sure feature
is not detected for caller.
* MixMonitor feature set via BRIDGE_FEATURES on caller - start and stop. Make
sure feature is not detected for callee.
* MixMonitor feature set via BRIDGE_FEATURES on callee - start and stop. Make
sure feature is not detected for caller.
Review: https://reviewboard.asterisk.org/r/2250/
Modified:
asterisk/trunk/tests/bridge/automixmon/configs/ast1/extensions.conf
asterisk/trunk/tests/bridge/automixmon/test-config.yaml
asterisk/trunk/tests/bridge/automon/configs/ast1/extensions.conf
asterisk/trunk/tests/bridge/automon/test-config.yaml
Modified: asterisk/trunk/tests/bridge/automixmon/configs/ast1/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/bridge/automixmon/configs/ast1/extensions.conf?view=diff&rev=3582&r1=3581&r2=3582
==============================================================================
--- asterisk/trunk/tests/bridge/automixmon/configs/ast1/extensions.conf (original)
+++ asterisk/trunk/tests/bridge/automixmon/configs/ast1/extensions.conf Thu Dec 20 14:58:59 2012
@@ -5,3 +5,11 @@
exten => bob_automixmon,1,Dial(SIP/test_call at bob,,xH)
same => n,Hangup()
+
+exten => alice_automixmon2,1,Set(BRIDGE_FEATURES=X)
+same => n,Dial(SIP/test_call at bob,,h)
+same => n,Hangup()
+
+exten => bob_automixmon2,1,Set(BRIDGE_FEATURES=x)
+same => n,Dial(SIP/test_call at bob,,H)
+same => n,Hangup()
Modified: asterisk/trunk/tests/bridge/automixmon/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/bridge/automixmon/test-config.yaml?view=diff&rev=3582&r1=3581&r2=3582
==============================================================================
--- asterisk/trunk/tests/bridge/automixmon/test-config.yaml (original)
+++ asterisk/trunk/tests/bridge/automixmon/test-config.yaml Thu Dec 20 14:58:59 2012
@@ -22,7 +22,16 @@
originate_channel: 'SIP/alice_automixmon at uut'
hangup: 'alice'
features:
- -
+ - # mixmonitor start
+ who: 'bob'
+ what: 'automixmon'
+ success: 'false'
+ -
+ who: 'alice'
+ what: 'automixmon'
+ success: 'true'
+
+ - # mixmonitor stop
who: 'bob'
what: 'automixmon'
success: 'false'
@@ -34,15 +43,65 @@
originate_channel: 'SIP/bob_automixmon at uut'
hangup: 'alice'
features:
- -
- who: 'alice'
- what: 'automixmon'
- success: 'false'
- -
- who: 'bob'
- what: 'automixmon'
- success: 'true'
-
+ - # mixmonitor start
+ who: 'alice'
+ what: 'automixmon'
+ success: 'false'
+ -
+ who: 'bob'
+ what: 'automixmon'
+ success: 'true'
+
+ - # mixmonitor stop
+ who: 'alice'
+ what: 'automixmon'
+ success: 'false'
+ -
+ who: 'bob'
+ what: 'automixmon'
+ success: 'true'
+ -
+ originate_channel: 'SIP/alice_automixmon2 at uut'
+ hangup: 'alice'
+ features:
+ - # mixmonitor start
+ who: 'bob'
+ what: 'automixmon'
+ success: 'false'
+ -
+ who: 'alice'
+ what: 'automixmon'
+ success: 'true'
+
+ - # mixmonitor stop
+ who: 'bob'
+ what: 'automixmon'
+ success: 'false'
+ -
+ who: 'alice'
+ what: 'automixmon'
+ success: 'true'
+ -
+ originate_channel: 'SIP/bob_automixmon2 at uut'
+ hangup: 'alice'
+ features:
+ - # mixmonitor start
+ who: 'alice'
+ what: 'automixmon'
+ success: 'false'
+ -
+ who: 'bob'
+ what: 'automixmon'
+ success: 'true'
+
+ - # mixmonitor stop
+ who: 'alice'
+ what: 'automixmon'
+ success: 'false'
+ -
+ who: 'bob'
+ what: 'automixmon'
+ success: 'true'
cdr-config:
-
file: 'Master'
@@ -67,11 +126,32 @@
lastapp: 'Dial'
disposition: 'ANSWERED'
amaflags: 'DOCUMENTATION'
+ -
+ source: '1234'
+ destination: 'alice_automixmon2'
+ dcontext: 'default'
+ callerid: '"Alice" <1234>'
+ channel: '.*/alice-.*'
+ dchannel: '.*/bob-.*'
+ lastapp: 'Dial'
+ disposition: 'ANSWERED'
+ amaflags: 'DOCUMENTATION'
+ -
+ source: '1234'
+ destination: 'bob_automixmon2'
+ dcontext: 'default'
+ callerid: '"Alice" <1234>'
+ channel: '.*/alice-.*'
+ dchannel: '.*/bob-.*'
+ lastapp: 'Dial'
+ disposition: 'ANSWERED'
+ amaflags: 'DOCUMENTATION'
cel-config:
-
file: 'Master'
lines:
+ # Test 1: alice_automixmon
-
eventtype: 'CHAN_START'
cidname: 'Alice'
@@ -178,6 +258,8 @@
exten: 'alice_automixmon'
context: 'default'
channel: '.*/alice-.*'
+
+ # Test 2: bob_automixmon
-
eventtype: 'CHAN_START'
cidname: 'Alice'
@@ -284,6 +366,224 @@
exten: 'bob_automixmon'
context: 'default'
channel: '.*/alice-.*'
+
+ # Test 3: alice_automixmon2
+ -
+ eventtype: 'CHAN_START'
+ cidname: 'Alice'
+ cidnum: '1234'
+ exten: 'alice_automixmon2'
+ context: 'default'
+ channel: '.*/alice-.*'
+ -
+ eventtype: 'APP_START'
+ cidname: 'Alice'
+ cidnum: '1234'
+ dnid: 'alice_automixmon2'
+ exten: 'alice_automixmon2'
+ 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: 'alice_automixmon2'
+ exten: 'alice_automixmon2'
+ context: 'default'
+ channel: '.*/alice-.*'
+ app: 'Dial'
+ -
+ eventtype: 'BRIDGE_START'
+ cidname: 'Alice'
+ cidnum: '1234'
+ dnid: 'alice_automixmon2'
+ exten: 'alice_automixmon2'
+ context: 'default'
+ channel: '.*/alice-.*'
+ app: 'Dial'
+ bridgepeer: '.*/bob-.*'
+ -
+ eventtype: 'BRIDGE_END'
+ cidname: 'Alice'
+ cidnum: '1234'
+ dnid: 'alice_automixmon2'
+ exten: 'alice_automixmon2'
+ 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: 'alice_automixmon2'
+ exten: 'alice_automixmon2'
+ context: 'default'
+ channel: '.*/alice-.*'
+ app: 'Dial'
+ -
+ eventtype: 'HANGUP'
+ cidname: 'Alice'
+ cidnum: '1234'
+ dnid: 'alice_automixmon2'
+ exten: 'alice_automixmon2'
+ context: 'default'
+ channel: '.*/alice-.*'
+ eventextra: '16,.*/alice-.*,ANSWER'
+ -
+ eventtype: 'CHAN_END'
+ cidname: 'Alice'
+ cidnum: '1234'
+ dnid: 'alice_automixmon2'
+ exten: 'alice_automixmon2'
+ context: 'default'
+ channel: '.*/alice-.*'
+ -
+ eventtype: 'LINKEDID_END'
+ cidname: 'Alice'
+ cidnum: '1234'
+ dnid: 'alice_automixmon2'
+ exten: 'alice_automixmon2'
+ context: 'default'
+ channel: '.*/alice-.*'
+
+ # Test 4: bob_automixmon2
+ -
+ eventtype: 'CHAN_START'
+ cidname: 'Alice'
+ cidnum: '1234'
+ exten: 'bob_automixmon2'
+ context: 'default'
+ channel: '.*/alice-.*'
+ -
+ eventtype: 'APP_START'
+ cidname: 'Alice'
+ cidnum: '1234'
+ dnid: 'bob_automixmon2'
+ exten: 'bob_automixmon2'
+ 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: 'bob_automixmon2'
+ exten: 'bob_automixmon2'
+ context: 'default'
+ channel: '.*/alice-.*'
+ app: 'Dial'
+ -
+ eventtype: 'BRIDGE_START'
+ cidname: 'Alice'
+ cidnum: '1234'
+ dnid: 'bob_automixmon2'
+ exten: 'bob_automixmon2'
+ context: 'default'
+ channel: '.*/alice-.*'
+ app: 'Dial'
+ bridgepeer: '.*/bob-.*'
+ -
+ eventtype: 'BRIDGE_END'
+ cidname: 'Alice'
+ cidnum: '1234'
+ dnid: 'bob_automixmon2'
+ exten: 'bob_automixmon2'
+ 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: 'bob_automixmon2'
+ exten: 'bob_automixmon2'
+ context: 'default'
+ channel: '.*/alice-.*'
+ app: 'Dial'
+ -
+ eventtype: 'HANGUP'
+ cidname: 'Alice'
+ cidnum: '1234'
+ dnid: 'bob_automixmon2'
+ exten: 'bob_automixmon2'
+ context: 'default'
+ channel: '.*/alice-.*'
+ eventextra: '16,.*/alice-.*,ANSWER'
+ -
+ eventtype: 'CHAN_END'
+ cidname: 'Alice'
+ cidnum: '1234'
+ dnid: 'bob_automixmon2'
+ exten: 'bob_automixmon2'
+ context: 'default'
+ channel: '.*/alice-.*'
+ -
+ eventtype: 'LINKEDID_END'
+ cidname: 'Alice'
+ cidnum: '1234'
+ dnid: 'bob_automixmon2'
+ exten: 'bob_automixmon2'
+ context: 'default'
+ channel: '.*/alice-.*'
+
+
properties:
minversion: '12.0.0'
Modified: asterisk/trunk/tests/bridge/automon/configs/ast1/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/bridge/automon/configs/ast1/extensions.conf?view=diff&rev=3582&r1=3581&r2=3582
==============================================================================
--- asterisk/trunk/tests/bridge/automon/configs/ast1/extensions.conf (original)
+++ asterisk/trunk/tests/bridge/automon/configs/ast1/extensions.conf Thu Dec 20 14:58:59 2012
@@ -1,11 +1,15 @@
[default]
exten => alice_automon,1,Dial(SIP/test_call at bob,,Wh)
-same => n,Hangup()
+same => n,Hangup
+
+exten => bob_automon,1,Dial(SIP/test_call at bob,,wH)
+same => n,Hangup
exten => alice_automon2,1,Set(BRIDGE_FEATURES=W)
same => n,Dial(SIP/test_call at bob,,h)
-same => n,Hangup()
+same => n,Hangup
-exten => bob_automon,1,Dial(SIP/test_call at bob,,wH)
-same => n,Hangup()
+exten => bob_automon2,1,Set(BRIDGE_FEATURES=w)
+same => n,Dial(SIP/test_call at bob,,H)
+same => n,Hangup
Modified: asterisk/trunk/tests/bridge/automon/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/bridge/automon/test-config.yaml?view=diff&rev=3582&r1=3581&r2=3582
==============================================================================
--- asterisk/trunk/tests/bridge/automon/test-config.yaml (original)
+++ asterisk/trunk/tests/bridge/automon/test-config.yaml Thu Dec 20 14:58:59 2012
@@ -22,31 +22,82 @@
originate_channel: 'SIP/alice_automon at uut'
hangup: 'alice'
features:
- -
- who: 'bob'
- what: 'automon'
- success: 'false'
- -
- who: 'alice'
- what: 'automon'
- success: 'true'
+ - # monitor start
+ who: 'bob'
+ what: 'automon'
+ success: 'false'
+ -
+ who: 'alice'
+ what: 'automon'
+ success: 'true'
+
+ - # monitor stop
+ who: 'bob'
+ what: 'automon'
+ success: 'false'
+ -
+ who: 'alice'
+ what: 'automon'
+ success: 'true'
+
+ -
+ originate_channel: 'SIP/bob_automon at uut'
+ hangup: 'alice'
+ features:
+ - # monitor start
+ who: 'alice'
+ what: 'automon'
+ success: 'false'
+ -
+ who: 'bob'
+ what: 'automon'
+ success: 'true'
+
+ - # monitor stop
+ who: 'alice'
+ what: 'automon'
+ success: 'false'
+ -
+ who: 'bob'
+ what: 'automon'
+ success: 'true'
+
-
originate_channel: 'SIP/alice_automon2 at uut'
hangup: 'alice'
features:
- -
- who: 'bob'
- what: 'automon'
- success: 'false'
- -
- who: 'alice'
- what: 'automon'
- success: 'true'
+ - #monitor start
+ who: 'bob'
+ what: 'automon'
+ success: 'false'
+ -
+ who: 'alice'
+ what: 'automon'
+ success: 'true'
+
+ - #monitor stop
+ who: 'bob'
+ what: 'automon'
+ success: 'false'
+ -
+ who: 'alice'
+ what: 'automon'
+ success: 'true'
+
-
- originate_channel: 'SIP/bob_automon at uut'
+ originate_channel: 'SIP/bob_automon2 at uut'
hangup: 'alice'
features:
- -
+ - #monitor start
+ who: 'alice'
+ what: 'automon'
+ success: 'false'
+ -
+ who: 'bob'
+ what: 'automon'
+ success: 'true'
+
+ - #monitor stop
who: 'alice'
what: 'automon'
success: 'false'
@@ -89,11 +140,22 @@
lastapp: 'Dial'
disposition: 'ANSWERED'
amaflags: 'DOCUMENTATION'
+ -
+ source: '1234'
+ destination: 'bob_automon2'
+ dcontext: 'default'
+ callerid: '"Alice" <1234>'
+ channel: '.*/alice-.*'
+ dchannel: '.*/bob-.*'
+ lastapp: 'Dial'
+ disposition: 'ANSWERED'
+ amaflags: 'DOCUMENTATION'
cel-config:
-
file: 'Master'
lines:
+ # Test 1: alice_automon
-
eventtype: 'CHAN_START'
cidname: 'Alice'
@@ -200,40 +262,42 @@
exten: 'alice_automon'
context: 'default'
channel: '.*/alice-.*'
- -
- eventtype: 'CHAN_START'
- cidname: 'Alice'
- cidnum: '1234'
- exten: 'alice_automon2'
+
+ # Test 2: bob_automon
+ -
+ eventtype: 'CHAN_START'
+ cidname: 'Alice'
+ cidnum: '1234'
+ exten: 'bob_automon'
context: 'default'
channel: '.*/alice-.*'
-
eventtype: 'APP_START'
cidname: 'Alice'
cidnum: '1234'
- dnid: 'alice_automon2'
- exten: 'alice_automon2'
- 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: 'alice_automon2'
- exten: 'alice_automon2'
+ dnid: 'bob_automon'
+ exten: 'bob_automon'
+ 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: 'bob_automon'
+ exten: 'bob_automon'
context: 'default'
channel: '.*/alice-.*'
app: 'Dial'
@@ -241,8 +305,8 @@
eventtype: 'BRIDGE_START'
cidname: 'Alice'
cidnum: '1234'
- dnid: 'alice_automon2'
- exten: 'alice_automon2'
+ dnid: 'bob_automon'
+ exten: 'bob_automon'
context: 'default'
channel: '.*/alice-.*'
app: 'Dial'
@@ -251,8 +315,8 @@
eventtype: 'BRIDGE_END'
cidname: 'Alice'
cidnum: '1234'
- dnid: 'alice_automon2'
- exten: 'alice_automon2'
+ dnid: 'bob_automon'
+ exten: 'bob_automon'
context: 'default'
channel: '.*/alice-.*'
app: 'Dial'
@@ -276,17 +340,17 @@
eventtype: 'APP_END'
cidname: 'Alice'
cidnum: '1234'
- dnid: 'alice_automon2'
- exten: 'alice_automon2'
- context: 'default'
- channel: '.*/alice-.*'
- app: 'Dial'
- -
- eventtype: 'HANGUP'
- cidname: 'Alice'
- cidnum: '1234'
- dnid: 'alice_automon2'
- exten: 'alice_automon2'
+ dnid: 'bob_automon'
+ exten: 'bob_automon'
+ context: 'default'
+ channel: '.*/alice-.*'
+ app: 'Dial'
+ -
+ eventtype: 'HANGUP'
+ cidname: 'Alice'
+ cidnum: '1234'
+ dnid: 'bob_automon'
+ exten: 'bob_automon'
context: 'default'
channel: '.*/alice-.*'
eventextra: '16,.*/alice-.*,ANSWER'
@@ -294,52 +358,54 @@
eventtype: 'CHAN_END'
cidname: 'Alice'
cidnum: '1234'
- dnid: 'alice_automon2'
- exten: 'alice_automon2'
+ dnid: 'bob_automon'
+ exten: 'bob_automon'
context: 'default'
channel: '.*/alice-.*'
-
eventtype: 'LINKEDID_END'
cidname: 'Alice'
cidnum: '1234'
- dnid: 'alice_automon2'
- exten: 'alice_automon2'
- context: 'default'
- channel: '.*/alice-.*'
- -
- eventtype: 'CHAN_START'
- cidname: 'Alice'
- cidnum: '1234'
- exten: 'bob_automon'
+ dnid: 'bob_automon'
+ exten: 'bob_automon'
+ context: 'default'
+ channel: '.*/alice-.*'
+
+ # Test 3: alice_automon2
+ -
+ eventtype: 'CHAN_START'
+ cidname: 'Alice'
+ cidnum: '1234'
+ exten: 'alice_automon2'
context: 'default'
channel: '.*/alice-.*'
-
eventtype: 'APP_START'
cidname: 'Alice'
cidnum: '1234'
- dnid: 'bob_automon'
- exten: 'bob_automon'
- 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: 'bob_automon'
- exten: 'bob_automon'
+ dnid: 'alice_automon2'
+ exten: 'alice_automon2'
+ 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: 'alice_automon2'
+ exten: 'alice_automon2'
context: 'default'
channel: '.*/alice-.*'
app: 'Dial'
@@ -347,8 +413,8 @@
eventtype: 'BRIDGE_START'
cidname: 'Alice'
cidnum: '1234'
- dnid: 'bob_automon'
- exten: 'bob_automon'
+ dnid: 'alice_automon2'
+ exten: 'alice_automon2'
context: 'default'
channel: '.*/alice-.*'
app: 'Dial'
@@ -357,8 +423,8 @@
eventtype: 'BRIDGE_END'
cidname: 'Alice'
cidnum: '1234'
- dnid: 'bob_automon'
- exten: 'bob_automon'
+ dnid: 'alice_automon2'
+ exten: 'alice_automon2'
context: 'default'
channel: '.*/alice-.*'
app: 'Dial'
@@ -382,17 +448,17 @@
eventtype: 'APP_END'
cidname: 'Alice'
cidnum: '1234'
- dnid: 'bob_automon'
- exten: 'bob_automon'
- context: 'default'
- channel: '.*/alice-.*'
- app: 'Dial'
- -
- eventtype: 'HANGUP'
- cidname: 'Alice'
- cidnum: '1234'
- dnid: 'bob_automon'
- exten: 'bob_automon'
+ dnid: 'alice_automon2'
+ exten: 'alice_automon2'
+ context: 'default'
+ channel: '.*/alice-.*'
+ app: 'Dial'
+ -
+ eventtype: 'HANGUP'
+ cidname: 'Alice'
+ cidnum: '1234'
+ dnid: 'alice_automon2'
+ exten: 'alice_automon2'
context: 'default'
channel: '.*/alice-.*'
eventextra: '16,.*/alice-.*,ANSWER'
@@ -400,16 +466,124 @@
eventtype: 'CHAN_END'
cidname: 'Alice'
cidnum: '1234'
- dnid: 'bob_automon'
- exten: 'bob_automon'
+ dnid: 'alice_automon2'
+ exten: 'alice_automon2'
context: 'default'
channel: '.*/alice-.*'
-
eventtype: 'LINKEDID_END'
cidname: 'Alice'
cidnum: '1234'
- dnid: 'bob_automon'
- exten: 'bob_automon'
+ dnid: 'alice_automon2'
+ exten: 'alice_automon2'
+ context: 'default'
+ channel: '.*/alice-.*'
+
+ # Test 4: bob_automon2
+ -
+ eventtype: 'CHAN_START'
+ cidname: 'Alice'
+ cidnum: '1234'
+ exten: 'bob_automon2'
+ context: 'default'
+ channel: '.*/alice-.*'
+ -
+ eventtype: 'APP_START'
+ cidname: 'Alice'
+ cidnum: '1234'
+ dnid: 'bob_automon2'
+ exten: 'bob_automon2'
+ 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: 'bob_automon2'
+ exten: 'bob_automon2'
+ context: 'default'
+ channel: '.*/alice-.*'
+ app: 'Dial'
+ -
+ eventtype: 'BRIDGE_START'
+ cidname: 'Alice'
+ cidnum: '1234'
+ dnid: 'bob_automon2'
+ exten: 'bob_automon2'
+ context: 'default'
+ channel: '.*/alice-.*'
+ app: 'Dial'
+ bridgepeer: '.*/bob-.*'
+ -
+ eventtype: 'BRIDGE_END'
+ cidname: 'Alice'
+ cidnum: '1234'
+ dnid: 'bob_automon2'
+ exten: 'bob_automon2'
+ 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: 'bob_automon2'
+ exten: 'bob_automon2'
+ context: 'default'
+ channel: '.*/alice-.*'
+ app: 'Dial'
+ -
+ eventtype: 'HANGUP'
+ cidname: 'Alice'
+ cidnum: '1234'
+ dnid: 'bob_automon2'
+ exten: 'bob_automon2'
+ context: 'default'
+ channel: '.*/alice-.*'
+ eventextra: '16,.*/alice-.*,ANSWER'
+ -
+ eventtype: 'CHAN_END'
+ cidname: 'Alice'
+ cidnum: '1234'
+ dnid: 'bob_automon2'
+ exten: 'bob_automon2'
+ context: 'default'
+ channel: '.*/alice-.*'
+ -
+ eventtype: 'LINKEDID_END'
+ cidname: 'Alice'
+ cidnum: '1234'
+ dnid: 'bob_automon2'
+ exten: 'bob_automon2'
context: 'default'
channel: '.*/alice-.*'
More information about the asterisk-commits
mailing list