<P class=MsoNormal style="MARGIN: 0in 0in 0pt">I’m trying to install the app_dial_rev5.diff patch from <A href="http://bugs.digium.com/bug_view_page.php?bug_id=0002905">http://bugs.digium.com/bug_view_page.php?bug_id=0002905</A> so I can do call screening.&nbsp; I’m not a programmer so I’m unsure what’s going on.&nbsp; Any help would be appreciated.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p>&nbsp;</o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p>&nbsp;</o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">[root@localhost asterisk-1.0.7]# patch -p0 &lt;app_dial_rev5.diff<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">patching file pbx.c<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">Hunk #1 FAILED at 4935.<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">Hunk #2 succeeded at 5357 with fuzz 2 (offset -57 lines).<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">1 out of 2 hunks FAILED -- saving rejects to file pbx.c.rej<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">patching file include/asterisk/pbx.h<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">Hunk #1 FAILED at 578.<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">1 out of 1 hunk FAILED -- saving rejects to file include/asterisk/pbx.h.rej<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">patching file apps/app_dial.c<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">Hunk #1 succeeded at 67 (offset -1 lines).<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">Hunk #2 succeeded at 461 (offset -29 lines).<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">Hunk #3 FAILED at 469.<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">Hunk #4 succeeded at 660 (offset -8 lines).<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">Hunk #5 succeeded at 958 (offset -50 lines).<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">Hunk #6 succeeded at 1009 (offset -8 lines).<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">Hunk #7 succeeded at 981 (offset -50 lines).<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">1 out of 7 hunks FAILED -- saving rejects to file apps/app_dial.c.rej<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p>&nbsp;</o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p>&nbsp;</o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">app_dial.rej -<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p>&nbsp;</o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">***************<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">*** 463,471 ****<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; char *varname;<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int vartype;<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; char *outbound_group = NULL;<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">-<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int digit = 0;<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; time_t start_time, answer_time, end_time;<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p>&nbsp;</o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!data) {<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ast_log(LOG_WARNING, "Dial requires an argument (technology1/number1&amp;technology2/number2...|optional timeout|options)\n");<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">--- 469,478 ----<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; char *varname;<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int vartype;<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; char *outbound_group = NULL;<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; char *macro_result = NULL, *macro_transfer_dest = NULL;<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int digit = 0;<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; time_t start_time, answer_time, end_time;<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; struct ast_app *app = NULL;<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p>&nbsp;</o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!data) {<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ast_log(LOG_WARNING, "Dial requires an argument (technology1/number1&amp;technology2/number2...|optional timeout|options)\n");<o:p></o:p></P>
<DIV></DIV><p>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com