<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">prosody cfg.lua:<div class=""><br class=""></div><div class=""><div class=""><br class=""></div><div class="">admins = { }</div><div class=""><br class=""></div><div class="">modules_enabled = {</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">     </span>-- Generally required</div><div class=""><span class="Apple-tab-span" style="white-space:pre">             </span>"roster"; -- Allow users to have a roster. Recommended ;)</div><div class=""><span class="Apple-tab-span" style="white-space:pre">               </span>"saslauth"; -- Authentication for clients and servers. Recommended if you want to log in.</div><div class=""><span class="Apple-tab-span" style="white-space:pre">               </span>"tls"; -- Add support for secure TLS on c2s/s2s connections</div><div class=""><span class="Apple-tab-span" style="white-space:pre">             </span>"dialback"; -- s2s dialback support</div><div class=""><span class="Apple-tab-span" style="white-space:pre">             </span>"disco"; -- Service discovery</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">    </span>-- Not essential, but recommended</div><div class=""><span class="Apple-tab-span" style="white-space:pre">         </span>"private"; -- Private XML storage (for room bookmarks, etc.)</div><div class=""><span class="Apple-tab-span" style="white-space:pre">            </span>--"vcard"; -- Allow users to set vCards</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">  </span>-- These are commented by default as they have a performance impact</div><div class=""><span class="Apple-tab-span" style="white-space:pre">               </span>--"privacy"; -- Support privacy lists</div><div class=""><span class="Apple-tab-span" style="white-space:pre">           </span>--"compression"; -- Stream compression</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">   </span>-- Nice to have</div><div class=""><span class="Apple-tab-span" style="white-space:pre">           </span>--"version"; -- Replies to server version requests</div><div class=""><span class="Apple-tab-span" style="white-space:pre">              </span>--"uptime"; -- Report how long server has been running</div><div class=""><span class="Apple-tab-span" style="white-space:pre">          </span>"time"; -- Let others know the time here on this server</div><div class=""><span class="Apple-tab-span" style="white-space:pre">         </span>"ping"; -- Replies to XMPP pings with pongs</div><div class=""><span class="Apple-tab-span" style="white-space:pre">             </span>"pep"; -- Enables users to publish their mood, activity, playing music and more</div><div class=""><span class="Apple-tab-span" style="white-space:pre">         </span>--"register"; -- Allow users to register on this server using a client and change passwords</div><div class=""><span class="Apple-tab-span" style="white-space:pre">             </span>-- typically used by an IM client to retrieve the most recent presence information from an offline contact</div><div class=""><span class="Apple-tab-span" style="white-space:pre">                </span>"lastactivity"; -- XEP-0012: Last Activity</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">       </span>-- Admin interfaces</div><div class=""><span class="Apple-tab-span" style="white-space:pre">               </span>--"admin_adhoc"; -- Allows administration via an XMPP client that supports ad-hoc commands</div><div class=""><span class="Apple-tab-span" style="white-space:pre">              </span>--"admin_telnet"; -- Opens telnet console interface on localhost port 5582</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">       </span>-- HTTP modules</div><div class=""><span class="Apple-tab-span" style="white-space:pre">           </span>--"bosh"; -- Enable BOSH clients, aka "Jabber over HTTP"</div><div class=""><span class="Apple-tab-span" style="white-space:pre">              </span>--"http_files"; -- Serve static files from a directory over HTTP</div><div class=""><span class="Apple-tab-span" style="white-space:pre">                </span>"websocket"; -- Enables XMPP over websocket</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">      </span>-- Other specific functionality</div><div class=""><span class="Apple-tab-span" style="white-space:pre">           </span>"posix"; -- POSIX functionality, sends server to background, enables syslog, etc.</div><div class=""><span class="Apple-tab-span" style="white-space:pre">               </span>--"groups"; -- Shared roster support</div><div class=""><span class="Apple-tab-span" style="white-space:pre">            </span>--"announce"; -- Send announcement to all online users</div><div class=""><span class="Apple-tab-span" style="white-space:pre">          </span>--"welcome"; -- Welcome users who register accounts</div><div class=""><span class="Apple-tab-span" style="white-space:pre">             </span>--"watchregistrations"; -- Alert admins of registrations</div><div class=""><span class="Apple-tab-span" style="white-space:pre">                </span>--"motd"; -- Send a message to users when they log in</div><div class=""><span class="Apple-tab-span" style="white-space:pre">           </span>--"legacyauth"; -- Legacy authentication. Only used by some old clients and bots.</div><div class=""><span class="Apple-tab-span" style="white-space:pre">       </span>-- Sipwise modules</div><div class=""><span class="Apple-tab-span" style="white-space:pre">                </span>"sipwise_admin_telnet"; -- Opens telnet console interface on console_interface port 5582</div><div class=""><span class="Apple-tab-span" style="white-space:pre">                </span>"sipwise_vcard_cusax";</div><div class=""><span class="Apple-tab-span" style="white-space:pre">          </span>"sipwise_vhosts_sql";</div><div class=""><span class="Apple-tab-span" style="white-space:pre">           </span>"sipwise_vjud";</div><div class=""><span class="Apple-tab-span" style="white-space:pre">         </span>"sipwise_groups";</div><div class="">};</div><div class=""><br class=""></div><div class="">use_libevent = true;</div><div class="">daemonize = true</div><div class="">pidfile = "/var/run/prosody/prosody.pid"</div><div class=""><br class=""></div><div class="">modules_disabled = {</div><div class=""><span class="Apple-tab-span" style="white-space:pre">   </span>-- "offline"; -- Store offline messages</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>-- "c2s"; -- Handle client connections</div><div class=""><span class="Apple-tab-span" style="white-space:pre">  </span>-- "s2s"; -- Handle server-to-server connections</div><div class="">};</div><div class=""><br class=""></div><div class="">allow_registration = false;</div><div class=""><br class=""></div><div class="">ssl = {</div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>key = "/etc/kamailio/kamailio-selfsigned.key";</div><div class=""><span class="Apple-tab-span" style="white-space:pre">  </span>certificate = "/etc/kamailio/kamailio-selfsigned.pem";</div><div class="">}</div><div class=""><br class=""></div><div class="">c2s_require_encryption = true</div><div class=""><br class=""></div><div class="">s2s_secure = true</div><div class=""><br class=""></div><div class="">cross_domain_websocket = true;</div><div class="">consider_websocket_secure = true;</div><div class=""><br class=""></div><div class="">-- we authenticate against kamailio.subscriber using mod_auth_sql</div><div class="">authentication = "sql"</div><div class=""><br class=""></div><div class="">default_storage = "sql"</div><div class="">storage = "sql"</div><div class=""><br class=""></div><div class="">-- used by storage modules</div><div class="">sql = {</div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>driver = "MySQL",</div><div class=""><span class="Apple-tab-span" style="white-space:pre">       </span>database = "prosody",</div><div class=""><span class="Apple-tab-span" style="white-space:pre">   </span>username = "prosody",</div><div class=""><span class="Apple-tab-span" style="white-space:pre">   </span>password = "qLWaHWnxpYkyh3LobijW",</div><div class=""><span class="Apple-tab-span" style="white-space:pre">      </span>host = "localhost"</div><div class="">}</div><div class=""><br class=""></div><div class="">-- used by auth_sql and sipwise_vhosts_sql</div><div class="">auth_sql = {</div><div class=""><span class="Apple-tab-span" style="white-space:pre">  </span>driver = "MySQL",</div><div class=""><span class="Apple-tab-span" style="white-space:pre">       </span>database = "kamailio",</div><div class=""><span class="Apple-tab-span" style="white-space:pre">  </span>username = "prosody",</div><div class=""><span class="Apple-tab-span" style="white-space:pre">   </span>password = "qLWaHWnxpYkyh3LobijW",</div><div class=""><span class="Apple-tab-span" style="white-space:pre">      </span>host = "localhost"</div><div class="">}</div><div class="">-- used by [sipwise_]admin_telnet</div><div class="">console_port = 5582</div><div class="">console_interface = "127.0.0.1"</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">log = {</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>{ levels = { min =  "info" }, to = "syslog" };</div><div class="">}</div><div class=""><br class=""></div><div class="">VirtualHost "localhost"</div><div class=""><br class=""></div><div class="">------ Components ------</div><div class="">-- You can specify components to add hosts that provide special services,</div><div class="">-- like multi-user conferences, and transports.</div><div class="">-- For more information on components, see <a href="http://prosody.im/doc/components" class="">http://prosody.im/doc/components</a></div><div class=""><br class=""></div><div class="">---Set up a MUC (multi-user chat) room server on <a href="http://conference.example.com" class="">conference.example.com</a>:</div><div class="">--Component "<a href="http://conference.example.com" class="">conference.example.com</a>" "muc"</div><div class=""><br class=""></div><div class="">-- Set up a SOCKS5 bytestream proxy for server-proxied file transfers:</div><div class="">--Component "<a href="http://proxy.example.com" class="">proxy.example.com</a>" "proxy65"</div><div class=""><br class=""></div><div class="">---Set up an external component (default component port is 5347)</div><div class="">--</div><div class="">-- External components allow adding various services, such as gateways/</div><div class="">-- transports to other networks like ICQ, MSN and Yahoo. For more info</div><div class="">-- see: <a href="http://prosody.im/doc/components#adding_an_external_component" class="">http://prosody.im/doc/components#adding_an_external_component</a></div><div class="">--</div><div class="">--Component "<a href="http://gateway.example.com" class="">gateway.example.com</a>"</div><div class="">--<span class="Apple-tab-span" style="white-space:pre">    </span>component_secret = "password"</div></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 30 Jan 2015, at 13:20, Victor Seva <<a href="mailto:vseva@sipwise.com" class="">vseva@sipwise.com</a>> wrote:</div><br class="Apple-interchange-newline"><div 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="">On 01/30/2015 07:54 AM, stefanormc wrote:</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=""><blockquote type="cite" 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="">hello<br class=""><br class="">I’m stuck in the config of sipwise on creating a domain. I checked<br class="">around but did not find much except another thread with similar problem<br class="">that did not help me.<br class=""><br class="">I keep getting:<br class=""><br class="">Failed to create domain. (A service could not be reached, "127.0.0.1",<br class="">port 5582)<br class=""><br class="">and in fact I do not have anything listening on that port:<br class=""><br class="">Local Address           Foreign Address         State       PID/Program<br class="">name<br class="">tcp        0      0 0.0.0.0:5222            0.0.0.0:*              <br class="">LISTEN      6626/lua5.1     <br class="">tcp        0      0 0.0.0.0:5269            0.0.0.0:*              <br class="">LISTEN      6626/lua5.1     <br class=""></blockquote><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="">So prosody is up and running</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=""><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=""><blockquote type="cite" 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=""><br class="">I checked the config.yml and network.yml and did not notice much wrong<br class="">except web_int under eth0 instead of lo, is this correct?<br class=""><br class="">My guess is prosody did not start? is that possible?<br class=""></blockquote><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="">attach your /etc/prosody/prosody.cfg.lua</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=""></div></blockquote><div><br class=""></div><div><br class=""></div><div><br class=""></div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><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="">And what is the ngcp_version here</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=""><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="">_______________________________________________</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="">Spce-user 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:Spce-user@lists.sipwise.com" 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="">Spce-user@lists.sipwise.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="https://lists.sipwise.com/listinfo/spce-user" 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="">https://lists.sipwise.com/listinfo/spce-user</a></div></blockquote></div><br class=""></div></body></html>