[Spce-user] Unable to register subscriber

Lorenzo Mangani lorenzo.mangani at gmail.com
Sun Aug 11 11:47:01 EDT 2013


Martin,

401 is the correct answer to the first unauthenticated REGISTER - is the
UA/PBX using sm1 following with an authenticated REGISTER?
If you need anyone to help you troubleshoot a SIP session, especially the
client side, you should share the SIP session rather than logs (you should
look at the logs on the other end most likely tho)

Lorenzo Mangani

HOMER DEV TEAM
QXIP - Capture Engineering



On Sun, Aug 11, 2013 at 5:34 PM, Martin Wong <
martin.wong at binaryelements.com.au> wrote:

> Hi, I've got this weird case where a subscriber cannot subscribe to the
> SPCE server. The reply is a 401 unauthorized.
>
> I've checked all the passwords, banned IP/subscriber (which shouldn't be
> there anyway as I have disabled it). Did a ngrep-sip to see the sip
> messages but all it said was 401.
>
> The subscriber is a freeswitch PBX server with the subscriber as one of
> their outgoing trunks.
>
> The logs didn't say much so I was wondering if I can engage someone to
> direct me here. Here's something from the kamailio-lb.log
>
> Aug 12 01:22:02 besp1 /usr/sbin/kamailio[18606]: INFO: <script>: New
> request - M=REGISTER R=sip:102.28.65.116;transport=udp F=
> sip:sm1 at 102.28.65.116 T=sip:sm1 at 102.28.65.116 IP=udp:49.156.17.129:5080ID=c4f9cdac-0299-11e3-a5fd-2329bc64aa54
> Aug 12 01:22:02 besp1 /usr/sbin/kamailio[18606]: INFO: <script>: Relaying
> request, du='sip:127.0.0.1:5062', fs='udp:127.0.0.1:5060' -
> R=sip:102.28.65.116;transport=udp ID=c4f9cdac-0299-11e3-a5fd-2329bc64aa54
> Aug 12 01:22:02 besp1 /usr/sbin/kamailio[18615]: INFO: <script>: Reply
> from Inbound - S=100 - Trying M=REGISTER IP=udp:127.0.0.1:5062ID=c4f9cdac-0299-11e3-a5fd-2329bc64aa54
> Aug 12 01:22:02 besp1 /usr/sbin/kamailio[18615]: INFO: <script>: Forcing
> outbound socket 'udp:102.28.65.116:5060' recovered from P-Out-Socket -
> R=<null> ID=c4f9cdac-0299-11e3-a5fd-2329bc64aa54
> Aug 12 01:22:02 besp1 /usr/sbin/kamailio[18615]: INFO: <script>: Sending
> reply, fs='udp:102.28.65.116:5060' -
> ID=c4f9cdac-0299-11e3-a5fd-2329bc64aa54
> Aug 12 01:22:02 besp1 /usr/sbin/kamailio[18616]: INFO: <script>: Reply
> from Inbound - S=401 - Unauthorized M=REGISTER IP=udp:127.0.0.1:5062ID=c4f9cdac-0299-11e3-a5fd-2329bc64aa54
> Aug 12 01:22:02 besp1 /usr/sbin/kamailio[18616]: INFO: <script>: Forcing
> outbound socket 'udp:102.28.65.116:5060' recovered from P-Out-Socket -
> R=<null> ID=c4f9cdac-0299-11e3-a5fd-2329bc64aa54
> Aug 12 01:22:02 besp1 /usr/sbin/kamailio[18616]: INFO: <script>: Sending
> reply, fs='udp:102.28.65.116:5060' -
> ID=c4f9cdac-0299-11e3-a5fd-2329bc64aa54
> Aug 12 01:22:03 besp1 /usr/sbin/kamailio[18607]: INFO: <script>: New
> request - M=REGISTER R=sip:102.28.65.116;transport=udp F=
> sip:sm1 at 102.28.65.116 T=sip:sm1 at 102.28.65.116 IP=udp:49.156.17.129:5080ID=c4f9cdac-0299-11e3-a5fd-2329bc64aa54
> Aug 12 01:22:03 besp1 /usr/sbin/kamailio[18607]: INFO: <script>: Relaying
> request, du='sip:127.0.0.1:5062', fs='udp:127.0.0.1:5060' -
> R=sip:102.28.65.116;transport=udp ID=c4f9cdac-0299-11e3-a5fd-2329bc64aa54
> Aug 12 01:22:03 besp1 /usr/sbin/kamailio[18617]: INFO: <script>: Reply
> from Inbound - S=100 - Trying M=REGISTER IP=udp:127.0.0.1:5062ID=c4f9cdac-0299-11e3-a5fd-2329bc64aa54
> Aug 12 01:22:03 besp1 /usr/sbin/kamailio[18617]: INFO: <script>: Forcing
> outbound socket 'udp:102.28.65.116:5060' recovered from P-Out-Socket -
> R=<null> ID=c4f9cdac-0299-11e3-a5fd-2329bc64aa54
> Aug 12 01:22:03 besp1 /usr/sbin/kamailio[18617]: INFO: <script>: Sending
> reply, fs='udp:102.28.65.116:5060' -
> ID=c4f9cdac-0299-11e3-a5fd-2329bc64aa54
> Aug 12 01:22:03 besp1 /usr/sbin/kamailio[18618]: INFO: <script>: Reply
> from Inbound - S=401 - Unauthorized M=REGISTER IP=udp:127.0.0.1:5062ID=c4f9cdac-0299-11e3-a5fd-2329bc64aa54
> Aug 12 01:22:03 besp1 /usr/sbin/kamailio[18618]: INFO: <script>: Forcing
> outbound socket 'udp:102.28.65.116:5060' recovered from P-Out-Socket -
> R=<null> ID=c4f9cdac-0299-11e3-a5fd-2329bc64aa54
> Aug 12 01:22:03 besp1 /usr/sbin/kamailio[18618]: INFO: <script>: Sending
> reply, fs='udp:102.28.65.116:5060' -
> ID=c4f9cdac-0299-11e3-a5fd-2329bc64aa54
> Aug 12 01:22:05 besp1 /usr/sbin/kamailio[18608]: INFO: <script>: New
> request - M=REGISTER R=sip:102.28.65.116;transport=udp F=
> sip:sm1 at 102.28.65.116 T=sip:sm1 at 102.28.65.116 IP=udp:49.156.17.129:5080ID=c4f9cdac-0299-11e3-a5fd-2329bc64aa54
> Aug 12 01:22:05 besp1 /usr/sbin/kamailio[18608]: INFO: <script>: Relaying
> request, du='sip:127.0.0.1:5062', fs='udp:127.0.0.1:5060' -
> R=sip:102.28.65.116;transport=udp ID=c4f9cdac-0299-11e3-a5fd-2329bc64aa54
> Aug 12 01:22:05 besp1 /usr/sbin/kamailio[18619]: INFO: <script>: Reply
> from Inbound - S=100 - Trying M=REGISTER IP=udp:127.0.0.1:5062ID=c4f9cdac-0299-11e3-a5fd-2329bc64aa54
> Aug 12 01:22:05 besp1 /usr/sbin/kamailio[18619]: INFO: <script>: Forcing
> outbound socket 'udp:102.28.65.116:5060' recovered from P-Out-Socket -
> R=<null> ID=c4f9cdac-0299-11e3-a5fd-2329bc64aa54
> Aug 12 01:22:05 besp1 /usr/sbin/kamailio[18619]: INFO: <script>: Sending
> reply, fs='udp:102.28.65.116:5060' -
> ID=c4f9cdac-0299-11e3-a5fd-2329bc64aa54
> Aug 12 01:22:05 besp1 /usr/sbin/kamailio[18620]: INFO: <script>: Reply
> from Inbound - S=401 - Unauthorized M=REGISTER IP=udp:127.0.0.1:5062ID=c4f9cdac-0299-11e3-a5fd-2329bc64aa54
>
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> http://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/20130811/2be26267/attachment-0001.html>


More information about the Spce-user mailing list