From ecf33122333fd7e6f4e70f93cc2c3baf3b22bdf3 Mon Sep 17 00:00:00 2001 From: "Alfred E. Heggestad" Date: Sat, 21 Jan 2017 16:49:57 +0100 Subject: account: add parameters 'stunuser' and 'stunpass' the STUN username and password can now be configured with explicit parameters, example: ;stunuser=USERNAME;stunpass=PASSWORD;stunserver=stun:server.org Ref. https://github.com/alfredh/baresip/issues/200 --- modules/account/account.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/account') diff --git a/modules/account/account.c b/modules/account/account.c index 2b5b7f4..ea9d819 100644 --- a/modules/account/account.c +++ b/modules/account/account.c @@ -75,6 +75,8 @@ static int account_write_template(const char *file) "# ;regq=0.5\n" "# ;rtpkeep={zero,stun,dyna,rtcp}\n" "# ;sipnat={outbound}\n" + "# ;stunuser=STUN/TURN/ICE-username\n" + "# ;stunpass=STUN/TURN/ICE-password\n" "# ;stunserver=stun:[user:pass]@host[:port]\n" "# ;video_codecs=h264,h263,...\n" "#\n" -- cgit v1.2.3