<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 18 Jun 2018, at 08:22, Paul <<a href="mailto:xmppaulina@protonmail.com" class="">xmppaulina@protonmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="gmail_extra"><div class="gmail_quote">On 18 June 2018 at 11:50, Adrian Georgescu <span dir="ltr" class=""><<a href="mailto:ag@ag-projects.com" target="_blank" class="">ag@ag-projects.com</a>></span> wrote:<br class=""></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=""><div class=""><br class=""></div><div class=""><span class="m_-5090189340925795498gmail-"><blockquote type="cite" class=""><div class="">On 17 Jun 2018, at 13:31, Paul <<a href="mailto:xmppaulina@protonmail.com" target="_blank" class="">xmppaulina@protonmail.com</a>> wrote:<br class=""></div><div class=""><br class=""></div><div class=""><div class="">What I wanted to achieve is that the users on my XMPP server can call an Asterisk server and receive calls from Asterisk.<br class=""></div><div class=""><br class=""></div><div class="">XMPP client <---> <a href="http://example.net/" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=en-GB&q=http://example.net&source=gmail&ust=1529407184403000&usg=AFQjCNGcCgHerBVgkD9bPPOrFdKMHyqidw" class="">example.net</a> (XMPP server) <---> <a href="http://gate.example.net/" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=en-GB&q=http://gate.example.net&source=gmail&ust=1529407184403000&usg=AFQjCNHIHn3ZQztTTjcpm4waPQCXw4sl3g" class="">gate.example.net</a> (Sylkserver) <---> <a href="http://pbx.example.net/" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=en-GB&q=http://pbx.example.net&source=gmail&ust=1529407184404000&usg=AFQjCNFq5A6PH-Ww4QEF1bVpuAI3oh9rZQ" class="">pbx.example.net</a> (Asterisk SIP)<br class=""></div></div></blockquote><div class=""><br class=""></div></span><div class="">Yes, this is the main usage scenario for which the server was designed.<br class=""></div></div></div></blockquote><div class=""> <br class=""></div><div class="">[...]<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=""><div class=""><br class=""></div></div></blockquote><div class=""> <br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=""><div class=""><div class=""><br class=""></div><div class="">The SIP DNS records must point to the SIP server<br class=""></div><div class="">The XMPP DNS records must point to SylkServer<br class=""></div><div class=""><br class=""></div></div></div></blockquote></div><div class=""><br class=""></div></div><div class="gmail_extra">Like<br class=""></div><div class="gmail_extra"><br class=""></div><div class="gmail_extra"><span style="font-size:13px" class="size"><span style="font-family:monospace, monospace" class="font">_xmpp-server._<a href="http://tcp.pbx.example.net/" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=en-GB&q=http://tcp.pbx.example.net&source=gmail&ust=1529407184404000&usg=AFQjCNEhmda75RTJfBvRugMkt7b2AzznTg" class="">tcp.pbx.example.net</a>. 1 IN SRV 1 1 5269 <a href="http://sylkserver.example.net/" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=en-GB&q=http://sylkserver.example.net&source=gmail&ust=1529407184404000&usg=AFQjCNHWAjxEbMDO92rYqwPZAOkJ11vnTw" class="">sylkserver.example.net</a>.</span></span><br class=""></div><div class="gmail_extra"><div class="gmail_extra"><span style="font-family:monospace, monospace" class="font"><span style="font-size:13px" class="size">_sip._<a href="http://udp.pbx.example.net/" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=en-GB&q=http://udp.pbx.example.net&source=gmail&ust=1529407184404000&usg=AFQjCNE101Yxuh-qIVjp8lIpsNNyg1Enyg" class="">udp.pbx.example.net</a>. 1 IN SRV 1 1 5060 <a href="http://asterisk.example.net/" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=en-GB&q=http://asterisk.example.net&source=gmail&ust=1529407184404000&usg=AFQjCNFRMd1lH2Ravbr6Ut2HY1kyJNUkkA" class="">asterisk.example.net</a>.</span></span><br class=""></div></div><div class="gmail_extra"><br class=""></div><div class="gmail_extra">I guess in this scenario Asterisk (or some SIP proxy) would need to route requests for <a href="mailto:xmpp-user@example.net" target="_blank" class="">xmpp-user@example.net</a> to Sylkserver (I'm more familiar with XMPP and not so much into SIP).<br class=""></div></div></blockquote><div><br class=""></div><div>Yes, you must configure your sip server to route requests mean for XMMP domains through SylkServer. The request arises as INVITE to to SylkServer which then routes it to XMMP application based on the login configure (by domain of URI, or set xmpp-gw the default app so that all requests go to XMPP)</div><br class=""><blockquote type="cite" class=""><div class=""><div class="gmail_extra"><br class=""></div><div class="gmail_extra">I'm
still unsure if or how client to client communication would work with
third party clients (like <a href="mailto:user@thirdparty.example" class="">user@thirdparty.example</a>). I have the
impression that it only works between providers that both offer XMPP
_and_ SIP on the same domain, which 99% do not.<br class=""></div></div></blockquote><div><br class=""></div><div>This makes possible to have a SIP client under domain A where SylkServer talk to a XMPP client in domain B and vice versa. The limitation is that Domain A uses only SIP, cannot use XMMP clients.</div><div><br class=""></div><div>Adrian</div><div><br class=""></div><div><br class=""></div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><div class="gmail_extra"><br class=""></div><div class="gmail_extra"><br class=""></div><div class="gmail_extra"><br class=""></div><div class="gmail_extra"><br class=""></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=""></body></html>