[Asterisk-code-review] res_pjsip_aoc: Tests for AOC-D and AOC-E (testsuite[master])
Michael Kuron
asteriskteam at digium.com
Tue Nov 1 06:41:32 CDT 2022
Michael Kuron has uploaded this change for review. ( https://gerrit.asterisk.org/c/testsuite/+/19464 )
Change subject: res_pjsip_aoc: Tests for AOC-D and AOC-E
......................................................................
res_pjsip_aoc: Tests for AOC-D and AOC-E
ASTERISK-21502
Change-Id: I061a250b477593c4f07441a3d811e9981feb17b2
---
M configs/manager.conf
A tests/channels/pjsip/aoc/aoc_d_to_callee_in_info/configs/ast1/extensions.conf
A tests/channels/pjsip/aoc/aoc_d_to_callee_in_info/configs/ast1/pjsip.conf
A tests/channels/pjsip/aoc/aoc_d_to_callee_in_info/sipp/callee.xml
A tests/channels/pjsip/aoc/aoc_d_to_callee_in_info/test-config.yaml
A tests/channels/pjsip/aoc/aoc_d_to_caller_in_info/configs/ast1/extensions.conf
A tests/channels/pjsip/aoc/aoc_d_to_caller_in_info/configs/ast1/pjsip.conf
A tests/channels/pjsip/aoc/aoc_d_to_caller_in_info/sipp/caller.xml
A tests/channels/pjsip/aoc/aoc_d_to_caller_in_info/test-config.yaml
A tests/channels/pjsip/aoc/aoc_e_to_callee_in_200/configs/ast1/extensions.conf
A tests/channels/pjsip/aoc/aoc_e_to_callee_in_200/configs/ast1/pjsip.conf
A tests/channels/pjsip/aoc/aoc_e_to_callee_in_200/sipp/callee.xml
A tests/channels/pjsip/aoc/aoc_e_to_callee_in_200/test-config.yaml
A tests/channels/pjsip/aoc/aoc_e_to_callee_in_bye/configs/ast1/extensions.conf
A tests/channels/pjsip/aoc/aoc_e_to_callee_in_bye/configs/ast1/pjsip.conf
A tests/channels/pjsip/aoc/aoc_e_to_callee_in_bye/sipp/callee.xml
A tests/channels/pjsip/aoc/aoc_e_to_callee_in_bye/test-config.yaml
A tests/channels/pjsip/aoc/aoc_e_to_caller_in_200/configs/ast1/extensions.conf
A tests/channels/pjsip/aoc/aoc_e_to_caller_in_200/configs/ast1/pjsip.conf
A tests/channels/pjsip/aoc/aoc_e_to_caller_in_200/sipp/caller.xml
A tests/channels/pjsip/aoc/aoc_e_to_caller_in_200/test-config.yaml
A tests/channels/pjsip/aoc/aoc_e_to_caller_in_bye/configs/ast1/extensions.conf
A tests/channels/pjsip/aoc/aoc_e_to_caller_in_bye/configs/ast1/pjsip.conf
A tests/channels/pjsip/aoc/aoc_e_to_caller_in_bye/sipp/caller.xml
A tests/channels/pjsip/aoc/aoc_e_to_caller_in_bye/test-config.yaml
A tests/channels/pjsip/aoc/tests.yaml
M tests/channels/pjsip/tests.yaml
27 files changed, 1,121 insertions(+), 1 deletion(-)
git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/64/19464/1
diff --git a/configs/manager.conf b/configs/manager.conf
index 993c8da..09cf8de 100644
--- a/configs/manager.conf
+++ b/configs/manager.conf
@@ -9,6 +9,6 @@
[user]
secret = mysecret
read = system,call,log,verbose,agent,user,config,dtmf,reporting,cdr,dialplan,test,agi
-write = system,call,agent,user,config,command,reporting,originate,agi,message
+write = system,call,agent,user,config,command,reporting,originate,agi,message,aoc
#include "manager.users.conf.inc"
diff --git a/tests/channels/pjsip/aoc/aoc_d_to_callee_in_info/configs/ast1/extensions.conf b/tests/channels/pjsip/aoc/aoc_d_to_callee_in_info/configs/ast1/extensions.conf
new file mode 100644
index 0000000..af317af
--- /dev/null
+++ b/tests/channels/pjsip/aoc/aoc_d_to_callee_in_info/configs/ast1/extensions.conf
@@ -0,0 +1,3 @@
+[default]
+exten => echo,1,Answer()
+same => n,Echo()
diff --git a/tests/channels/pjsip/aoc/aoc_d_to_callee_in_info/configs/ast1/pjsip.conf b/tests/channels/pjsip/aoc/aoc_d_to_callee_in_info/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..e7065cc
--- /dev/null
+++ b/tests/channels/pjsip/aoc/aoc_d_to_callee_in_info/configs/ast1/pjsip.conf
@@ -0,0 +1,25 @@
+[system]
+type=system
+timer_t1=100
+timer_b=6400
+
+[local-transport-udp]
+type=transport
+bind=127.0.0.1
+protocol=udp
+
+[callee]
+type=endpoint
+aors=callee
+context=default
+allow=!all,ulaw
+rewrite_contact=yes
+direct_media=no
+send_aoc=yes
+
+[callee]
+type=aor
+max_contacts=1
+minimum_expiration=5
+default_expiration=30
+contact=sip:callee at 127.0.0.1:5062
diff --git a/tests/channels/pjsip/aoc/aoc_d_to_callee_in_info/sipp/callee.xml b/tests/channels/pjsip/aoc/aoc_d_to_callee_in_info/sipp/callee.xml
new file mode 100644
index 0000000..13d8eaa
--- /dev/null
+++ b/tests/channels/pjsip/aoc/aoc_d_to_callee_in_info/sipp/callee.xml
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE scenario SYSTEM "sipp.dtd">
+
+<scenario name="Receive AOC-D on inbound call">
+ <Global variables="remote_tag" />
+ <recv request="INVITE" crlf="true">
+ <!-- Save the from tag. We'll need it when we send our BYE -->
+ <action>
+ <ereg regexp=".*(;tag=.*)"
+ header="From:"
+ search_in="hdr"
+ check_it="true"
+ assign_to="remote_tag"/>
+ </action>
+ </recv>
+
+ <send>
+ <![CDATA[
+ SIP/2.0 180 Ringing
+ [last_Via:]
+ [last_From:]
+ [last_To:];tag=[pid]SIPpTag01[call_number]
+ [last_Call-ID:]
+ [last_CSeq:]
+ Contact: <sip:[local_ip]:[local_port];transport=[transport]>
+ Content-Length: 0
+ ]]>
+ </send>
+
+ <send retrans="500">
+ <![CDATA[
+ SIP/2.0 200 OK
+ [last_Via:]
+ [last_From:]
+ [last_To:];tag=[pid]SIPpTag01[call_number]
+ [last_Call-ID:]
+ [last_CSeq:]
+ Contact: <sip:[local_ip]:[local_port];transport=[transport]>
+ Content-Type: application/sdp
+ Content-Length: [len]
+
+ v=0
+ o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
+ s=-
+ c=IN IP[media_ip_type] [media_ip]
+ t=0 0
+ m=audio [media_port] RTP/AVP 0
+ a=rtpmap:0 PCMU/8000
+ ]]>
+ </send>
+
+ <recv request="ACK" />
+
+ <recv request="INFO">
+ <action>
+ <ereg regexp="application/vnd.etsi\.aoc\+xml" header="Content-Type:" search_in="hdr" check_it="true" assign_to="_"/>
+ <ereg regexp="<\?xml version="1\.0" encoding="UTF-8"\?>
+<aoc xmlns="http://uri\.etsi\.org/ngn/params/xml/simservs/aoc">
+ <aoc-d>
+ <charging-info>subtotal</charging-info>
+ <recorded-charges>
+ <recorded-currency-units>
+ <currency-id>EUR</currency-id>
+ <currency-amount>0\.042</currency-amount>
+ </recorded-currency-units>
+ </recorded-charges>
+ </aoc-d>
+</aoc>" check_it="true" search_in="body" assign_to="_" />
+ </action>
+ </recv>
+
+ <send>
+ <![CDATA[
+ SIP/2.0 200 OK
+ [last_Via:]
+ [last_From:]
+ [last_To:]
+ Call-ID: [call_id]
+ CSeq: [cseq] INFO
+ Contact: <sip:user1@[local_ip]:[local_port];transport=[transport]>
+ Content-Length: 0
+ ]]>
+ </send>
+
+ <send retrans="500">
+ <![CDATA[
+ BYE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
+ Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+ From: callee <sip:callee@[local_ip]:[local_port]>;tag=[pid]SIPpTag01[call_number]
+ To:[$remote_tag]
+ [last_Call-ID:]
+ CSeq: [cseq] BYE
+ Contact: <sip:[local_ip]:[local_port];transport=[transport]>
+ Content-Length: 0
+ ]]>
+ </send>
+
+ <recv response="200" />
+
+</scenario>
\ No newline at end of file
diff --git a/tests/channels/pjsip/aoc/aoc_d_to_callee_in_info/test-config.yaml b/tests/channels/pjsip/aoc/aoc_d_to_callee_in_info/test-config.yaml
new file mode 100644
index 0000000..ccab6b4
--- /dev/null
+++ b/tests/channels/pjsip/aoc/aoc_d_to_callee_in_info/test-config.yaml
@@ -0,0 +1,68 @@
+info:
+ summary: 'Test AOC-D to callee'
+ description: |
+ This uses an AOCMessage AMI to generate an AOC-D
+ event, generating a SIP INFO message sent to the
+ callee.
+
+test-modules:
+ test-object:
+ config-section: test-object-config
+ typename: sipp.SIPpTestCase
+ modules:
+ -
+ config-section: ami-config
+ typename: 'pluggable_modules.EventActionModule'
+
+test-object-config:
+ memcheck-delay-stop: 7
+ fail-on-any: True
+ test-iterations:
+ -
+ scenarios:
+ - { 'key-args': { 'scenario': 'callee.xml', '-i': '127.0.0.1', '-p': '5062' } }
+
+ami-config:
+ -
+ ami-events:
+ conditions:
+ match:
+ Event: 'FullyBooted'
+ ami-actions:
+ action:
+ Action: 'Originate'
+ ActionID: '1'
+ Channel: 'PJSIP/callee'
+ Exten: 'echo'
+ Context: 'default'
+ Priority: '1'
+ CallerID: 'echo <echo>'
+ -
+ ami-events:
+ type: 'headermatch'
+ conditions:
+ match:
+ Event: 'Newexten'
+ Channel: 'PJSIP/callee-.*'
+ Application: 'Echo'
+ ami-actions:
+ action:
+ Action: 'AOCMessage'
+ Channel: '{channel}'
+ MsgType: 'D'
+ ChargeType: 'Currency'
+ CurrencyAmount: 42
+ CurrencyName: 'EUR'
+ CurrencyMultiplier: 'OneThousandth'
+ TotalType: 'SubTotal'
+
+properties:
+ dependencies:
+ - sipp :
+ version : 'v3.0'
+ - asterisk : 'chan_pjsip'
+ - asterisk : 'res_pjsip_aoc'
+ - asterisk : 'app_dial'
+ tags:
+ - PJSIP
+
diff --git a/tests/channels/pjsip/aoc/aoc_d_to_caller_in_info/configs/ast1/extensions.conf b/tests/channels/pjsip/aoc/aoc_d_to_caller_in_info/configs/ast1/extensions.conf
new file mode 100644
index 0000000..af317af
--- /dev/null
+++ b/tests/channels/pjsip/aoc/aoc_d_to_caller_in_info/configs/ast1/extensions.conf
@@ -0,0 +1,3 @@
+[default]
+exten => echo,1,Answer()
+same => n,Echo()
diff --git a/tests/channels/pjsip/aoc/aoc_d_to_caller_in_info/configs/ast1/pjsip.conf b/tests/channels/pjsip/aoc/aoc_d_to_caller_in_info/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..feb5ba0
--- /dev/null
+++ b/tests/channels/pjsip/aoc/aoc_d_to_caller_in_info/configs/ast1/pjsip.conf
@@ -0,0 +1,25 @@
+[system]
+type=system
+timer_t1=100
+timer_b=6400
+
+[local-transport-udp]
+type=transport
+bind=127.0.0.1
+protocol=udp
+
+[caller]
+type=endpoint
+aors=caller
+context=default
+allow=!all,ulaw
+rewrite_contact=yes
+direct_media=no
+send_aoc=yes
+
+[caller]
+type=aor
+max_contacts=1
+minimum_expiration=5
+default_expiration=30
+contact=sip:caller at 127.0.0.1:5062
diff --git a/tests/channels/pjsip/aoc/aoc_d_to_caller_in_info/sipp/caller.xml b/tests/channels/pjsip/aoc/aoc_d_to_caller_in_info/sipp/caller.xml
new file mode 100644
index 0000000..45c2724
--- /dev/null
+++ b/tests/channels/pjsip/aoc/aoc_d_to_caller_in_info/sipp/caller.xml
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE scenario SYSTEM "sipp.dtd">
+
+<scenario name="Receive AOC-D on outbound call">
+ <send retrans="500">
+ <![CDATA[
+ INVITE sip:echo@[remote_ip]:[remote_port] SIP/2.0
+ Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+ From: caller <sip:caller@[local_ip]:[local_port]>;tag=[call_number]
+ To: echo <sip:echo@[remote_ip]:[remote_port]>
+ Call-ID: [call_id]
+ CSeq: 1 INVITE
+ Contact: <sip:caller@[local_ip]:[local_port];transport=[transport]>
+ Max-Forwards: 70
+ Content-Type: application/sdp
+ Content-Length: [len]
+
+ v=0
+ o=phoneA 53655765 2353687637 IN IP[local_ip_type] [local_ip]
+ s=-
+ c=IN IP[media_ip_type] [media_ip]
+ t=0 0
+ m=audio 6000 RTP/AVP 0
+ a=rtpmap:0 PCMU/8000
+ ]]>
+ </send>
+
+ <recv response="100" optional="true">
+ </recv>
+
+ <recv response="180" optional="true">
+ </recv>
+
+ <recv response="200" rtd="true">
+ </recv>
+
+ <send>
+ <![CDATA[
+ ACK sip:echo@[remote_ip]:[remote_port] SIP/2.0
+ Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+ From: caller <sip:caller@[local_ip]:[local_port]>;tag=[call_number]
+ To: echo <sip:echo@[remote_ip]:[remote_port]>[peer_tag_param]
+ Call-ID: [call_id]
+ CSeq: 1 ACK
+ Contact: <sip:caller@[local_ip]:[local_port];transport=[transport]>
+ Max-Forwards: 70
+ Content-Length: 0
+ ]]>
+ </send>
+
+ <recv request="INFO">
+ <action>
+ <ereg regexp="application/vnd.etsi\.aoc\+xml" header="Content-Type:" search_in="hdr" check_it="true" assign_to="_"/>
+ <ereg regexp="<\?xml version="1\.0" encoding="UTF-8"\?>
+<aoc xmlns="http://uri\.etsi\.org/ngn/params/xml/simservs/aoc">
+ <aoc-d>
+ <charging-info>subtotal</charging-info>
+ <recorded-charges>
+ <recorded-currency-units>
+ <currency-id>EUR</currency-id>
+ <currency-amount>0\.042</currency-amount>
+ </recorded-currency-units>
+ </recorded-charges>
+ </aoc-d>
+</aoc>" check_it="true" search_in="body" assign_to="_" />
+ </action>
+ </recv>
+
+ <send>
+ <![CDATA[
+ SIP/2.0 200 OK
+ [last_Via:]
+ [last_From:]
+ [last_To:]
+ Call-ID: [call_id]
+ CSeq: [cseq] INFO
+ Contact: <sip:caller@[local_ip]:[local_port];transport=[transport]>
+ Content-Length: 0
+ ]]>
+ </send>
+
+ <send retrans="500">
+ <![CDATA[
+ BYE sip:echo@[remote_ip]:[remote_port] SIP/2.0
+ Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+ From: caller <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
+ To: echo <sip:echo@[remote_ip]:[remote_port]>[peer_tag_param]
+ Call-ID: [call_id]
+ CSeq: 2 BYE
+ Contact: <sip:caller@[local_ip]:[local_port];transport=[transport]>
+ Max-Forwards: 70
+ Subject: Test
+ Content-Length: 0
+ ]]>
+ </send>
+
+ <recv response="200" crlf="true">
+ </recv>
+
+</scenario>
diff --git a/tests/channels/pjsip/aoc/aoc_d_to_caller_in_info/test-config.yaml b/tests/channels/pjsip/aoc/aoc_d_to_caller_in_info/test-config.yaml
new file mode 100644
index 0000000..07bbfff
--- /dev/null
+++ b/tests/channels/pjsip/aoc/aoc_d_to_caller_in_info/test-config.yaml
@@ -0,0 +1,54 @@
+info:
+ summary: 'Test AOC-D to caller'
+ description: |
+ This uses an AOCMessage AMI to generate an AOC-D
+ event, generating a SIP INFO message sent to the
+ caller.
+
+test-modules:
+ test-object:
+ config-section: test-object-config
+ typename: sipp.SIPpTestCase
+ modules:
+ -
+ config-section: ami-config
+ typename: 'pluggable_modules.EventActionModule'
+
+test-object-config:
+ memcheck-delay-stop: 7
+ fail-on-any: True
+ test-iterations:
+ -
+ scenarios:
+ - { 'key-args': { 'scenario': 'caller.xml', '-i': '127.0.0.1', '-p': '5062' } }
+
+ami-config:
+ -
+ ami-events:
+ type: 'headermatch'
+ conditions:
+ match:
+ Event: 'Newexten'
+ Channel: 'PJSIP/caller-.*'
+ Application: 'Echo'
+ ami-actions:
+ action:
+ Action: 'AOCMessage'
+ Channel: '{channel}'
+ MsgType: 'D'
+ ChargeType: 'Currency'
+ CurrencyAmount: 42
+ CurrencyName: 'EUR'
+ CurrencyMultiplier: 'OneThousandth'
+ TotalType: 'SubTotal'
+
+properties:
+ dependencies:
+ - sipp :
+ version : 'v3.0'
+ - asterisk : 'chan_pjsip'
+ - asterisk : 'res_pjsip_aoc'
+ - asterisk : 'app_dial'
+ tags:
+ - PJSIP
+
diff --git a/tests/channels/pjsip/aoc/aoc_e_to_callee_in_200/configs/ast1/extensions.conf b/tests/channels/pjsip/aoc/aoc_e_to_callee_in_200/configs/ast1/extensions.conf
new file mode 100644
index 0000000..af317af
--- /dev/null
+++ b/tests/channels/pjsip/aoc/aoc_e_to_callee_in_200/configs/ast1/extensions.conf
@@ -0,0 +1,3 @@
+[default]
+exten => echo,1,Answer()
+same => n,Echo()
diff --git a/tests/channels/pjsip/aoc/aoc_e_to_callee_in_200/configs/ast1/pjsip.conf b/tests/channels/pjsip/aoc/aoc_e_to_callee_in_200/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..e7065cc
--- /dev/null
+++ b/tests/channels/pjsip/aoc/aoc_e_to_callee_in_200/configs/ast1/pjsip.conf
@@ -0,0 +1,25 @@
+[system]
+type=system
+timer_t1=100
+timer_b=6400
+
+[local-transport-udp]
+type=transport
+bind=127.0.0.1
+protocol=udp
+
+[callee]
+type=endpoint
+aors=callee
+context=default
+allow=!all,ulaw
+rewrite_contact=yes
+direct_media=no
+send_aoc=yes
+
+[callee]
+type=aor
+max_contacts=1
+minimum_expiration=5
+default_expiration=30
+contact=sip:callee at 127.0.0.1:5062
diff --git a/tests/channels/pjsip/aoc/aoc_e_to_callee_in_200/sipp/callee.xml b/tests/channels/pjsip/aoc/aoc_e_to_callee_in_200/sipp/callee.xml
new file mode 100644
index 0000000..4b211ee
--- /dev/null
+++ b/tests/channels/pjsip/aoc/aoc_e_to_callee_in_200/sipp/callee.xml
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE scenario SYSTEM "sipp.dtd">
+
+<scenario name="Receive AOC-E on inbound call hung up by us">
+ <Global variables="remote_tag" />
+ <recv request="INVITE" crlf="true">
+ <!-- Save the from tag. We'll need it when we send our BYE -->
+ <action>
+ <ereg regexp=".*(;tag=.*)"
+ header="From:"
+ search_in="hdr"
+ check_it="true"
+ assign_to="remote_tag"/>
+ </action>
+ </recv>
+
+ <send>
+ <![CDATA[
+ SIP/2.0 180 Ringing
+ [last_Via:]
+ [last_From:]
+ [last_To:];tag=[pid]SIPpTag01[call_number]
+ [last_Call-ID:]
+ [last_CSeq:]
+ Contact: <sip:[local_ip]:[local_port];transport=[transport]>
+ Content-Length: 0
+ ]]>
+ </send>
+
+ <send retrans="500">
+ <![CDATA[
+ SIP/2.0 200 OK
+ [last_Via:]
+ [last_From:]
+ [last_To:];tag=[pid]SIPpTag01[call_number]
+ [last_Call-ID:]
+ [last_CSeq:]
+ Contact: <sip:[local_ip]:[local_port];transport=[transport]>
+ Content-Type: application/sdp
+ Content-Length: [len]
+
+ v=0
+ o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
+ s=-
+ c=IN IP[media_ip_type] [media_ip]
+ t=0 0
+ m=audio [media_port] RTP/AVP 0
+ a=rtpmap:0 PCMU/8000
+ ]]>
+ </send>
+
+ <recv request="ACK" />
+
+ <pause milliseconds="2000"/>
+
+ <send retrans="500">
+ <![CDATA[
+ BYE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
+ Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+ From: callee <sip:callee@[local_ip]:[local_port]>;tag=[pid]SIPpTag01[call_number]
+ To:[$remote_tag]
+ [last_Call-ID:]
+ CSeq: [cseq] BYE
+ Contact: <sip:[local_ip]:[local_port];transport=[transport]>
+ Content-Length: 0
+ ]]>
+ </send>
+
+ <recv response="200" crlf="true">
+ <action>
+ <ereg regexp="application/vnd.etsi\.aoc\+xml" header="Content-Type:" search_in="hdr" check_it="true" assign_to="_"/>
+ <ereg regexp="<\?xml version="1\.0" encoding="UTF-8"\?>
+<aoc xmlns="http://uri\.etsi\.org/ngn/params/xml/simservs/aoc">
+ <aoc-e>
+ <charging-info>total</charging-info>
+ <recorded-charges>
+ <recorded-currency-units>
+ <currency-id>EUR</currency-id>
+ <currency-amount>0\.314</currency-amount>
+ </recorded-currency-units>
+ </recorded-charges>
+ </aoc-e>
+</aoc>" check_it="true" search_in="body" assign_to="_" />
+ </action>
+ </recv>
+
+</scenario>
\ No newline at end of file
diff --git a/tests/channels/pjsip/aoc/aoc_e_to_callee_in_200/test-config.yaml b/tests/channels/pjsip/aoc/aoc_e_to_callee_in_200/test-config.yaml
new file mode 100644
index 0000000..6b759e7
--- /dev/null
+++ b/tests/channels/pjsip/aoc/aoc_e_to_callee_in_200/test-config.yaml
@@ -0,0 +1,68 @@
+info:
+ summary: 'Test AOC-E to callee who hangs up'
+ description: |
+ This uses an AOCMessage AMI to generate an AOC-E
+ event, adding to the 200 message sent in reply to
+ the callee's BYE message.
+
+test-modules:
+ test-object:
+ config-section: test-object-config
+ typename: sipp.SIPpTestCase
+ modules:
+ -
+ config-section: ami-config
+ typename: 'pluggable_modules.EventActionModule'
+
+test-object-config:
+ memcheck-delay-stop: 7
+ fail-on-any: True
+ test-iterations:
+ -
+ scenarios:
+ - { 'key-args': { 'scenario': 'callee.xml', '-i': '127.0.0.1', '-p': '5062' } }
+
+ami-config:
+ -
+ ami-events:
+ conditions:
+ match:
+ Event: 'FullyBooted'
+ ami-actions:
+ action:
+ Action: 'Originate'
+ ActionID: '1'
+ Channel: 'PJSIP/callee'
+ Exten: 'echo'
+ Context: 'default'
+ Priority: '1'
+ CallerID: 'echo <echo>'
+ -
+ ami-events:
+ type: 'headermatch'
+ conditions:
+ match:
+ Event: 'Newexten'
+ Channel: 'PJSIP/callee-.*'
+ Application: 'Echo'
+ ami-actions:
+ action:
+ Action: 'AOCMessage'
+ Channel: '{channel}'
+ MsgType: 'E'
+ ChargeType: 'Currency'
+ CurrencyAmount: 314
+ CurrencyName: 'EUR'
+ CurrencyMultiplier: 'OneThousandth'
+ TotalType: 'Total'
+
+properties:
+ dependencies:
+ - sipp :
+ version : 'v3.0'
+ - asterisk : 'chan_pjsip'
+ - asterisk : 'res_pjsip_aoc'
+ - asterisk : 'app_dial'
+ tags:
+ - PJSIP
+
diff --git a/tests/channels/pjsip/aoc/aoc_e_to_callee_in_bye/configs/ast1/extensions.conf b/tests/channels/pjsip/aoc/aoc_e_to_callee_in_bye/configs/ast1/extensions.conf
new file mode 100644
index 0000000..f7b9b0e
--- /dev/null
+++ b/tests/channels/pjsip/aoc/aoc_e_to_callee_in_bye/configs/ast1/extensions.conf
@@ -0,0 +1,4 @@
+[default]
+exten => echo,1,Answer()
+same => n,Wait(2)
+same => n,Echo()
diff --git a/tests/channels/pjsip/aoc/aoc_e_to_callee_in_bye/configs/ast1/pjsip.conf b/tests/channels/pjsip/aoc/aoc_e_to_callee_in_bye/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..e7065cc
--- /dev/null
+++ b/tests/channels/pjsip/aoc/aoc_e_to_callee_in_bye/configs/ast1/pjsip.conf
@@ -0,0 +1,25 @@
+[system]
+type=system
+timer_t1=100
+timer_b=6400
+
+[local-transport-udp]
+type=transport
+bind=127.0.0.1
+protocol=udp
+
+[callee]
+type=endpoint
+aors=callee
+context=default
+allow=!all,ulaw
+rewrite_contact=yes
+direct_media=no
+send_aoc=yes
+
+[callee]
+type=aor
+max_contacts=1
+minimum_expiration=5
+default_expiration=30
+contact=sip:callee at 127.0.0.1:5062
diff --git a/tests/channels/pjsip/aoc/aoc_e_to_callee_in_bye/sipp/callee.xml b/tests/channels/pjsip/aoc/aoc_e_to_callee_in_bye/sipp/callee.xml
new file mode 100644
index 0000000..d50a8c7
--- /dev/null
+++ b/tests/channels/pjsip/aoc/aoc_e_to_callee_in_bye/sipp/callee.xml
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE scenario SYSTEM "sipp.dtd">
+
+<scenario name="Receive AOC-E on inbound call hung up by the other side">
+ <Global variables="remote_tag" />
+ <recv request="INVITE" crlf="true">
+ <!-- Save the from tag. We'll need it when we send our BYE -->
+ <action>
+ <ereg regexp=".*(;tag=.*)"
+ header="From:"
+ search_in="hdr"
+ check_it="true"
+ assign_to="remote_tag"/>
+ </action>
+ </recv>
+
+ <send>
+ <![CDATA[
+ SIP/2.0 180 Ringing
+ [last_Via:]
+ [last_From:]
+ [last_To:];tag=[pid]SIPpTag01[call_number]
+ [last_Call-ID:]
+ [last_CSeq:]
+ Contact: <sip:[local_ip]:[local_port];transport=[transport]>
+ Content-Length: 0
+ ]]>
+ </send>
+
+ <send retrans="500">
+ <![CDATA[
+ SIP/2.0 200 OK
+ [last_Via:]
+ [last_From:]
+ [last_To:];tag=[pid]SIPpTag01[call_number]
+ [last_Call-ID:]
+ [last_CSeq:]
+ Contact: <sip:[local_ip]:[local_port];transport=[transport]>
+ Content-Type: application/sdp
+ Content-Length: [len]
+
+ v=0
+ o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
+ s=-
+ c=IN IP[media_ip_type] [media_ip]
+ t=0 0
+ m=audio [media_port] RTP/AVP 0
+ a=rtpmap:0 PCMU/8000
+ ]]>
+ </send>
+
+ <recv request="ACK" />
+
+ <recv request="BYE">
+ <action>
+ <ereg regexp="application/vnd.etsi\.aoc\+xml" header="Content-Type:" search_in="hdr" check_it="true" assign_to="_"/>
+ <ereg regexp="<\?xml version="1\.0" encoding="UTF-8"\?>
+<aoc xmlns="http://uri\.etsi\.org/ngn/params/xml/simservs/aoc">
+ <aoc-e>
+ <charging-info>total</charging-info>
+ <recorded-charges>
+ <recorded-currency-units>
+ <currency-id>EUR</currency-id>
+ <currency-amount>0\.314</currency-amount>
+ </recorded-currency-units>
+ </recorded-charges>
+ </aoc-e>
+</aoc>" check_it="true" search_in="body" assign_to="_" />
+ </action>
+ </recv>
+
+ <send retrans="500">
+ <![CDATA[
+ SIP/2.0 200 OK
+ [last_Via:]
+ [last_From:]
+ [last_To:];tag=[pid]SIPpTag01[call_number]
+ [last_Call-ID:]
+ [last_CSeq:]
+ Contact: <sip:[local_ip]:[local_port];transport=[transport]>
+ Content-Length: 0
+ ]]>
+ </send>
+
+</scenario>
\ No newline at end of file
diff --git a/tests/channels/pjsip/aoc/aoc_e_to_callee_in_bye/test-config.yaml b/tests/channels/pjsip/aoc/aoc_e_to_callee_in_bye/test-config.yaml
new file mode 100644
index 0000000..3441945
--- /dev/null
+++ b/tests/channels/pjsip/aoc/aoc_e_to_callee_in_bye/test-config.yaml
@@ -0,0 +1,79 @@
+info:
+ summary: 'Test AOC-E to callee after caller hangs up'
+ description: |
+ This uses an AOCMessage AMI to generate an AOC-E
+ event, adding to the BYE message sent to the callee.
+
+test-modules:
+ test-object:
+ config-section: test-object-config
+ typename: sipp.SIPpTestCase
+ modules:
+ -
+ config-section: ami-config
+ typename: 'pluggable_modules.EventActionModule'
+
+test-object-config:
+ memcheck-delay-stop: 7
+ fail-on-any: True
+ test-iterations:
+ -
+ scenarios:
+ - { 'key-args': { 'scenario': 'callee.xml', '-i': '127.0.0.1', '-p': '5062' } }
+
+ami-config:
+ -
+ ami-events:
+ conditions:
+ match:
+ Event: 'FullyBooted'
+ ami-actions:
+ action:
+ Action: 'Originate'
+ ActionID: '1'
+ Channel: 'PJSIP/callee'
+ Exten: 'echo'
+ Context: 'default'
+ Priority: '1'
+ CallerID: 'echo <echo>'
+ -
+ ami-events:
+ type: 'headermatch'
+ conditions:
+ match:
+ Event: 'Newexten'
+ Channel: 'PJSIP/callee-.*'
+ Application: 'Wait'
+ ami-actions:
+ action:
+ Action: 'AOCMessage'
+ Channel: '{channel}'
+ MsgType: 'E'
+ ChargeType: 'Currency'
+ CurrencyAmount: 314
+ CurrencyName: 'EUR'
+ CurrencyMultiplier: 'OneThousandth'
+ TotalType: 'Total'
+ -
+ ami-events:
+ type: 'headermatch'
+ conditions:
+ match:
+ Event: 'Newexten'
+ Channel: 'PJSIP/callee-.*'
+ Application: 'Echo'
+ ami-actions:
+ action:
+ Action: 'Hangup'
+ Channel: '{channel}'
+
+properties:
+ dependencies:
+ - sipp :
+ version : 'v3.0'
+ - asterisk : 'chan_pjsip'
+ - asterisk : 'res_pjsip_aoc'
+ - asterisk : 'app_dial'
+ tags:
+ - PJSIP
+
diff --git a/tests/channels/pjsip/aoc/aoc_e_to_caller_in_200/configs/ast1/extensions.conf b/tests/channels/pjsip/aoc/aoc_e_to_caller_in_200/configs/ast1/extensions.conf
new file mode 100644
index 0000000..af317af
--- /dev/null
+++ b/tests/channels/pjsip/aoc/aoc_e_to_caller_in_200/configs/ast1/extensions.conf
@@ -0,0 +1,3 @@
+[default]
+exten => echo,1,Answer()
+same => n,Echo()
diff --git a/tests/channels/pjsip/aoc/aoc_e_to_caller_in_200/configs/ast1/pjsip.conf b/tests/channels/pjsip/aoc/aoc_e_to_caller_in_200/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..feb5ba0
--- /dev/null
+++ b/tests/channels/pjsip/aoc/aoc_e_to_caller_in_200/configs/ast1/pjsip.conf
@@ -0,0 +1,25 @@
+[system]
+type=system
+timer_t1=100
+timer_b=6400
+
+[local-transport-udp]
+type=transport
+bind=127.0.0.1
+protocol=udp
+
+[caller]
+type=endpoint
+aors=caller
+context=default
+allow=!all,ulaw
+rewrite_contact=yes
+direct_media=no
+send_aoc=yes
+
+[caller]
+type=aor
+max_contacts=1
+minimum_expiration=5
+default_expiration=30
+contact=sip:caller at 127.0.0.1:5062
diff --git a/tests/channels/pjsip/aoc/aoc_e_to_caller_in_200/sipp/caller.xml b/tests/channels/pjsip/aoc/aoc_e_to_caller_in_200/sipp/caller.xml
new file mode 100644
index 0000000..0a22a30
--- /dev/null
+++ b/tests/channels/pjsip/aoc/aoc_e_to_caller_in_200/sipp/caller.xml
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE scenario SYSTEM "sipp.dtd">
+
+<scenario name="Receive AOC-E on outbound call hung up by us">
+ <send retrans="500">
+ <![CDATA[
+ INVITE sip:echo@[remote_ip]:[remote_port] SIP/2.0
+ Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+ From: caller <sip:caller@[local_ip]:[local_port]>;tag=[call_number]
+ To: echo <sip:echo@[remote_ip]:[remote_port]>
+ Call-ID: [call_id]
+ CSeq: 1 INVITE
+ Contact: <sip:caller@[local_ip]:[local_port];transport=[transport]>
+ Max-Forwards: 70
+ Content-Type: application/sdp
+ Content-Length: [len]
+
+ v=0
+ o=phoneA 53655765 2353687637 IN IP[local_ip_type] [local_ip]
+ s=-
+ c=IN IP[media_ip_type] [media_ip]
+ t=0 0
+ m=audio 6000 RTP/AVP 0
+ a=rtpmap:0 PCMU/8000
+ ]]>
+ </send>
+
+ <recv response="100" optional="true">
+ </recv>
+
+ <recv response="180" optional="true">
+ </recv>
+
+ <recv response="200" rtd="true">
+ </recv>
+
+ <send>
+ <![CDATA[
+ ACK sip:echo@[remote_ip]:[remote_port] SIP/2.0
+ Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+ From: caller <sip:caller@[local_ip]:[local_port]>;tag=[call_number]
+ To: echo <sip:echo@[remote_ip]:[remote_port]>[peer_tag_param]
+ Call-ID: [call_id]
+ CSeq: 1 ACK
+ Contact: <sip:caller@[local_ip]:[local_port];transport=[transport]>
+ Max-Forwards: 70
+ Content-Length: 0
+ ]]>
+ </send>
+
+ <pause milliseconds="2000"/>
+
+ <send retrans="500">
+ <![CDATA[
+ BYE sip:echo@[remote_ip]:[remote_port] SIP/2.0
+ Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+ From: caller <sip:[service]@[local_ip]:[local_port]>;tag=[call_number]
+ To: echo <sip:echo@[remote_ip]:[remote_port]>[peer_tag_param]
+ Call-ID: [call_id]
+ CSeq: 2 BYE
+ Contact: <sip:caller@[local_ip]:[local_port];transport=[transport]>
+ Max-Forwards: 70
+ Subject: Test
+ Content-Length: 0
+ ]]>
+ </send>
+
+ <recv response="200" crlf="true">
+ <action>
+ <ereg regexp="application/vnd.etsi\.aoc\+xml" header="Content-Type:" search_in="hdr" check_it="true" assign_to="_"/>
+ <ereg regexp="<\?xml version="1\.0" encoding="UTF-8"\?>
+<aoc xmlns="http://uri\.etsi\.org/ngn/params/xml/simservs/aoc">
+ <aoc-e>
+ <charging-info>total</charging-info>
+ <recorded-charges>
+ <recorded-currency-units>
+ <currency-id>EUR</currency-id>
+ <currency-amount>0\.314</currency-amount>
+ </recorded-currency-units>
+ </recorded-charges>
+ </aoc-e>
+</aoc>" check_it="true" search_in="body" assign_to="_" />
+ </action>
+ </recv>
+
+</scenario>
diff --git a/tests/channels/pjsip/aoc/aoc_e_to_caller_in_200/test-config.yaml b/tests/channels/pjsip/aoc/aoc_e_to_caller_in_200/test-config.yaml
new file mode 100644
index 0000000..6482fd5
--- /dev/null
+++ b/tests/channels/pjsip/aoc/aoc_e_to_caller_in_200/test-config.yaml
@@ -0,0 +1,54 @@
+info:
+ summary: 'Test AOC-E to caller who hangs up'
+ description: |
+ This uses an AOCMessage AMI to generate an AOC-E
+ event, adding to the 200 message sent in reply to
+ the caller's BYE message.
+
+test-modules:
+ test-object:
+ config-section: test-object-config
+ typename: sipp.SIPpTestCase
+ modules:
+ -
+ config-section: ami-config
+ typename: 'pluggable_modules.EventActionModule'
+
+test-object-config:
+ memcheck-delay-stop: 7
+ fail-on-any: True
+ test-iterations:
+ -
+ scenarios:
+ - { 'key-args': { 'scenario': 'caller.xml', '-i': '127.0.0.1', '-p': '5062' } }
+
+ami-config:
+ -
+ ami-events:
+ type: 'headermatch'
+ conditions:
+ match:
+ Event: 'Newexten'
+ Channel: 'PJSIP/caller-.*'
+ Application: 'Echo'
+ ami-actions:
+ action:
+ Action: 'AOCMessage'
+ Channel: '{channel}'
+ MsgType: 'E'
+ ChargeType: 'Currency'
+ CurrencyAmount: 314
+ CurrencyName: 'EUR'
+ CurrencyMultiplier: 'OneThousandth'
+ TotalType: 'Total'
+
+properties:
+ dependencies:
+ - sipp :
+ version : 'v3.0'
+ - asterisk : 'chan_pjsip'
+ - asterisk : 'res_pjsip_aoc'
+ - asterisk : 'app_dial'
+ tags:
+ - PJSIP
+
diff --git a/tests/channels/pjsip/aoc/aoc_e_to_caller_in_bye/configs/ast1/extensions.conf b/tests/channels/pjsip/aoc/aoc_e_to_caller_in_bye/configs/ast1/extensions.conf
new file mode 100644
index 0000000..f7b9b0e
--- /dev/null
+++ b/tests/channels/pjsip/aoc/aoc_e_to_caller_in_bye/configs/ast1/extensions.conf
@@ -0,0 +1,4 @@
+[default]
+exten => echo,1,Answer()
+same => n,Wait(2)
+same => n,Echo()
diff --git a/tests/channels/pjsip/aoc/aoc_e_to_caller_in_bye/configs/ast1/pjsip.conf b/tests/channels/pjsip/aoc/aoc_e_to_caller_in_bye/configs/ast1/pjsip.conf
new file mode 100644
index 0000000..feb5ba0
--- /dev/null
+++ b/tests/channels/pjsip/aoc/aoc_e_to_caller_in_bye/configs/ast1/pjsip.conf
@@ -0,0 +1,25 @@
+[system]
+type=system
+timer_t1=100
+timer_b=6400
+
+[local-transport-udp]
+type=transport
+bind=127.0.0.1
+protocol=udp
+
+[caller]
+type=endpoint
+aors=caller
+context=default
+allow=!all,ulaw
+rewrite_contact=yes
+direct_media=no
+send_aoc=yes
+
+[caller]
+type=aor
+max_contacts=1
+minimum_expiration=5
+default_expiration=30
+contact=sip:caller at 127.0.0.1:5062
diff --git a/tests/channels/pjsip/aoc/aoc_e_to_caller_in_bye/sipp/caller.xml b/tests/channels/pjsip/aoc/aoc_e_to_caller_in_bye/sipp/caller.xml
new file mode 100644
index 0000000..36b65b4
--- /dev/null
+++ b/tests/channels/pjsip/aoc/aoc_e_to_caller_in_bye/sipp/caller.xml
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE scenario SYSTEM "sipp.dtd">
+
+<scenario name="Receive AOC-E on outbound call hung up by the other side">
+ <send retrans="500">
+ <![CDATA[
+ INVITE sip:echo@[remote_ip]:[remote_port] SIP/2.0
+ Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+ From: caller <sip:caller@[local_ip]:[local_port]>;tag=[call_number]
+ To: echo <sip:echo@[remote_ip]:[remote_port]>
+ Call-ID: [call_id]
+ CSeq: 1 INVITE
+ Contact: <sip:caller@[local_ip]:[local_port];transport=[transport]>
+ Max-Forwards: 70
+ Content-Type: application/sdp
+ Content-Length: [len]
+
+ v=0
+ o=phoneA 53655765 2353687637 IN IP[local_ip_type] [local_ip]
+ s=-
+ c=IN IP[media_ip_type] [media_ip]
+ t=0 0
+ m=audio 6000 RTP/AVP 0
+ a=rtpmap:0 PCMU/8000
+ ]]>
+ </send>
+
+ <recv response="100" optional="true">
+ </recv>
+
+ <recv response="180" optional="true">
+ </recv>
+
+ <recv response="200" rtd="true">
+ </recv>
+
+ <send>
+ <![CDATA[
+ ACK sip:echo@[remote_ip]:[remote_port] SIP/2.0
+ Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
+ From: caller <sip:caller@[local_ip]:[local_port]>;tag=[call_number]
+ To: echo <sip:echo@[remote_ip]:[remote_port]>[peer_tag_param]
+ Call-ID: [call_id]
+ CSeq: 1 ACK
+ Contact: <sip:caller@[local_ip]:[local_port];transport=[transport]>
+ Max-Forwards: 70
+ Content-Length: 0
+ ]]>
+ </send>
+
+ <recv request="BYE">
+ <action>
+ <ereg regexp="application/vnd.etsi\.aoc\+xml" header="Content-Type:" search_in="hdr" check_it="true" assign_to="_"/>
+ <ereg regexp="<\?xml version="1\.0" encoding="UTF-8"\?>
+<aoc xmlns="http://uri\.etsi\.org/ngn/params/xml/simservs/aoc">
+ <aoc-e>
+ <charging-info>total</charging-info>
+ <recorded-charges>
+ <recorded-currency-units>
+ <currency-id>EUR</currency-id>
+ <currency-amount>0\.314</currency-amount>
+ </recorded-currency-units>
+ </recorded-charges>
+ </aoc-e>
+</aoc>" check_it="true" search_in="body" assign_to="_" />
+ </action>
+ </recv>
+
+ <send retrans="500">
+ <![CDATA[
+ SIP/2.0 200 OK
+ [last_Via:]
+ [last_From:]
+ [last_To:];tag=[pid]SIPpTag01[call_number]
+ [last_Call-ID:]
+ [last_CSeq:]
+ Contact: <sip:[local_ip]:[local_port];transport=[transport]>
+ Content-Length: 0
+ ]]>
+ </send>
+
+</scenario>
diff --git a/tests/channels/pjsip/aoc/aoc_e_to_caller_in_bye/test-config.yaml b/tests/channels/pjsip/aoc/aoc_e_to_caller_in_bye/test-config.yaml
new file mode 100644
index 0000000..006bf3b
--- /dev/null
+++ b/tests/channels/pjsip/aoc/aoc_e_to_caller_in_bye/test-config.yaml
@@ -0,0 +1,67 @@
+info:
+ summary: 'Test AOC-E to caller after callee hangs up'
+ description: |
+ This uses an AOCMessage AMI to generate an AOC-E
+ event, adding to the BYE message sent to the caller'.
+
+test-modules:
+ test-object:
+ config-section: test-object-config
+ typename: sipp.SIPpTestCase
+ modules:
+ -
+ config-section: ami-config
+ typename: 'pluggable_modules.EventActionModule'
+
+test-object-config:
+ memcheck-delay-stop: 7
+ fail-on-any: True
+ test-iterations:
+ -
+ scenarios:
+ - { 'key-args': { 'scenario': 'caller.xml', '-i': '127.0.0.1', '-p': '5062' } }
+
+ami-config:
+ -
+ ami-events:
+ type: 'headermatch'
+ conditions:
+ match:
+ Event: 'Newexten'
+ Channel: 'PJSIP/caller-.*'
+ Application: 'Wait'
+ ami-actions:
+ action:
+ Action: 'AOCMessage'
+ Channel: '{channel}'
+ MsgType: 'E'
+ ChargeType: 'Currency'
+ CurrencyAmount: 314
+ CurrencyName: 'EUR'
+ CurrencyMultiplier: 'OneThousandth'
+ TotalType: 'Total'
+ expected:
+ Response: 'Success'
+ -
+ ami-events:
+ type: 'headermatch'
+ conditions:
+ match:
+ Event: 'Newexten'
+ Channel: 'PJSIP/caller-.*'
+ Application: 'Echo'
+ ami-actions:
+ action:
+ Action: 'Hangup'
+ Channel: '{channel}'
+
+properties:
+ dependencies:
+ - sipp :
+ version : 'v3.0'
+ - asterisk : 'chan_pjsip'
+ - asterisk : 'res_pjsip_aoc'
+ - asterisk : 'app_dial'
+ tags:
+ - PJSIP
+
diff --git a/tests/channels/pjsip/aoc/tests.yaml b/tests/channels/pjsip/aoc/tests.yaml
new file mode 100644
index 0000000..136a141
--- /dev/null
+++ b/tests/channels/pjsip/aoc/tests.yaml
@@ -0,0 +1,8 @@
+# Enter tests here in the order they should be considered for execution:
+tests:
+ - test: 'aoc_d_to_callee_in_info'
+ - test: 'aoc_d_to_caller_in_info'
+ - test: 'aoc_e_to_callee_in_200'
+ - test: 'aoc_e_to_callee_in_bye'
+ - test: 'aoc_e_to_caller_in_200'
+ - test: 'aoc_e_to_caller_in_bye'
diff --git a/tests/channels/pjsip/tests.yaml b/tests/channels/pjsip/tests.yaml
index 858e063..2b8be77 100644
--- a/tests/channels/pjsip/tests.yaml
+++ b/tests/channels/pjsip/tests.yaml
@@ -2,6 +2,7 @@
tests:
- dir: 'allow_sending_180_after_183'
- dir: 'ami'
+ - dir: 'aoc'
- dir: 'auth'
- dir: 'basic_calls'
- dir: 'config_wizard'
--
To view, visit https://gerrit.asterisk.org/c/testsuite/+/19464
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Change-Id: I061a250b477593c4f07441a3d811e9981feb17b2
Gerrit-Change-Number: 19464
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Kuron <m.kuron at gmx.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20221101/aebd7436/attachment-0001.html>
More information about the asterisk-code-review
mailing list