×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Dec 2012
    Posts
    2

    Interacting with IVR system using Python s60 telephone module

    Hi All,

    I am new to Python s60 (5th edition) application development. I am trying to develop an application that will interact with IVR system and I am stuck with the telephone module.

    Here is what I am trying to do. Dial a number (responding with IVR), wait for 5 seconds, press "1". I want all these through the code.

    import telephone
    import time

    telephone.dial(u'12345')
    time.sleep(5)
    telephone.dial(u'1')


    I couldnt find an API in python s60 for pressin/entering "1" after connecting a number. telephone.dial(u'1') is raising exception as there is another call in progress.

    Any help is greatly appreciated!

    Thanks!
    Last edited by ArulSubramaniam; 2012-12-16 at 17:15. Reason: updating the edition

  2. #2
    Super Contributor
    Join Date
    Jan 2009
    Location
    Melbourne, Australia
    Posts
    2,578

    Re: Interacting with IVR system using Python s60 telephone module

    Perhaps you could use "p" in the number - e.g. telephone.dial(u'12345pppp1')

  3. #3
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,568

    Re: Interacting with IVR system using Python s60 telephone module

    If you need sending further commands, consider checking if telephone module supports sending DTMF signals (unfortunately I can not find its documentation, searching for telephone with Google seems to be rather pointless even if I pair it with Python and/or module)

  4. #4
    Registered User
    Join Date
    Dec 2012
    Posts
    1

    Re: Interacting with IVR system using Python s60 telephone module

    Hi G
    How is the alignment tool development going?

  5. #5
    Registered User
    Join Date
    Dec 2012
    Posts
    2

    Re: Interacting with IVR system using Python s60 telephone module

    Thanks hamishwillee. The pause (p) method works for me. telephone.dial(u'12345pppp1')

    Thanks everyone!

Similar Threads

  1. telephone module: hanging up
    By tatt0005 in forum Python
    Replies: 0
    Last Post: 2010-04-08, 20:24
  2. telephone module query
    By kkc_123 in forum Python
    Replies: 3
    Last Post: 2009-09-14, 06:13
  3. telephone module
    By maxino76 in forum Python
    Replies: 0
    Last Post: 2007-10-28, 11:33
  4. Module Telephone
    By oper6600 in forum Python
    Replies: 0
    Last Post: 2007-09-27, 22:28
  5. telephone - module
    By Yarx in forum Python
    Replies: 1
    Last Post: 2007-03-19, 19:34

Posting Permissions

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