partysip-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Partysip-dev] Originating calls from a plugin


From: Aymeric Moizard
Subject: Re: [Partysip-dev] Originating calls from a plugin
Date: Wed, 25 Jun 2003 12:26:41 +0200 (CEST)



On Wed, 25 Jun 2003, Peter Lord wrote:

> Hi All,
>
> Is it possible to originate calls from a plugin ?  For example, I
> would like to write something that does an alarm call.... with would
> need to (at the right time of day) initiate a call to the party and
> connect them to a terminal which would send the message.

Plugins are only called when a new request is received... But, when you
initiate a plugin, you could possibly start a thread that will do the
job.

The issue is more about initiating calls: partysip have no way to initiate
outgoing requests without receiving one. The only way is to allocate a new
osip instance, attach new callbacks and all...

In fact, you surely don't need this in a plugin but you should instead
write a new application. If you need info from partysip, then you can
write info in a database updated by the new 'alarm' plugin. Then your new
application will use this info to send messages or whatever...

A sql plugin for writing info about users is already available in
partysip. You can probably extend it to write the additionnal info you
need and use this info in the external application.

I surely appreciate to see such application released in GPL :)
Aymeric

> All of the plugins I've seen, try to manage new calls rather than to
> initiate new ones.
>
> Thanks,
>
> Pete
>
>
>
> _______________________________________________
> Partysip-dev mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/partysip-dev
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]