Menu

Window application that use Asttapi driver

Help
2006-11-09
2013-04-23
  • Tjendarta Ho

    Tjendarta Ho - 2006-11-09

    Hi guys,

    I would like to  create a window application that can initiate a call.

    As starter, I use example in Asttapi source code 0.1. Is there any documentation that explains about the testbed application ?

    I can build the testbed successfully and execute it. You need to select File>Open line to initialise making a call, then select File>Call 8500.

    Where do you need to change the extension number in the code, since I want to change from "8500" to "SIP/202". Anyone has experienced on this source ?

    Any suggestion will be very much appreciated ...

    Thank you
    Tjendarta Ho

     
    • Tjendarta Ho

      Tjendarta Ho - 2006-11-09

      Ok, I find strange thing ...

      In my control panel>Phone and Modem Options, my Asterisk TAPI driver looks like:

      Host : 192.168.100.38
      Port : 5038
      User : admin
      Password : *****
      User Channel : SIP/202
      Line Name : Chen
      Leave the other fields blank ...

      Then when I execute the testbed application again ... and make a call through File>Call 8500 ... Then my phone extension SIP/202 ringing ...

      Is the destination call in testbed application retrieving from User Channel fields in my control panel ?

      How to make the destination number dynamic, since I want to make a window application that can make outgoing call.

      Thank you

       
    • Tjendarta Ho

      Tjendarta Ho - 2006-11-09

      Sorry for my stupidity ... =P

      So when my extension SIP/202 is ringing is normal

      then in control panel>Phone and Modem Options, I add:

      Tick Dial by 'Context' and
      Context : outbound-allroutes

      If I try it in Microsoft Outlook, call contact works fine. Although there is problem with Hanging up the call.

      My question is how do you pass destination number to the testbed application >?

      Please help me ... =)

      Thank you

       

Log in to post a comment.