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

Brian West brian at freeswitch.org
Thu Oct 27 02:20:54 MSD 2016


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 <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
>>>>>>
>>>>>> ____________________________________________________________
>>>>>> _____________
>>>>>> 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/free
>>>>>> switch-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/free
>>>>> switch-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 <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
>>>>
>>>> ____________________________________________________________
>>>> _____________
>>>> 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/free
>>>> switch-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 <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
>>
>> _________________________________________________________________________
>> 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 <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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161026/8bcb6ff2/attachment-0001.html 


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