...
|
...
|
@@ -29,7 +29,7 @@ FCTMF_SUITE_BGN(test_replaces) {
|
29
|
29
|
|
30
|
30
|
AmSipRequest r;
|
31
|
31
|
r.hdrs="Replaces: C;from-tag=Cf;to-tag=Ct\r\n";
|
32
|
|
- fixReplaces(r, true);
|
|
32
|
+ fixReplaces(r.hdrs, true);
|
33
|
33
|
DBG("r.hdrs='%s'\n", r.hdrs.c_str());
|
34
|
34
|
fct_chk(r.hdrs=="Replaces: C2;from-tag=C2f;to-tag=C2t\r\n");
|
35
|
35
|
|
...
|
...
|
@@ -48,7 +48,7 @@ FCTMF_SUITE_BGN(test_replaces) {
|
48
|
48
|
string new_str = "Refer-To: \"Mr. Watson\" <sip:watson@bell-telephone.com?Replaces=C2%3Bfrom-tag%3DC2f%3Bto-tag%3DC2t>;q=0.1\r\n";
|
49
|
49
|
|
50
|
50
|
r.hdrs=orig_str+"\r\n";
|
51
|
|
- fixReplaces(r, false);
|
|
51
|
+ fixReplaces(r.hdrs, false);
|
52
|
52
|
DBG("r.hdrs='%s'\n", r.hdrs.c_str());
|
53
|
53
|
DBG("new s='%s'\n", new_str.c_str());
|
54
|
54
|
|
...
|
...
|
@@ -69,7 +69,7 @@ FCTMF_SUITE_BGN(test_replaces) {
|
69
|
69
|
string new_str = "Refer-To: \"Mr. Watson\" <sip:watson@bell-telephone.com?Require=replaces;Replaces=C2%3Bfrom-tag%3DC2f%3Bto-tag%3DC2t>;q=0.1\r\n";
|
70
|
70
|
|
71
|
71
|
r.hdrs=orig_str;
|
72
|
|
- fixReplaces(r, false);
|
|
72
|
+ fixReplaces(r.hdrs, false);
|
73
|
73
|
DBG("r.hdrs='%s'\n", r.hdrs.c_str());
|
74
|
74
|
DBG("new s='%s'\n", new_str.c_str());
|
75
|
75
|
|
...
|
...
|
@@ -90,7 +90,7 @@ FCTMF_SUITE_BGN(test_replaces) {
|
90
|
90
|
string new_str = "Refer-To: \"Mr. Watson\" <sip:watson@bell-telephone.com?Require=replaces;Replaces=C2%3Bfrom-tag%3DC2f%3Bto-tag%3DC2t;Bla=Blub>;q=0.1\r\n";
|
91
|
91
|
|
92
|
92
|
r.hdrs=orig_str;
|
93
|
|
- fixReplaces(r, false);
|
|
93
|
+ fixReplaces(r.hdrs, false);
|
94
|
94
|
DBG("r.hdrs='%s'\n", r.hdrs.c_str());
|
95
|
95
|
DBG("new s='%s'\n", new_str.c_str());
|
96
|
96
|
|