PBXtech.info  
\'\'

Go Back   PBXtech.info > Avaya > IP Office

Reply
 
LinkBack Thread Tools Display Modes
Old October 4th, 2004, 11:01 AM   #1 (permalink)
dmitry
 
Join Date: Aug 2004
Posts: 20
dmitry is on a distinguished road
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...
dmitry is offline   Reply With Quote
Old October 4th, 2004, 03:00 PM   #2 (permalink)
big70
PBXtech SILVER 25+ posts
 
Join Date: Aug 2004
Posts: 47
big70 is on a distinguished road
Re: Call trigger

Wat do you want to trigger?? (a program,lights,alarm)
If you need a no/nc you have relais that are triggerd bij the voltage of a pot.
:D

Greets Peter
big70 is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old October 4th, 2004, 04:18 PM   #3 (permalink)
dmitry
 
Join Date: Aug 2004
Posts: 20
dmitry is on a distinguished road
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.
dmitry is offline   Reply With Quote
Old October 4th, 2004, 10:41 PM   #4 (permalink)
mallgood
PBXtech SILVER 25+ posts
 
mallgood's Avatar
 
Join Date: Apr 2004
Posts: 40
mallgood is on a distinguished road
Re: Call trigger

Quote:
Originally Posted by dmitry
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.
I think your first idea would be the easiest, even though is seems hackish.
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.
mallgood is offline   Reply With Quote
Old October 6th, 2004, 10:53 AM   #5 (permalink)
Cephas
Moderator
 
Cephas's Avatar
 
Join Date: Sep 2003
Posts: 561
Cephas is on a distinguished road
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
Cephas is offline   Reply With Quote
Old October 20th, 2004, 03:58 PM   #6 (permalink)
corhavelaar
PBXtech SILVER 25+ posts
 
Join Date: Aug 2004
Posts: 81
corhavelaar is on a distinguished road
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
Attached Files
File Type: zip Een.zip (63.6 KB, 22 views)
corhavelaar is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old November 3rd, 2005, 02:49 PM   #7 (permalink)
dmitry
 
Join Date: Aug 2004
Posts: 20
dmitry is on a distinguished road
Re: Call trigger

The newer version of Delta Server (5.0) has an SMDR Port configuration. How can I use this?
dmitry is offline   Reply With Quote
Old November 3rd, 2005, 03:43 PM   #8 (permalink)
corhavelaar
PBXtech SILVER 25+ posts
 
Join Date: Aug 2004
Posts: 81
corhavelaar is on a distinguished road
Re: Call trigger

SMDR info comes always after call completion so it is no use for screen popping.
corhavelaar is offline   Reply With Quote
Old November 4th, 2005, 02:37 AM   #9 (permalink)
corhavelaar
PBXtech SILVER 25+ posts
 
Join Date: Aug 2004
Posts: 81
corhavelaar is on a distinguished road
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.
corhavelaar is offline   Reply With Quote
Old November 4th, 2005, 03:04 AM   #10 (permalink)
corhavelaar
PBXtech SILVER 25+ posts
 
Join Date: Aug 2004
Posts: 81
corhavelaar is on a distinguished road
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.
corhavelaar is offline   Reply With Quote
Old November 4th, 2005, 05:44 AM   #11 (permalink)
dmitry
 
Join Date: Aug 2004
Posts: 20
dmitry is on a distinguished road
Re: Call trigger

Awesome - thanks!
dmitry is offline   Reply With Quote
Old November 17th, 2005, 10:38 AM   #12 (permalink)
AllanR
 
Join Date: Nov 2004
Posts: 7
AllanR is on a distinguished road
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!
AllanR is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT -6. The time now is 01:51 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2002 - 2007, PBXtech LLCAd Management by RedTyger

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36