Thanks guys

Bria does support SIP Simple (Peer to Peer) and XMPP Presence.

So do you think a polling script is viable? It looks pretty simple to do but I 
am concerned on the resource impact of running it every say 10 seconds.
Would you be concerned about running asterisk -rx “sip show inuse” or making a 
request to Astman and then setting states this often?

Just thinking about it, you could configure a config file with all the 
extensions you are interested in only. You would only need to sync XMPP 
Presence from Asterisk desk phones. Asterisk Presence will work as normal 
between phones and calls from Bria should set both Asterisk and XMPP Presence 
states.

Regards
Michael Knill




On 3 Nov 2015, at 9:25 pm, Michael Keuter <li...@mksolutions.info> wrote:


Am 03.11.2015 um 10:36 schrieb Michael Keuter <li...@mksolutions.info>:

> Am 03.11.2015 um 05:29 schrieb Michael Knill 
> <michael.kn...@ipcsolutions.com.au>:
> 
>> Ok I now have a customer who want to distribute presence information between 
>> Bria (XMPP) and Asterisk BLF.
>> I think we may have discussed this before but I don’t think it was in detail.
>> 
>> As far as I am aware, Asterisk can connect as a client into Prosody and can 
>> determine presence state however it is unable to set state based on its 
>> hints.
>> Im a bit confused about the pubsub and distribute_events in jabber.conf. Is 
>> this totally different?
>> 
>> Does anyone have any ideas? Will I need to write a polling script that is 
>> the middleware between the two say using sendxmpp and Astman?
>> 
>> Regards
>> Michael Knill
> 
> Hi Michael,
> 
> we have only tested the XMPP PubSub feature to distribute the presence status 
> (hints) between 2 or more Asterisk servers via Prosody.
> There is a special feature in Asterisk to distribute hints and MWI stati over 
> XMPP PubSub and Corosync (AIS).
> 
> https://wiki.asterisk.org/wiki/display/AST/Distributed+Device+State+with+XMPP+PubSub
> 
> I use it successfully in an installation of 5 combined Asterisk servers and 
> one central FOP2 as a kind of distributed call center.
> 
> http://doc.astlinux.org/userdoc:tt_distribute_events_xmpp_pubsub
> 
> But I guess this won't work the same way with Bria. Or does Bria also use a 
> PubSub implementation?
> Bria uses SIP simple for presence but Asterisk doesn't.
> 
> At the bottom of this page is a presence method for Bria described, but I'm 
> not sure if that works:
> http://www.dynamixs.net/knowledgebase.php?action=displayarticle&id=16
> 
> There are a few softphones that support Asterisk hints (e.g. microSIP).

This one also supports hints and much more:

http://www.xtelsio.com/en/products/client/index.htm

Michael

http://www.mksolutions.info





------------------------------------------------------------------------------
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


------------------------------------------------------------------------------
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to