Asterisk Confirm Calls Hang up

i found out that there is patch for this issue but i am newbie and i don’t where to from here:

[root@elastix ~]# wget ‘https://issues.asterisk.org/file_download.php?file_id=22356&type=bug’ -O - | patch -p0
–23:37:45-- issues.asterisk.org/file_downlo … 6&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: 1650 (1.6K) [text/plain]
Saving to: `STDOUT’

100%[=========================================================================================>] 1,650 --.-K/s in 0s

23:37:46 (8.01 MB/s) - `-’ saved [1650/1650]

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: main/pbx.c
|===================================================================
|— main/pbx.c (revision 189342)

+++ main/pbx.c (working copy)

File to patch: