Page 1 of 1

soft phone not registering

PostPosted: Mon Dec 02, 2013 5:34 am
by wmdbikesh
hello all
I am using goautodial since 12 months and suddenly i encountered a problem of not registering my soft-phone to the server.
I have checked with my network and everything seems to be fine.I can login to goautodial server through my browser also but while connecting from my softphone(eyebeam ) the asterisk logs shows error like this:
chan_sip.c:10012 check_via: '[' is not a valid host


so please help me on this to solve the problem

Re: soft phone not registering

PostPosted: Mon Dec 02, 2013 7:31 am
by DomeDan
Hello,
There was a topic about this issue a while back http://www.vicidial.org/VICIDIALforum/v ... 21#p104881
Upgrading solved it for richardroi apparently, what version do you use?
you could try to debug this as i suggested in the topic: ngrep-sip 'maddr'

Re: soft phone not registering

PostPosted: Mon Dec 02, 2013 11:44 am
by wmdbikesh
hello,
Thanks for reply.I am using goautodal 2.1 and had this issue so i updated to 3.0 but the problem is still there.I think this problem with the network. when i use lan only my softphone gets connected but whenever i add wan on other interface my all the softphone gets disconnected but still i can get connected from browser but not from the softphone

Re: soft phone not registering

PostPosted: Tue Dec 03, 2013 4:31 am
by DomeDan
Enable SIP debug in asterisk and post the output here when a softphone tries to register and fails and also one when it works.

And explain in detail that "add wan on other interface"-part, I don't even know where you are editing

Re: soft phone not registering

PostPosted: Fri Feb 07, 2014 12:13 pm
by richardroi
Try setting up a new box with the latest release! run them on the same time.I encountered this issue, and now I'm running on the new box with latest version release with no issue, disposed the old one :D .

Re: soft phone not registering

PostPosted: Fri Feb 07, 2014 7:42 pm
by deficit
Sounds like you have a routing issue.. nothing to do with asterisk or vicidial.

Re: soft phone not registering

PostPosted: Sun Feb 09, 2014 12:46 am
by williamconley
chan_sip.c:10012 check_via: '[' is not a valid host

You likely have an error in a sip entry somewhere which is causing a failure in writing your sip-vicidial.conf file.

It is actually possible to break Vicidial with a bad error.

Have a look at sip-vicidial.conf and consider manually changing it (will be overridden anyway at your next vicidial save) and remove everything except the entry you are trying to actually use. If that fixes it ... some simple troubleshooting should find it.

also have a look at your sip.conf in case the bad line is in there (have you edited it? what's the file date?)

Re: soft phone not registering

PostPosted: Wed Feb 12, 2014 8:09 am
by richardroi
viewtopic.php?f=4&t=29521#p104881
I spent almost 2 months looking for the "[" with no luck, what I haven't tried is changing the two NICs.
Running in production so I have no choice but to setup a new server.
If you found the error kindly update us/forum also.

Thank you.