[Ekiga-list] Ekiga to asterisk



Hi guys

I'm trying to connect Ekiga 2.0.2 to a Asterisk Server.
They are currently running on the same machine.

I've disabled any NAT on Ekiga and I'm specifying that as account

Registrar: tinkpad:5061
user: andrea
password: XXXX
authentication login: andrea
realm/domain: asterisk

on Asterisk sip.conf, other than the default I have

realm = asterisk
bindport = 5061
(apparently ekiga does not run if port 5060 is busy)

[andrea_acount]
type = user
username = andrea asterisk
secret = XXXX
host = thinkpad
nat = no

The only thing I get is

Sep  4 21:33:03 NOTICE[6448]: chan_sip.c:11066
handle_request_register: Registration from
'<sip:andrea thinkpad:5061>' failed for '192.168.1.2' - Username/auth
name mismatch

and this is the debug output.

<-- SIP read from 192.168.1.2:5064:
REGISTER sip:thinkpad SIP/2.0
CSeq: 14 REGISTER
Via: SIP/2.0/UDP
192.168.1.2:5064;branch=z9hG4bK8e7dd93b-c23a-db11-821f-000d60afb16e;rport
User-Agent: Ekiga/2.0.2
From: <sip:andrea thinkpad:5061>;tag=206ed93b-c23a-db11-821f-000d60afb16e
Call-ID: 4850493c-c03a-db11-821f-000d60afb16e thinkpad
To: <sip:andrea thinkpad:5061>
Contact: <sip:andrea 192 168 1 2:5064;transport=udp>
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,NOTIFY,REFER,MESSAGE
Expires: 3600
Content-Length: 0
Max-Forwards: 70


--- (12 headers 0 lines)---
Using latest REGISTER request as basis request
Sending to 192.168.1.2 : 5064 (NAT)
Transmitting (NAT) to 192.168.1.2:5064:
SIP/2.0 404 Not found
Via: SIP/2.0/UDP
192.168.1.2:5064;branch=z9hG4bK8e7dd93b-c23a-db11-821f-000d60afb16e;received=192.168.1.2;rport=5064
From: <sip:andrea thinkpad:5061>;tag=206ed93b-c23a-db11-821f-000d60afb16e
To: <sip:andrea thinkpad:5061>;tag=as0fadc2ee
Call-ID: 4850493c-c03a-db11-821f-000d60afb16e thinkpad
CSeq: 14 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: <sip:andrea 192 168 1 2:5061>
Content-Length: 0

how can I guess what is exactly the user and password ekiga is trying
to send to asterisk?
In the debug output I can't see the realm I'm using (i.e. "asterisk"),
but even if I set it to "thinkpad" (the IP name of my pc).

Any idea?

mario



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]