diff --git a/scenarios/register_tcp/0001_test.yml.tt2 b/scenarios/register_tcp/0001_test.yml.tt2 index e56d1b66..a52e7384 100644 --- a/scenarios/register_tcp/0001_test.yml.tt2 +++ b/scenarios/register_tcp/0001_test.yml.tt2 @@ -17,7 +17,7 @@ flow: - exit|ROUTE_EXIT: sip_in: - '^REGISTER' - - 'Contact: sip:[% scenarios.0.username %]@' + - 'Contact: ]+)?>' - 'Content-Length: 0' - 'Expires: 600' sip_out: diff --git a/scenarios/register_tcp/0002_test.yml.tt2 b/scenarios/register_tcp/0002_test.yml.tt2 index ee7025a8..e85e465a 100644 --- a/scenarios/register_tcp/0002_test.yml.tt2 +++ b/scenarios/register_tcp/0002_test.yml.tt2 @@ -43,7 +43,7 @@ flow: - exit|ROUTE_EXIT: sip_in: - '^REGISTER' - - 'Contact: sip:[% scenarios.0.username %]@' + - 'Contact: ]+)?>' - 'Content-Length: 0' - 'Expires: 600' - 'Authorization: Digest username="[% scenarios.0.username %]"' diff --git a/scenarios/register_tcp/sipp_scenario00.xml b/scenarios/register_tcp/sipp_scenario00.xml index d269bf8c..030516ea 100644 --- a/scenarios/register_tcp/sipp_scenario00.xml +++ b/scenarios/register_tcp/sipp_scenario00.xml @@ -11,7 +11,7 @@ To: Call-ID: NGCP%[field4 file="callee.csv" line=0]%///[call_id] CSeq: 1 REGISTER - Contact: sip:[field0 file="callee.csv" line=0]@[local_ip]:[local_port] + Contact: Expires: 600 Max-Forwards: 70 Content-Length: 0 @@ -35,7 +35,7 @@ Call-ID: NGCP%[field4 file="callee.csv" line=0]%///[call_id] CSeq: 2 REGISTER [field2 file="callee.csv" line=0] - Contact: sip:[field0 file="callee.csv" line=0]@[local_ip]:[local_port] + Contact: Expires: 600 Max-Forwards: 70 Content-Length: 0