Am 05.03.2016 um 22:17 schrieb Michael Knill 
<michael.kn...@ipcsolutions.com.au>:

> Thanks Lonnie but Im afraid not.
> 
> From my limited knowledge, Pub-Sub only allows the distribution of Asterisk 
> Device State between Asterisk servers via XMPP. It does not implicitly set 
> XMPP Device State for XMPP JID’s e.g  there are only 2 JID’s involved which 
> are for both the Asterisk Servers.
> 
> I guess it makes sense that XMPP would be a good transport for distributing 
> Device State messages.
> 
> Regards
> Michael Knill

Yes, the Pub-Sub stuff is inter-Asterisk-only.

Try sending Matthew a private mail, if there is some kind of API where it is 
possible to remotely set the user's status.
The "prosodyctl" function is not able to do what you want.
The best way would be the telnet console:
http://prosody.im/doc/console

I see no command to set the status, BUT the are many Prosody modules out there, 
maybe there is one with that functionality:
http://prosody.im/doc/modules
http://modules.prosody.im

Another idea would be: Maybe there are XMPP clients that are externally 
scriptable: If you get (or do) a call in Asterisk, send a app "system" (or 
SHELL function) command from Asterisk to set the XMPP account as e.g. "busy".
I guess on a Mac this could be done with AppleScript (e.g. with Adium).

> On 6/03/2016, 7:46 AM, "Lonnie Abelbeck" <li...@lonnie.abelbeck.com> wrote:
> 
> Michael,
> 
> This is not in my area of expertise, but does using XMPP PubSub events help 
> you ?
> 
> http://doc.astlinux.org/userdoc:tt_distribute_events_xmpp_pubsub
> 
> https://wiki.asterisk.org/wiki/display/AST/Distributed+Device+State+with+XMPP+PubSub#DistributedDeviceStatewithXMPPPubSub-TestingDistributedDeviceState
> 
> Lonnie
> 
> 
> On Mar 5, 2016, at 2:10 PM, Michael Knill <michael.kn...@ipcsolutions.com.au> 
> wrote:
> 
>> Sorry all but I am not getting any responses regarding this on the Prosody 
>> forum and I am pleading for some help.
>> This customer is adamant about using soft phones for their main reception 
>> and obviously want Presence information. 
>> 
>> I realise that I could use FOP2 and Bria (Yuk), another soft phone that 
>> supports Asterisk Hints (very few around) or a hard phone.
>> I really do think however that I could integrate Asterisk BLF -> XMPP 
>> Presence if only I knew how to set the Presence Status for a JID on Prosody 
>> :(
>> 
>> Prosody Gurus?
>> 
>> Regards
>> Michael Knill
>> 
>> From: Michael Knill <michael.kn...@ipcsolutions.com.au>
>> Reply-To: AstLinux List <astlinux-users@lists.sourceforge.net>
>> Date: Wednesday, 24 February 2016 at 6:38 PM
>> To: AstLinux List <astlinux-users@lists.sourceforge.net>
>> Subject: [Astlinux-users] XMPP Presence
>> 
>> Sorry guys I know this has come up before but I really want to find a way to 
>> map XMPP to Asterisk Presence.
>> Unfortunately I have told some of my customers that its technically possible 
>> but I am struggling to work out how.
>> 
>> My first problem is that I can’t seem to find a way to set the Presence 
>> Status for a JID on Prosody.
>> 
>> Is there a way to do this from the cli or an API that anyone knows of?
>> 
>> Regards
>> Michael Knill

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.

Reply via email to