![]() |
|
|
#1 (permalink) |
![]() Join Date: Aug 2004
Posts: 20
![]() |
Call trigger
How can I initiate a process (application, sql trigger, windows event, etc) when a call comes in?
I'm using the SMDR output from DeltaServer, and supposed I could build an application with a timer that watches the csv file, but that seems like such a hack! Thanks in advance... |
|
|
|
|
|
#3 (permalink) |
![]() Join Date: Aug 2004
Posts: 20
![]() |
Re: Call trigger
I'm looking to integrate the phone system with the CRM I'm building.
For example, if there was a way to get DeltaServer log every incoming call in to a SqlServer database (which I believe there is a way to do but I have not been able to find), I could then have the incoming call trigger an application on the receipients desk that would come up with the customers history. |
|
|
|
|
|
#4 (permalink) | |
|
PBXtech SILVER 25+ posts
![]() Join Date: Apr 2004
Posts: 40
![]() |
Re: Call trigger
Quote:
The way I would think about doing it is setting up Delta Server to log to a file. Then write a custom parsing application that would watch for new data on that file (a loop until it doesn't get an EOF). Then parse the new information into the SQL database. Would work quite slick I would think. Shouldn't be that hard at all. Especially with the new .net stuff, which has all kind of SQL/DB stuff integrated right in. Not to mention, if you run delta server, you are going to be running the .net platform anyways (DS is a .net application) The only problem I could forsee is if there are tons of calls coming in at once. Then the parser app might take a minute to catch up. The other really good thing about this solution is.. you don't need to pay more $$$ to Avaya for licenses, etc... :D Last edited by mallgood; October 4th, 2004 at 10:46 PM. |
|
|
|
|
|
|
#5 (permalink) |
|
Moderator
![]() Join Date: Sep 2003
Posts: 561
![]() |
Re: Call trigger
Purchase Phone Manager PRO licences for anyone who needs these screen pops. In the configuration options for PMPro, in the screen pop settings, you can launch any third party application with command line parameters indicating the callerID, etc.
Peter |
|
|
|
|
|
#6 (permalink) |
|
PBXtech SILVER 25+ posts
![]() Join Date: Aug 2004
Posts: 81
![]() |
Re: Call trigger
Using SMDR for the function you mention is not an option. SMDR information will only be available after disconnecting the call.
I suggest to use the free Tapi driver for each user. Write your software in a Server/client way and let the client software communicate with the Tapi driver were the information you need is available and then collect data from the server to display on the screen of the client. I've done this before and is not that hard to do, programming in VB is more difficult with TAPI as with C++ or C#. Also you can purchase a TAPI Link Pro license and let the server do all communication with the IP Office. I've added a sample VB Tapi project i found on the web and found it usefull for me, maybe it will help you out. Good Luck |
|
|
|
|
Advertisement
|
Sponsored links
|
|
|
#9 (permalink) |
|
PBXtech SILVER 25+ posts
![]() Join Date: Aug 2004
Posts: 81
![]() |
Re: Call trigger
Hi dmitry,
I have been digging in some old info ( Network Alchemy ) and found the following wich will be very usefull for you, its free and it still works ( tested on SOE 3.0.67 ) : Connect your PC to the DTE port of the IP Office, 38400,8,N,1. Start Hyperterminal with the above settings and type AT, the unit response with OK. Then type AT%CCID=5. pickup a handset and start dialling a number you will get output like this: CALL: 5.1.1 State=0 Cut=1 Music=0.0 Aend="Line 5" (2.1) Bend="" [] (0.0) CalledNum=123456789 ()CallingNum=0987654321 () Internal=0 Time=0 AState=0 This will be presented as soon as the call comes in. All events invoked by any extension or line will be shown here. |
|
|
|
|
|
#10 (permalink) |
|
PBXtech SILVER 25+ posts
![]() Join Date: Aug 2004
Posts: 81
![]() |
Re: Call trigger
Addendum..
These setings will not survive a reboot. if that is needed then crate a user named "DTEDefault", no extensionnumber or anything and put the following as a trustednumber "AT%CCID=5". Then it will survive a reboot. |
|
|
|
|
|
#12 (permalink) |
![]() Join Date: Nov 2004
Posts: 7
![]() |
Re: Call trigger
I've tried this two ways; a .NET service that monitors the Delta output using a class derived from FileSystemWatcher, and a Win32 service that uses the DevLink API. The first way works good (no latency even at high call volumes - although we do have serious backend kit), but the second is definately cleaner/more elegant from a software perspective. If you email me (allan.rogers@prostate-cancer.org.uk), I will give you as much info as I can. I will even give you some of my code.. no guarantees!
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Key programming on the Option 11c | trish | Meridian systems | 4 | April 5th, 2006 03:03 PM |
| Speed Dial in Opton 61c | smt | Meridian systems | 6 | March 24th, 2006 10:18 AM |
| What's new un version 3.0 (2) | Tooqui | IP Office | 0 | August 4th, 2004 01:42 AM |
| Call forwarding to cellphones from DID # | redG | Definity Servers | 2 | December 22nd, 2003 04:26 PM |
| Using Call Record | Andrew | Norstar systems | 0 | July 18th, 2003 08:55 AM |