hello,
i’m trying to install asterisk with x-lite for basic test but when i try to connect my xlite to asterisk it tell me :
Lofin failed ! contact network administrator
my configuration :
CentOs(serveur asterisk:192.168.76.181)
Extensions.conf
[test]
exten => 8000,1,Dial(SIP/franck)
exten => 9000,1,Dial(SIP/julie)
sip.conf
[code][general]
port=5060
[franck]
username=franck
secret=123456
type=friend
host=dynamic
context=internal
callerid=“franck”<8000>
[julie]
username=julie
secret=123456
type=friend
host=dynamic
context= internal
callerid=“julie”<9000>[/code]
x-lite
Enabled:yes
Display name :franck
USername:franck
authorization user:8000
password:123456
domain/realm:192.168.76.181
sip proxxy:192.168.76.181
out bound proxy:192.168.81.181
when i start x-lite :
[code][root@localhost xten-xlite]# ./xtensoftphone
Warning: /dev/dsp appears to be a valid audio device, but I cannot
open it. Please ensure that no other applications are
using the audio device (perhaps by trying ``lsof /dev/dsp’’).[/code]
[code]
and in the log x-lite
© 2004 Xten Networks, Inc. All rights reserved.
X-Lite release 1105d build stamp 99999
License key: 1356C45F4CB68522963E27A18D0D1535
Attempting SIP protocol listen on: 192.168.76.181:5060
Attempting SIP protocol listen on: 192.168.76.181:5060
Attempting SIP protocol listen on: 192.168.76.181:5060
Attempting SIP protocol listen on: 192.168.76.181:5060
Attempting SIP protocol listen on: 192.168.76.181:5060
Attempting SIP protocol listen on: 192.168.76.181:5060
Attempting SIP protocol listen on: 192.168.76.181:5060
Attempting SIP protocol listen on: 192.168.76.181:5061
Established SIP protocol listen on: 192.168.76.181:5061
Discovered Blocked Firewall
SIP: 192.168.76.181:5061
RTP: 192.168.76.181:8000
NAT: 212.234.53.109
PROXY#0: 192.168.76.181:5060
OUTBOUND-PROXY#0: 192.168.76.181:5060
SEND TIME: 2442058588
SEND >> 192.168.76.181:5060
REGISTER sip:192.168.76.181 SIP/2.0
Via: SIP/2.0/UDP 192.168.76.181:5061;rport;branch=z9hG4bK11515424478A7B6F2CE4BD0BC476EB40
From: franck sip:franck@192.168.76.181;tag=1921755516
To: franck sip:franck@192.168.76.181
Contact: “franck” sip:franck@192.168.76.181:5061
Call-ID: 24479205BA46B1012B0306F2F2AE97E4@192.168.76.181
CSeq: 51638 REGISTER
Expires: 1800
Max-Forwards: 70
User-Agent: X-Lite release 1105d
Content-Length: 0[/code]
on my server asterisk
[Feb 20 03:47:35] WARNING[6360]: chan_sip.c:8639 check_auth: username mismatch, have <franck>, digest has <8000>
[Feb 20 03:47:35] NOTICE[6360]: chan_sip.c:15699 handle_request_register: Registration from 'franck <sip:franck@192.168.76.181>' failed for '192.168.76.181' - Username/auth name mismatch
thanks[/img]