summaryrefslogtreecommitdiff
path: root/modules/account
diff options
context:
space:
mode:
authorLorenzo Mangani <lorenzo.mangani@gmail.com>2014-12-26 17:50:48 +0100
committerLorenzo Mangani <lorenzo.mangani@gmail.com>2014-12-26 17:50:48 +0100
commitfc9441e0354908120e48ce9ee8bde480c411a680 (patch)
tree4701f34d661ba13fcf11ff97eae69adb34b5c077 /modules/account
parente95e76d8b222c5433005ca6ad53407bcb51b58d7 (diff)
New cmd R: Create User-Agent from command line (same format as config)
Diffstat (limited to 'modules/account')
-rw-r--r--modules/account/account.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/account/account.c b/modules/account/account.c
index 9659bd0..4f87afe 100644
--- a/modules/account/account.c
+++ b/modules/account/account.c
@@ -65,7 +65,7 @@ static int account_write_template(const char *file)
"[2001:df8:0:16:216:6fff:fe91:614c]:5070"
";transport=tcp>\n"
"#\n"
- "<sip:%s:%s@%s>\n", login, pass, domain);
+ "#<sip:%s:%s@%s>\n", login, pass, domain);
if (f)
(void)fclose(f);
@@ -129,7 +129,7 @@ static int account_read_file(void)
if (list_isempty(uag_list())) {
warning("account: No SIP accounts found"
- " -- check your config\n");
+ " -- check your config or add an account using 'R' command\n");
return ENOENT;
}