[Freeswitch-users] gateway without static IP

Steven Ayre steveayre at gmail.com
Tue Dec 21 00:12:51 MSK 2010


Yes... Sorry :)

Steve on iPhone

On 20 Dec 2010, at 18:07, Michael Collins <msc at freeswitch.org> wrote:

> Just a note, the syntax for using a gateway is:
> 
> sofia/gateway/<gateway name>/<target>
> 
> If you do this:
> 
> sofia/<gateway name>/<target>
> 
> ...then FS will look for a *SIP profile* named <gateway name>. Hope this helps. :)
> 
> -MC
> 
> On Sun, Dec 19, 2010 at 2:00 PM, Steven Ayre <steveayre at gmail.com> wrote:
> First of all, I would  recommend you configure the gateway within the
> <gateways> section of the SIP profile. The dialstring will then be
> sofia/gwname/$1. That format has an advantage because FS will monitor
> the status of the gateway and automatically mark it as offline and
> stop sending traffic to it if it stops responding.
> 
> When configuring a gateway you can specify a domain name instead of an
> IP. If you combine that with a service such as www.dyndns.org you can
> run the gateway on a dynamic IP.
> 
> Also, have you tried:
> <action application="bridge" data="sofia/internal/$1@<domain>"/>
> that might work, but I've never tried it with anything but an IP so
> can't say for sure without trying it.
> 
> This does not do what you think it does:
> <action application="bridge" data="sofia/internal/userGateway%{domain}^$1"/>
> The % syntax is for dialing an extension on the *local* server, on the
> {domain} handled by the current server. That won't send a call out to
> a gateway.
> 
> -Steve
> 
> 
> On 19 December 2010 20:17, Octavio Duarte <xduvox at gmail.com> wrote:
> > Hello everyone
> >
> > i need some help with a gateway, i can receive calls from it because i can
> > use it as a user so i can see it by sofia status profile internal
> > but when i try to make a call to the PSTN like this
> >
> >
> > <action application="bridge" data="sofia/internal/userGateway%{domain}^$1"/>
> >
> > the gateway doesn't dial the number on variable $1
> >
> > so when to do like this
> >
> > <action application="bridge" data="sofia/internal/$1@<gateway_IP>"/>
> >
> >
> > the gateway connect the calls to the PSTN
> >
> > my problem its that the gateway does not have an static IP and 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 know the IP's gateway by using one of the registered extension
> > or tell fs to use the ip of one user for the gateway set up?
> >
> >
> > 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
> 
> _______________________________________________
> 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/20101220/58213775/attachment-0001.html 


More information about the FreeSWITCH-users mailing list