401 Unauthorized

Hi

I run asterisk behind nat. I use sip.example.com (example.com is replace with real domain) for dynamic dns with externhost=sip.example.com parameter.
I use ekiga for connect from internet. I run port mapping in my modem router (Planet): udp/5060 and udp/10000-20000. It connect in locallan without problem. but from internet asterisk out below messages. aslo i activate necessory parameter for exention (nat,peer,qualify,host=dynamic)
How can i trouble shoot this problem.

<--- SIP read from UDP:200.246.181.150:5060 --->
REGISTER sip:sip.example.com SIP/2.0
CSeq: 1 REGISTER
Via: SIP/2.0/UDP 199.201.121.29:5060;branch=z9hG4bK92717d1b-015f-e311-9d56-6cf049b88810;rport
User-Agent: Ekiga/3.2.7
From: <sip:103@sip.example.com>;tag=cee8df19-015f-e311-9d56-6cf049b88810
Call-ID: bedfdf19-015f-e311-9d56-6cf049b88810@home
To: <sip:103@sip.example.com>
Contact: <sip:103@199.201.121.29:5060>;q=1, <sip:103@192.168.1.52:5060>;q=0.800, <sip:103@192.168.80.40:5060>;q=0.600, <sip:103@[fe80::e478:91ff:fe86:1739]:5060>;q=0.400, <sip:103@[fe80::6ef0:49ff:feb8:8810]:5060>;q=0.200
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,SUBSCRIBE,NOTIFY,REFER,MESSAGE,INFO,PING,PRACK
Expires: 3600
Content-Length: 0
Max-Forwards: 70

<------------->
--- (12 headers 0 lines) ---
Sending to 200.246.181.150:5060 (NAT)

<--- Transmitting (NAT) to 200.246.181.150:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 199.201.121.29:5060;branch=z9hG4bK92717d1b-015f-e311-9d56-6cf049b88810;received=200.246.181.150;rport=5060
From: <sip:103@sip.example.com>;tag=cee8df19-015f-e311-9d56-6cf049b88810
To: <sip:103@sip.example.com>;tag=as18bc6996
Call-ID: bedfdf19-015f-e311-9d56-6cf049b88810@home
CSeq: 1 REGISTER
Server: FPBX-2.8.1(1.8.20.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="2787dd59"
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog 'bedfdf19-015f-e311-9d56-6cf049b88810@home' in 32000 ms (Method: REGISTER)

<--- SIP read from UDP:200.246.181.150:5060 --->
REGISTER sip:sip.example.com SIP/2.0
CSeq: 2 REGISTER
Via: SIP/2.0/UDP 199.201.121.29:5060;branch=z9hG4bK54513e1d-015f-e311-9d56-6cf049b88810;rport
User-Agent: Ekiga/3.2.7
Authorization: Digest username="103", realm="asterisk", nonce="2787dd59", uri="sip:sip.example.com", algorithm=MD5, response="99dad3a0a3deefefc53014617502d608"
From: <sip:103@sip.example.com>;tag=cee8df19-015f-e311-9d56-6cf049b88810
Call-ID: bedfdf19-015f-e311-9d56-6cf049b88810@home
To: <sip:103@sip.example.com>
Contact: <sip:103@199.201.121.29:5060>;q=1, <sip:103@192.168.1.52:5060>;q=0.800, <sip:103@192.168.80.40:5060>;q=0.600, <sip:103@[fe80::e478:91ff:fe86:1739]:5060>;q=0.400, <sip:103@[fe80::6ef0:49ff:feb8:8810]:5060>;q=0.200
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,SUBSCRIBE,NOTIFY,REFER,MESSAGE,INFO,PING,PRACK
Expires: 3600
Content-Length: 0
Max-Forwards: 70

<------------->
--- (13 headers 0 lines) ---
Sending to 200.246.181.150:5060 (NAT)
    -- Registered SIP '103' at 200.246.181.150:5060
Reliably Transmitting (NAT) to 200.246.181.150:5060:
OPTIONS sip:103@199.201.121.29:5060 SIP/2.0
Via: SIP/2.0/UDP 200.246.181.150:5060;branch=z9hG4bK5129e430;rport
Max-Forwards: 70
From: "Unknown" <sip:Unknown@200.246.181.150>;tag=as0d432ef3
To: <sip:103@199.201.121.29:5060>
Contact: <sip:Unknown@200.246.181.150:5060>
Call-ID: 2b93849614482a794b8a8b8d10517074@200.246.181.150:5060
CSeq: 102 OPTIONS
User-Agent: FPBX-2.8.1(1.8.20.0)
Date: Mon, 09 Dec 2013 05:33:35 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0


---

<--- Transmitting (NAT) to 200.246.181.150:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 199.201.121.29:5060;branch=z9hG4bK54513e1d-015f-e311-9d56-6cf049b88810;received=200.246.181.150;rport=5060
From: <sip:103@sip.example.com>;tag=cee8df19-015f-e311-9d56-6cf049b88810
To: <sip:103@sip.example.com>;tag=as18bc6996
Call-ID: bedfdf19-015f-e311-9d56-6cf049b88810@home
CSeq: 2 REGISTER
Server: FPBX-2.8.1(1.8.20.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Expires: 3600
Contact: <sip:103@199.201.121.29:5060>;expires=3600
Date: Mon, 09 Dec 2013 05:33:35 GMT
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog '162862ad3c02bb1f44c4c49d562acf18@200.246.181.150:5060' in 32000 ms (Method: NOTIFY)
Reliably Transmitting (NAT) to 200.246.181.150:5060:
NOTIFY sip:103@199.201.121.29:5060 SIP/2.0
Via: SIP/2.0/UDP 200.246.181.150:5060;branch=z9hG4bK0b12e05c;rport
Max-Forwards: 70
From: "Unknown" <sip:Unknown@200.246.181.150>;tag=as47cd474f
To: <sip:103@199.201.121.29:5060>
Contact: <sip:Unknown@200.246.181.150:5060>
Call-ID: 162862ad3c02bb1f44c4c49d562acf18@200.246.181.150:5060
CSeq: 102 NOTIFY
User-Agent: FPBX-2.8.1(1.8.20.0)
Event: message-summary
Content-Type: application/simple-message-summary
Content-Length: 90

Messages-Waiting: no
Message-Account: sip:*97@200.246.181.150
Voice-Message: 0/0 (0/0)

---
Scheduling destruction of SIP dialog 'bedfdf19-015f-e311-9d56-6cf049b88810@home' in 32000 ms (Method: REGISTER)
Retransmitting #1 (NAT) to 200.246.181.150:5060:
NOTIFY sip:103@199.201.121.29:5060 SIP/2.0
Via: SIP/2.0/UDP 200.246.181.150:5060;branch=z9hG4bK0b12e05c;rport
Max-Forwards: 70
From: "Unknown" <sip:Unknown@200.246.181.150>;tag=as47cd474f
To: <sip:103@199.201.121.29:5060>
Contact: <sip:Unknown@200.246.181.150:5060>
Call-ID: 162862ad3c02bb1f44c4c49d562acf18@200.246.181.150:5060
CSeq: 102 NOTIFY
User-Agent: FPBX-2.8.1(1.8.20.0)
Event: message-summary
Content-Type: application/simple-message-summary
Content-Length: 90

Messages-Waiting: no
Message-Account: sip:*97@200.246.181.150
Voice-Message: 0/0 (0/0)

---

<--- SIP read from UDP:200.246.181.150:5060 --->
SIP/2.0 200 OK
CSeq: 102 OPTIONS
Via: SIP/2.0/UDP 200.246.181.150:5060;branch=z9hG4bK5129e430;rport=5060;received=200.246.181.150
User-Agent: Ekiga/3.2.7
From: "Unknown" <sip:Unknown@200.246.181.150>;tag=as0d432ef3
Call-ID: 2b93849614482a794b8a8b8d10517074@200.246.181.150:5060
To: <sip:103@199.201.121.29:5060>
Contact: <sip:103@199.201.121.29>
Content-Length: 0

There are no errors relating to the registering device in that trace. 401 is not an error.

How can i troubleshooting this situation? ekiga said couldnt connect to server