Hi Gang
When a CPE behind nat registers, I have the alias added to the AOR contact. It has format ip~port~transport
Let's say: bob@1.2.3.4:5060;alias=5.6.7.8~7777~1
On an invite to that CPE behind nat, the contact is retrieved from the location record and I assumed I could call handle_ruri_alias in the branch route to that CPE and this would sent the call to that ip port via transport in the alias.
I observe that the port is not taken into account. The INVITE to bob is sent to ip 5.6.7.8 but to port 5060 instead of 7777
In the example config, handle_ruri_alias() is only used for in dialog requests (has_totag).
Have I misunderstood how CPE behind NAT should be registered and that registration resolved?