[Freeswitch-users] mod_verto: subscribe events for specific accounts

António Silva asilva at wirelessmundi.com
Thu Apr 30 13:30:43 UTC 2020


No problem. 

 Is “presence”   ( presene is an error...) 

> On 29 Apr 2020, at 12:23, Gregor Nanger <gregor at infomedia.si> wrote:
> 
> Thanx for sharing. Could be usefull.
> 
> One question. Is this right syntax:
> vertoHandle.subscribe(“presene”, { 
> 
> Is it presene or presence?
> 
> Best regards, Gregor 
> 
> On Wed, 29 Apr 2020 at 12:08, António Silva via FreeSWITCH-users <freeswitch-users at lists.freeswitch.org <mailto:freeswitch-users at lists.freeswitch.org>> wrote:
> 
> 
> 
> ---------- Forwarded message ----------
> From: "António Silva" <asilva at wirelessmundi.com <mailto:asilva at wirelessmundi.com>>
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org <mailto:freeswitch-users at lists.freeswitch.org>>
> Cc: 
> Bcc: 
> Date: Wed, 29 Apr 2020 12:07:29 +0200
> Subject: Re: mod_verto: subscribe events for specific accounts
> Reppling to myself, just found the right syntax,  it is posible from verto.js:
> 
> To get all events:
> vertoHandle.subscribe(“presene”, {
>                         handler: function(v, e) {
>                                 log.debug("***presence event e:", e);
>                         }
>                 });
> 
> But to get specific events per account:
> vertoHandle.subscribe([“presene.ACCOUNT1”, “presene.ACCOUNT2”], {
>                         handler: function(v, e) {
>                                 log.debug("***presence event e:", e);
>                         }
>                 });
> 
> Hope it help others :)
> 
> 
> > On 17 Mar 2020, at 13:53, António Silva <asilva at wirelessmundi.com <mailto:asilva at wirelessmundi.com>> wrote:
> > 
> > Hi,
> > 
> > Is it possible to subscribe using mod_verto?
> > 
> > Right now I’ve enable in mod_verto the presence events but I get all the events for all the accounts, and is fine but i was wondering if it’s is possible to just do a single subscribe like in sip.
> > 
> > Thanks for the help.
> > 
> > 
> > Regards,
> > António
> 
> 
> 
> 
> 
> ---------- Forwarded message ----------
> From: "António Silva via FreeSWITCH-users" <freeswitch-users at lists.freeswitch.org <mailto:freeswitch-users at lists.freeswitch.org>>
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org <mailto:freeswitch-users at lists.freeswitch.org>>
> Cc: 
> Bcc: 
> Date: Wed, 29 Apr 2020 03:08:12 -0700 (PDT)
> Subject: Re: [Freeswitch-users] mod_verto: subscribe events for specific accounts
> _________________________________________________________________________
> 
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com <https://signalwire.com/>
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
> Build your next product on our scalable cloud platform.
> 
> Join our online community to chat in real time https://signalwire.community <https://signalwire.community/>
> 
> Professional FreeSWITCH Services
> sales at freeswitch.com <mailto:sales at freeswitch.com>
> https://freeswitch.com <https://freeswitch.com/>
> 
> Official FreeSWITCH Sites
> https://freeswitch.com/oss <https://freeswitch.com/oss>
> https://freeswitch.org/confluence <https://freeswitch.org/confluence>
> https://cluecon.com <https://cluecon.com/>
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
> https://freeswitch.com <https://freeswitch.com/>
> 
> -- 
> Gregor Nanger
>  
> CTO
> t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485 
> • Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia 
> • www.infomedia.si <http://www.infomedia.si/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200430/ba78f689/attachment-0001.html>


More information about the FreeSWITCH-users mailing list