No login with softphone etalk to Asterisk 1.6.2.20

I have two softphone client

etalk , Telepathy-SofiaSIP/0.6.2 sofia-sip/1.12.10devel on ( Nokia N900 )

asterisk version 1.6.2.20

with the softphone Nokia , I make the login and outbound call , but i don’t receive inbound call

outbound call 800422422@sip.messagenet.it ( to sip proxy )

inbound call 5292XXX@sip.messagent.it ( to peer )

with the sotfphone Etalk , I received bad auth ( the extensions is the same 4001)

Can you help me , thanks

Whit the old version 1.6.2 I mada a login with softphone Etalk

This is the log error Etalk

18:14:26 UDP Packet Sent to 192.168.1.1:5060 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
REGISTER sip:192.168.1.1:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.103:5060;rport;branch=z9hG4bK04312
Max-Forwards: 70
To: sip:4000@192.168.1.1:5060
From: sip:4000@192.168.1.1:5060;tag=1234
Call-ID: 1345133666-4312-VT-@192.168.1.103 ; cancelled my name
CSeq: 2 REGISTER
Contact: sip:4000@192.168.1.103:5060;expires=3600;q=0.90
User-Agent: NCH Software Express Talk 4.26
Content-Length: 0


18:14:26 UDP Packet Received from 192.168.1.1:5060 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.103:5060;branch=z9hG4bK04312;received=192.168.1.103;rport=5060
From: sip:4000@192.168.1.1:5060;tag=1234
To: sip:4000@192.168.1.1:5060;tag=as224c15d4
Call-ID: 1345133666-4312-VT-@192.168.1.103
CSeq: 2 REGISTER
Server: FPBX-2.10.0rc1(1.6.2.20)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="073bb1f4"
Content-Length: 0


18:14:26 UDP Packet Sent to 192.168.1.1:5060 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
REGISTER sip:192.168.1.1:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.103:5060;rport;branch=z9hG4bK14312
Max-Forwards: 70
To: sip:4000@192.168.1.1:5060
From: sip:4000@192.168.1.1:5060;tag=1234
Call-ID: 1345133666-4312-VT-@192.168.1.103
CSeq: 3 REGISTER
Contact: sip:4000@192.168.1.103:5060;expires=3600;q=0.90
Authorization: Digest username=“4000”,realm=“asterisk”,nonce=“073bb1f4”,uri=“sip:192.168.1.1:5060”,response=“4fbded48a203aedbc07825bed7f2425c”,opaque="",algorithm=MD5
User-Agent: NCH Software Express Talk 4.26
Content-Length: 0


18:14:26 UDP Packet Received from 192.168.1.1:5060 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
SIP/2.0 403 Forbidden (Bad auth)
Via: SIP/2.0/UDP 192.168.1.103:5060;branch=z9hG4bK14312;received=192.168.1.103;rport=5060
From: sip:4000@192.168.1.1:5060;tag=1234
To: sip:4000@192.168.1.1:5060;tag=as224c15d4
Call-ID: 1345133666-4312-VT-@192.168.1.103
CSeq: 3 REGISTER
Server: FPBX-2.10.0rc1(1.6.2.20)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0

log inbound call to the SIP softphone Nokia N900

Connected to Asterisk 1.6.2.20 currently running on localhost (pid = 3322)
Verbosity is at least 3
localhost*CLI> sip set debug on
SIP Debugging enabled
Reliably Transmitting (NAT) to 192.168.1.2:64066:
OPTIONS sip:4001@192.168.1.2:64066 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.1:5060;branch=z9hG4bK4d2d19d7;rport
Max-Forwards: 70
From: “Unknown” sip:Unknown@192.168.1.1;tag=as0c67ad8b
To: sip:4001@192.168.1.2:64066
Contact: sip:Unknown@192.168.1.1
Call-ID: 58fc6efd44498a8679d45a1872ba3add@192.168.1.1
CSeq: 102 OPTIONS
User-Agent: FPBX-2.10.0rc1(1.6.2.20)
Date: Thu, 16 Aug 2012 17:54:58 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0


<— SIP read from UDP:192.168.1.2:64066 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.1:5060;branch=z9hG4bK4d2d19d7;rport=5060
From: “Unknown” sip:Unknown@192.168.1.1;tag=as0c67ad8b
To: sip:4001@192.168.1.2:64066;tag=y07v6Q61yXZ2p
Call-ID: 58fc6efd44498a8679d45a1872ba3add@192.168.1.1
CSeq: 102 OPTIONS
Contact: sip:4001@192.168.1.2:64066
User-Agent: Telepathy-SofiaSIP/0.6.2 sofia-sip/1.12.10devel
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, UPDATE
Supported: timer, 100rel
Content-Length: 0

<------------->
— (12 headers 0 lines) —
Really destroying SIP dialog ‘58fc6efd44498a8679d45a1872ba3add@192.168.1.1’ Method: OPTIONS

<— SIP read from UDP:212.97.59.76:5061 —>
INVITE sip:4001@192.168.1.1 SIP/2.0
Record-Route: sip:212.97.59.76:5061;lr=on;ftag=as5381c883;rpp=np
Via: SIP/2.0/UDP 212.97.59.76:5061;branch=z9hG4bK9df8.1a138466.0
Via: SIP/2.0/UDP 193.227.104.17:5060;branch=z9hG4bK4eb69bf8;rport=5060
From: “+393928855996” sip:+393928855996@sip.messagenet.it;tag=as5381c883
To: sip:07751626218@212.97.59.76:5061
Contact: sip:+393928855996@193.227.104.17
Call-ID: 11b221063bcc68363d48593504287059@sip.messagenet.it
CSeq: 102 INVITE
User-Agent: lima
Max-Forwards: 69
Date: Thu, 16 Aug 2012 17:55:07 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Type: application/sdp
Content-Length: 356

v=0
o=root 20403 20403 IN IP4 193.227.104.39
s=session
c=IN IP4 193.227.104.39
t=0 0
m=audio 34778 RTP/AVP 18 3 97 8 0 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:3 GSM/8000
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv

<------------->
— (16 headers 17 lines) —
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
Sending to 212.97.59.76 : 5061 (no NAT)
Using INVITE request as basis request - 11b221063bcc68363d48593504287059@sip.messagenet.it
Found peer ‘sip.messagenet.it’ for ‘+393928855996’ from 212.97.59.76:5061

<— Reliably Transmitting (no NAT) to 212.97.59.76:5061 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 212.97.59.76:5061;branch=z9hG4bK9df8.1a138466.0;received=212.97.59.76
Via: SIP/2.0/UDP 193.227.104.17:5060;branch=z9hG4bK4eb69bf8;rport=5060
From: “+393928855996” sip:+393928855996@sip.messagenet.it;tag=as5381c883
To: sip:07751626218@212.97.59.76:5061;tag=as78f85cd6
Call-ID: 11b221063bcc68363d48593504287059@sip.messagenet.it
CSeq: 102 INVITE
Server: FPBX-2.10.0rc1(1.6.2.20)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="4e9446d6"
Content-Length: 0

<------------>
Scheduling destruction of SIP dialog '11b221063bcc68363d48593504287059@sip.messagenet.it’ in 6400 ms (Method: INVITE)

<— SIP read from UDP:212.97.59.76:5061 —>
ACK sip:4001@192.168.1.1 SIP/2.0
Via: SIP/2.0/UDP 212.97.59.76:5061;branch=z9hG4bK9df8.1a138466.0
From: “+393928855996” sip:+393928855996@sip.messagenet.it;tag=as5381c883
To: sip:07751626218@212.97.59.76:5061;tag=as78f85cd6
Call-ID: 11b221063bcc68363d48593504287059@sip.messagenet.it
CSeq: 102 ACK
Max-Forwards: 69
Content-Length: 0

<------------->
— (8 headers 0 lines) —
Really destroying SIP dialog '11b221063bcc68363d48593504287059@sip.messagenet.it’ Method: ACK

<— SIP read from UDP:192.168.1.2:64066 —>
REGISTER sip:192.168.1.1 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.2:64066;rport;branch=z9hG4bKmZ0v1ypjQ9F8F
Max-Forwards: 70
From: sip:4001@192.168.1.1;tag=Kv8jtcjaUy1ym
To: sip:4001@192.168.1.1
Call-ID: 5646591d-626a-1230-5bb7-20d607bf0000
CSeq: 32232968 REGISTER
Contact: sip:4001@192.168.1.2:64066
User-Agent: Telepathy-SofiaSIP/0.6.2 sofia-sip/1.12.10devel
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, UPDATE
Supported: timer, 100rel, path
Authorization: Digest username=“4001”, realm=“asterisk”, nonce=“6a363e30”, algorithm=MD5, uri=“sip:192.168.1.1”, response="6a946fef713286b99bf147148f3ff805"
Content-Length: 0

<------------->
— (13 headers 0 lines) —
Sending to 192.168.1.2 : 64066 (no NAT)

<— Transmitting (NAT) to 192.168.1.2:64066 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.2:64066;branch=z9hG4bKmZ0v1ypjQ9F8F;received=192.168.1.2;rport=64066
From: sip:4001@192.168.1.1;tag=Kv8jtcjaUy1ym
To: sip:4001@192.168.1.1;tag=as098ff1bf
Call-ID: 5646591d-626a-1230-5bb7-20d607bf0000
CSeq: 32232968 REGISTER
Server: FPBX-2.10.0rc1(1.6.2.20)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="4fd5006d"
Content-Length: 0

<------------>
Scheduling destruction of SIP dialog ‘5646591d-626a-1230-5bb7-20d607bf0000’ in 32000 ms (Method: REGISTER)

<— SIP read from UDP:192.168.1.2:64066 —>
REGISTER sip:192.168.1.1 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.2:64066;rport;branch=z9hG4bKN8SN3S7Nmj6tB
Max-Forwards: 70
From: sip:4001@192.168.1.1;tag=Kv8jtcjaUy1ym
To: sip:4001@192.168.1.1
Call-ID: 5646591d-626a-1230-5bb7-20d607bf0000
CSeq: 32232969 REGISTER
Contact: sip:4001@192.168.1.2:64066
User-Agent: Telepathy-SofiaSIP/0.6.2 sofia-sip/1.12.10devel
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, UPDATE
Supported: timer, 100rel, path
Authorization: Digest username=“4001”, realm=“asterisk”, nonce=“4fd5006d”, algorithm=MD5, uri=“sip:192.168.1.1”, response="a43b483c958a027d220a1fecc2431599"
Content-Length: 0

<------------->
— (13 headers 0 lines) —
Sending to 192.168.1.2 : 64066 (NAT)
Reliably Transmitting (NAT) to 192.168.1.2:64066:
OPTIONS sip:4001@192.168.1.2:64066 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.1:5060;branch=z9hG4bK3aaa5ba5;rport
Max-Forwards: 70
From: “Unknown” sip:Unknown@192.168.1.1;tag=as2e7141cc
To: sip:4001@192.168.1.2:64066
Contact: sip:Unknown@192.168.1.1
Call-ID: 5257f2ae38b8726846751d2c68c30c2d@192.168.1.1
CSeq: 102 OPTIONS
User-Agent: FPBX-2.10.0rc1(1.6.2.20)
Date: Thu, 16 Aug 2012 17:55:13 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0


<— Transmitting (NAT) to 192.168.1.2:64066 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.2:64066;branch=z9hG4bKN8SN3S7Nmj6tB;received=192.168.1.2;rport=64066
From: sip:4001@192.168.1.1;tag=Kv8jtcjaUy1ym
To: sip:4001@192.168.1.1;tag=as098ff1bf
Call-ID: 5646591d-626a-1230-5bb7-20d607bf0000
CSeq: 32232969 REGISTER
Server: FPBX-2.10.0rc1(1.6.2.20)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Expires: 120
Contact: sip:4001@192.168.1.2:64066;expires=120
Date: Thu, 16 Aug 2012 17:55:13 GMT
Content-Length: 0

<------------>
Scheduling destruction of SIP dialog ‘5646591d-626a-1230-5bb7-20d607bf0000’ in 32000 ms (Method: REGISTER)

<— SIP read from UDP:192.168.1.2:64066 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.1:5060;branch=z9hG4bK3aaa5ba5;rport=5060
From: “Unknown” sip:Unknown@192.168.1.1;tag=as2e7141cc
To: sip:4001@192.168.1.2:64066;tag=Z90N8jQ5U6NNj
Call-ID: 5257f2ae38b8726846751d2c68c30c2d@192.168.1.1
CSeq: 102 OPTIONS
Contact: sip:4001@192.168.1.2:64066
User-Agent: Telepathy-SofiaSIP/0.6.2 sofia-sip/1.12.10devel
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, UPDATE
Supported: timer, 100rel
Content-Length: 0

<------------->
— (12 headers 0 lines) —
Really destroying SIP dialog ‘5257f2ae38b8726846751d2c68c30c2d@192.168.1.1’ Method: OPTIONS

<— SIP read from UDP:192.168.1.2:64066 —>
OPTIONS sip:4001@192.168.1.1 SIP/2.0
v:SIP/2.0/UDP 192.168.1.2:64066;rport;branch=z9hG4bKpHKe5mrSHUvDQ
f:sip:4001@192.168.1.1;tag=Kv8jtcjaUy1ym
t:sip:4001@192.168.1.1
i:4aMf9kvIaUvQva2LqtMP5v
CSeq:32232947 OPTIONS
Accept:application/vnd.nokia-register-usage
s:REGISTRATION PROBE
l:0

<------------->
— (9 headers 0 lines) —
Looking for 4001 in from-sip-external (domain 192.168.1.1)

<— Transmitting (no NAT) to 192.168.1.2:64066 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.2:64066;branch=z9hG4bKpHKe5mrSHUvDQ;received=192.168.1.2;rport=64066
From: sip:4001@192.168.1.1;tag=Kv8jtcjaUy1ym
To: sip:4001@192.168.1.1;tag=as639864d6
Call-ID: 4aMf9kvIaUvQva2LqtMP5v
CSeq: 32232947 OPTIONS
Server: FPBX-2.10.0rc1(1.6.2.20)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Contact: sip:192.168.1.1
Accept: application/sdp
Content-Length: 0

<------------>
Scheduling destruction of SIP dialog ‘4aMf9kvIaUvQva2LqtMP5v’ in 32000 ms (Method: OPTIONS)
localhost*CLI> exit
[root@localhost ~]#