Hi Reza,

Most PBX systems log with a feature called Call Detail Recording (or
Records), CDR for short.  How to get at them depends on the system,
but generally there is a card in the PBX with a serial output that
spits out the CDR records. Attached to this is often a buffer box that
a PC dials into periodically to fetch records, or it could be tied
into the hotel management system directly for real time reporting.  It
might also be done on the management interface by issuing a command to
dump the CDR records and flush the logs.

If this is the case, you'll probably attach the CDR port to the PC
directly, and write a daemon that logs the CDR records (flat file,
probably .CSV) into your database.  Cake, or whatever other apps you
use, will read the data from your SQL database.

Sean

On Jun 5, 12:37 pm, Reza Muhammad <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> I was just assigned to a project building a hotel management system,  
> and I would like to use CakePHP. Most of the requirements are pretty  
> standards, but there is one thing I'm not familiar with.
>
> I am supposed to be able to track calls from each rooms that is using  
> PSTN through PBX. There will be no VoIP calls.  I have got no clue  
> whether it is doable or not.
>
> My questions are:
> 1. Can data packets from calls be captured using PHP?
> 2. Or do I have to use another software for the PBX to save data to  
> the database (hopefully to MySQL, or other open source RDBMS  
> software), then collect the data from that server's database?
>
> Does anyone have some experience on this problem? Do you mind to share  
> your thoughts on this?  Is there such software to do #2?
>
> Your thoughts and comments are much appreciated.
>
> Thank you,
> Reza Muhammad
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to