ID caller - Any experience ?

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

ID caller - Any experience ?

Post by Marco Turco »

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
MarcoBoschi
Posts: 925
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy
Contact:

Re: ID caller - Any experience ?

Post by MarcoBoschi »

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
Marco Boschi
info@marcoboschi.it
Randal
Posts: 250
Joined: Mon Oct 24, 2005 8:04 pm

Re: ID caller - Any experience ?

Post by Randal »

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
User avatar
Marco Turco
Posts: 858
Joined: Fri Oct 07, 2005 12:00 pm
Location: London
Contact:

Re: ID caller - Any experience ?

Post by Marco Turco »

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
MarcoBoschi
Posts: 925
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy
Contact:

Re: ID caller - Any experience ?

Post by MarcoBoschi »

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.
Marco Boschi
info@marcoboschi.it
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: ID caller - Any experience ?

Post by Silvio »

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

Falconi Silvio
User avatar
Marco Turco
Posts: 858
Joined: Fri Oct 07, 2005 12:00 pm
Location: London
Contact:

Re: ID caller - Any experience ?

Post by Marco Turco »

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
Detlef Hoefner
Posts: 312
Joined: Sat Oct 08, 2005 9:12 am
Location: Germany
Contact:

Re: ID caller - Any experience ?

Post by Detlef Hoefner »

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
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Re: ID caller - Any experience ?

Post by James Bott »

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
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Re: ID caller - Any experience ?

Post by Richard Chidiak »

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
MarcoBoschi
Posts: 925
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy
Contact:

Re: ID caller - Any experience ?

Post by MarcoBoschi »

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
Marco Boschi
info@marcoboschi.it
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: ID caller - Any experience ?

Post by Otto »

Hello Marco,

what hardware do you use?
Thanks in advance

Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org

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

Re: ID caller - Any experience ?

Post by James Bott »

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
MarcoBoschi
Posts: 925
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy
Contact:

Re: ID caller - Any experience ?

Post by MarcoBoschi »

Otto,
Marco Boschi or Marco Turco?
Bye
Marco Boschi
info@marcoboschi.it
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: ID caller - Any experience ?

Post by Otto »

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

********************************************************************
Post Reply