<div dir="ltr">Has anyone had success patching chan_sip.c so that Asterisk will recognize the tel: header for RDNIS information?<div><br></div><div><br></div><div><div> exten = get_in_brackets(tmp);</div><div> if (!strncasecmp(exten, "sip:", 4)) {</div>
<div> exten += 4;</div><div> } else if (!strncasecmp(exten, "sips:", 5)) {</div><div> exten += 5;</div><div> } else {</div><div> ast_log(LOG_WARNING, "Huh? Not an RDNIS SIP header (%s)?\n", exten);</div>
<div> return -1;</div><div> }</div></div><div><br></div><div>Audiocodes Mediant 2000 devices send this header as a tel:... </div><div><br></div><div><b>[Aug 28 02:25:42] WARNING[1283][C-00001574] chan_sip.c: Huh? Not an RDNIS SIP header (tel:41068558XX)?</b><br>
</div><div><b><br></b></div><div><b>(number obscured for privacy purposes)</b></div><div><br></div><div><br></div><div><br></div><div><br></div></div>