[Freeswitch-users] newbie alert. Help with dialplan
Michael Collins
msc at freeswitch.org
Fri Aug 28 10:24:27 PDT 2009
Julian,
It might be better if you gave us the run-down on what your current Asterisk
extension does. Most likely there is an elegant way of doing it in
FreeSWITCH. Part of the unlearing of the Asterisk way is coming to grips
with the fact that the FS dialplan is not a programming language in and of
itself. While it's convenient to have GotoIf's all over the place, in the
long run that's inefficient.
Let's start from the top-down instead of the bottom-up. Discussion your
application in general terms, i.e., non-Asterisk-specific language. Tell us
what it does, not how it does it, and then we can think it through using FS
concepts.
-MC
On Thu, Aug 27, 2009 at 11:16 AM, Julian Lyndon-Smith <asterisk at dotr.com>wrote:
> I am a long-time asterisk user (2005), so I come from an unfortunate
> position of having to unlearn an awful lot of stuff in order to make
> freeswitch do the things I want ;(
>
> I *think* i've got my head around using mod_curl_xml (?) to read all
> the config stuff from my webserver. I *think* I've got my head around
> setting up the sip clients etc etc ...
>
> However, where I am really struggling is the dialplan. For the life of
> me I simply cannot seem to grasp the fs way - that's no disrespect to
> the fs way, but perhaps the failure of this old brain to change !
>
> have pastebinned an example of show 1234546 at inboundq at
> http://www.pastebin.ca/1544890. If possible, would someone be able to
> show me how to convert this dialplan to the fs way ? If I could be
> given a little foot-up I'm sure that I would be able to convert the
> rest of the dialplan !
>
> Thanks in advance, and please go easy !
>
> Julian
>
> _______________________________________________
> 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/20090828/75256479/attachment-0002.html
More information about the FreeSWITCH-users
mailing list