[Asterisk-Users] Newbie questions

Steven Critchfield critch at basesys.com
Sat Jun 21 09:46:44 MST 2003


On Sat, 2003-06-21 at 11:02, CSTe wrote:
> Hi.....
> 
> I am new to this software, and I want to implement a client (SIP or
> IAX) with PHP or at least to pass the main functions (connection,call,
> transfer, hangup, call id etc) to a CRM.
> Does anyone know if I could achive a project like that with AGI ? Any
> example using AGI with PHP ?
> Do I have all the functionality with AGI ?

You couldn't implement a SIP or IAX client in php unless you where using
php as a cgi and possibly used it with the gtk extensions. Anyways, this
probably wouldn't get you what you think it would. What you really want
is something that hooks into the manager interface to provide those
functions. And a webapp is not the most useful for that. Your going to
need bidirectional communication with the clients. If it was done as a
webapp you would probably have to set a quick refresh on the page to
keep it up to date with what was going on, and all those connect, query,
display. disconnects are going to be a stress on your pbx that you don't
want to put it through. 

 
> What about call id ? What is depend on ? (As I know * does not support
> SS7, so is there a problem for the call id ?)
> Thanks in advance.

CallerID can come on an analog connection with FSK tones, it can come on
PRI via tha facility information plus calling number information. I've
had at least 1 telco not beable to provide callerid on a channelized T1.
-- 
Steven Critchfield <critch at basesys.com>




More information about the asterisk-users mailing list