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: [email protected]: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?

-- 
Mit freundlichen Grüssen

-Benoît Panizzon- @ HomeOffice und normal erreichbar
-- 
I m p r o W a r e   A G    -    Leiter Commerce Kunden
______________________________________________________

Zurlindenstrasse 29             Tel  +41 61 826 93 00
CH-4133 Pratteln                Fax  +41 61 826 93 01
Schweiz                         Web  http://www.imp.ch
______________________________________________________
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- 
[email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to