[Asterisk-Users] NCS and asterisk

Andrei Tanase slk at oltenia.tv
Sun Oct 3 13:51:27 MST 2004


Hey, i'm trying to patch asterisk to work with ncs. I get this error:

root at fox:/Kit/openpbx/asterisk-1.0.0# patch -p1  
<../conf_patches/ncs_dtmf_combined_v03.diff
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- channels/chan_mgcp.c       16 Jul 2004 21:22:55 -0000      1.60
|+++ channels/chan_mgcp.c       26 Jul 2004 05:53:36 -0000
--------------------------
File to patch: /Kit/openpbx/asterisk-1.0.0/channels/chan_mgcp.c
patching file /Kit/openpbx/asterisk-1.0.0/channels/chan_mgcp.c
Hunk #1 FAILED at 143.
Hunk #2 FAILED at 362.
Hunk #3 succeeded at 937 (offset 21 lines).
Hunk #4 FAILED at 1203.
Hunk #5 succeeded at 1751 (offset 14 lines).
Hunk #6 FAILED at 1984.
Hunk #7 FAILED at 2038.
Hunk #8 FAILED at 2078.
Hunk #9 succeeded at 2489 (offset 25 lines).
Hunk #10 succeeded at 2490 (offset 14 lines).
Hunk #11 succeeded at 2525 (offset 25 lines).
Hunk #12 FAILED at 2772.
Hunk #13 FAILED at 3451.
Hunk #14 FAILED at 3536.
Hunk #15 FAILED at 3631.
10 out of 15 hunks FAILED -- saving rejects to file
/Kit/openpbx/asterisk-1.0.0/channels/chan_mgcp.c.rej
root at fox:/Kit/openpbx/asterisk-1.0.0#

Any ideeas?
did anyone succeed in patching with NCS?



More information about the asterisk-users mailing list