[Asterisk-Users] app_dial_rev5

Mike Spradling mikespradlingatl at yahoo.com
Thu May 26 11:17:46 MST 2005


I’m trying to install the app_dial_rev5.diff patch from http://bugs.digium.com/bug_view_page.php?bug_id=0002905 so I can do call screening.  I’m not a programmer so I’m unsure what’s going on.  Any help would be appreciated.

 

 

[root at localhost asterisk-1.0.7]# patch -p0 <app_dial_rev5.diff

patching file pbx.c

Hunk #1 FAILED at 4935.

Hunk #2 succeeded at 5357 with fuzz 2 (offset -57 lines).

1 out of 2 hunks FAILED -- saving rejects to file pbx.c.rej

patching file include/asterisk/pbx.h

Hunk #1 FAILED at 578.

1 out of 1 hunk FAILED -- saving rejects to file include/asterisk/pbx.h.rej

patching file apps/app_dial.c

Hunk #1 succeeded at 67 (offset -1 lines).

Hunk #2 succeeded at 461 (offset -29 lines).

Hunk #3 FAILED at 469.

Hunk #4 succeeded at 660 (offset -8 lines).

Hunk #5 succeeded at 958 (offset -50 lines).

Hunk #6 succeeded at 1009 (offset -8 lines).

Hunk #7 succeeded at 981 (offset -50 lines).

1 out of 7 hunks FAILED -- saving rejects to file apps/app_dial.c.rej

 

 

app_dial.rej -

 

***************

*** 463,471 ****

        char *varname;

        int vartype;

        char *outbound_group = NULL;

-

        int digit = 0;

        time_t start_time, answer_time, end_time;

 

        if (!data) {

                ast_log(LOG_WARNING, "Dial requires an argument (technology1/number1&technology2/number2...|optional timeout|options)\n");

--- 469,478 ----

        char *varname;

        int vartype;

        char *outbound_group = NULL;

+       char *macro_result = NULL, *macro_transfer_dest = NULL;

        int digit = 0;

        time_t start_time, answer_time, end_time;

+       struct ast_app *app = NULL;

 

        if (!data) {

                ast_log(LOG_WARNING, "Dial requires an argument (technology1/number1&technology2/number2...|optional timeout|options)\n");


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050526/153651a5/attachment.htm


More information about the asterisk-users mailing list