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:<br>
<br><action application="bridge" data="sofia/profile/outside1/<a href="mailto:18005551212@domain.com">18005551212@domain.com</a>"/><br><br>If you've created a gateway then it's just the standard gateway syntax. More info <a href="http://wiki.freeswitch.org/wiki/Dialplan_XML#SIP-Specific_Dialstrings">here</a>.<br>
<br>-MC<br><br><div class="gmail_quote">On Thu, Nov 29, 2012 at 10:35 PM, William Alianto <span dir="ltr"><<a href="mailto:william@xofap.com" target="_blank">william@xofap.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br><br>I got a server with this configuration :<br><br><br>Gateway<br>^<br>|<br>|<br>|<br>| eth 2 (10.x.x.x)<br>|<br>|<br>FS<-------->eth1 (180.x.x.x) <------->Internet<---------->User<br><br>Now I need to route the call to/from gateway. Would anybody help me to configure a dialplan for this problem?<br>
<br>Regards<br>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br><br>