Call monitor and auto hang up

Hi everyone, this is my first post here. I just got a BlackBerry Pearl 8110 in Mexico with a package data unlimited and unlimited calls to 10 numbers from the same company, just as long as they are less than 5 minutes. So, I was looking for an application that could let me know what is the duration of a call, say 04:20 and end the call automatically at 04:50 (configurable of course).

I could not find such an application (I don't mind paying for it) so I decided to code myself. After a bit of the read API I looked at the PhoneListener interface that would provide the necessary events (callInitiated, callConnected, callDisconnected) and its implementation, the phone class that would allow me to inject a DTMF tone in the current call or at least he says in his description, but I could not find a method to do this injection of DTMF.

My main question is, how can I develop an application that should start automatically when a call is received? I like to work when a call is initiated by the use, the application looks in its database of numbers to find out if the dialed number is included in the list of 10 numbers. If this is the case, start keeping account of the duration of the call. If the call reaches the soft limit, inject the DTMF tone and when it comes to the hard limit, end the call automatically. Is it possible to have an application daemon-like on the blackberry that listens to the calls began? and if so, where do I find tutorials or documentation?

Thank you very much!

Hello!

Just to answer a few questions:

1. the request of deamon, I suggest to have the application running all the time and setting to run at startup of the device. To do this, you will need to make some adjustments in the JDE. Do a search on this forum and you will find...

2. the list of the 10 numbers. You could do an application user interface which maintains these numbers in a list. Then, for each call, you can compare the number called against the list. If so, do an action...

3. to end a call, you can use injection of the event. Take a look on this forum and good luck!

BR,

Isabelle

Tags: BlackBerry Developers

Similar Questions

  • Satellite M70 runs for several seconds and then hangs

    Hello

    I have a Satellite M70. My problem started several weeks ago with the laptop freezing. Then it blue screened a couple of times. Now when I start it, it runs for a few seconds and then hangs.

    I can't do anything because the screen is blank but the LED still show as if it was on. If I leave the phone for a day or two, and then I can start it again and the same thing happens, but if I try to start immeadiately, the screen remains blank.

    Any help would be appreciated, I had company look and they said that the LCD screen was tired, but it is not if it lights.
    Also, I tried to plug in an external monitor and it's the same thing. PLS help

    Hello

    Here in the forum we can only speculate what may be the problem. I don't think anyone can say for sure why this happens. I got BSOD a few times but always after installing some shareware applications. In my case it was clearly software related issue.

    It is not easy to say why this is happening to you. You can enter the BIOS settings? Try to start your computer laptop in safe mode, just to see if it works.

  • Can I connect a VGA cable simultaneously with a DVI cable to a monitor and use the source switch?

    I found a similar, but not exact question and I was wondering if I could use the VGA cable AND cable DVI simultaneously on a HP 2159 m monitor and switch back and forth from analog and digital using the source switch on the screen? I noticed that some casual games such as found at BigFish and other gaming sites works best on VGA on DVI but I like to watch movies and other DVI instead of VGA?

    I did two HP 2159 m monitor but it could in fact be wise space more convenient to just use the right now and switch from the analog to the digital format.

    Thanks for any response.

    Hello

    You will need to edit the video in the monitor source selection when you want to switch.  Don't put it on AUTO.

    For a test, connect two monitors and then configure your PC for two monitors. Then, remove the monitor as the secondary (VGA) and now connect the cable to the main monitor VGA port.  Now try the video source selection in the menu of the monitor.  I never tried it on my 2159 m but it can work.

    Some monitors do not react to two active flows.

  • Someone call me and say that it is Micrsoft, the phone number is 21-299-9365, they ask me to turn on my computer. Who is this & can you help me?

    Help: under the title above is the problem, but I will type it again.  Someone was to call me and say it's Microsoft. Their phone number is displayed on my identification of the appellant as 21-299-9365, as soon as I answer they tell me to turn on my computer that Im problems.  Who is this and can you help me?.  I bought a new computer a few years ago and have a different email.  the old email was.  TWC purchased a preview so I can no longer use the e-mail.   Thank you I can not write my email to you, according to you, note.

    It is a scam to get personal information on your behalf hang up on these people.
     
     
     
     
    Aggressive, persistent Windows tech support fraudsters continue to track consumers
    http://www.Computerworld.com/s/article/9248122/Aggressive_persistent_Windows_tech_support_scammers_continue_to_stalk_consumers

     
  • This morning a guy called me and said he was from California United States Windows, our computer was strange before he help us.

    Original title: is it a scam?

    This morning a guy called me and said he was from California United States Windows, our computer was strange before he help us. We the have not called before, he's a hacker? One name was John Rex

    This morning a guy called me and said he was from California United States Windows, our computer was strange before he help us. We the have not called before, he's a hacker? One name was John Rex

    He said he was with "Windows"?

    You should not get cold-calls from computer technical support.  If you do and you do not install a sort of monitoring service you pay a fee for - it's a scam.

  • I can stream movies on my PC using the desktop PC monitor. But when I unplug the monitor and use a PC to TV HDMI cable I get the video but the audio now

    . Video streaming

    I can stream movies on my PC using the desktop PC monitor. But when I unplug the monitor and use a PC to TV HDMI cable I get the video but the audio now... Suggestions?

    Thanks for the file INF. I ck'ed for driver updates and I have the latest drivers installed.  I got the sound working on the TV by hanging the audio output of the PC to the entrance of the TV with the HDMI cable in place for video. It's the simplest solution to this problem, so I took it.

    By the way, I have a Dell 620 with windows 7.
  • problem with monitor and system

    the power light is on, but the system is unresponsive and freezes until it can I do to solve this problem

    Hello

    BTW, if the monitor is separate from the computer (not a laptop) then check the cables
    at both ends - drop, and then hang them up in case there is a connection problem.

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • Monitor and system used "wake up" mode ensures

    I tell my story so that others may not feel as if they were alone in their perdicament. My story starts like this:

    I bought the m9520f and and w2408h last Saturday and have been enjoying the PC immensely. I really like HP and wouldn't not consider purchasing another manufacturer - even with the troubles, I'm going to wear. Everything worked well until Sunday night, when I put the system into "sleep" mode and returns an hour later. I had put the system into "sleep" before but was returned to him several minutes later. But this time after leaving the PC in "sleep" for an hour, the system will not turn back. The lights on the PC itself would come on (from the green 'sleep' to the 'blue'), but the monitor would refuse to wake up. I called support and even they could not understand it. We have tried to unplug the pc and all its ropes, but nothing worked. I hooked up the monitor to my other pc, and it worked well, so I knew there was nothing wrong with the monitor. Earlier Saturday the PC would not recognize Monitor driver then maybe had something to do with it. Hmmm. When I disconect the PC monitor would come and it lights on the keyboard would be as well. When I plugged the monitor of the PC turns on but keyboard lights wouldn't. Strange. The monitor would immediately switch to "standby" mode as soon as I plugged the HDMI or VGA - in fact just before he would monitor OSD would be inidcate that niether the HDMI or VGA were connected (which they were physically). So I knew that the monitor was not to recognize the conection. Communication between the monitor and the PC must have been the cause. After about 45 times to turn on and off Alternatively the monitor and the PC, the monitor has FINALLY acknowledged that there was a link and my PC on - WHEWWW. I was afraid that I would have to discuss with the people at Circuit City for an Exchange. I still don't know what happened, but all I know is that I will NEVER put this monitor or PC in sleep in the future. Here are the symptoms that I lived in case someone else there is in the same perdicament. It seems to me that this can be cured with a software update - but I'm not smart enough to Koe for sure:

    Tip #1: The PC would not recognize Monitor driver

    Tip #2: This happened after leaving the monitor and the PC in 'sleep' for more than 30 minutes

    Tip #3: The PC lights (clear blue power, stable, flashing green light on the back and the dvd player opens) but the rest of the monitor to sleep

    Tip #4: The monitor refuses to acknowledge that it is "connected".

    CUE #5: The PC "blockages" accordingly and refuses to switch (kind of caught between being on and "sleepy")

    Tip #6: When the PC finally trun on the driver and the software supplied with the monitor that he would not recognize Saturday had risen from PC (hmm - I chose to not reinstall)

    My recommendation: do NOT try to install the driver provided with your monitor and DO NOT put your system into "sleep" for more than 15 minutes.

    My system: Pavilion Elite m9520f with monitor w2408h 24 inches.

    LAST UPDATED:

    After several weeks with the computer, I found the solution. I did through trial an error. First of all, let me say that I don't have the option of returning the PC to the retailer, because it was Circuit City and they had to stop their activities - so I couldn't do that. Here is the solution for those of you are having problems with your PC do not 'wake up' sleep: (Please note that some documents below may be repetative and you could read what follows before in my previous updates - I just wat to summarize below for some people)

    1) to update drivers (ALL)

    (2) update the BIOS (very Important!) on the site of HP

    (3) HP has a problem with USB devices (external drives, USB mouse, anything with USB and Yes, that includes your monitor). Which MAY have something to do with the "bus controller" driver who refuses to this day to be installed on the 'updates '. I was not able to install this darn update, so I gave up. I know that many of you have had trouble with that as well so I'll leave for another topic on the forum of "solve". All I have now is that I've resigned myself to the fact that it will never be installed and I'm fine with it. Anyway, my main concern was the problem of "sleep". Getting back to what I was saying, the HP has a problem with the USB devices. In other words, all USB DEVICES MUST BE REMOVED before you go into sleep - if you do not, then the system will NOT "wake up". What I've learned, is to remove all USB devices before entering the sleep and my system will go to sleep and wake up without problems - for me, it was just a matter of having disconnected and reconnected once the system was awake. Of course, those with a USB mouse, I recommend that you get a mouse not USB. Fortunately also my HP w2408h monitor is connected through a HDMI cable so I don't have the problem of having to disconnect and reconnect it. The manual of the suggested w2408h connect it by HDMI AND USB but only connect it via HDMI and it works perfectly for me - DO NOT CONNECT THE USB cable on the screen because then you will have the problem of sleep.

    Resolved solution!

    (now, if I can get my gosh darn controller BUS to install and my blu - ray to panic game then that would be nice - arghhhhhhh!)

    Hope my experience helped the people there!

    Message edited by m9520fUSER on 02/12/2009 20:35
  • _ "Boot Performance Monitoring" and "stop Performance Monitoring. __

    I just looked to the top of the page "Event Viewer" and discovered 1 791 itemsmarked as 'endangered', 'Critical', 'Error', etc, etc, etc.!
    They seem to be linked to "Boot Performance Monitoring" and "Stop Performance Monitoring", etc., etc., etc..!
    How can I fix all of these issues, please?
    I have a little trouble with my home computer private.
    Whenever I turn on my PC, it takes a long time to start (is that what you call "Booting"?).
    Also, when I want to turn my PC off, it takes a long time to close.
    I tried a few computer maintenance such as: -.
    CLEANING DISC,
    THE FRAGMENTATION OF THE DISK,
    etc.,.
    but they have not alleviated the problems at all.
    Can someone help me with this please?
    Any assistance, information, suggestions, etc. would be greatly appreciated.
    Thanks !

    Alan Merrington
    E-mail address is removed from the privacy *.

    Hello

    Normally how long will it take to start a power off of the State? How long does take for
    Stop for a shutdown of the State?

    Use this simple free utility to read these events and it makes it easier to paste them into one
    message here. Do these after the SFC and CheckDisk as below.

    MyEventViewer - free - a simple alternative in the standard Windows Event Viewer.
    TIP - Options - Advanced filter allows you to see a period of time instead of the whole of the record-
    Set it for a bit before and after the time of the BSOD.
    http://www.NirSoft.NET/utils/my_event_viewer.html

    ==========================================================

    Follow these steps to remove corruption and missing/damaged file system repair or replacement.

    Run DiskCleanup - start - all programs - Accessories - System Tools - Disk Cleanup

    Start - type in the search box - find command top - RIGHT CLICK – RUN AS ADMIN

    sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
    generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Then, run checkdisk - schedule it to run at next boot, then apply OK your way out, then restart.

    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

    ==========================================================

    Keep these practice to check possible error messages if they return.

    Check out these utilities to see if information may be collected:

    It is an excellent tool for displaying the blue screen error information

    -Free - BlueScreenView scans all your minidump files created during "blue screen of death," collisions
    and displays information about all accidents of a table.
    http://www.NirSoft.NET/utils/blue_screen_view.html

    -------------

    MyEventViewer can be verified at the time of the blue screen (BSOD) within a second or so of the
    time of the BSOD to provide more information about the possible cause - see TIP)

    MyEventViewer - free - a simple alternative in the standard Windows Event Viewer.
    TIP - Options - Advanced filter allows you to see a period of time instead of the whole of the record-
    Set it for a bit before and after the time of the BSOD.
    http://www.NirSoft.NET/utils/my_event_viewer.html

    ------------

    AppCrashView - free - a small utility for Windows Vista and Windows 7 that displays the details of all the
    application goes down has occurred in your system. The information breaks down is extracted from the .wer
    the files created by the Windows Error Reporting (WER) of the operating system component of each
    time that an accident has occurred. AppCrashView also allows you to easily record the list of accidents to
    text/html/csv/xml file.
    http://www.NirSoft.NET/utils/app_crash_view.html

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • Whenever I have turn off my monitor, and then turn it back on, all my desktop icons are completely reorganized.

    This issue just started.  Whenever I have turn off my monitor and then turn it back on, all my desktop icons are completely reorganized.  This happens when my system goes into power saving mode, or whenever I have turn off the monitor.  Even if I turn it back on just 5 seconds later, all of my icons are not where they were previously.  Help!

    Suggestions:

    1 a simple way:
    . Right click on desktop > view > uncheck Auto arrange > check snap to grid.

    2. in a more elaborate way and actually a better way. I use this method I have over 150 shortcuts etc on my desk. I can't afford to have shortcuts/icons, rearranging themselves. I won't be able to find anything, if they do.
    Here is the tutorial:
    http://www.howtogeek.com/HOWTO/Windows-Vista/save-and-restore-desktop-icon-layout-in-Windows-Vista/

    Note: The method is not perfect, you can, after a while, have one or 2 icons on the spot. But it's easy to fix.

  • "The remote procedure call failed and did not execute." Tried many things, still does not work

    Hello, whenever I try to open a file, the message "the remote procedure call failed and did not execute" appears. I checked that "Remote Procedure Call" began and is on automatic, as well as the RPC Locator is the manual value. I also ran a full system scan of my Norton Antivirus, which picked up nothing.  Can someone please?

    Hello

    You can try to change RPC Locator auto and see if that fixes the problem?

    I recommend that you only perform a scan with the auditor of the filesystem, which will scan your system for missing/corrupted or damaged files and will try to correct them.

    How to run the System File Checker

    http://www.SevenForums.com/tutorials/1538-SFC-SCANNOW-Command-System-File-Checker.html

    Also, you can run the check disk to find bad sectors that may be present on your system.

    Check your hard drive for errors

    http://Windows.Microsoft.com/en-us/Windows-Vista/check-your-hard-disk-for-errors

    Thank you

    Legaede

  • The call coming and it's time to talk.

    I want to do something like.

    When the call comes and picked up then get her number of incoming call and it's time to talk.

    How can I achieve this.

    I work the first time on this type of application.

    Can someone tell me how can I do this with some piecs code.

    Coz it is very very urgent.

    Thank you

    Nitin

    See, PhoneLogListener is a listener that fires an event (which you choose) when this change occurs.

    In this case, we take calllogadded... so every time a new call log is added, it will run the code it contains.

    as regards the closing of the application goes... like I said earlier... I used an application of auto start as module system with no screen, no icon... that began with the start of the phone and still don't run in the background...

    But if you use screens in the application, it will be the icon... and then the second method (overrides the onClose method) can be used on the screen, when you exit the application.

    It will do this: when you close this screen where you will exit the application, the application will not be left but sent to bottom and appears in the application, just like any other background running application Ribbon... and will continue to do what he does... In our case get the logs of calls received.

    It could be that useful...

  • Call Pickup and group Pick up - answer options

    I have a customer who call Pickup and Pickup group configured for the ring at night entering what rings to the paging system (General speakers) sites.   At this time they can either pick up the handset, press the programmable pickup and then answer or pick up handset, group pick-up and then answer to retrieve the call.

    My client wants to eliminate the step where they must rely on the answer.  They would like to be able to press the display key Pick-up and have the call sign vs having to press the answer.  Is this possible.  for collection or collection group?

    Call Manager 8.5

    Thank you

    Take a look at the parameter service Callmanager "Enabled Auto Call Pickup".

    HTH,

    Chris

  • The difference between the inversion, inversion, newspaper and auto to HFM journal?

    Hello! all the

    This is sandeep. I was assigned to journals, but I'm not able to understand the difference between the inversion inversion journal log and auto could you please help me to know the difference between them

    Thank you

    SANDEEP

    Hi Sandeep,

    We post the reviews auto in hfm in some cases reverse,

    REVERSE JOURNAL - We post newspaper market back in January for the flow,

    JOURNAL of REVERSAL - The same newspaper will show in February as credit side slot approval stage.

    Both together call us log automatic reversal in HFM.

    Theanks,

    Issue

  • I have 10 devices all under the same identity of apple my partner can see all my contacts, call logs and use of all other web internet devices. How can I change this, to keep my contacts and call log on my phone only?

    I have 10 devices all under the same identity of apple my partner can view all my contacts and call logs and vice versa.

    The device can also see all internet pages use the devices, but mine isn't... How to get our contacts and call the newspapers private their own device and how can I get to keep an eye on web pages using my children? So how do for my phone, the master device / hand who is in control of access for all, because it has my info from apple id and card credit on all devices.

    Stop sharing an ID first. They are not meant to be shared. Then set the sharing of family. Each individual should have their own code.

Maybe you are looking for

  • Plugin Shockwave Flash 16.0.0.296 requires the update

    But it returns me to this page https://blocklist.addons.mozilla.org/en-US/firefox/blocked/p178 I tried to use the form in the Page check but who hold with the circle of rotation.It is not anyway to update the plugin. Also tried a reset of Firefox

  • Atheros AR5005G Wireless Network not lit - Satellite A85

    Hello I have a laptop Toshiba Satellite A85-S1072. I am trying to set up my wireless network, but I can't turn on my radio in my Atheros AR5005G Wireless Network card. My wireless router is configured OK.I checked in the Device Manager tab and the At

  • Tecra A5: Question about usage and warranty

    Once again, HejThanks a lot for your responses to my previous threads.I saw the Toshiba Tecra A5 only in photos, some of you have one of these?My Toshiba model (A5) favorite cams with 2 years warranty and support, but what happened after these two ye

  • Mooring: w or w/o battery?

    Welcome all. Curious more than anything else... I use my W510 on a pier 99% of the time. Does he / she would make a difference if I leave the battery permanently or not? I wonder if I can extend the useful to not use it on the dock; just He burst in

  • How to give different Anyconnect profiles for some users

    Hello I am very new to Anyconnect but managed to configure our ASA5510 with connection files 2, one with split tunneling is active and the other without.  How to configure the ASA/Anyconnect client so that most users see the connection with split tun