Thanks Simon,

That's what I thought as well ... but it still seems to fail ... I must be 
missing something ...
I'm running it from the folder I downloaded my * tar files. See output below

Thanks again for your time

/Claude
------------------

[r...@siptcp upgrade]# cd asterisk-1.6.1.9
[r...@siptcp asterisk-1.6.1.9]# cd channels/
[r...@siptcp channels]# wget 
'https://issues.asterisk.org/file_download.php?file_id=23196&type=bug' -O - | 
patch -p0
--12:10:36--  
https://issues.asterisk.org/file_download.php?file_id=23196&type=bug
Resolving issues.asterisk.org... 76.164.171.231
Connecting to issues.asterisk.org|76.164.171.231|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/plain]
Saving to: `STDOUT'
    [ <=>                                    ] 9,086       --.-K/s   in 0.1s
12:10:36 (80.4 KB/s) - `-' saved [9086]
patching file chan_sip.c
Hunk #1 FAILED at 2472.
Hunk #2 succeeded at 6610 (offset -772 lines).
Hunk #3 succeeded at 18289 with fuzz 2 (offset -955 lines).
Hunk #4 FAILED at 18474.
2 out of 4 hunks FAILED -- saving rejects to file chan_sip.c.rej
[r...@siptcp channels]#


--------------------




________________________________________
From: [email protected] [[email protected]] on behalf of Simon P. Ditner 
[[email protected]]
Sent: November 11, 2009 4:53 AM
To: Claudius - Asterisk DL
Cc: [email protected]
Subject: Re: [on-asterisk] Asterisk: Deploying a *.patch

The patch files for that ticket are about 2/3 of the way down the page
under "Attached Files", and they're meant to be applied to
channels/chan_sip.c

There are multiple revisions there from the bug reporter, you should
only need the last one:
  bug_13028_chan_sip_external_mwi_20090707.patch

Which you would apply while in the 'channels' directory of the source code, i.e.

  cd asterisk-1.6.*/channels
  wget 'https://issues.asterisk.org/file_download.php?file_id=23196&type=bug'
-O - | patch -p0


Cheers,
spd

2009/11/10 Claudius - Asterisk DL <[email protected]>:
> Good day everyone,
>
> How deos one go about install/deploying a patch onto an atserisk channel?
>
> So far, what I can find is referring to using the *.patch script provided and 
> "patching" the required file, etc...
>
> I'm having issue described here https://issues.asterisk.org/view.php?id=13028 
>   but seem to be at a loss to deploying this patch as "i can't find the file 
> patch to patch"
>
> Anyone?
>
> Thanks,
>
> Claude
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to