Hi community,I experience interesting issue. Freeswitch running in multi-domain environment.
UA generates invite with anonymous@anonymous.invalid in FROM which is quite normal according to rfc3325.
Sample bellow:
===
Via: SIP/2.0/UDP 10.10.6.170:5062;branch=z9hG4bK1491276326;rport
From: "Anonymous" <sip:anonymous@anonymous.invalid>;tag=1989469488
Call-ID: 1409580995-5062-3@BA.BA.G.BHA
CSeq: 20 INVITE
Max-Forwards: 70
User-Agent: Grandstream GXP1625 1.0.3.6
Privacy: id
Supported: replaces, path, timer
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE
Content-Type: application/sdp
Accept: application/sdp, application/dtmf-relay
Content-Length: 332
===
Freeswitch sends 407 and uses as Digest-realm domain part from FROM :
"Proxy-Authenticate: Digest realm="anonymous.invalid""
Example:
===
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 10.10.6.170:5062;branch=z9hG4bK1491276326;rport=5062
From: "Anonymous" <sip:anonymous@anonymous.invalid>;tag=1989469488
Call-ID: 1409580995-5062-3@BA.BA.G.BHA
CSeq: 20 INVITE
User-Agent: FreeSWITCH-mod_sofia/1.4.26-37~64bit
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.win
, message-summary, refer
Proxy-Authenticate: Digest realm="anonymous.invalid", nonce="917b30c9-9070-4ae5-87e6-1814b379fd94", algorithm=MD5, qop="auth"
Content-Length: 0
===
And call fails 403 Forbidden. So main question how to rid this. And is it feature or bug. Maybe I can use domain part from P-Preferred-Identity header ?
Thank you in advance.