Question : How to apply a patch on asterisk source

i am having the problem when getting the PROGRESS pause codes from the Telco ( ALLSTREAM ,  canada) on asterisk CLI.
 when i googled i found a work around for that on the link below
https://issues.asterisk.org/view.php?id=12123
but when i apply the patch paticular patches it failed. ( Also i dun know how exactly apply the patch)
Also that patch can be applied to any of the asterisk version of 1.4?

Answer : How to apply a patch on asterisk source

Below is from your link... If you are in the source directory of Asterisk you can do the following.
wget 'https://issues.asterisk.org/file_download.php?file_id=18023&type=bug' -O - | patch -p0
wget 'https://issues.asterisk.org/file_download.php?file_id=21979&type=bug' -O - | patch -p0

That will patch the source files.

See here...
http://www.asterisk.org/developers/patch-howto
# cd /usr/src/asterisk
# patch -p0 < /path/to/thepatch


After that, you need to rebuild asterisk from the source.


BACK UP BEFORE DOING THIS.
Random Solutions  
 
programming4us programming4us