How to apply the google voice outgoing calls patch

I am trying to run the google voice patch with this command “wget ‘https://issues.asterisk.org/file_download.php?file_id=27904&type=bug’ -O - | patch -p0” but everytime I try to run it it asks me :File to patch" but I am not sure what to put. Here is the link of the solution but it doesn’t tell me how to apply the fix:
https://issues.asterisk.org/view.php?id=18412

Any help would be apreciated.

I will try to follow the blog. Thanks again

I think you need to go into the channels directory to do that.

I just applied the patch.

Otherwise, i made a small guide online here http://highsecurity.blogspot.com/2010/12/google-voice-on-asterisk-18-bug-is-now.html