Thread: [Asterisk-java-users] DTMF length
Brought to you by:
srt
From: Jorge <gus...@gm...> - 2014-03-13 16:45:23
|
Is there a way to set up the DTMF tone length? Jorge ---------------------------------------------------------------------------------------------------------------------------------------------- <https://twitter.com/#%21/correderajorge> <http://www.correderajorge.es/> En función de la *Ley Orgánica 15/1999*, este mensaje de correo electrónico y sus documentos adjuntos están dirigidos *exclusivamente* a los destinatarios especificados y su información es de uso *estrictamente privado* salvo que se especifique lo contrario. La información contenida puede ser *confidencial* y/o estar *legalmente protegida*. Si usted recibe este mensaje por *error*, por favor comuníqueselo inmediatamente al remitente y *elimínelo* ya que carece de autorización de todo tipo. *Se prohíbe expresamente* la revelación, distribución, impresión o copia de toda o alguna parte de la información contenida en este mensaje |
From: Yves A. <yv...@gm...> - 2014-03-13 17:42:27
|
it depends.... see here 4 more information: http://www.voip-info.org/wiki/view/Asterisk+DTMF yves Am 13.03.2014 17:44, schrieb Jorge: > Is there a way to set up the DTMF tone length? > > Jorge > > ---------------------------------------------------------------------------------------------------------------------------------------------- > > > <https://twitter.com/#%21/correderajorge> <http://www.correderajorge.es/> > > En función de la /Ley Orgánica 15/1999/, este mensaje de correo > electrónico y sus documentos adjuntos están dirigidos > /exclusivamente/ a los destinatarios especificados y su información es > de uso /estrictamente privado/ salvo que se especifique lo contrario. > La información contenida puede ser /confidencial/ y/o estar > /legalmente protegida/. Si usted recibe este mensaje por /error/, por > favor comuníqueselo inmediatamente al remitente y /elimínelo/ ya que > carece de autorización de todo tipo. /Se prohíbe expresamente/ la > revelación, distribución, impresión o copia de toda o alguna parte de > la información contenida en este mensaje > > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: Jorge <gus...@gm...> - 2014-03-13 18:16:19
|
Sorry for my bad question. What I want to mean is I whant to send tones to a device with a length of 80 ms . I have seen that Asterisk ami allows to send DTMF tones with asteriskChannel.playDtmf("1") for example. Sending a tone, is there a way to set up the tone length? I have seen also that Asterisk has way to send n tones with http://www.voip-info.org/wiki/view/Asterisk+cmd+SendDTMF command. But I am not able to use it with Asterisk-java. Could you explain me if there is way to use this commands with Asterisk-java? Thank you for your help again. Jorge ---------------------------------------------------------------------------------------------------------------------------------------------- En función de la *Ley Orgánica 15/1999*, este mensaje de correo electrónico y sus documentos adjuntos están dirigidos *exclusivamente* a los destinatarios especificados y su información es de uso *estrictamente privado* salvo que se especifique lo contrario. La información contenida puede ser *confidencial* y/o estar *legalmente protegida*. Si usted recibe este mensaje por *error*, por favor comuníqueselo inmediatamente al remitente y *elimínelo* ya que carece de autorización de todo tipo. *Se prohíbe expresamente* la revelación, distribución, impresión o copia de toda o alguna parte de la información contenida en este mensaje El 13 de marzo de 2014, 18:42, Yves A. <yv...@gm...> escribió: > it depends.... > > see here 4 more information: > http://www.voip-info.org/wiki/view/Asterisk+DTMF > > yves > > Am 13.03.2014 17:44, schrieb Jorge: > > Is there a way to set up the DTMF tone length? > > Jorge > > > ---------------------------------------------------------------------------------------------------------------------------------------------- > > > > > En función de la *Ley Orgánica 15/1999*, este mensaje de correo > electrónico y sus documentos adjuntos están dirigidos *exclusivamente* a > los destinatarios especificados y su información es de uso *estrictamente > privado* salvo que se especifique lo contrario. La información contenida > puede ser *confidencial* y/o estar *legalmente protegida*. Si usted > recibe este mensaje por *error*, por favor comuníqueselo inmediatamente > al remitente y *elimínelo* ya que carece de autorización de todo tipo. *Se > prohíbe expresamente* la revelación, distribución, impresión o copia de > toda o alguna parte de la información contenida en este mensaje > > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today!http://p.sf.net/sfu/13534_NeoTech > > > > _______________________________________________ > Asterisk-java-users mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |
From: Yves A. <yv...@gm...> - 2014-03-15 11:20:51
|
Hi, did you follow the link I gave? It says: [...] Variable length DTMF This is a tricky issue: You cannot expect to have control over the duration of your DTMF signal when using out-of-band techniques (SIP INFO in general, or RFC2833 before Asterisk 1.4.0): For example cell phone carriers transmit keys pressed on your GSM phone to fixed length signals regardless of how long you pressed that key. A typical application where you'd want control of the duration of the key press is controlling an electric door opener <http://www.voip-info.org/wiki/view/Asterisk+phone+door>. Inband /Inband/ means that DTMF is transmitted within the audio of the phone conversation, i.e. it is audible to the conversation partners. Therefore only uncompressed codecs like g711 alaw or ulaw can carry inband DTMF reliably. Female voice are known to once in a while trigger the recognition of a DTMF tone. For analog lines inband is the only possible means to transmit DTMF. Changing DTMF duration when sending for ZAP channels You might try increasing the toneduration - or whatever the option is in /etc/asterisk/zapata.conf - Asterisk's default transmitted DTMF tone length is quite short: toneduration=300 [...] So it depends on your configuration and hardware, if you can change the length... Concerning your second question... executing commands like SendDTMF via java you say " But I am not able to use it with Asterisk-java "... what did you try (listing) and what was the result (errors?) All I can say is... you can use this and any other command with java... I would again really recommend you to read into the java-agi tutorials and play around with it. You will see that it will help you a lot achieving your objective. yves Am 13.03.2014 19:15, schrieb Jorge: > Sorry for my bad question. What I want to mean is I whant to send > tones to a device with a length of 80 ms . I have seen that Asterisk > ami allows to send DTMF tones with asteriskChannel.playDtmf("1") for > example. > > Sending a tone, is there a way to set up the tone length? > > I have seen also that Asterisk has way to send n tones with > http://www.voip-info.org/wiki/view/Asterisk+cmd+SendDTMF command. But > I am not able to use it with Asterisk-java. Could you explain me if > there is way to use this commands with Asterisk-java? > > Thank you for your help again. > > Jorge > > ---------------------------------------------------------------------------------------------------------------------------------------------- > > > > En función de la /Ley Orgánica 15/1999/, este mensaje de correo > electrónico y sus documentos adjuntos están dirigidos > /exclusivamente/ a los destinatarios especificados y su información es > de uso /estrictamente privado/ salvo que se especifique lo contrario. > La información contenida puede ser /confidencial/ y/o estar > /legalmente protegida/. Si usted recibe este mensaje por /error/, por > favor comuníqueselo inmediatamente al remitente y /elimínelo/ ya que > carece de autorización de todo tipo. /Se prohíbe expresamente/ la > revelación, distribución, impresión o copia de toda o alguna parte de > la información contenida en este mensaje > > > > El 13 de marzo de 2014, 18:42, Yves A. <yv...@gm... > <mailto:yv...@gm...>> escribió: > > it depends.... > > see here 4 more information: > http://www.voip-info.org/wiki/view/Asterisk+DTMF > > yves > > Am 13.03.2014 17:44, schrieb Jorge: >> Is there a way to set up the DTMF tone length? >> >> Jorge >> >> ---------------------------------------------------------------------------------------------------------------------------------------------- >> >> >> >> >> En función de la /Ley Orgánica 15/1999/, este mensaje de correo >> electrónico y sus documentos adjuntos están dirigidos >> /exclusivamente/ a los destinatarios especificados y su >> información es de uso /estrictamente privado/ salvo que se >> especifique lo contrario. La información contenida puede ser >> /confidencial/ y/o estar /legalmente protegida/. Si usted recibe >> este mensaje por /error/, por favor comuníqueselo inmediatamente >> al remitente y /elimínelo/ ya que carece de autorización de todo >> tipo. /Se prohíbe expresamente/ la revelación, distribución, >> impresión o copia de toda o alguna parte de la información >> contenida en este mensaje >> >> >> >> ------------------------------------------------------------------------------ >> Learn Graph Databases - Download FREE O'Reilly Book >> "Graph Databases" is the definitive new guide to graph databases and their >> applications. Written by three acclaimed leaders in the field, >> this first edition is now available. Download your free book today! >> http://p.sf.net/sfu/13534_NeoTech >> >> >> _______________________________________________ >> Asterisk-java-users mailing list >> Ast...@li... <mailto:Ast...@li...> >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases > and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > <mailto:Ast...@li...> > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |