Does the PBX have a web frontend? if so you could scrape that and store to DB

Can you telnet to the device? http://www.dali.net.nz/Telnet.class.php.txt

If you can communicate with the device you could create a RESTFul type
webservice and let cakephp interact with that...

CT


On Thu, Jun 5, 2008 at 1:43 PM, Gonzalo Servat <[EMAIL PROTECTED]> wrote:
> On Thu, Jun 5, 2008 at 2: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?
>
> What are they using as a PBX? I would suggest looking into whether you can
> hook up to it somehow and fetch data from it (maybe via serial port or
> something ... even better if it has a way to fetch data over TCP/IP). If it
> uses some sort of RDBMS that Linux can talk to, then great. Failing that I
> don't see how you'll be able to achieve point 1.
>
> Another option, if there is no way to get call accounting data from the PBX,
> is to look into replacing the PBX with something like FreeSWITCH or
> Asterisk. I'm sure it's not easy to convince them to replace an expensive
> PBX they just purchased over Asterisk but, since I don't know the situation,
> I'm throwing the idea out there.
>
> Good luck.
>
> - Gonzalo
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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