<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div>Hi Pedro,</div><div><br></div><div>1) Registration doesn't matter here, when you send an INVITE the server ask tou to autheticate, so the first INVITE has no auth headers, SPCE reply with 407 and the client/peer send a new INVITE with auth credential header. That's normal, and you don't need to be registered to place calls.</div><div><br></div><div>2) did you add that CLI in the allowed_clis list in the subscribers preferences ? if not, the system just reject it and use the value specified in the 'cli' preferences.</div><div><br></div><div>3) see answer 2. </div><div><br></div><div>4) No PSTN gateway means spce can't find any sip peering rules matching the destination RURI <a href="mailto:sip%3A5714111111@sbc.xxxxxxxxxx.net" target="_blank" style="font-family: Helvetica, Arial, sans-serif;" data-mce-href="mailto:sip%3A5714111111@sbc.xxxxxxxxxx.net" data-mce-style="font-family: Helvetica, Arial, sans-serif;">5714111111</a>. In order to get more info, just set debug 2:</div><div><br></div><div>ngcp-kamctl proxy fifo debug 2</div><div><br></div><div><br></div><div>Daniel</div><div><br></div><div><br></div><div><br></div><div><br></div><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Pedro Guillem" <pedro.guillem@gmail.com><br><b>To: </b>"spce-user" <spce-user@lists.sipwise.com><br><b>Sent: </b>Saturday, January 17, 2015 7:19:04 AM<br><b>Subject: </b>[Spce-user] Authentication failed, no credentials<br><div><br></div><div dir="ltr">I created a suscriber and successfully registered an Xlite client to the SPCE. No calls are going out.<div><br></div><div>All i want is any registered user to be able to call via a peer.<br></div><div><br></div><div><br></div><div>Questions:</div><div><br></div><div>1) Why is the message "Authentication Failed, no credentials" appearing? the peer is registered!</div><div><br></div><div>2) Why is the system rejecting the user-provided CLI ? (800800)</div><div><br></div><div>3) Why is the system using as CLI the same number i´m trying to call?</div><div><br></div><div>4) Why is "No PSTN gateways available" showing up if my peerings are available?</div><div><br></div><div><br></div><div>Thanks in advance for any suggestions</div><div>Pedro</div><div><br></div><div><br></div><div><br></div><div>Whenever i call, i get this</div><div><br></div><div><br></div><div><div><div><div>NOTICE: <script>: New request - M=INVITE R=<a href="mailto:sip%3A5714111111@sbc.xxxxxxxx.net" target="_blank" data-mce-href="mailto:sip%3A5714111111@sbc.xxxxxxxx.net">sip:5714111111@sbc.xxxxxxxx.net</a> F=<a href="mailto:sip%3A800800@sbc.xxxxxxxxxx.net" target="_blank" data-mce-href="mailto:sip%3A800800@sbc.xxxxxxxxxx.net">sip:800800@sbc.xxxxxxxxxx.net</a> T=<a href="mailto:sip%3A5714111111@sbc.xxxxxxxxxx.net" target="_blank" data-mce-href="mailto:sip%3A5714111111@sbc.xxxxxxxxxx.net">sip:5714111111@sbc.xxxxxxxxxx.net</a> IP=<a href="http://201.245.230.2:42622" target="_blank" data-mce-href="http://201.245.230.2:42622">201.245.230.2:42622</a> (<a href="http://192.168.2.2:5060" target="_blank" data-mce-href="http://192.168.2.2:5060">192.168.2.2:5060</a>) ID=ZmMwYzQ4MmQ4ZTM2YTZkOTg0MzBmYTgwOWQ1MTQ4ZTQ</div><div>NOTICE: <script>: Authentication failed, no credentials - R=<a href="mailto:sip%3A5714111111@sbc.xxxxxxxxxx.net" target="_blank" data-mce-href="mailto:sip%3A5714111111@sbc.xxxxxxxxxx.net">sip:5714111111@sbc.xxxxxxxxxx.net</a> ID=ZmMwYzQ4MmQ4ZTM2YTZkOTg0MzBmYTgwOWQ1MTQ4ZTQ</div><div><br></div><div>NOTICE: <script>: New request - M=INVITE R=<a href="mailto:sip%3A5714111111@sbc.xxxxxxxxxx.net" target="_blank" data-mce-href="mailto:sip%3A5714111111@sbc.xxxxxxxxxx.net">sip:5714111111@sbc.xxxxxxxxxx.net</a> F=<a href="mailto:sip%3A800800@sbc.xxxxxxxxxx.net" target="_blank" data-mce-href="mailto:sip%3A800800@sbc.xxxxxxxxxx.net">sip:800800@sbc.xxxxxxxxxx.net</a> T=<a href="mailto:sip%3A5714111111@sbc.xxxxxxxxxx.net" target="_blank" data-mce-href="mailto:sip%3A5714111111@sbc.xxxxxxxxxx.net">sip:5714111111@sbc.xxxxxxxxxx.net</a> IP=<a href="http://201.245.230.2:42622" target="_blank" data-mce-href="http://201.245.230.2:42622">201.245.230.2:42622</a> (<a href="http://192.168.2.2:5060" target="_blank" data-mce-href="http://192.168.2.2:5060">192.168.2.2:5060</a>) ID=ZmMwYzQ4MmQ4ZTM2YTZkOTg0MzBmYTgwOWQ1MTQ4ZTQ</div><div><br></div><div>NOTICE: <script>: User-Provided CLI '800800' taken from From-User - R=<a href="mailto:sip%3A5714111111@sbc.xxxxxxxxxx.net" target="_blank" data-mce-href="mailto:sip%3A5714111111@sbc.xxxxxxxxxx.net">sip:5714111111@sbc.xxxxxxxxxx.net</a> ID=ZmMwYzQ4MmQ4ZTM2YTZkOTg0MzBmYTgwOWQ1MTQ4ZTQ</div><div><br></div><div>NOTICE: <script>: User-provided CLI '800800' rejected, using network-provided CLI '5714111111' - R=<a href="mailto:sip%3A5714111111@sbc.xxxxxxxxxx.net" target="_blank" data-mce-href="mailto:sip%3A5714111111@sbc.xxxxxxxxxx.net">sip:5714111111@sbc.xxxxxxxxxx.net</a> ID=ZmMwYzQ4MmQ4ZTM2YTZkOTg0MzBmYTgwOWQ1MTQ4ZTQ</div><div><br></div><div>NOTICE: <script>: Setting '<a href="mailto:5714111111@sbc.xxxxxxxxxx.net" target="_blank" data-mce-href="mailto:5714111111@sbc.xxxxxxxxxx.net">5714111111@sbc.xxxxxxxxxx.net</a>' as initiating user-provided CLI - R=<a href="mailto:sip%3A5714111111@sbc.xxxxxxxxxx.net" target="_blank" data-mce-href="mailto:sip%3A5714111111@sbc.xxxxxxxxxx.net">sip:5714111111@sbc.xxxxxxxxxx.net</a> ID=ZmMwYzQ4MmQ4ZTM2YTZkOTg0MzBmYTgwOWQ1MTQ4ZTQ</div><div><br></div><div>NOTICE: <script>: Setting '<a href="mailto:5714111111@sbc.xxxxxxxxxx.net" target="_blank" data-mce-href="mailto:5714111111@sbc.xxxxxxxxxx.net">5714111111@sbc.xxxxxxxxxx.net</a>' as initiating network-provided CLI - R=<a href="mailto:sip%3A5714111111@sbc.xxxxxxxxxx.net" target="_blank" data-mce-href="mailto:sip%3A5714111111@sbc.xxxxxxxxxx.net">sip:5714111111@sbc.xxxxxxxxxx.net</a> ID=ZmMwYzQ4MmQ4ZTM2YTZkOTg0MzBmYTgwOWQ1MTQ4ZTQ</div><div><br></div><div>NOTICE: <script>: Callee is not local - R=<a href="mailto:sip%3A5714111111@sbc.xxxxxxxxxx.net" target="_blank" data-mce-href="mailto:sip%3A5714111111@sbc.xxxxxxxxxx.net">sip:5714111111@sbc.xxxxxxxxxx.net</a> ID=ZmMwYzQ4MmQ4ZTM2YTZkOTg0MzBmYTgwOWQ1MTQ4ZTQ</div><div><br></div><div>NOTICE: <script>: Call to SIP Peering - R=<a href="mailto:sip%3A5714111111@sbc.xxxxxxxxxx.net" target="_blank" data-mce-href="mailto:sip%3A5714111111@sbc.xxxxxxxxxx.net">sip:5714111111@sbc.xxxxxxxxxx.net</a> ID=ZmMwYzQ4MmQ4ZTM2YTZkOTg0MzBmYTgwOWQ1MTQ4ZTQ</div><div><br></div><div>NOTICE: <script>: Load gws matching calling part '<a href="mailto:sip%3A5714111111@sbc.xxxxxxxxxx.net" target="_blank" data-mce-href="mailto:sip%3A5714111111@sbc.xxxxxxxxxx.net">sip:5714111111@sbc.xxxxxxxxxx.net</a>' and called user '5714111111' and called part '<a href="mailto:sip%3A5714111111@sbc.xxxxxxxxxx.net" target="_blank" data-mce-href="mailto:sip%3A5714111111@sbc.xxxxxxxxxx.net">sip:5714111111@sbc.xxxxxxxxxx.net</a>' - R=<a href="mailto:sip%3A5714111111@sbc.xxxxxxxxxx.net" target="_blank" data-mce-href="mailto:sip%3A5714111111@sbc.xxxxxxxxxx.net">sip:5714111111@sbc.xxxxxxxxxx.net</a> ID=ZmMwYzQ4MmQ4ZTM2YTZkOTg0MzBmYTgwOWQ1MTQ4ZTQ</div><div><br></div><div>ERROR: <script>: No PSTN gateways available - R=<a href="mailto:sip%3A5714111111@sbc.xxxxxxxxxx.net" target="_blank" data-mce-href="mailto:sip%3A5714111111@sbc.xxxxxxxxxx.net">sip:5714111111@sbc.xxxxxxxxxx.net</a> ID=ZmMwYzQ4MmQ4ZTM2YTZkOTg0MzBmYTgwOWQ1MTQ4ZTQ</div><div><br></div><div>NOTICE: <script>: Setting acc source-leg for uuid '8f73ef58-84f4-4ae5-9e49-5044318abdc5': '8f73ef58-84f4-4ae5-9e49-5044318abdc5|800800|<a href="http://sbc.xxxxxxxxxx.net" target="_blank" data-mce-href="http://sbc.xxxxxxxxxx.net">sbc.xxxxxxxxxx.net</a>|5714111111|800800|Cliente de prueba|2|||0|call|201.245.230.2|1421474959.662945' - R=<a href="mailto:sip%3A5714111111@sbc.xxxxxxxxxx.net" target="_blank" data-mce-href="mailto:sip%3A5714111111@sbc.xxxxxxxxxx.net">sip:5714111111@sbc.xxxxxxxxxx.net</a> ID=ZmMwYzQ4MmQ4ZTM2YTZkOTg0MzBmYTgwOWQ1MTQ4ZTQ</div></div></div></div><div><br></div></div><br>_______________________________________________<br>Spce-user mailing list<br>Spce-user@lists.sipwise.com<br>https://lists.sipwise.com/listinfo/spce-user<br></div><div><br></div></div></body></html>