<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">No problem. <div class=""><br class=""><div class=""> Is “<font face="trebuchet ms, sans-serif" class="">presence”   ( </font><span style="font-family: "trebuchet ms", sans-serif;" class="">presene</span><span style="font-family: "trebuchet ms", sans-serif;" class=""> is an error...) </span></div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 29 Apr 2020, at 12:23, Gregor Nanger <<a href="mailto:gregor@infomedia.si" class="">gregor@infomedia.si</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><div class="gmail_default" style="font-family: "trebuchet ms", sans-serif;">Thanx for sharing. Could be usefull.</div><div class="gmail_default" style="font-family: "trebuchet ms", sans-serif;"><br class=""></div><div class="gmail_default" style="font-family: "trebuchet ms", sans-serif;">One question. Is this right syntax:</div><div class="gmail_default" style="font-family: "trebuchet ms", sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;" class="">vertoHandle.subscribe(“presene</span><span style="font-family: Arial, Helvetica, sans-serif;" class="">”, {</span> </div><div class="gmail_default" style="font-family: "trebuchet ms", sans-serif;"><br class=""></div><div class="gmail_default" style="font-family: "trebuchet ms", sans-serif;">Is it presene or presence?</div><div class="gmail_default" style="font-family: "trebuchet ms", sans-serif;"><br class=""></div><div class="gmail_default" style="font-family: "trebuchet ms", sans-serif;">Best regards, Gregor <br class=""></div></div><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><div class="gmail_quote" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div dir="ltr" class="gmail_attr">On Wed, 29 Apr 2020 at 12:08, António Silva via FreeSWITCH-users <<a href="mailto:freeswitch-users@lists.freeswitch.org" class="">freeswitch-users@lists.freeswitch.org</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><br class=""><br class=""><br class="">---------- Forwarded message ----------<br class="">From: "António Silva" <<a href="mailto:asilva@wirelessmundi.com" target="_blank" class="">asilva@wirelessmundi.com</a>><br class="">To: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank" class="">freeswitch-users@lists.freeswitch.org</a>><br class="">Cc: <br class="">Bcc: <br class="">Date: Wed, 29 Apr 2020 12:07:29 +0200<br class="">Subject: Re: mod_verto: subscribe events for specific accounts<br class="">Reppling to myself, just found the right syntax,  it is posible from verto.js:<br class=""><br class="">To get all events:<br class="">vertoHandle.subscribe(“presene”, {<br class="">                       <span class="Apple-converted-space"> </span>handler: function(v, e) {<br class="">                               <span class="Apple-converted-space"> </span>log.debug("***presence event e:", e);<br class="">                       <span class="Apple-converted-space"> </span>}<br class="">               <span class="Apple-converted-space"> </span>});<br class=""><br class="">But to get specific events per account:<br class="">vertoHandle.subscribe([“presene.ACCOUNT1”, “presene.ACCOUNT2”], {<br class="">                       <span class="Apple-converted-space"> </span>handler: function(v, e) {<br class="">                               <span class="Apple-converted-space"> </span>log.debug("***presence event e:", e);<br class="">                       <span class="Apple-converted-space"> </span>}<br class="">               <span class="Apple-converted-space"> </span>});<br class=""><br class="">Hope it help others :)<br class=""><br class=""><br class="">> On 17 Mar 2020, at 13:53, António Silva <<a href="mailto:asilva@wirelessmundi.com" target="_blank" class="">asilva@wirelessmundi.com</a>> wrote:<br class="">><span class="Apple-converted-space"> </span><br class="">> Hi,<br class="">><span class="Apple-converted-space"> </span><br class="">> Is it possible to subscribe using mod_verto?<br class="">><span class="Apple-converted-space"> </span><br class="">> 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.<br class="">><span class="Apple-converted-space"> </span><br class="">> Thanks for the help.<br class="">><span class="Apple-converted-space"> </span><br class="">><span class="Apple-converted-space"> </span><br class="">> Regards,<br class="">> António<br class=""><br class=""><br class=""><br class=""><br class=""><br class="">---------- Forwarded message ----------<br class="">From: "António Silva via FreeSWITCH-users" <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank" class="">freeswitch-users@lists.freeswitch.org</a>><br class="">To: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank" class="">freeswitch-users@lists.freeswitch.org</a>><br class="">Cc: <br class="">Bcc: <br class="">Date: Wed, 29 Apr 2020 03:08:12 -0700 (PDT)<br class="">Subject: Re: [Freeswitch-users] mod_verto: subscribe events for specific accounts<br class="">_________________________________________________________________________<br class=""><br class="">The FreeSWITCH project is sponsored by SignalWire<span class="Apple-converted-space"> </span><a href="https://signalwire.com/" rel="noreferrer" target="_blank" class="">https://signalwire.com</a><br class="">Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br class="">Build your next product on our scalable cloud platform.<br class=""><br class="">Join our online community to chat in real time<span class="Apple-converted-space"> </span><a href="https://signalwire.community/" rel="noreferrer" target="_blank" class="">https://signalwire.community</a><br class=""><br class="">Professional FreeSWITCH Services<br class=""><a href="mailto:sales@freeswitch.com" target="_blank" class="">sales@freeswitch.com</a><br class=""><a href="https://freeswitch.com/" rel="noreferrer" target="_blank" class="">https://freeswitch.com</a><br class=""><br class="">Official FreeSWITCH Sites<br class=""><a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank" class="">https://freeswitch.com/oss</a><br class=""><a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank" class="">https://freeswitch.org/confluence</a><br class=""><a href="https://cluecon.com/" rel="noreferrer" target="_blank" class="">https://cluecon.com</a><br class=""><br class="">FreeSWITCH-users mailing list<br class=""><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" class="">FreeSWITCH-users@lists.freeswitch.org</a><br class=""><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br class="">UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br class=""><a href="https://freeswitch.com/" rel="noreferrer" target="_blank" class="">https://freeswitch.com</a></blockquote></div><br clear="all" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br class=""></div><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">--<span class="Apple-converted-space"> </span></span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><div dir="ltr" class="gmail_signature" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div dir="ltr" class=""><table border="0" style="font-size: 12px; border: 1px dashed rgb(187, 187, 187); font-family: sans-serif; width: 537px;" class=""><tbody style="border-spacing: 2px; border: 0px none rgb(128, 128, 128);" class=""><tr valign="top" style="border-spacing: 2px; border: 0px none rgb(128, 128, 128);" class=""><td style="color: rgb(32, 32, 32); margin: 8px; border-width: 0px 1px 0px 0px; border-style: none solid none none; border-color: rgb(32, 32, 32) rgb(0, 161, 230) rgb(32, 32, 32) rgb(32, 32, 32); font-weight: bold; letter-spacing: 1px; text-transform: capitalize; vertical-align: top; padding: 1px 8px 1px 1px; width: 63px; outline: rgb(32, 32, 32) none 0px; border-spacing: 2px;" class=""><span style="color: rgb(0, 161, 230); outline: rgb(0, 161, 230) none 0px; border-spacing: 2px; border: 0px none rgb(0, 161, 230);" class=""><font face="georgia, serif" size="2" class="">Gregor Nanger</font></span><div style="font-size: 17px; font-family: sans-serif; width: 63px; outline: rgb(32, 32, 32) none 0px; border-spacing: 2px; border: 0px none rgb(32, 32, 32);" class=""> </div></td><td style="margin: 8px; border: 0px none rgb(80, 80, 80); vertical-align: top; padding: 1px 1px 1px 6px; width: 354px; outline: rgb(80, 80, 80) none 0px; border-spacing: 2px;" class=""><font face="georgia, serif" size="1" class=""><b class="">CTO</b><br class="">t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485<span class="Apple-converted-space"> </span><br class="">• Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia<span class="Apple-converted-space"> </span><br class="">•<span class="Apple-converted-space"> </span><a href="http://www.infomedia.si/" target="_blank" class="">www.infomedia.si</a></font></td></tr></tbody></table></div></div></div></blockquote></div><br class=""></div></div></body></html>