[SR-Users] host for pstn.gw

Daniel-Constantin Mierla miconda at gmail.com
Tue Nov 3 10:30:10 CET 2015


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

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
Kamailio Advanced Training, Nov 30-Dec 2, Berlin - http://asipto.com/kat




More information about the sr-users mailing list