[SR-Users] host for pstn.gw

Max maxim.suraev at campus.tu-berlin.de
Mon Nov 2 17:05:24 CET 2015


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"

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?

regards,
Max.



More information about the sr-users mailing list