[Spce-user] Authentication failed, no credentials
Daniel Grotti
dgrotti at sipwise.com
Sat Jan 17 06:37:16 EST 2015
Hi Pedro,
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.
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.
3) see answer 2.
4) No PSTN gateway means spce can't find any sip peering rules matching the destination RURI 5714111111 . In order to get more info, just set debug 2:
ngcp-kamctl proxy fifo debug 2
Daniel
----- Original Message -----
From: "Pedro Guillem" <pedro.guillem at gmail.com>
To: "spce-user" <spce-user at lists.sipwise.com>
Sent: Saturday, January 17, 2015 7:19:04 AM
Subject: [Spce-user] Authentication failed, no credentials
I created a suscriber and successfully registered an Xlite client to the SPCE. No calls are going out.
All i want is any registered user to be able to call via a peer.
Questions:
1) Why is the message "Authentication Failed, no credentials" appearing? the peer is registered!
2) Why is the system rejecting the user-provided CLI ? (800800)
3) Why is the system using as CLI the same number i´m trying to call?
4) Why is "No PSTN gateways available" showing up if my peerings are available?
Thanks in advance for any suggestions
Pedro
Whenever i call, i get this
NOTICE: <script>: New request - M=INVITE R= sip:5714111111 at sbc.xxxxxxxx.net F= sip:800800 at sbc.xxxxxxxxxx.net T= sip:5714111111 at sbc.xxxxxxxxxx.net IP= 201.245.230.2:42622 ( 192.168.2.2:5060 ) ID=ZmMwYzQ4MmQ4ZTM2YTZkOTg0MzBmYTgwOWQ1MTQ4ZTQ
NOTICE: <script>: Authentication failed, no credentials - R= sip:5714111111 at sbc.xxxxxxxxxx.net ID=ZmMwYzQ4MmQ4ZTM2YTZkOTg0MzBmYTgwOWQ1MTQ4ZTQ
NOTICE: <script>: New request - M=INVITE R= sip:5714111111 at sbc.xxxxxxxxxx.net F= sip:800800 at sbc.xxxxxxxxxx.net T= sip:5714111111 at sbc.xxxxxxxxxx.net IP= 201.245.230.2:42622 ( 192.168.2.2:5060 ) ID=ZmMwYzQ4MmQ4ZTM2YTZkOTg0MzBmYTgwOWQ1MTQ4ZTQ
NOTICE: <script>: User-Provided CLI '800800' taken from From-User - R= sip:5714111111 at sbc.xxxxxxxxxx.net ID=ZmMwYzQ4MmQ4ZTM2YTZkOTg0MzBmYTgwOWQ1MTQ4ZTQ
NOTICE: <script>: User-provided CLI '800800' rejected, using network-provided CLI '5714111111' - R= sip:5714111111 at sbc.xxxxxxxxxx.net ID=ZmMwYzQ4MmQ4ZTM2YTZkOTg0MzBmYTgwOWQ1MTQ4ZTQ
NOTICE: <script>: Setting ' 5714111111 at sbc.xxxxxxxxxx.net ' as initiating user-provided CLI - R= sip:5714111111 at sbc.xxxxxxxxxx.net ID=ZmMwYzQ4MmQ4ZTM2YTZkOTg0MzBmYTgwOWQ1MTQ4ZTQ
NOTICE: <script>: Setting ' 5714111111 at sbc.xxxxxxxxxx.net ' as initiating network-provided CLI - R= sip:5714111111 at sbc.xxxxxxxxxx.net ID=ZmMwYzQ4MmQ4ZTM2YTZkOTg0MzBmYTgwOWQ1MTQ4ZTQ
NOTICE: <script>: Callee is not local - R= sip:5714111111 at sbc.xxxxxxxxxx.net ID=ZmMwYzQ4MmQ4ZTM2YTZkOTg0MzBmYTgwOWQ1MTQ4ZTQ
NOTICE: <script>: Call to SIP Peering - R= sip:5714111111 at sbc.xxxxxxxxxx.net ID=ZmMwYzQ4MmQ4ZTM2YTZkOTg0MzBmYTgwOWQ1MTQ4ZTQ
NOTICE: <script>: Load gws matching calling part ' sip:5714111111 at sbc.xxxxxxxxxx.net ' and called user '5714111111' and called part ' sip:5714111111 at sbc.xxxxxxxxxx.net ' - R= sip:5714111111 at sbc.xxxxxxxxxx.net ID=ZmMwYzQ4MmQ4ZTM2YTZkOTg0MzBmYTgwOWQ1MTQ4ZTQ
ERROR: <script>: No PSTN gateways available - R= sip:5714111111 at sbc.xxxxxxxxxx.net ID=ZmMwYzQ4MmQ4ZTM2YTZkOTg0MzBmYTgwOWQ1MTQ4ZTQ
NOTICE: <script>: Setting acc source-leg for uuid '8f73ef58-84f4-4ae5-9e49-5044318abdc5': '8f73ef58-84f4-4ae5-9e49-5044318abdc5|800800| sbc.xxxxxxxxxx.net |5714111111|800800|Cliente de prueba|2|||0|call|201.245.230.2|1421474959.662945' - R= sip:5714111111 at sbc.xxxxxxxxxx.net ID=ZmMwYzQ4MmQ4ZTM2YTZkOTg0MzBmYTgwOWQ1MTQ4ZTQ
_______________________________________________
Spce-user mailing list
Spce-user at lists.sipwise.com
https://lists.sipwise.com/listinfo/spce-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20150117/71133b29/attachment-0001.html>
More information about the Spce-user
mailing list