Discussion Board

Results 1 to 1 of 1
  1. #1
    Registered User
    Join Date
    Oct 2010

    Sending DTMF tones during a call

    Hello All,

    before I explain my problem, I assure you that I searched all over the forum a solution, but I were not able to find one. More precisely, I found a lot of post and articles about this matter, but no one has been useful for me.

    My problem

    I am developing an application which, basically, triggers a phone call to a specific number and, once the connection has been established, it send a numeric code using DTMF tones. If this operation would perform by a human being, we could describe it a following:

    • Trigger call
    • Wait for connection
    • Press the keys in order to send the DTMF tones

    I did not face any problem with the part of the application which triggers the phone call. The problem comes after this activity, in other word, once the communication channel has been established, the telephone does not send the DTMF tones. Below the application code.

    N.B.: In this code, between the phone call and the send of DTMF tones there are 20 seconds. The function which sends the DTMF tones after the establishing of the communication channel, has not yet been implemented.

    import telephone
    def chiamata():telephone.dial(u'+393357628583')
    import keypress
    from key_codes import *
    def tono1():keypress.simulate_key(EKey1, EScancode1)
    def tono2():keypress.simulate_key(EKey2, EScancode2)
    import e32 
    timer= e32.Ao_timer()
    It is important to stress up that if I use my mobile phyton console with the following code:

    >>> import keypress
    >>> from key_codes import *
    >>> keypress.simulate_key(EKey5, EScancode5)
    It returns

    This result means (if I am not wrong) that everything is working fine concerning the keypress simulation.

    Can someone help me solving this problem?


    Last edited by alessandro.eterni; 2010-10-27 at 15:08. Reason: ERRATA CORRIGE

Similar Threads

  1. Sending DTMF Tones
    By saji_iq in forum Symbian
    Replies: 6
    Last Post: 2007-05-25, 15:57
  2. Sending DTMF Tones
    By saji_iq in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2006-09-04, 17:11
  3. Calling and sending DTMF tones
    By fhenni in forum Browsing and Mark-ups
    Replies: 0
    Last Post: 2004-11-15, 20:59
  4. DTMF tones and sending between GPRS handsets
    By Woody_FX in forum Mobile Java General
    Replies: 0
    Last Post: 2004-03-24, 18:15
  5. sending DTMF tones.
    By Nokia_Archived in forum Multimodecards
    Replies: 2
    Last Post: 2002-11-12, 16:41

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts