[Freeswitch-users] Freeswitch and twilio

Ahmed Habiba ahabiba at gmail.com
Sat Oct 3 01:34:48 MSD 2015


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.

<param name="extension" value="1000"/>

> 
> 
> From: Michael Nielsen <mic.niel84 at gmail.com>
> Date: October 2, 2015 at 11:24:51 PM GMT+3
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> Subject: Re: [Freeswitch-users] Freeswitch and twilio
> 
> 
> Outbound works fine.
> 
> Without having the inbound gateway calls are still routed to my FS to my public context from Twilio.
> Adding the twilio-inbound doesn't seem to change anything...?
> 
> 
> 
> On Friday, October 2, 2015, Brian West <brian at freeswitch.org <mailto:brian at freeswitch.org>> wrote:
> 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.
> 
> On Fri, Oct 2, 2015 at 1:46 PM, Michael Nielsen <mic.niel84 at gmail.com <javascript:_e(%7B%7D,'cvml','mic.niel84 at gmail.com');>> wrote:
> I'm trying to setup twilio as gateway following this guide:
> https://www.twilio.com/docs/sip-trunking/sample-configuration#freeswitch <https://www.twilio.com/docs/sip-trunking/sample-configuration#freeswitch>
> 
> In their example of twiliotrunk.xml they have twilio-inbound and twilio-outbound.
> 
> 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?
> 
> Make sense?
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org <javascript:_e(%7B%7D,'cvml','consulting at freeswitch.org');>
> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org <http://www.freeswitch.org/>
> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
> http://www.cluecon.com <http://www.cluecon.com/>
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','FreeSWITCH-users at lists.freeswitch.org');>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
> http://www.freeswitch.org <http://www.freeswitch.org/>
> 
> 
> 
> -- 
> Brian West
> brian at freeswitch.org <javascript:_e(%7B%7D,'cvml','brian at freeswitch.org');>
> 
> Twitter: @FreeSWITCH , @briankwest
> http://www.freeswitchbook.com <http://www.freeswitchbook.com/>
> http://www.freeswitchcookbook.com <http://www.freeswitchcookbook.com/>
> Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch>
> T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
> iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest
> 
> 
> 
> _______________________________________________
> 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/20151003/f36f3221/attachment.html 


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