[Asterisk-code-review] fax/pjsip/gateway t38 g711: Misc cleanups (testsuite[15])

Richard Mudgett asteriskteam at digium.com
Thu Jul 5 15:20:29 CDT 2018


Richard Mudgett has uploaded this change for review. ( https://gerrit.asterisk.org/9342


Change subject: fax/pjsip/gateway_t38_g711: Misc cleanups
......................................................................

fax/pjsip/gateway_t38_g711: Misc cleanups

* Enable pjsip debug
* Remove unnecessary context set.
* Update test dependencies
* Update test description

Change-Id: I68e670315bec98fd24f2aed10065b9b146cb8f2c
---
M tests/fax/pjsip/gateway_t38_g711/configs/ast1/pjsip.conf
M tests/fax/pjsip/gateway_t38_g711/configs/ast2/pjsip.conf
M tests/fax/pjsip/gateway_t38_g711/test-config.yaml
3 files changed, 15 insertions(+), 6 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/42/9342/1

diff --git a/tests/fax/pjsip/gateway_t38_g711/configs/ast1/pjsip.conf b/tests/fax/pjsip/gateway_t38_g711/configs/ast1/pjsip.conf
index 6b86cb9..c2ce7f7 100644
--- a/tests/fax/pjsip/gateway_t38_g711/configs/ast1/pjsip.conf
+++ b/tests/fax/pjsip/gateway_t38_g711/configs/ast1/pjsip.conf
@@ -1,3 +1,7 @@
+[global]
+type=global
+debug=yes
+
 [local-transport]
 type=transport
 protocol=udp
@@ -5,7 +9,6 @@
 
 [endpoint-template](!)
 type=endpoint
-context=default
 allow=!all,ulaw,alaw
 context=receivefax
 media_address=127.0.0.1
@@ -16,4 +19,4 @@
 
 [ast2-g711](endpoint-template)
 t38_udptl=no
-from_user=ast1-g711
\ No newline at end of file
+from_user=ast1-g711
diff --git a/tests/fax/pjsip/gateway_t38_g711/configs/ast2/pjsip.conf b/tests/fax/pjsip/gateway_t38_g711/configs/ast2/pjsip.conf
index 2edd549..2a00ebf 100644
--- a/tests/fax/pjsip/gateway_t38_g711/configs/ast2/pjsip.conf
+++ b/tests/fax/pjsip/gateway_t38_g711/configs/ast2/pjsip.conf
@@ -1,3 +1,7 @@
+[global]
+type=global
+debug=yes
+
 [local-transport]
 type=transport
 protocol=udp
@@ -5,7 +9,6 @@
 
 [endpoint-template](!)
 type=endpoint
-context=default
 allow=!all,ulaw,alaw
 context=gatewayfax
 media_address=127.0.0.2
@@ -16,4 +19,4 @@
 
 [ast1-g711](endpoint-template)
 t38_udptl=no
-from_user=ast2-g711
\ No newline at end of file
+from_user=ast2-g711
diff --git a/tests/fax/pjsip/gateway_t38_g711/test-config.yaml b/tests/fax/pjsip/gateway_t38_g711/test-config.yaml
index 8794dab..ddbbc9e 100644
--- a/tests/fax/pjsip/gateway_t38_g711/test-config.yaml
+++ b/tests/fax/pjsip/gateway_t38_g711/test-config.yaml
@@ -4,8 +4,8 @@
         This test verifies proper gateway functionality when the sending side
         is t38 and the receiving side is g711. Two asterisk instances are
         started and a call is made from ast1 to ast2. Ast2 will start a fax
-        gateway and send the call back to ast1. Ast2 runs SendFax() on the
-        sending side and ReceiveFax() on the receiving side. If the fax is
+        gateway and send the call back to ast1. Ast1 runs SendFax() on the
+        calling side and ReceiveFax() on the answering side. If the fax is
         successful, the test passes.
 
         The call flow looks like this:
@@ -22,7 +22,10 @@
         - python : 'twisted'
         - python : 'starpy'
         - custom : 'fax'
+        - asterisk : 'app_dial'
+        - asterisk : 'app_userevent'
         - asterisk : 'chan_pjsip'
+        - asterisk : 'res_fax'
         - asterisk : 'res_pjsip_t38'
     tags:
         - pjsip

-- 
To view, visit https://gerrit.asterisk.org/9342
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: testsuite
Gerrit-Branch: 15
Gerrit-MessageType: newchange
Gerrit-Change-Id: I68e670315bec98fd24f2aed10065b9b146cb8f2c
Gerrit-Change-Number: 9342
Gerrit-PatchSet: 1
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180705/406cd83c/attachment-0001.html>


More information about the asterisk-code-review mailing list