Do you already have a sip profile created for 10.x.x.x interface? If you do then you can route calls out that interface. You can also create a gateway for that profile. Let's say the profile for 10.x.x.x is called "outside1". You can send calls out like this:

<action application="bridge" data="sofia/profile/outside1/18005551212@domain.com"/>

If you've created a gateway then it's just the standard gateway syntax. More info here.

-MC

On Thu, Nov 29, 2012 at 10:35 PM, William Alianto <william@xofap.com> wrote:
Hi,

I got a server with this configuration :


Gateway
^
|
|
|
| eth 2 (10.x.x.x)
|
|
FS<-------->eth1 (180.x.x.x) <------->Internet<---------->User

Now I need to route the call to/from gateway. Would anybody help me to configure a dialplan for this problem?

Regards

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org