1 like 0 dislike
323 views

I am getting error on asterisk CLI - '[' is not a valid host - while registering a SIP phone as a client with my PBX asterisk based

PBX and SIP is on same gateway ..I already tried with everything...but no success..please help my sip..I am using eyebeam softphone

CLI ERROR:

[Feb  7 15:01:34] WARNING[3088]: chan_sip.c:14478 check_via: '[' is not a valid host

MY SIP.CONF

[981064]
host = dynamic
from=981064
secret=22480
allow=ulaw
allow=g729
allow=alaw
type = friend
dtmfmode=rfc2833
dtmf=rfc2833
 

and there is nothing that I can do to get past this - I simply cannot get any phones to register.

in Education & Reference by (810 points) | 323 views

2 Answers

1 like 0 dislike
Best answer
In you SIP.conf

put value nat=yes and try it should work
by
selected by
0 0
It is working now after putting nat to yes... Great thanks
1 like 0 dislike

A software SIP phone running on a computer that has no gateway defined can not register with Asterisk.

            • ADDITIONAL INFORMATION ******

1) When client computer and PBX computer are in same subnet, there is no need to have a gateway, and in fact, this is preferred in many cases for security reasons. However, this breaks SIP with Asterisk.

 

by
0 0
I have configured the same gateway and still it is not working..

Related questions

0 like 0 dislike
0 answers
0 like 0 dislike
1 answer
1 like 0 dislike
1 answer
asked Jan 21, 2016 in Education & Reference by Sam (1.3k points) | 159 views
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked Jul 7, 2014 in Education & Reference by Bhoomika (50 points) | 8.6k views
0 like 0 dislike
1 answer
1 like 0 dislike
1 answer
0 like 0 dislike
1 answer

Where your donation goes
Technology: We will utilize your donation for development, server maintenance and bandwidth management, etc for our site.

Employee and Projects: We have only 15 employees. They are involved in a wide sort of project works. Your valuable donation will definitely boost their work efficiency.

How can I earn points?
Awarded a Best Answer 10 points
Answer questions 10 points
Asking Question -20 points

1,200 questions
1,346 answers
432 comments
1,901 users