Hello, I'm trying to patch Asterisk for uses wth BroadVoice. I'm running Asterisk@Home. Here is the Error: [root@pbx1 asterisk]# patch < broadvoicesip2.txt can't find file to patch at input line 8 Perhaps you should have used the -p or --strip option? The text leading up to this was: -------------------------- |Index: channels/chan_sip.c |==================================================================|RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v |retrieving revision 1.510.2.23 |diff -u -r1.510.2.23 chan_sip.c |--- channels/chan_sip.c 26 Nov 2004 01:54:11 -0000 1.510.2.23 |+++ channels/chan_sip.c 12 Dec 2004 10:57:45 -0000 -------------------------- File to patch: [root@pbx1 asterisk]# What file should I patch??? Thanks, David -- This message has been scanned for viruses and dangerous content by KE6UPI, and is believed to be clean. KE6UPI thanks MailScanner for their support. Please contact support@ke6upi.com if you have questions about this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050118/675dee02/attachment.htm
This means that you do not have the version of sip.c that the patch is looking for. ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of David Shaw Sent: Tuesday, January 18, 2005 11:55 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [Asterisk-Users] Broadvoice Patch Error {Scanned} Hello, I'm trying to patch Asterisk for uses wth BroadVoice. I'm running Asterisk@Home. Here is the Error: [root@pbx1 asterisk]# patch < broadvoicesip2.txt can't find file to patch at input line 8 Perhaps you should have used the -p or --strip option? The text leading up to this was: -------------------------- |Index: channels/chan_sip.c |==================================================================|RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v |retrieving revision 1.510.2.23 |diff -u -r1.510.2.23 chan_sip.c |--- channels/chan_sip.c 26 Nov 2004 01:54:11 -0000 1.510.2.23 |+++ channels/chan_sip.c 12 Dec 2004 10:57:45 -0000 -------------------------- File to patch: [root@pbx1 asterisk]# What file should I patch??? Thanks, David -- This message has been scanned for viruses and dangerous content by KE6UPI <http://ke6upi.com/> , and is believed to be clean. MailScanner thanks transtec Computers <http://www.transtec.co.uk/> for their support. Plase contact Support at KE6UPI if you have questions about this email. The contents of this email message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply email and delete this message and its attachments, if any. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050118/8fc1c2b2/attachment.htm
There is a sane and safe way to do this when you are not sure if the patches are already in: 1 - create a new "scratch" directory 2 - copy the patch and chan_sip.c to that directory 3 - patch chan_sip.c broadvoicesip2.txt If you have the right(unpatched) version of the c source you will only get messages about hunks suceeding. ls -al should now yield something like this: drwxr-xr-x 2 sysadmin sysadmin 4096 2005-01-13 00:42 . drwxr-xr-x 16 sysadmin sysadmin 4096 2005-01-17 23:38 .. -rw-r--r-- 1 sysadmin sysadmin 15116 2004-12-12 06:02 broadvoicesip2.txt -rw-r--r-- 1 sysadmin sysadmin 291894 2005-01-13 00:42 chan_sip.c -rw-r--r-- 1 sysadmin sysadmin 287963 2004-10-25 13:57 chan_sip.c.orig David Shaw wrote:> Hello, I'm trying to patch Asterisk for uses wth BroadVoice. I'm > running Asterisk@Home <mailto:Asterisk@Home>. > > Here is the Error: > [root@pbx1 asterisk]# patch < broadvoicesip2.txt > can't find file to patch at input line 8 > Perhaps you should have used the -p or --strip option? > The text leading up to this was: > -------------------------- > |Index: channels/chan_sip.c > |==================================================================> |RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v > |retrieving revision 1.510.2.23 > |diff -u -r1.510.2.23 chan_sip.c > |--- channels/chan_sip.c 26 Nov 2004 01:54:11 -0000 1.510.2.23 > |+++ channels/chan_sip.c 12 Dec 2004 10:57:45 -0000 > -------------------------- > File to patch: > [root@pbx1 asterisk]# > > What file should I patch??? > > Thanks, David > > > -- > This message has been scanned for viruses and > dangerous content by *KE6UPI* <http://ke6upi.com/>, and is > believed to be clean. > MailScanner thanks transtec Computers <http://www.transtec.co.uk/> for > their support. > Plase contact Support at KE6UPI <mailto=support@ke6upi.com> if you > have questions about this email. > >------------------------------------------------------------------------ > >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Apparently Analagous Threads
- Am I missing something really basic here?????helpwith Asterisk@home {Scanned}
- Route incoming call on 4 X100P to different Ext. {Scanned}
- *@Home .6 adding a outside number to a group{Scanned}
- Where to start. {Scanned}
- Am I missing something really basic here????? help with Asterisk@home