[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.8

xlite client fails to authenticate to asterisk server

Asked by klukac in Voice Over IP

Tags: asterisk, name, mismatch

I just got asterisk running on my linux server and I'm trying to establish a connection with an xlite client on my LAN.  When xlite attempts to log on, asterisk displays this error:
chan_sip.c:10879 handle_request_register: Registration from 'My Name <sip:2007@my.domain>' failed for 10.0.1.106' - User name / auth name mismatch

Following the O'Reilly book on Asterisk, my sip.conf file looks like this:
(the lan is nat'd, but the connection is internal - I'm not testing that part of the network yet, although my pix allows 5060 and 5004 connections)
[general]
context=default
srvlookup=yes

[2007]  
type=user
secret=hello
qualify=yes
nat=no
host=10.0.1.106
canreinvite=no
context=internal

My extensions.conf file shows:
[internal]
exten => 100,1,Dial(SIP/2007)
exten => 611,1,Echo()

And my xlite log file shows this:

© 2004 Xten Networks, Inc. All rights reserved.

X-Lite release 1105d build stamp 99999

License key: 7BAE08E072302C24E8D2D3887CD42FAC



Established SIP protocol listen on: 10.0.1.106:5060



SIP: 10.0.1.106:5060

RTP: 10.0.1.106:5004

NAT: 10.0.1.106



Discovered Blocked Firewall



PROXY#0: 10.0.1.104:5060





SEND TIME: 2059337154

SEND >> 10.0.1.104:5060

REGISTER sip:my.domain SIP/2.0

Via: SIP/2.0/UDP 10.0.1.106:5060;rport;branch=z9hG4bK398DABCFD4D0DA05780C978E8CBBE29D

From: My Name <sip:2007@my.domain>;tag=1362010897

To: My Name <sip:2007@my.domain>

Contact: "My Name" <sip:2007@10.0.1.106:5060>

Call-ID: 0B2AE56E582AF5CE562A69C9A64825E8@my.domain

CSeq: 45073 REGISTER

Expires: 1800

Max-Forwards: 70

User-Agent: X-Lite release 1105d

Content-Length: 0





RECEIVE TIME: 2059337155

RECEIVE << 10.0.1.104:5060

SIP/2.0 404 Not found

Via: SIP/2.0/UDP 10.0.1.106:5060;branch=z9hG4bK398DABCFD4D0DA05780C978E8CBBE29D;received=10.0.1.106;rport=5060

From: My Name <sip:2007@my.domain>;tag=1362010897

To: My Name <sip:2007@my.domain>;tag=as706d5f7b

Call-ID: 0B2AE56E582AF5CE562A69C9A64825E8@my.domain

CSeq: 45073 REGISTER

User-Agent: Asterisk PBX

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY

Contact: <sip:2007@10.0.1.104>

Content-Length: 0


My xlite configuration looks pretty straightforward, but if you need I can send entries for that too.  Let me know what's wrong, thanks.
[+][-]04/08/06 07:28 PM, ID: 16409880Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zone: Voice Over IP
Tags: asterisk, name, mismatch
Sign Up Now!
Solution Provided By: Frabble
Participating Experts: 3
Solution Grade: A
 
[+][-]04/09/06 04:43 AM, ID: 16411224Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/09/06 09:42 AM, ID: 16412020Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/09/06 05:26 PM, ID: 16413767Assisted Solution

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]04/11/06 12:32 PM, ID: 16430472Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091021-EE-VQP-81