<div>Hello,<br></div><div><br></div><div>I'm trying to setup Sylkserver as a SIP/XMPP Gateway. My first problem is that I find it really hard to comprehend how Sylkserver really works in general. I also feel that some configuration options are not exactly self-explanatory and the brief comments in the config files don't help much. I read all the documentation on the website and searched the archives, but I'm still lost. Trial and error also didn't work.<br></div><div><br></div><div>What I wanted to achieve is that the users on my XMPP server can call an Asterisk server and receive calls from Asterisk.<br></div><div><br></div><div>XMPP client <---> example.net (XMPP server) <---> gate.example.net (Sylkserver) <---> pbx.example.net (Asterisk SIP)<br></div><div><br></div><div>If this wouldn't work with Syslkserver or if Sylkserver isn't recommended as a solution for such a gateway I can stop right here. If it's suitable for my case, here is what I don't understand fully:<br></div><div><br></div><div>I need to set a domain for the xmppgateway. This would be gate.example.net?<br></div><div>I also need a SRV record _xmpp-server._tcp.gate.example.net<br></div><div>Do I need additional server records for SIP like _sip._udp.example.net?<br></div><div><br></div><div>For what is<br></div><div>; default_application = conference<br></div><div>good for?<br></div><div><br></div><div>Where and when is the application_map applied? (incoming, outgoing requests?)<br></div><div>; application_map = echo:echo,123:conference,test:ircconference,gmail.com:xmppgateway<br></div><div>gmail.com???<br></div><div><br></div><div>$ nc sylkserver.example.net 5269<br></div><div><stream:stream xmlns:stream='<a href="http://etherx.jabber.org/streams">http://etherx.jabber.org/streams</a>' xmlns='jabber:server' to='gate.example.net' version='1.0'><br></div><div><stream:stream xmlns:stream='<a href="http://etherx.jabber.org/streams">http://etherx.jabber.org/streams</a>' xmlns='jabber:server' xmlns:db='jabber:server:dialback' version='1.0' from='gate.example.net' id='d9fd3d4cd1fc383e'><stream:error><<b>invalid-namespace</b> xmlns='urn:ietf:params:xml:ns:xmpp-streams'/></stream:error></stream:stream><br></div><div><br></div><div>why does Sylkserver return this error?<br></div><div><br></div><div><br></div><div>Why does Sylkserver not offer TLS?<br></div><div> From prosody.log:<br></div><div>Jun 17 13:12:55 s2sout559b75dd3910      info    Outgoing s2s stream example.net->gate.example.net closed: Encrypted server-to-server communication is required but was not offered<br></div><div><br></div><div>valid certs are configured and it works on SIP-TLS, tested with<br></div><div>$ openssl s_client -connect sylkserver.example.com:5061<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div>