<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div>if you have a deep look at inbound gateway it is for receiving calls from Twilio as you can see below, this line informing freeswitch where to route inkling call.</div><div><br class=""></div><div><code class="xml plain" style="font-family: Consolas, Monaco, monospace; display: inline-block; letter-spacing: -0.1599999964237213px; white-space: pre; box-sizing: content-box !important; font-size: 1em !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; min-height: inherit !important;"><</code><code class="xml keyword" style="font-family: Consolas, Monaco, monospace; display: inline-block; letter-spacing: -0.1599999964237213px; white-space: pre; box-sizing: content-box !important; font-size: 1em !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; font-weight: bold !important; min-height: inherit !important; color: rgb(6, 40, 115) !important;">param</code><span style="color: rgb(35, 31, 32); font-family: Consolas, Monaco, monospace; font-size: 14px; letter-spacing: -0.1599999964237213px; white-space: pre; background-color: rgb(238, 238, 238);" class=""> </span><code class="xml color1" style="font-family: Consolas, Monaco, monospace; display: inline-block; letter-spacing: -0.1599999964237213px; white-space: pre; box-sizing: content-box !important; font-size: 1em !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; min-height: inherit !important; color: gray !important;">name</code><code class="xml plain" style="font-family: Consolas, Monaco, monospace; display: inline-block; letter-spacing: -0.1599999964237213px; white-space: pre; box-sizing: content-box !important; font-size: 1em !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; min-height: inherit !important;">=</code><code class="xml string" style="font-family: Consolas, Monaco, monospace; display: inline-block; letter-spacing: -0.1599999964237213px; white-space: pre; box-sizing: content-box !important; font-size: 1em !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; min-height: inherit !important; color: rgb(64, 112, 160) !important;">"extension"</code><span style="color: rgb(35, 31, 32); font-family: Consolas, Monaco, monospace; font-size: 14px; letter-spacing: -0.1599999964237213px; white-space: pre; background-color: rgb(238, 238, 238);" class=""> </span><code class="xml color1" style="font-family: Consolas, Monaco, monospace; display: inline-block; letter-spacing: -0.1599999964237213px; white-space: pre; box-sizing: content-box !important; font-size: 1em !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; min-height: inherit !important; color: gray !important;">value</code><code class="xml plain" style="font-family: Consolas, Monaco, monospace; display: inline-block; letter-spacing: -0.1599999964237213px; white-space: pre; box-sizing: content-box !important; font-size: 1em !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; min-height: inherit !important;">=</code><code class="xml string" style="font-family: Consolas, Monaco, monospace; display: inline-block; letter-spacing: -0.1599999964237213px; white-space: pre; box-sizing: content-box !important; font-size: 1em !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; min-height: inherit !important; color: rgb(64, 112, 160) !important;">"1000"</code><code class="xml plain" style="font-family: Consolas, Monaco, monospace; display: inline-block; letter-spacing: -0.1599999964237213px; white-space: pre; box-sizing: content-box !important; font-size: 1em !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; min-height: inherit !important;">/></code></div><div><br class=""><blockquote type="cite" class=""><div class=""><br class=""><br class=""><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">From: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">Michael Nielsen <<a href="mailto:mic.niel84@gmail.com" class="">mic.niel84@gmail.com</a>><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Date: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">October 2, 2015 at 11:24:51 PM GMT+3<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" class="">freeswitch-users@lists.freeswitch.org</a>><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Subject: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">Re: [Freeswitch-users] Freeswitch and twilio</b><br class=""></span></div><br class=""><br class="">Outbound works fine.<div class=""><br class=""><div class="">Without having the inbound gateway calls are still routed to my FS to my public context from Twilio.</div><div class="">Adding the twilio-inbound doesn't seem to change anything...?</div><div class=""><br class=""></div><div class=""><br class=""><br class="">On Friday, October 2, 2015, Brian West <<a href="mailto:brian@freeswitch.org" class="">brian@freeswitch.org</a>> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">Well you'd send outbound calls out the outbound and the inbound one is just to register with twilio so they know where to send your inbound calls. Nothing more.</div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Fri, Oct 2, 2015 at 1:46 PM, Michael Nielsen <span dir="ltr" class=""><<a href="javascript:_e(%7B%7D,'cvml','mic.niel84@gmail.com');" target="_blank" class="">mic.niel84@gmail.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">I'm trying to setup twilio as gateway following this guide:<div class=""><a href="https://www.twilio.com/docs/sip-trunking/sample-configuration#freeswitch" target="_blank" class="">https://www.twilio.com/docs/sip-trunking/sample-configuration#freeswitch</a><br class=""></div><div class=""><br class=""></div><div class="">In their example of twiliotrunk.xml they have twilio-inbound and twilio-outbound.</div><div class=""><br class=""></div><div class="">What is the difference between the two gateways? I know their names indicate inbound and outbound calling, but how can Freeswitch tell the difference between them. Especially how can Freeswitch now to use twilio-inbound for incoming calls from twilio and not just twilit-outbound as the only difference is register-proxy and expire-seconds between the two?</div><div class=""><br class=""></div><div class="">Make sense?</div></div>
<br class="">_________________________________________________________________________<br class="">
Professional FreeSWITCH Consulting Services:<br class="">
<a href="javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org');" target="_blank" class="">consulting@freeswitch.org</a><br class="">
<a href="http://www.freeswitchsolutions.com/" rel="noreferrer" target="_blank" class="">http://www.freeswitchsolutions.com</a><br class="">
<br class="">
Official FreeSWITCH Sites<br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a><br class="">
<a href="http://confluence.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://confluence.freeswitch.org</a><br class="">
<a href="http://www.cluecon.com/" rel="noreferrer" target="_blank" class="">http://www.cluecon.com</a><br class="">
<br class="">
FreeSWITCH-users mailing list<br class="">
<a href="javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org');" target="_blank" class="">FreeSWITCH-users@lists.freeswitch.org</a><br class="">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br class="">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a><br class=""></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><p class=""><font face="courier new, monospace" class=""><b class=""><i class=""><font size="4" class="">Brian West</font></i></b><br class=""><span style="font-size:x-small" class=""><a href="javascript:_e(%7B%7D,'cvml','brian@freeswitch.org');" target="_blank" class="">brian@freeswitch.org</a></span></font></p><p class=""><font size="1" face="courier new, monospace" class=""><img src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png" class=""><br class=""></font></p><p class=""><font size="2" face="monospace, monospace" class=""><b class=""><i class="">Twitter: @FreeSWITCH , @briankwest</i></b><br class=""><a href="http://www.freeswitchbook.com/" target="_blank" class="">http://www.freeswitchbook.com</a><br class=""><a href="http://www.freeswitchcookbook.com/" target="_blank" class="">http://www.freeswitchcookbook.com</a></font></p><p class=""><font face="monospace, monospace" class="">Got Bugs? Report them <a href="https://freeswitch.org/jira" target="_blank" class="">here</a>! | Reddit: <a href="https://www.reddit.com/r/freeswitch" target="_blank" class="">/r/freeswitch</a></font></p><p class=""><font size="2" face="monospace, monospace" class=""><b class="">T:</b>+19184209001 | <b class="">F:</b>+19184209002 | <b class="">M:</b>+1918424WEST (9378)<br class=""><b class="">iNUM:</b>+883 5100 1420 9001 | <b class="">ISN:</b>410*543 | <b class="">Skype:</b>briankwest</font></p></div></div></div></div></div></div></div></div></div></div>
</div>
</blockquote></div></div>
<br class=""><br class="">_______________________________________________<br class="">FreeSWITCH-users mailing list<br class=""><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="">FreeSWITCH-users@lists.freeswitch.org</a><br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">http://www.freeswitch.org<br class=""></div></blockquote></div><br class=""></body></html>