Hello Kai,

[email protected] wrote on 05/07/2015 03:08 PM:
> Hello,
> 
>  
> 
> I’m working actually on a project with a kamailio as registrar,
> redirect and proxy server. For NATing I want to use SEMS and the
> server shall work as a SBC, which forwards all messages (REGISTER,
> INVITE etc.) from the external to the internal interface (SEMS work
> with 2 interfaces) and vice versa. I configure the external/ internal
> IP sockets in the sems.conf and load the required plugins. But what
> are the next steps? Perhaps there is somewhere a howto, which guide me
> through this process?
> 
> The infrastructure is: Kamailio (private network) ---- Firewall/ NAT
> ---- SEMS (DMZ – public network) ---- Firewall ---- internet (public
> network)
> 

For INVITEs you will need two profiles, one in each direction
(UA->SEMS->Kamailio and Kamailio->SEMS->UA). For REGISTERs coming from
the UAs you will need one more profile.

The very first Paragraph in doc/Readme.sbc.txt gives some examples for
selecting profiles, e.g. on regex; as key you can e.g. use source IP
($si) or also local/received IP ($Ri) or also the interface ($Rf, $Rn
or $RI).

For the REGISTERs, you need to activate registration caching using
enable_reg_caching=yes.

For the INVITE-profile towards Kamailio, you need to activate NAT
handling (dlg_nat_handling, enable_rtprelay, ...), and set the next
hop to Kamailio.

For the INVITE profile coming from Kamailio, you need to activate the
reg cache lookup, this will set the RURI/next hop from the reg cache.

There is quite some more options that can be set in the profiles, I'd
recommend to have a look at Readme.sbc.txt.

hth
Stefan

>  
> 
>  
> 
> Cheers,
> 
> Kai
> 
> 
> 
> _______________________________________________
> Sems mailing list
> [email protected]
> http://lists.iptel.org/mailman/listinfo/sems
> 

_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems

Reply via email to