From 8b873cb895ea0ebc4be90cc8f613608cb9ad817e Mon Sep 17 00:00:00 2001 From: tilghman Date: Thu, 3 Sep 2009 03:44:39 +0000 Subject: Merged revisions 215801 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r215801 | tilghman | 2009-09-02 22:43:51 -0500 (Wed, 02 Sep 2009) | 5 lines Default the callback extension to "s". This is a regression. (closes issue #15764) Reported by: elguero Change-type: bugfix ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@215802 f38db490-d61c-443f-a65b-d21fe96a405b --- channels/chan_sip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'channels/chan_sip.c') diff --git a/channels/chan_sip.c b/channels/chan_sip.c index e2123c071..3236f9da2 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -7326,7 +7326,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(user1.userpart, ""), "\"", "\"")); ast_string_field_set(reg, hostname, ast_strip_quoted(S_OR(host3.host, ""), "\"", "\"")); ast_string_field_set(reg, authuser, ast_strip_quoted(S_OR(user1.authuser, ""), "\"", "\"")); -- cgit v1.2.3