[Asterisk-Users] Dial Command M(x) Option

Brian West brian at bkw.org
Fri Dec 3 11:20:01 MST 2004


Its in CVS-HEAD no need to patch it..   The bug notes have some examples on
how to use it


bkw

> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
> bounces at lists.digium.com] On Behalf Of Shaun Tierney
> Sent: Friday, December 03, 2004 11:50 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: RE: [Asterisk-Users] Dial Command M(x) Option
> 
> What version of Asterisk should I be applying this patch to?  The patch
> command doesn't seem to be working.  I think because the dates on the
> files
> in Asterisk 1.0.2 don't match the dates in the diff file.  Any ideas?  The
> patch seems to work partially.  When I run patch -p4 < app_dial_rev5.diff
> from the asterisk-1.0.2 directory, this is what I get.
> 
> missing header for unified diff at line 8 of patch
> can't find file to patch at input line 8
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |Index: pbx.c
> |===================================================================
> |RCS file: /usr/cvsroot/asterisk/pbx.c,v
> |retrieving revision 1.173
> |diff -u -r1.173 pbx.c
> |--- pbx.c      19 Nov 2004 05:18:10 -0000      1.173
> |+++ pbx.c      22 Nov 2004 22:19:48 -0000
> --------------------------
> File to patch: pbx.c
> patching file pbx.c
> Hunk #1 FAILED at 4935.
> Hunk #2 succeeded at 4986 with fuzz 2 (offset -428 lines).
> 1 out of 2 hunks FAILED -- saving rejects to file pbx.c.rej
> missing header for unified diff at line 174 of patch
> can't find file to patch at input line 174
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |Index: include/asterisk/pbx.h
> |===================================================================
> |RCS file: /usr/cvsroot/asterisk/include/asterisk/pbx.h,v
> |retrieving revision 1.33
> |diff -u -r1.33 pbx.h
> |--- include/asterisk/pbx.h     13 Nov 2004 22:44:33 -0000      1.33
> |+++ include/asterisk/pbx.h     22 Nov 2004 22:19:48 -0000
> --------------------------
> File to patch: include/asterisk/pbx.h
> patching file include/asterisk/pbx.h
> Hunk #1 FAILED at 578.
> 1 out of 1 hunk FAILED -- saving rejects to file
> include/asterisk/pbx.h.rej
> missing header for unified diff at line 191 of patch
> can't find file to patch at input line 191
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |Index: apps/app_dial.c
> |===================================================================
> |RCS file: /usr/cvsroot/asterisk/apps/app_dial.c,v
> |retrieving revision 1.107
> |diff -u -r1.107 app_dial.c
> |--- apps/app_dial.c    21 Nov 2004 20:38:32 -0000      1.107
> |+++ apps/app_dial.c    22 Nov 2004 22:19:49 -0000
> --------------------------
> File to patch: apps/app_dial.c
> patching file apps/app_dial.c
> Hunk #1 succeeded at 67 (offset -1 lines).
> Hunk #2 succeeded at 458 (offset -32 lines).
> Hunk #3 FAILED at 466.
> Hunk #4 succeeded at 660 (offset -8 lines).
> Hunk #5 succeeded at 951 (offset -57 lines).
> Hunk #6 succeeded at 1009 (offset -8 lines).
> Hunk #7 succeeded at 974 (offset -57 lines).
> 1 out of 7 hunks FAILED -- saving rejects to file apps/app_dial.c.rej
> 
> Am I just applying the patch incorrectly or something?
> 
> Thanks for the help,
> 
> Shaun
> 
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com]On Behalf Of Brian West
> Sent: Friday, December 03, 2004 10:09 AM
> To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
> Subject: RE: [Asterisk-Users] Dial Command M(x) Option
> 
> 
> http://bugs.digium.com/bug_view_page.php?bug_id=0002905
> 
> > This email and any attached files are confidential and copyright
> > protected.  If you are not the addressee, any dissemination,
> distribution
> > or copying of this communication is strictly prohibited.  Unless
> otherwise
> > expressly agreed in writing, nothing stated in this communication shall
> be
> > legally binding.
> 
> FYI these types of disclaimers ARE STUPID... And crack me up when I see
> them...
> 
> bkw
> 
> _______________________________________________
> 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
> 
> _______________________________________________
> 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