Thank you Joshua.
I tried setting the from_domain for the endpoint, but it still sends the
internal ip address for the INVITE's From field
[acl1]
type = acl
deny = 0.0.0.0/0.0.0.0
permit = variousaddress
permit = bluipaddress
[transport1]
type = transport
bind = 0.0.0.0
protocol = udp
[BLUIPIN]
type = aor
remove_existing = yes
contact = sip:bluipaddress
[auth7]
type = auth
username = didassignedbybluip
password = password
[didassignedbybluip]
type = endpoint
context = TestApp
transport = transport1
outbound_auth = auth7
aors = BLUIPIN
accountcode = 16
dtmf_mode = rfc4733
device_state_busy_at = 2
force_rport = no
rtp_symmetric = no
rewrite_contact = no
identify_by = username
outbound_proxy = chi-sbc3-iad.bluip.com
trust_id_outbound = yes
from_domain = amtelco.com
disallow = all
allow = ulaw
[identify72]
type = identify
endpoint = didassignedbybluip
match = bluipaddress
[registration2]
type = registration
transport = transport1
client_uri = sip:didassignedbybluip at companyname dot com
server_uri = sip:chi-sbc3-iad.bluip.com
contact_user = sip:didassignedbybluip at companyname dot com
outbound_auth = auth7
Here is a trace of another system where it works.
IINVITE sip:callphonenumber at bluipaddress:5060 SIP/2.0
Via: SIP/2.0/UDP ipaddress:5060;branch=z9hG4bKQFD28QYY8412c000
To: <sip:callphonenumber at companyname.com>
From: <sip: didassignedbybluip at companyname.com>;tag=JEDtnWPm
Contact: <sip:didassignedbybluip at ipaddress:5060>
Alert-Info: Classic-1
Call-ID: kD5sJntD5-0001- at ipaddress
CSeq: 1808 INVITE
Max-Forwards: 70
Allow: INVITE,ACK,CANCEL,BYE,OPTIONS,REFER,NOTIFY
100 Trying
Via: SIP/2.0/UDP ipaddress:5060;branch=z9hG4bKQFD28QYY8412c000
To: <sip:callphonenumber at companyname.com>
From: <sip:didassignedbybluip at companyname.com>;tag=JEDtnWPm
Call-ID: kD5sJntD5-0001-@ ipaddress
CSeq: 1808 INVITE
401 Unauthorized
Via: SIP/2.0/UDP ipaddress:5060;branch=z9hG4bKQFD28QYY8412c000
To: <sip: callphonenumber at companyname.com>;tag=1164309609-1450128136967
From: <sip: didassignedbybluip at companyname.com>;tag=JEDtnWPm
Call-ID: kD5sJntD5-0001-@ ipaddress
CSeq: 1808 INVITE
WWW-Authenticate: DIGEST
qop="auth",nonce="BroadWorksXii6gunlzTrqhij5BW",realm="BroadWorks",algorithm=MD5
Content-Length: 0
ACK sip:callphonenumber at bluipaddress:5060 SIP/2.0
Via: SIP/2.0/UDP ipaddress:5060;branch=z9hG4bKQFD28QYY8412c000
To: <sip:callphonenumbe @companyname.com>;tag=1164309609-1450128136967
From: <sip: didassignedbybluip @companyname.com>;tag=JEDtnWPm
Max-Forwards: 70
Call-ID: kD5sJntD5-0001-@ ipaddress
CSeq: 1808 ACK
INVITE sip:callphonenumber at bluipaddress:5060 SIP/2.0
Via: SIP/2.0/UDP ipaddress:5060;branch=z9hG4bKYcoOR2md84130000
To: <sip:callphonenumber at companyname.com>
From: <sip: didassignedbybluip @companyname.com>;tag=pcjBsnMZ
Contact: <sip: didassignedbybluip @ ipaddress:5060>
Alert-Info: Classic-1
Call-ID: kD5sJntD5-0001-@ ipaddress
CSeq: 1809 INVITE
Authorization: Digest username=" didassignedbybluip
",realm="BroadWorks",nonce="BroadWorksXii6gunlzTrqhij5BW",uri="sip:callphonenumber
at
bluipaddress:5060",response="6d3f8dea20a6173a9cbde2ce912696b7",algorithm=MD5
Max-Forwards: 70
Allow: INVITE,ACK,CANCEL,BYE,OPTIONS,REFER,NOTIFY
Supported: replaces
Content-Type: application/sdp
Content-Length: 335
100 Trying
Via: SIP/2.0/UDP ipaddress:5060;branch=z9hG4bKYcoOR2md84130000
To: <sip:callphonenumber at companyname.com>
From: <sip: didassignedbybluip @companyname.com>;tag=pcjBsnMZ
Call-ID: kD5sJntD5-0001- at ipaddress
CSeq: 1809 INVITE
180 Ringing
Via: SIP/2.0/UDP ipaddress:5060;branch=z9hG4bKYcoOR2md84130000
To: <sip:callphonenumber at companyname.com>;tag=878577519-1450128140899
From: <sip: didassignedbybluip @companyname.com>;tag=pcjBsnMZ
Call-ID: kD5sJntD5-0001- at ipaddress
CSeq: 1809 INVITE
Supported:
Contact: <sip:callphonenumber at bluipaddress:5060;transport=udp>
P-Asserted-Identity: <sip:callphonenumber at 199.168.176.135;user=phone>
Privacy: none
Allow: ACK,BYE,CANCEL,INFO,INVITE,OPTIONS,PRACK,REFER,NOTIFY,UPDATE
Content-Type: application/sdp
Content-Disposition: session;handling=required
Content-Length: 223
...