summaryrefslogtreecommitdiff
path: root/test/mock/sipsrv.c
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2015-10-10 21:31:04 +0200
committerAlfred E. Heggestad <aeh@db.org>2015-10-10 21:31:04 +0200
commit9bb2448da92f476eb82cc0d70c712d9f3abf06ac (patch)
treee52f059dc7f58f3ec047bbc2949055a2f1f19217 /test/mock/sipsrv.c
parent399dc2bc0c07fbe904742a1f109142be70ab4a56 (diff)
test: enable TCP and TLS for ua registration test
Diffstat (limited to 'test/mock/sipsrv.c')
-rw-r--r--test/mock/sipsrv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/mock/sipsrv.c b/test/mock/sipsrv.c
index 0707962..c762f73 100644
--- a/test/mock/sipsrv.c
+++ b/test/mock/sipsrv.c
@@ -137,7 +137,8 @@ int sip_server_uri(struct sip_server *srv, char *uri, size_t sz,
if (err)
return err;
- if (re_snprintf(uri, sz, "sip:x:x@%J%s",
+ /* NOTE: angel brackets needed to parse ;transport parameter */
+ if (re_snprintf(uri, sz, "<sip:x:x@%J%s>",
&laddr, sip_transp_param(tp)) < 0)
return ENOMEM;