[Freeswitch-users] How to specify profile to the gateway, configured in user directory

Dmitriy Shumaev pm_zefman_r at mail.ru
Wed Jan 22 16:30:24 MSK 2014


Hi, everybody.
FreeSWITCH Version 1.2.6+git~20130104T154559Z~a4247651ca (git a424765 2013-01-04 15:45:59Z).
I have 2 interfaces in FreeSWITCH server:
-eth0 with public IP, where all gateways are located.
-eth1 with private IP, where all VoIP equipment (FXS, FXO GWs) are placed.
The source [ http://wiki.freeswitch.org/wiki/Clarification:gateways ] tells about 3 different ways of configuring gateway.
I use the 3rd one: freeswitch\conf\directory\default\<Gateway_name>.xml.

But now several gateways are moved inside private network (with the help of VPN).
So I need to configure these gateways to corespond with internal profile (now all packets to these gateways, for example, OPTIONS, go thru internal interface but with external IP as source IP).
How can I do it for best?

P.S. The 1st variant (moving gateway settings to /conf/sip_profiles/internal-eth1/) required in manual adding gateway's IP in ACL list since (as I see) there is no such a parameter as "cidr" in gateway tag (the next is *WRONG*:<gateway name="GW_Name" cidr="192.168.1.17">). But as I can see in this variant, gateway's variables do not set. What am I doing wrong?

With best regards,
Shumaev Dmitriy KBR Ltd.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140122/d057ad2c/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list