[Ekiga-list] Ekiga to asterisk
Damien Sandras
dsandras at seconix.com
Mon Sep 4 21:17:37 UTC 2006
Hi
Try to put andrea at tinkpad or andrea at asterisk as username in Ekiga.
Le lundi 04 septembre 2006 à 22:06 +0100, Mario Rossi a écrit :
> 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 at 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 at 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 at thinkpad:5061>;tag=206ed93b-c23a-db11-821f-000d60afb16e
> Call-ID: 4850493c-c03a-db11-821f-000d60afb16e at thinkpad
> To: <sip:andrea at thinkpad:5061>
> Contact: <sip:andrea at 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 at thinkpad:5061>;tag=206ed93b-c23a-db11-821f-000d60afb16e
> To: <sip:andrea at thinkpad:5061>;tag=as0fadc2ee
> Call-ID: 4850493c-c03a-db11-821f-000d60afb16e at thinkpad
> CSeq: 14 REGISTER
> User-Agent: Asterisk PBX
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
> Contact: <sip:andrea at 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
> _______________________________________________
> ekiga-list mailing list
> ekiga-list at gnome.org
> http://mail.gnome.org/mailman/listinfo/ekiga-list
--
_ Damien Sandras
(o-
//\ Ekiga Softphone: http://www.ekiga.org/
v_/_ FOSDEM 2006 : http://www.fosdem.org/
SIP Phone : sip:dsandras at ekiga.net
sip:600000 at ekiga.net
More information about the ekiga-list
mailing list