[asterisk-dev] Outbound Call Implementation
Tilghman Lesher
tilghman at meg.abyt.es
Tue Sep 27 12:34:15 CDT 2011
On Tuesday, September 27, 2011 08:46:11 AM Nick Khamis wrote:
> Hello Everyone,
>
> I am interested in the internal working of Asterisk, mainly how
> asterisk actually makes a call. I was looking to modify the call
> functionality to
> query a database realtime for the call details. As is done with
> peer/friend register, MOH etc... Out of the box, does asterisk use
> call files to
> make the calls? Any direction is greatly appreciated. If I am
> successful in moving the call details to my/pgsql, I have no problem
> sharing my
> solution with everyone.
> Providing "realtime call" will open a whole lot of possibilities for
> those not wanting to use AGI, AMI etc..
Realtime currently uses an outside request to know when to pull
information from the database. Realtime is not self-starting. Keeping
this in mind, how would Asterisk know when a new record was inserted
asynchronously into the database, to know when to query it? Are you
suggesting a new thread that does nothing but query the database on
a regular interval? That's potentially quite a lot of CPU.
--
Tilghman
More information about the asterisk-dev
mailing list