Can't connect softphone to server

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Can't connect softphone to server

Postby jmarin » Tue Feb 14, 2017 8:03 am

Hello community:

Complete newbie here, while following the manual trying to add an extension phone number I'm stuck at trying to connect my softphone (X-lite) to the server.
Everytime I try to connect with the softphone the AsteriskCLI shows this message:
"NOTICE[1796]: chan_sip.c:28490 handle_request_register: Registration from '"6000"<sip:6000@[SERVER_LOCAL_ADDRESS]:5060>' failed for '[COMPUTER LOCAL IP]:7969' - Wrong password"

I know it says "wrong password", but trust me here I have checked x100 for it to match, and I just can't connect the dialer to test the outbount campaing. I'm desperate now, I need to and I feel is something silly I'm overlooking

PS: The CLI from time to time shows this message also, I don't know if is related:
WARNING[1796]: chan_sip.c:4101 retrans_pkt: Timeout on 1b82f92e7cc79e21fa23917f65b94091 on non-critical invite transaction.


Kernel 4.1.38-47-default
OS: openSUSE Leap 42.1 x86_64 (Malachite)
Asterisk 11.25.1-vici
Vicidial: 2.14-587a BUILD: 170207-1317
Installed via ViciBox 7.0.4
Followed the installation guide that comes with Vicibox

EDIT: The phone is using SIP,
jmarin
 
Posts: 8
Joined: Tue Feb 14, 2017 3:13 am

Re: Can't connect softphone to server

Postby Vince-0 » Tue Feb 14, 2017 12:04 pm

check what passwords are set in the config file:

/etc/asterisk/sip-vicidial.conf

This file gets created from your phone configs in Vicidial front-end.
Vince-0
 
Posts: 272
Joined: Fri Mar 02, 2012 4:27 pm
Location: South Africa

Re: Can't connect softphone to server

Postby jmarin » Tue Feb 14, 2017 1:26 pm

Thank you for your response,

Already checked that one and the secret is there:

[6000]
username=6000
secret=Password1234
accountcode=6000
callerid="TestExtension" <>
mailbox=6000
context=default
type=friend
host=dynamic
jmarin
 
Posts: 8
Joined: Tue Feb 14, 2017 3:13 am

Re: Can't connect softphone to server

Postby jmarin » Tue Feb 14, 2017 3:16 pm

It looks like asterisk (?) has problems with local sip connections (anyone I tried) on my server for some reason, I can however register IAX2 Phones (Zoiper).

Now I only need to actually have sound and ring on the dialer connection

Edit: Corrections
jmarin
 
Posts: 8
Joined: Tue Feb 14, 2017 3:13 am

Re: Can't connect softphone to server

Postby jmarin » Wed Feb 15, 2017 2:17 pm

It looks like my two posts were related after all, adding the link to my other post in case someones enters this post looking for the problem stated here.

Refer to viewtopic.php?f=4&t=36943 for a possible cause and solution
jmarin
 
Posts: 8
Joined: Tue Feb 14, 2017 3:13 am


Return to Support

Who is online

Users browsing this forum: No registered users and 85 guests