[Spce-user] Route call do Peer with dynamic IP address

Daniel Grotti dgrotti at sipwise.com
Mon May 4 05:32:46 EDT 2020


Hi,
from the documentation:

The hostname field for a peering server is optional. Usually, the IP 
address of the peer is used as the domain part of the Request URI. Fill 
in this field if a peer requires a particular hostname instead of the IP 
address. The IP address must always be given though as it is used for 
the selection of the inbound peer. By default outbound requests will 
always be sent to the specified IP address, no matter what you put into 
the hostname field. If you want to send the request using the DNS 
resolution of the configured hostname, disregarding in that way the IP, 
you have to enable outbound_hostname_resolution option in peer preferences.


So in theory you can enable outbound_hostname_resolution, and use the 
hostname part.
This may work for outbound call, but for incoming calls you still need 
to have a static IP, otherwise system cannot understand and fetch the 
peer caller.

Cheers,


Daniel Grotti

Head of Customer Support                     Sipwise GmbH
e: dgrotti at sipwise.com                     Europaring F15
t: +43(0)130120332                A-2345 Brunn Am Gebirge
w: www.sipwise.com   FN: 305595f   FG: LG Wiener Neustadt

On 5/3/20 2:06 PM, Tran wrote:
> Hi,
> 
> I looking for how to config Peer with dynamic IP address  in SIPWise GUI 
> and route call to it:
> - Route call from subscriber to dynamic peer
> - Route call from static ip address peer to dynamic peer
> 
> In my scenario, dynamic peer is gsm gateway put some office, it don't 
> have static IP address.
> 
> If any one know how to do, pls advise me.
> 
> Thank you
> 




More information about the Spce-user mailing list