From 09186a4437ffdc0e73f6ab16b93e17f628afe936 Mon Sep 17 00:00:00 2001 From: David Wilkie Date: Fri, 29 Mar 2024 20:21:46 +0700 Subject: [PATCH] WIP --- .../tests/client_gateway/outbound_uas_behind_nat_test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/testing/tests/client_gateway/outbound_uas_behind_nat_test.sh b/components/testing/tests/client_gateway/outbound_uas_behind_nat_test.sh index 1bf33e789..8bf3f7eb3 100755 --- a/components/testing/tests/client_gateway/outbound_uas_behind_nat_test.sh +++ b/components/testing/tests/client_gateway/outbound_uas_behind_nat_test.sh @@ -13,7 +13,7 @@ reset_db create_rtpengine_entry "udp:media_proxy:2223" reload_opensips_tables -uas="$(dig +short testing)" +uas="$(hostname -i)" client_gateway="$(dig +short client_gateway)" curl -s -o /dev/null -XPOST -u "adhearsion:password" http://switch-app:8080/calls \ @@ -39,7 +39,7 @@ curl -s -o /dev/null -XPOST -u "adhearsion:password" http://switch-app:8080/call "host": null, "username": "user1", "symmetric_latching": true, - "address": "+85512334667@testing;fs_path=sip:$client_gateway:5060" + "address": "+85512334667@$uas;fs_path=sip:$client_gateway:5060" }, "test_headers": { "X-UAS-Contact-Ip": "100.65.107.153"