<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">This is the relevant part implemented in SylkServer:<div class=""><br class=""></div><div class=""><a href="http://datatracker.ietf.org/doc/rfc7248/" class="">http://datatracker.ietf.org/doc/rfc7248/</a></div><div class=""><br class=""></div><div class="">Adrian</div><div class=""><br class=""><div style=""><blockquote type="cite" class=""><div class="">On 21 Jul 2015, at 17:49, Adrian Georgescu <<a href="mailto:ag@ag-projects.com" class="">ag@ag-projects.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">SylkServer XMPP<--->SIP gateway handles one event of type presence, that is SUBSCRIBE/NOTIFY dialogs for even presence are translated into XMPP equivalents. This is described in a few RFCs listed here:<div class=""><br class=""></div><div class=""><a href="http://sylkserver.ag-projects.com/projects/sylkserver/wiki/DesignXMPP" class="">http://sylkserver.ag-projects.com/projects/sylkserver/wiki/DesignXMPP</a></div><div class=""><br class=""></div><div class="">BFL is another type of event, it is not presence and without further developments is not handled by the software.<div class=""><br class=""></div><div class="">Adrian<br class=""><div class=""><br class=""></div><div class=""><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On 21 Jul 2015, at 17:01, Rik Broers <<a href="mailto:RBroers@motto.nl" class="">RBroers@motto.nl</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="WordSection1" style="page: WordSection1; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">Hi,<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class=""> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">I’m trying to come up with a way to combine Sip presence and xmpp presence.<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">What I want to achieve is get a BLF light on a hardphone working by changing my status in a jabber/xmpp client (jitsi) and also other way around.<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class=""> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">For test I’m using sip acc<span class="Apple-converted-space"> </span><a href="mailto:100@test.com" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">100@test.com</a><span class="Apple-converted-space"> </span> (configured on a hardphone) and also in ejabberd I’ve made<span class="Apple-converted-space"> </span><a href="mailto:100@test.com" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">100@test.com</a><span class="Apple-converted-space"> </span>(connected on jitsi).<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">I have a second hardphone<span class="Apple-converted-space"> </span><a href="mailto:101@test.com" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">101@test.com</a><span class="Apple-converted-space"> </span>which has a blf subscription on<span class="Apple-converted-space"> </span><a href="mailto:100@test.com" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">100@test.com</a>.<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">Using opensips as presence server this all works, so I initiate a call on 100, opensips creates the dialog and generates the needed publish and notifies. (by using pua_dialoginfo and dialoginfo_set(), so no publishes from hardphones)<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">What I want next is when I initiate a call on<span class="Apple-converted-space"> </span><a href="mailto:100@test.com" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">100@test.com</a><span class="Apple-converted-space"> </span>the jitsi client goes on in a call status. Or I change on the jitsi client my status to in a call and the blf light on<span class="Apple-converted-space"> </span><a href="mailto:101@test.com" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">101@test.com</a><span class="Apple-converted-space"> </span>should start blinking.<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class=""> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">So I need some way to transfer presence info between ejabberd and opensips. I’ve tried pua_xmpp which I couldn’t get to work. And now I have found Sylkserver.<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">I’ve tried t_relaying the relevant subscribes, notifies and publishes into SylkServer and I haven’t been able to get more out of it then a 481.<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">I did configure the domain and I made a application_map<span class="Apple-converted-space"> </span><a href="http://test.com/xmppgateway" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">test.com/xmppgateway</a>.<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">Set the xmppgatewayini domain to<span class="Apple-converted-space"> </span><a href="http://test.com/" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">test.com</a><span class="Apple-converted-space"> </span>and made the srv records.<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class=""> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">Is SylkServer able to do what I want and am I just doing it wrong?<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class=""> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Thanks,<o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Regards,<o:p class=""></o:p></div><p class="MsoNormal" style="margin: 0cm 0cm 12pt; font-size: 11pt; font-family: Calibri, sans-serif; line-height: 12.75pt;"><span class="">Met vriendelijke groet,<br class=""><br class=""><b class=""><span style="color: rgb(132, 196, 27);" class="">Rik Broers</span></b><br class=""><br class=""></span><o:p class=""></o:p></p></div><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">SIPBeyondVoIP mailing list</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="mailto:SIPBeyondVoIP@lists.ag-projects.com" style="color: rgb(149, 79, 114); text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">SIPBeyondVoIP@lists.ag-projects.com</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip" style="color: rgb(149, 79, 114); text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">http://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip</a></div></blockquote></div><br class=""></div></div></div></div></div>_______________________________________________<br class="">SIPBeyondVoIP mailing list<br class=""><a href="mailto:SIPBeyondVoIP@lists.ag-projects.com" class="">SIPBeyondVoIP@lists.ag-projects.com</a><br class="">http://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip<br class=""></div></blockquote></div><br class=""></div></body></html>