Here is some info from SIP debug. Hope that helps.
Changed to “Peer” in trunk settings.
<— SIP read from UDP:10.1.1.125:5060 —>
INVITE sip:5314@10.1.1.184:5060 SIP/2.0
Via: SIP/2.0/UDP 10.1.1.125:5060;branch=z9hG4bK02f2999a
Max-Forwards: 70
From: “O.Jennifer” sip:2250@10.1.1.125;tag=as0535b0c9
To: sip:5314@10.1.1.184:5060
Contact: sip:2250@10.1.1.125:5060
Call-ID: 1fff11d67fe5f14c1b6604f05212992e@10.1.1.125:5060
CSeq: 102 INVITE
User-Agent: Digium Gateway
Date: Sun, 14 Dec 2014 15:51:32 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Remote-Party-ID: “O.Jennifer” sip:2250@;party=calling;privacy=off;screen=no
Content-Type: application/sdp
Content-Length: 402
v=0
o=root 2006111532 2006111532 IN IP4 10.1.1.125
s=Digium Gateway
c=IN IP4 10.1.1.125
t=0 0
m=audio 10836 RTP/AVP 0 8 9 111 18 3 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:9 G722/8000
a=rtpmap:111 G726-32/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
<------------->
— (15 headers 18 lines) —
Sending to 10.1.1.125:5060 (no NAT)
Sending to 10.1.1.125:5060 (no NAT)
Using INVITE request as basis request - 1fff11d67fe5f14c1b6604f05212992e@10.1.1.125:5060
Found peer ‘2250’ for ‘2250’ from 10.1.1.125:5060
<— Reliably Transmitting (no NAT) to 10.1.1.125:5060 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.1.1.125:5060;branch=z9hG4bK02f2999a;received=10.1.1.125
From: “O.Jennifer” sip:2250@10.1.1.125;tag=as0535b0c9
To: sip:5314@10.1.1.184:5060;tag=as3ea3f58c
Call-ID: 1fff11d67fe5f14c1b6604f05212992e@10.1.1.125:5060
CSeq: 102 INVITE
Server: FPBX-12.0.18(11.9.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="22dc9bde"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog ‘1fff11d67fe5f14c1b6604f05212992e@10.1.1.125:5060’ in 6400 ms (Method: INVITE)
<— SIP read from UDP:10.1.1.125:5060 —>
ACK sip:5314@10.1.1.184:5060 SIP/2.0
Via: SIP/2.0/UDP 10.1.1.125:5060;branch=z9hG4bK02f2999a
Max-Forwards: 70
From: “O.Jennifer” sip:2250@10.1.1.125;tag=as0535b0c9
To: sip:5314@10.1.1.184:5060;tag=as3ea3f58c
Contact: sip:2250@10.1.1.125:5060
Call-ID: 1fff11d67fe5f14c1b6604f05212992e@10.1.1.125:5060
CSeq: 102 ACK
User-Agent: Digium Gateway
Content-Length: 0
<------------->
— (10 headers 0 lines) —
<— SIP read from UDP:10.1.1.125:5060 —>
INVITE sip:5314@10.1.1.184:5060 SIP/2.0
Via: SIP/2.0/UDP 10.1.1.125:5060;branch=z9hG4bK0a7ec00b
Max-Forwards: 70
From: “O.Jennifer” sip:2250@10.1.1.125;tag=as0535b0c9
To: sip:5314@10.1.1.184:5060
Contact: sip:2250@10.1.1.125:5060
Call-ID: 1fff11d67fe5f14c1b6604f05212992e@10.1.1.125:5060
CSeq: 103 INVITE
User-Agent: Digium Gateway
Authorization: Digest username=“Cloud”, realm=“asterisk”, algorithm=MD5, uri=“sip:5314@10.1.1.184:5060”, nonce=“22dc9bde”, response="68a41ab03e06864827b36cd125d2b4a2"
Date: Sun, 14 Dec 2014 15:51:32 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Remote-Party-ID: “O.Jennifer” sip:2250@;party=calling;privacy=off;screen=no
Content-Type: application/sdp
Content-Length: 402
v=0
o=root 2006111532 2006111533 IN IP4 10.1.1.125
s=Digium Gateway
c=IN IP4 10.1.1.125
t=0 0
m=audio 10836 RTP/AVP 0 8 9 111 18 3 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:9 G722/8000
a=rtpmap:111 G726-32/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
<------------->
— (16 headers 18 lines) —
Sending to 10.1.1.125:5060 (no NAT)
Using INVITE request as basis request - 1fff11d67fe5f14c1b6604f05212992e@10.1.1.125:5060
Found peer ‘2250’ for ‘2250’ from 10.1.1.125:5060
[2014-12-14 10:51:32] WARNING[23625][C-000000bf]: chan_sip.c:16491 check_auth: username mismatch, have <2250>, digest has
[2014-12-14 10:51:32] NOTICE[23625][C-000000bf]: chan_sip.c:25611 handle_request_invite: Failed to authenticate device “O.Jennifer” sip:2250@10.1.1.125;tag=as0535b0c9
<— Reliably Transmitting (no NAT) to 10.1.1.125:5060 —>
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 10.1.1.125:5060;branch=z9hG4bK0a7ec00b;received=10.1.1.125
From: “O.Jennifer” sip:2250@10.1.1.125;tag=as0535b0c9
To: sip:5314@10.1.1.184:5060;tag=as3ea3f58c
Call-ID: 1fff11d67fe5f14c1b6604f05212992e@10.1.1.125:5060
CSeq: 103 INVITE
Server: FPBX-12.0.18(11.9.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog ‘1fff11d67fe5f14c1b6604f05212992e@10.1.1.125:5060’ in 6400 ms (Method: INVITE)
<— SIP read from UDP:10.1.1.125:5060 —>
ACK sip:5314@10.1.1.184:5060 SIP/2.0
Via: SIP/2.0/UDP 10.1.1.125:5060;branch=z9hG4bK0a7ec00b
Max-Forwards: 70
From: “O.Jennifer” sip:2250@10.1.1.125;tag=as0535b0c9
To: sip:5314@10.1.1.184:5060;tag=as3ea3f58c
Contact: sip:2250@10.1.1.125:5060
Call-ID: 1fff11d67fe5f14c1b6604f05212992e@10.1.1.125:5060
CSeq: 103 ACK
User-Agent: Digium Gateway
Content-Length: 0