diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-09-03 03:43:51 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-09-03 03:43:51 +0000 |
commit | a6ba2b64b146dbdd0a06a4da8085014c098f4c8e (patch) | |
tree | 8fc3fedc13ebe8d1b01fe189212348d8bbcb0d6b | |
parent | 80973cb97f7d68a8374ef673d66bfd600efd8f83 (diff) |
Default the callback extension to "s". This is a regression.
(closes issue #15764)
Reported by: elguero
Change-type: bugfix
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@215801 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index df69d3cc1..d4ab64a7a 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -7594,7 +7594,7 @@ static int sip_register(const char *value, int lineno) ast_atomic_fetchadd_int(®objs, 1); ASTOBJ_INIT(reg); - ast_string_field_set(reg, callback, ast_strip_quoted(S_OR(host2.extension, ""), "\"", "\"")); + ast_string_field_set(reg, callback, ast_strip_quoted(S_OR(host2.extension, "s"), "\"", "\"")); ast_string_field_set(reg, username, ast_strip_quoted(S_OR(user2.userpart, ""), "\"", "\"")); ast_string_field_set(reg, hostname, ast_strip_quoted(S_OR(host3.host, ""), "\"", "\"")); ast_string_field_set(reg, regdomain, ast_strip_quoted(S_OR(user2.domain, S_OR(host3.host, "")), "\"", "\"")); |