[Freeswitch-users] making calls through an FXO gw without knowing the IP

Mike van Lammeren mike at van.lammeren.net
Mon Jan 25 14:02:27 PST 2010


Hi Milena!

A device with an IP address has either been assigned a static IP by a
person, or assigned a dynamic IP by, probably, a DHCP server. If your FXO
gateway has been assigned a dynamic IP, then before you can figure out how
to get that value in the configuration, you need to determine what that IP
is.

How do you know the IP assigned to your FXO gateway? Does it implement the
UPnP standard?

Just out of curiosity, why not let it have a static IP address?


Mike van Lammeren


On Mon, Jan 25, 2010 at 1:15 PM, Daniele Salvatore Albano <info at daccii.it>wrote:

> I don't know if it's possible to do using plain xml, but you can try
> writing some javascript/lua/what-you-want code to acquire parameters
> from the registration and use them to do the call
>
> Milena ha scritto:
> > Hello everyone,
> >
> > I need some help in my dialplan, I have an FXO gateway and i can
> > receive calls from it,
> >
> > now, if I assign a static IP on it, i can make calls through the fxo
> > gateway using this:
> >                  <action application="bridge"
> > data="sofia/<profile>/<destination>@<gw_IP>"/>
> >
> > I want to know if it is possible to make calls through this gateway if
> > it has a variable IP, and how to do it if so;
> > the gateway uses SIP accounts to register to FS so i think it might be
> > possible to route the call using one of the registered extension
> > numbers but I am not sure how so I need some pointers,
> >
> > Anyone has ideas or knows how to do this?, help is greatly appreciated!
> >
> > _______________________________________________
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
> >
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100125/339024b9/attachment-0002.html 


More information about the FreeSWITCH-users mailing list