[asterisk-users] Re: Where is the PlayDTMF command?
Moises Silva
moises.silva at gmail.com
Fri Oct 13 14:18:11 MST 2006
> Is there something else I am missing
Learning how to patch? :)
It seems you are applying incorrectly the patch, remember to use the
"-p" option, as suggested by the error message. From reading the error
you posted, it seems to me that you need to
# cd asterisk-1.2.12.1/apps/
# patch -p0 < ../../ast_trunk_manager_PlayDTMF.patch
Regards
On 10/13/06, Frank Church <voipfc at googlemail.com> wrote:
> When I try to apply this patch - ast_trunk_manager_PlayDTMF.patch - I
> receive the error below
>
> missing header for unified diff at line 3 of patch
> can't find file to patch at input line 3
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |--- app_senddtmf.c~ 2006-05-04 15:27:41.000000000 -0500
> |+++ app_senddtmf.c 2006-05-04 15:29:21.000000000 -0500
> --------------------------
> File to patch:
>
> Is there something else I am missing
>
> On 10/12/06, Frank Church <voipfc at googlemail.com> wrote:
> > Hi Moises,
> >
> > I have looked on that page and there is no link to click on to
> > download the patch. There are references to deletions to some patch
> > files on the page but nothing to click on.
> >
> > I have seen a link at http://bugs.digium.com/view.php?id=6990,
> > asterisk-svn-21231-DTMF_event.patch.
> >
> > Would that be the one?
> >
> > Frank
> >
> >
> > On 10/12/06, Moises Silva <moises.silva at gmail.com> wrote:
> > > Hi Frank, I sent a patch updated here:
> > >
> > > http://bugs.digium.com/view.php?id=6082
> > >
> > > But that was some months ago, I havent seen a bugmarshall for a while
> > > there, so I keep patching my own Asterisk for several stuff. New
> > > features are never added to release branches, so you need to patch
> > > 1.2.12.1 adapting the trunk patch. Dont worry, is an easy patch.
> > >
> > > Regards
> > >
> > > On 10/11/06, Frank Church <voipfc at googlemail.com> wrote:
> > > > Hi Moises, Ignore my last reply about the presence of the DTMF in 1.4.
> > > >
> > > > Do you have the source for patching the DTMF event?
> > > >
> > > > There is no link to it on the bug6082 page, and I am not quite sure
> > > > how it can be obtained from SVN.
> > > >
> > > > Regards
> > > >
> > > > Richard
> > > >
> > > > On 10/12/06, Frank Church <voipfc at googlemail.com> wrote:
> > > > > Hi Moises,
> > > > >
> > > > > does the you mentioned earlier at
> > > > > http://galileo.ivsol.net/play_dtmf-1.2.12.1.patch include the DTMF
> > > > > event, or is it for PlayDTMF and SendDTMF?
> > > > >
> > > > > Looking through the actions on bug6082 it is hard to tell whether
> > > > > the DTMF event patch is still in there when I last compiled that
> > > > > branch the DTMF event was not coming up.
> > > > >
> > > > > Is the DTMF patch incorporated into 1.2.12.1, or will I need to apply
> > > > > the original patch to 1.2.12.1?
> > > > >
> > > > > On 10/10/06, Moises Silva <moises.silva at gmail.com> wrote:
> > > > > > Jan, im sorry to get back to you so late, ive been busy. It seems i
> > > > > > sent you an incorrect patch I was testing, but I have found the
> > > > > > correct patch in mantis:
> > > > > >
> > > > > > http://bugs.digium.com/view.php?id=6682
> > > > > >
> > > > > > Please be aware that the patch I sent you initially used a funciton
> > > > > > that received 1 or more DTMF digits, and thats why it fails, because
> > > > > > the operation need to be fast enough to not lock the channel more time
> > > > > > than "allowed", so the patch you can find now in mantis, use a
> > > > > > function that only accepts 1 DTMF digit at time, so PlayDTMF only
> > > > > > accepts 1 digit to, you need to call it several times to send a DTMF
> > > > > > stream.
> > > > > >
> > > > > > Regards
> > > > > >
> > > > > > On 10/9/06, Jan du Toit <jan.du.toit at decisionworx.com> wrote:
> > > > > > > So I patch my asterisk (version 1.2.12.1) with the patch given by Moises.
> > > > > > > http://galileo.ivsol.net/play_dtmf-1.2.12.1.patch
> > > > > > > Thanks Moises.
> > > > > > >
> > > > > > > When I type in show manager command PlayDTMF it is their. With the show manager
> > > > > > > commands it is not within the list containing all the commands.
> > > > > > > When I execute the manager PlayDTMF action, the manager response says "DTMF
> > > > > > > successfully queued". I don't hear anything on the phone, when I look at the CLI
> > > > > > > I see the following warning message. Its produced everytime I execute the
> > > > > > > PlayDTMF action.
> > > > > > >
> > > > > > > Oct 6 09:31:06 WARNING[3449]: channel.c:1610 ast_waitfor_nandfds:
> > > > > > > Thread 294931 Blocking 'SIP/Jan-081ba140', already blocked by thread
> > > > > > > 360468 in procedure ast_waitfor_nandfds
> > > > > > >
> > > > > > > Am I doing something wrong? Is this a bug? Please help, I need this to
> > > > > > > work as soon as possible...
> > > > > > >
> > > > > > > Thanks for all the help.
> > > > > > >
> > > > > > > _______________________________________________
> > > > > > > --Bandwidth and Colocation provided by Easynews.com --
> > > > > > >
> > > > > > > asterisk-users mailing list
> > > > > > > To UNSUBSCRIBE or update options visit:
> > > > > > > http://lists.digium.com/mailman/listinfo/asterisk-users
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > "Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org"
> > > > > > _______________________________________________
> > > > > > --Bandwidth and Colocation provided by Easynews.com --
> > > > > >
> > > > > > asterisk-users mailing list
> > > > > > To UNSUBSCRIBE or update options visit:
> > > > > > http://lists.digium.com/mailman/listinfo/asterisk-users
> > > > > >
> > > > >
> > > > _______________________________________________
> > > > --Bandwidth and Colocation provided by Easynews.com --
> > > >
> > > > asterisk-users mailing list
> > > > To UNSUBSCRIBE or update options visit:
> > > > http://lists.digium.com/mailman/listinfo/asterisk-users
> > > >
> > >
> > >
> > > --
> > > "Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org"
> > > _______________________________________________
> > > --Bandwidth and Colocation provided by Easynews.com --
> > >
> > > asterisk-users mailing list
> > > To UNSUBSCRIBE or update options visit:
> > > http://lists.digium.com/mailman/listinfo/asterisk-users
> > >
> >
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
"Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org"
More information about the asterisk-users
mailing list