[SR-Users] Route calls from Kamailio to Asterisk behind NAT

Daniel Tryba d.tryba at pocos.nl
Fri Aug 11 13:55:03 CEST 2017


On Fri, Aug 11, 2017 at 01:29:18PM +0300, vs at cell.tel wrote:
> How its possible to route all 7XXX destined calls from Kamailio users to
> Asterisk, while Asterisk is behind NAT???
>  
> Config examples, i found, were writen only for situation with fixed asterisk IP
> and PORT, without nat ( asterisk.bindip = "" ; asterisk.bindport = "")

There is nothing special about this scenario, asterisk is an enduser for
kamailio. Have it register to kamailio and use for example the alias_db
module to send 7XXX numbers to the registered asterisk user. All this is
in the supplied example config kamailio-advanced.cfg.




More information about the sr-users mailing list