Displaying 1 result from an estimated 1 matches for "get_in_bracket".
Did you mean:
get_in_brackets
2014 Aug 28
1
RDNIS with tel: vs. sip: header
Has anyone had success patching chan_sip.c so that Asterisk will recognize
the tel: header for RDNIS information?
exten = get_in_brackets(tmp);
if (!strncasecmp(exten, "sip:", 4)) {
exten += 4;
} else if (!strncasecmp(exten, "sips:", 5)) {
exten += 5;
} else {
ast_log(LOG_WARNING, "Huh? Not an RDNIS SIP header
(%s)?\n", exten);...