I was really excited to see:
However, I'm having issues with implementation. I've gone to the trunk > Options > Checked the Alternative Proxy box > added the 2nd IP of the provider.
I made inbound test calls to the DID on this trunk.
One of the calls came from the provider's primary IP and was accepted as expected.
However, two of the calls came into 3CX from the provider's secondary IP (which I entered in the Alternative Proxy field) and 3CX rejected the invite (SIP Status 403 Forbidden). The calls were then delivered via the primary IP without issue.
In the activity log I see:
Code:
10/04/2019 10:52:55 AM - L:21.1[EndCall:EndCall] Sending: OnSendResp Send 403/INVITE from 0.0.0.0:0 tid=0cB3b1b984d927def0d Call-ID=913048324_105592709@<secondary IP>:
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP <secondary IP>:5060;branch=z9hG4bK0cB3b1b984d927def0d
To: <sip:+1XXXXXXXXXX@<3CX Server IP>>;tag=9bce7342
From: "NAME" <sip:+1XXXXXXXXXX@<secondary IP>;isup-oli=62>;tag=gK0c403a6b
Call-ID: 913048324_105592709@<secondary IP>
CSeq: 17170 INVITE
Warning: 499 <FQDN> "Caller is not identified"
Content-Length: 0
I'm assuming the proxy option should work for both origination and termination. Was that not correct?
edit
May have answered my own question, the secondary proxy only applies to outbound calls in my testing. I switched the primary and secondary IPs and retested.
All calls that came in on the IP now entered in the secondary proxy field were rejected by 3CX but outgoing calls were successful.
But why would the blog state this would simplify DID management? If we still have to have a 2nd trunk for the secondary IP, we'd still have to enter all the DIDs a 2nd time and assign them a 2nd time in case the call was delivered to 3CX via the secondary IP.
Am I missing something?