~singpolyma/asterisk

69b4c1393ac1eb7ca2abad79b0dbb08e1d15af9e — Stephen Paul Weber 3 years ago 0001a21
Allow @ in user part of fromuser_and_domain
1 files changed, 1 insertions(+), 1 deletions(-)

M channels/chan_sip.c
M channels/chan_sip.c => channels/chan_sip.c +1 -1
@@ 30774,7 30774,7 @@ static struct ast_channel *sip_request_call(const char *type, struct ast_format_
				*forward_compat = '\0';
			}

			if ((fromdomain = strchr(fromuser_and_domain, '@'))) {
			if ((fromdomain = strrchr(fromuser_and_domain, '@'))) {
				*fromdomain++ = '\0';
				/* Set fromdomain. */
				if (!ast_strlen_zero(fromdomain)) {