Hello,
On 02/11/15 17:05, Max wrote:
Hi.
I'd like to use Kamailio as a SIP proxy routing calls to upstream SIP provider. As far as I've understood the parameters I should set are:
pstn.gw_ip = "" desc "PSTN GW Address" pstn.gw_port = "" desc "PSTN GW Port"
The problem is that my upstream provider uses dynamic IP for its server. How can I use hostname instead of ip.
From what I see in route[PSTN] example it seems like it should just work if I use pstn.gw_ip = "sip.myprovider.lol" desc "My upstream SIP host"
yes, you can use it.
But if so - why the confusing name? And if not - how do I make it work? Is there pstn.gw_host or smth like that?
No pstn.gw_host, but if you prefer that, just change gw_ip to gw_host everywhere in kamailio.cfg.
Cheers, Daniel