Asterisk 1.8.5.0 and Gtalk

Hi all,
does someone know if this patch reviewboard.asterisk.org/r/1312/ is working for asterisk 1.8.5 too??
I am trying to get it working but it does not.
I get following errors when I try to apply it:

[root@freepbx asterisk-1.8.5.0]# pwd
/usr/src/asterisk/asterisk-1.8.5.0

[root@freepbx asterisk-1.8.5.0]# patch -p0 <bug.diff
can’t find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:

|Index: /branches/1.8/channels/chan_gtalk.c
|===================================================================
|— /branches/1.8/channels/chan_gtalk.c (revision 326513)

+++ /branches/1.8/channels/chan_gtalk.c (working copy)

File to patch:
Skip this patch? [y] n
File to patch:

Skip this patch? [y] Skipping patch.
3 out of 3 hunks ignored
can’t find file to patch at input line 39
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:

|Index: /branches/1.8/include/asterisk/jingle.h
|===================================================================
|— /branches/1.8/include/asterisk/jingle.h (revision 326513)

+++ /branches/1.8/include/asterisk/jingle.h (working copy)

File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
[root@freepbx asterisk-1.8.5.0]#

Thanks for your help.
Bye

You would have to use -p2, or supply the filename when prompted, with that patch file.

Thanks David for your advice, but i am still stuck because patch is referring also to a “chan_jingle.h” that I have not into asterisk source files. How can I solve it? Is it normal that “chan_jingle.h” file is missing?

Best regards.

Can someone point me into right direction ? :smile:

Solved!!!
Thanks all for support.
I was looking into wrong direction.
File “jingle.h” was not under channel’s directory but under /usr/src/asterisk/asterisk-1.8.5.0/include/asterisk/jingle.h.
Solved problem and Inbound calls, from gtalk, now are working.

Thanks…