1. Brekeke Product Name and Version: 3.14.5
2. Java version: AdoptOpenJDK (latest)
3. OS type and the version: Windows Server 2019
4. UA (phone), gateway or other hardware/software involved: CUCM/Rauland Enterprise
5. Your problem: I am setting up a dial plan to take incoming calls from CUCM and send them to the appropriate node in an app cluster. The RE app node registers a user as an endpoint in Brekeke. There is a different contact address however, which is where I need to send it. As an example, the Contact URI could be sip:12345@sipcontact.domain.org:5060 (1.1.1.1:5060) or sip:12345@sipcontact.domain.org:5060 (1.1.1.2:5060) depending on which node registered it. I need to get either the 1.1.1.1 or the 1.1.1.2 into the $target on a deploy pattern. Any thoughts on how to get this information so I can ensure it is going to the right node without manually changing each time it switches nodes?
Set target to use source IP address of Contact URI
Moderator: Brekeke Support Team
> As an example, the Contact URI could be sip:12345@sipcontact.domain.org:5060 (1.1.1.1:5060) or sip:12345@sipcontact.domain.org:5060 (1.1.1.2:5060)
Is 1.1.1.1:5060 or 1.1.1.2:5060 a source IP address/port of a SIP-REGISTER?
If so you can get it with $addrPort in DialPlan.
Here is the example in Deploy Patterns.
$target = %{$addrPort}
Is 1.1.1.1:5060 or 1.1.1.2:5060 a source IP address/port of a SIP-REGISTER?
If so you can get it with $addrPort in DialPlan.
Here is the example in Deploy Patterns.
$target = %{$addrPort}