Hi Everyone,

I'm trying to use a SPA3102 as a PSTN gateway, it is in a remote site with a dinamic IP, I'have it registered in my FS as 100123 user, and my goal is to dial  <any pstn number>@<my spa3102> in order to
use my SPA3120 to make the call via his pstn line to the number <any pstn number>.

The problem is that all the examples I see has a fixed and well know IP address for the SPA3102 gateway in order to use it in the dial plan,
but in my scenario  the IP address for my SPA3102 gateway is dinamyc and unknow.

Please any help in order to understand how can I dial any number to my spa3102 gateway will by apreciated.


In this example my FS has the IP 100.10.10.10 and the SPA3102 has the dinamic Adsl IP 210.20.20.20

> sofia status profile internal  reg
Registrations:
=================================================================================================
Call-ID:        2378632f-eb1116d@192.168.0.11
User:           100123@100.10.10.10
Contact:        "Local Call" <sip:100123@210.20.20.20:5061>
Agent:          Linksys/SPA3000-3.1.20(GW)
Status:         Registered(UDP)(unknown) EXP(2015-08-08 04:01:04) EXPSECS(61)
Ping-Status:    Reachable
Host:           voip.example.com
IP:             210.20.20.20
Port:           5061
Auth-User:      100123
Auth-Realm:     voip.example.com
MWI-Account:    100123@100.10.10.10
=================================================================================================

for example, if I want to dial to the pstn number 222-1234, then I need to send an INVITE 2221234@210.20.20.20:5061



Thanks for your help.