[Asterisk-Users] Broadvoice Patch Error {Scanned}

Paul digium-list at 9ux.com
Tue Jan 18 11:31:38 MST 2005


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 at Home <mailto:Asterisk at Home>.
>  
> Here is the Error:
> [root at 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 at 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 at ke6upi.com> if you 
> have questions about this email.
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at 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
>




More information about the asterisk-users mailing list