[Freeswitch-users] What concepts in FreeSWITCH did you struggle with when you first started?

Giovanni Maruzzelli gmaruzz at gmail.com
Thu Oct 27 13:09:57 MSD 2016


On Oct 27, 2016 2:46 AM, "David Villasmil" <david.villasmil.work at gmail.com>
wrote:
>
> Oh, and I remember Anthony (I think it was AM) sent me a diagram drawn by
hand how to look at FS, this was YEARS ago, I think I still have it. This
was with FS 1 or maybe a little earlier... that cleared things up a lot.

Find it out and send it to us. We'll engrave it in 3D rotating holograms
and sell them as FS Talismans in the upcoming "Buy Esoteric Merchandise"
website tab.

> On Thu, Oct 27, 2016 at 2:43 AM David Villasmil <
david.villasmil.work at gmail.com> wrote:
>>
>> Once one knows how it works, explaining it to a newbie takes me 10
minutes. And usually they pick up pretty fast. I think a quick getting
started explanation would go a long way.
>>
>> On Thu, Oct 27, 2016 at 12:23 AM David Villasmil <
david.villasmil.work at gmail.com> wrote:
>>>
>>> From my experience with several developers: the actual FLOW/logic of
its workings
>>> On Thu, Oct 27, 2016 at 12:21 AM Brian West <brian at freeswitch.org>
wrote:
>>>>
>>>> The XML Dialplan works top to bottom, It compiles a list of things
that match from extensions in the context then executes them.  Can you
elaborate on why you think its otherwise?
>>>>
>>>> On Wed, Oct 26, 2016 at 5:11 PM, Carlos Ruiz Díaz <
carlos.ruizdiaz at gmail.com> wrote:
>>>>>
>>>>> Something I personally struggled with is the order in which
instructions are executed in the XML code.
>>>>>
>>>>> I am very used to writing code that is executed linearly, from top to
bottom to say it in a more colloquial way.
>>>>>
>>>>> On Wed, Oct 26, 2016 at 4:50 PM, Brian West <brian at freeswitch.org>
wrote:
>>>>>>
>>>>>> So not so much what we should change, because thats not changing,
Maybe a primer on how it works would help with extensive examples, similar
to the ones we have in vanilla configs with more detailed descriptions of
what everything does.
>>>>>>
>>>>>> /b
>>>>>>
>>>>>>
>>>>>> On Wed, Oct 26, 2016 at 4:45 PM, Carlos Ruiz Díaz <
carlos.ruizdiaz at gmail.com> wrote:
>>>>>>>
>>>>>>> 100% of the FS users I talked with didn't really understand well
the way XML dialplans work.
>>>>>>>
>>>>>>> If I were to change anything, I would change that to something
similar to Kamailio's custom scripting lang or even AEL.
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Carlos
>>>>>>>
>>>>>>> On Wed, Oct 26, 2016 at 4:34 PM, Brian West <brian at freeswitch.org>
wrote:
>>>>>>>>
>>>>>>>> User, or you do IP auth where no users are required.
>>>>>>>>
>>>>>>>> On Wed, Oct 26, 2016 at 3:32 PM, Valter Nogueira <
valter at fastway.com.br> wrote:
>>>>>>>>>
>>>>>>>>> If an external Asterisk would make calls thru FS, should I create
an account as a external gateway or in user directory?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Atenciosamente,
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> 2016-10-25 18:49 GMT-02:00 Brian West <brian at freeswitch.org>:
>>>>>>>>>>
>>>>>>>>>> Users from the directory would dictate who/what can register
inbound to FreeSWITCH regardless of the profile, its looked up by domain
using DNS so if you have various profiles setup on various ports that are
setup to hit the user directory and the DNS name matches the directory
domain that user would authenticate to the system and be allowed into the
context defined on that user by user_context, Gateways are for outbound
registrations from FreeSWITCH to a SIP provider.
>>>>>>>>>>
>>>>>>>>>> internal/external are arbitrary you can make them foo or bar,
they are just names, just like context names are arbitrary too.  They can
be called anything as long the settings all match up where you expect
traffic to hit.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Tue, Oct 25, 2016 at 3:17 PM, Valter Nogueira <
valter at fastway.com.br> wrote:
>>>>>>>>>>>
>>>>>>>>>>> What I don't understand is how users relate to internal
sip_profile and if it is possible to create gateways in internal profiles
so I can provide sip trunks on port 5060.
>>>>>>>>>>>
>>>>>>>>>>> You told in ClueCon Weekly October 12 that internal and
external are just names you give (sorry if I misunderstood your comment).
But, well they are somewhat different in xml files.
>>>>>>>>>>>
>>>>>>>>>>> Regards,
>>>>>>>>>>>
>>>>>>>>>>> Valter
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>>
>>>>>>>>>> Brian West
>>>>>>>>>> brian at freeswitch.org
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Twitter: @FreeSWITCH , @briankwest
>>>>>>>>>> http://www.freeswitchbook.com (50% Discount using code
FreeSwitch50)
>>>>>>>>>> http://www.freeswitchcookbook.com (50% Discount using code
FreeSwitch50)
>>>>>>>>>> https://www.gofundme.com/freeswitch_ubuntu
>>>>>>>>>>
>>>>>>>>>> Got Bugs? Report them here! | Reddit: /r/freeswitch
>>>>>>>>>>
>>>>>>>>>> T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
>>>>>>>>>> iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
_________________________________________________________________________
>>>>>>>>>> Professional FreeSWITCH Consulting Services:
>>>>>>>>>> consulting at freeswitch.org
>>>>>>>>>> http://www.freeswitchsolutions.com
>>>>>>>>>>
>>>>>>>>>> Official FreeSWITCH Sites
>>>>>>>>>> http://www.freeswitch.org
>>>>>>>>>> http://confluence.freeswitch.org
>>>>>>>>>> http://www.cluecon.com
>>>>>>>>>>
>>>>>>>>>> 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
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
_________________________________________________________________________
>>>>>>>>> Professional FreeSWITCH Consulting Services:
>>>>>>>>> consulting at freeswitch.org
>>>>>>>>> http://www.freeswitchsolutions.com
>>>>>>>>>
>>>>>>>>> Official FreeSWITCH Sites
>>>>>>>>> http://www.freeswitch.org
>>>>>>>>> http://confluence.freeswitch.org
>>>>>>>>> http://www.cluecon.com
>>>>>>>>>
>>>>>>>>> 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
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>>
>>>>>>>> Brian West
>>>>>>>> brian at freeswitch.org
>>>>>>>>
>>>>>>>>
>>>>>>>> Twitter: @FreeSWITCH , @briankwest
>>>>>>>> http://www.freeswitchbook.com (50% Discount using code
FreeSwitch50)
>>>>>>>> http://www.freeswitchcookbook.com (50% Discount using code
FreeSwitch50)
>>>>>>>> https://www.gofundme.com/freeswitch_ubuntu
>>>>>>>>
>>>>>>>> Got Bugs? Report them here! | Reddit: /r/freeswitch
>>>>>>>>
>>>>>>>> T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
>>>>>>>> iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest
>>>>>>>>
>>>>>>>>
>>>>>>>>
_________________________________________________________________________
>>>>>>>> Professional FreeSWITCH Consulting Services:
>>>>>>>> consulting at freeswitch.org
>>>>>>>> http://www.freeswitchsolutions.com
>>>>>>>>
>>>>>>>> Official FreeSWITCH Sites
>>>>>>>> http://www.freeswitch.org
>>>>>>>> http://confluence.freeswitch.org
>>>>>>>> http://www.cluecon.com
>>>>>>>>
>>>>>>>> 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
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Carlos
>>>>>>>
>>>>>>>
_________________________________________________________________________
>>>>>>> Professional FreeSWITCH Consulting Services:
>>>>>>> consulting at freeswitch.org
>>>>>>> http://www.freeswitchsolutions.com
>>>>>>>
>>>>>>> Official FreeSWITCH Sites
>>>>>>> http://www.freeswitch.org
>>>>>>> http://confluence.freeswitch.org
>>>>>>> http://www.cluecon.com
>>>>>>>
>>>>>>> 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
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> Brian West
>>>>>> brian at freeswitch.org
>>>>>>
>>>>>>
>>>>>> Twitter: @FreeSWITCH , @briankwest
>>>>>> http://www.freeswitchbook.com (50% Discount using code FreeSwitch50)
>>>>>> http://www.freeswitchcookbook.com (50% Discount using code
FreeSwitch50)
>>>>>> https://www.gofundme.com/freeswitch_ubuntu
>>>>>>
>>>>>> Got Bugs? Report them here! | Reddit: /r/freeswitch
>>>>>>
>>>>>> T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
>>>>>> iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest
>>>>>>
>>>>>>
>>>>>>
_________________________________________________________________________
>>>>>> Professional FreeSWITCH Consulting Services:
>>>>>> consulting at freeswitch.org
>>>>>> http://www.freeswitchsolutions.com
>>>>>>
>>>>>> Official FreeSWITCH Sites
>>>>>> http://www.freeswitch.org
>>>>>> http://confluence.freeswitch.org
>>>>>> http://www.cluecon.com
>>>>>>
>>>>>> 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
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Carlos
>>>>>
>>>>>
_________________________________________________________________________
>>>>> Professional FreeSWITCH Consulting Services:
>>>>> consulting at freeswitch.org
>>>>> http://www.freeswitchsolutions.com
>>>>>
>>>>> Official FreeSWITCH Sites
>>>>> http://www.freeswitch.org
>>>>> http://confluence.freeswitch.org
>>>>> http://www.cluecon.com
>>>>>
>>>>> 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
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Brian West
>>>> brian at freeswitch.org
>>>>
>>>>
>>>> Twitter: @FreeSWITCH , @briankwest
>>>> http://www.freeswitchbook.com (50% Discount using code FreeSwitch50)
>>>> http://www.freeswitchcookbook.com (50% Discount using code
FreeSwitch50)
>>>> https://www.gofundme.com/freeswitch_ubuntu
>>>>
>>>> Got Bugs? Report them here! | Reddit: /r/freeswitch
>>>>
>>>> T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
>>>> iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest
>>>>
>>>>
_________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org
>>>> http://www.freeswitchsolutions.com
>>>>
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org
>>>> http://confluence.freeswitch.org
>>>> http://www.cluecon.com
>>>>
>>>> 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
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> 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/20161027/d484b7e6/attachment-0001.html 


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