[asterisk-dev] res_jabber call backs

Ruddy Gbaguidi plugworld at micnes.com
Thu Aug 21 19:05:53 CDT 2008


Yes, it may become a very good feature if asterisk can receive
at any given time a message, parse it and execute something.
That will allow an asterisk server to be part of any existing jabber 
network and interact more easily with other process like IM clients or 
embedded IM clients.


John Todd wrote:
> At 2:24 PM -0400 2008/8/19, Ruddy Gbaguidi wrote:
>   
>> Hi all,
>> As I see, in the asterisk 1.4, jabber is designed to send messages,
>> receive answers and display them in the cli.
>> I think we should add the feature that any asterisk module can register
>> some callbacks for a specific jabber user.
>> Then, from any module, we can request the client using his username and
>> register callbacks on message, on presence etc...
>> So, as soon as a message will be receive, the call back will be fire.
>>
>> What do you think about that ?
>>     
>
> I believe there is some work being done on Asterisk receiving 
> messages and processing them, but perhaps not exactly what you're 
> looking for (yet?)  Maybe you could add those features for presence 
> or event callback.  It sounds like you're talking about using XMPP as 
> an API - or am I misunderstanding your question?
>
>
> As a side note, take a look here at the work that Philippe Sultan is doing:
>
>   http://svn.digium.com/view/asterisk/team/phsultan/jabberreceive/
>
>   http://lists.digium.com/pipermail/asterisk-users/2008-June/213525.html
>
> This is _really_ interesting stuff, and creative use of XMPP combined 
> with Asterisk should allow all sorts of IM-based call transactions. 
> I'd encourage anyone with interest in UC work to take a look at this 
> branch, test the apps, and report your results so this can be merged 
> into mainline if it seems stable and worthwhile.
>
>
> Next thing I'd like to see: XMPP events being received unsolicited 
> and starting a dialplan event sequence with regexp parsing of the IM 
> strings, sender, and IM metadata.  Brian Weschke was working on this 
> - http://www.asterisk.org/node/48440  and 
> http://svn.digium.com/view/asterisk/team/bweschke/ but I don't know 
> where that stands right now.
>
> JT
>
>
>   
> ------------------------------------------------------------------------
>
>
> Internal Virus Database is out of date.
> Checked by AVG. 
> Version: 8.0.100 / Virus Database: 269.23.16/1448 - Release Date: 5/16/2008 7:42 PM
>   




More information about the asterisk-dev mailing list