ID caller - Any experience ?

ID caller - Any experience ?

Postby Marco Turco » Mon Dec 14, 2009 8:42 pm

Hi all,
I would like to read from my app the ID caller (telephone number) of an incoming call in order to provide to the customer informations about the caller reading the data from file.

Has anyone experience about this ?
As I know I need to install a modem to check the incoming calls and detect the ID caller (generally the phone provider send the ID caller info after the first ring).

Any sample or other solution about this ?

Thanks in advance
Best Regards,

Marco Turco
SOFTWARE XP LLP
User avatar
Marco Turco
 
Posts: 858
Joined: Fri Oct 07, 2005 12:00 pm
Location: London

Re: ID caller - Any experience ?

Postby MarcoBoschi » Tue Dec 15, 2009 1:01 pm

Marco,
all PBX's provides TCP-IP or RS232 the CGPN.
Are you sure that it is necessary to use a modem?
Best solution is to read what pbx makes available for CDR (Call Detail Records)
Pbx usually makes available the incoming and outgoing calls in real time and then also CGPN available.

marco
User avatar
MarcoBoschi
 
Posts: 1065
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy

Re: ID caller - Any experience ?

Postby Randal » Tue Dec 15, 2009 7:22 pm

Marco,

Many modems support caller id. This link may help.

https://secure.mtnsys.com/Pages/howto/htmdmtst.htm

The phone.prg sample that comes with Fivewin would be a good place to start. Basically, you have to send a command string to the modem to turn caller id on and then capture the info as it's sent when the phone call comes in.

Regards,
Randal
Randal
 
Posts: 260
Joined: Mon Oct 24, 2005 8:04 pm

Re: ID caller - Any experience ?

Postby Marco Turco » Wed Dec 16, 2009 3:20 pm

Hi,
thanks all for the suggest.
I asked for a modem solution because we have more then 5,000 customers so we need a solution that can be used with different pbx,
as I know there isn't a standard to interface a windows app directly to a pbx but any pbx has its standards,
for this reason I think a solution that use an external modem to check the caller ID could be more easy to manage for us.
Best Regards,

Marco Turco
SOFTWARE XP LLP
User avatar
Marco Turco
 
Posts: 858
Joined: Fri Oct 07, 2005 12:00 pm
Location: London

Re: ID caller - Any experience ?

Postby MarcoBoschi » Wed Dec 16, 2009 3:46 pm

Marco,
in my opinion all pbx makes available id caller id.
I did not even know what scenario we are talking about, but maybe you should provide different solutions to interface with several pbx.

In a multiuser (of your app) scenario with a lot of incoming phone calls probably you may lose some incoming calls.

I think the solution to connect a modem is good only for a single telephone and a single user.
User avatar
MarcoBoschi
 
Posts: 1065
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy

Re: ID caller - Any experience ?

Postby Silvio » Wed Dec 16, 2009 3:58 pm

I Know Of Ugo Garombo made something of it last two year
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: ID caller - Any experience ?

Postby Marco Turco » Thu Dec 17, 2009 7:50 am

MarcoBoschi wrote:Marco,
in my opinion all pbx makes available id caller id.
I did not even know what scenario we are talking about, but maybe you should provide different solutions to interface with several pbx.

In a multiuser (of your app) scenario with a lot of incoming phone calls probably you may lose some incoming calls.

I think the solution to connect a modem is good only for a single telephone and a single user.


Hi Marco,
I perfectly agree with you
but it is really difficult for us create (and test) a direct connection with any kind of pbx - each with its specific standard - used from our customers.

Marco
Best Regards,

Marco Turco
SOFTWARE XP LLP
User avatar
Marco Turco
 
Posts: 858
Joined: Fri Oct 07, 2005 12:00 pm
Location: London

Re: ID caller - Any experience ?

Postby Detlef Hoefner » Thu Dec 17, 2009 10:00 am

Marco,

you might look at TAPI documentations.
All good pbx systems should provide a standard TAPI interface.
Unfortunatelly i didn't yet work on that topic.

But let me know if you find something useful.

Regards,
Detlef
User avatar
Detlef Hoefner
 
Posts: 312
Joined: Sat Oct 08, 2005 9:12 am
Location: Germany

Re: ID caller - Any experience ?

Postby James Bott » Thu Dec 17, 2009 3:03 pm

Marco,

I agree with Detlef, TAPI is what you want. Do a search on this fourm for TAPI and you will get some ideas and links to TAPI information and DLLs.

Regards,
James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: ID caller - Any experience ?

Postby Richard Chidiak » Thu Dec 17, 2009 3:52 pm

Marco,

I am also interested in this project, our customers also ask for this

James,

TAPI is definitely what i am looking for, documentation is OK, if someone has a good sample to share , it would help a lot,

Thanks for the help,

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Re: ID caller - Any experience ?

Postby MarcoBoschi » Thu Dec 17, 2009 4:24 pm

Dear friends,
I apologize for my insistence.
TAPI is very complex is not easy to use.

The best solution, the cheapest, the one that always works....is to create a little program that works in background modee and listens via TCP or via RS232 every information arriving from PBX

In my experience every pbx send the same informations.
DIRECTION INCOMING OUTGOING
LINE NUMBER
CGPN Calling number
CDPN Called number
DATE TIME
DURATION

My dbf table or the table in which I store all informations from pbx has a defined structure
Externally in a .INI file I permit to customer to customize structure to read
for instance
direction=0001;0010
linenumber=0011;0015
cgpn=0016;0036;
and so on

bye
User avatar
MarcoBoschi
 
Posts: 1065
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy

Re: ID caller - Any experience ?

Postby Otto » Thu Dec 17, 2009 5:39 pm

Hello Marco,

what hardware do you use?
Thanks in advance

Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Re: ID caller - Any experience ?

Postby James Bott » Thu Dec 17, 2009 5:43 pm

Marco B.

>TAPI is very complex is not easy to use.

I agree, if you are accessing TAPI directly. However, if you get an OCX, and then build a FW wrapper class around that, it would be simiple to use, and you would have access to all the TAPI capabilities.

Regards,
James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: ID caller - Any experience ?

Postby MarcoBoschi » Fri Dec 18, 2009 10:08 am

Otto,
Marco Boschi or Marco Turco?
Bye
User avatar
MarcoBoschi
 
Posts: 1065
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy

Re: ID caller - Any experience ?

Postby Otto » Fri Dec 18, 2009 10:33 am

Hello Marco B.
I mean the interface between telephone and PC.
Do you know if the protocol is the same if you have an analog or digital account?
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 51 guests