[asterisk-gui] How to call custom Macros with Astersk GUI 2.0 ?
bkruse
bkruse at digium.com
Wed Oct 1 13:41:26 CDT 2008
All you have to do is either A) Feature Request (preferably with a
patch, if you really want it
done, you will do it the _right_ way) or B) Just Experiment! Look at the
other lines that the GUI
writes and write one the same way to do what you want. It is not that hard.
We are not even storing in a database or an uneditable space, you just
have to be smart when
making changes. Besides, if you can tell em _exactly_ what you changed
to break it in a few lines,
I can see where it is breaking, reproduce it, and fix the issue. This
makes the GUI more usable.
Thanks,
-bk
David Kerr wrote:
> That is exactly what we are doing... but in many cases if you later go
> back to the GUI page that affects the area of the .conf file that you
> manualy edited, your changes are blown away. Case in point, use the
> file editor to add "context=xxxx" to a queue, and later go to the
> queue page and change something, anything, then the context= statement
> is erased.
>
> A solution may be to have "advanced" turn on an edit box in each page
> of the GUI, so that rather than go into the file editor I could add
> custom featured in the Queue (or any other) page for that block of the
> .conf file(s). Then the GUI would have to know about the custom stuff
> I added.
>
> David
>
> On Wed, Oct 1, 2008 at 11:16 AM, Jason Ede
> <J.Ede at birchenallhowden.co.uk <mailto:J.Ede at birchenallhowden.co.uk>>
> wrote:
>
> Umm, why not in the GUI turn the advanced options on and use the
> file editor to add custom dialplans etc?
>
> Jason
> ________________________________________
> From: asterisk-gui-bounces at lists.digium.com
> <mailto:asterisk-gui-bounces at lists.digium.com>
> [asterisk-gui-bounces at lists.digium.com
> <mailto:asterisk-gui-bounces at lists.digium.com>] On Behalf Of
> Christoph Adomeit [Christoph.Adomeit at gatworks.de
> <mailto:Christoph.Adomeit at gatworks.de>]
> Sent: 01 October 2008 16:09
> To: david at Kerr.net; Asterisk GUI project discussion
> Subject: Re: [asterisk-gui] How to call custom Macros with Astersk
> GUI 2.0 ?
>
> So the End of the Story is: Gui 2.0 looks beautiful but you cannot
> really use it if you need at least 1 advanced feature of asterisk that
> is not reflected in the GUI ????
>
> No quick-hack for "custom dialplan editing" in plan ?
>
> So I have to keep going on with voiceone.it <http://voiceone.it>
> which is a lot more
> flexible (but has a hell of a lot of other disadvantages).
>
> Greetings
> Christoph
>
> On Tue, Sep 30, 2008 at 04:19:25PM -0400, David Kerr wrote:
> > No you can't... that's the problem.
> >
> > Maybe things have changed since the SVN version that I am using,
> but the
> > version I have
> >
> > You cannot add "Ringing" as a action in a voice menu.
> >
> > You cannot add a muti-line response to a tone, for example...
> > exten=i,1,Playback(pbx-invalid)
> > exten=i,n,Goto(s,2)
> >
> > Nor add a DISA as a voice menu option.
> >
> > I cannot add a Context to a queue.
> >
> > I cannot specify an "application=" to music-on-hold
> >
> > I cannot specify "dtmfmode=" in a trunk, or "canreinvite", or
> "insecure=" or
> > "qualify="
> >
> > And there are probably more. If the GUI were complete then this
> wouldn't be
> > a problem, but while it is I need to be able to make additions
> to the .conf
> > files and not have them blown away if I ever (mistakenly) go
> through the gui
> > again.
> >
> > David
> >
> >
> > On Tue, Sep 30, 2008 at 3:18 PM, bkruse <bkruse at digium.com
> <mailto:bkruse at digium.com>> wrote:
> >
> > > I would suggest that when editing a voice menu, make _sure_
> that they are
> > > numbered.
> > >
> > > Besides, most things you can edit in a voice menu, you can add
> from the GUI
> > >
> > > -bk
> > >
> > > David Kerr wrote:
> > >
> > >> I also ran into this problem. In fact it is worse than Christoph
> > >> suggests... if you go in and manually edit the
> extensions.conf file then
> > >> none of the [custom] changes are reflected in the GUI and in
> fact can be
> > >> *erased* by the gui. I opened a bug report related to this...
> > >> http://bugs.digium.com/view.php?id=13530
> > >>
> > >> David
> > >>
> > >> On Tue, Sep 30, 2008 at 12:49 PM, Christoph Adomeit <
> > >> Christoph.Adomeit at gatworks.de
> <mailto:Christoph.Adomeit at gatworks.de>
> <mailto:Christoph.Adomeit at gatworks.de
> <mailto:Christoph.Adomeit at gatworks.de>>>
> > >> wrote:
> > >>
> > >> Hi Brandon,
> > >>
> > >> I did not completely get the picture yet. What I want to
> call is not
> > >> an IVR, it's arbitrary "applications" like maybe a "phrase
> recording"
> > >> menu.
> > >>
> > >> How would you "abuse" the gui to do things like that ?
> Should I define
> > >> "IVR"s for these needs and do custom steps within the IVR
> definition ?
> > >>
> > >> Are there better/other alternatives in Gui 2.0 ?
> > >>
> > >> Greetings
> > >> Christoph
> > >>
> > >> On Mon, Sep 29, 2008 at 04:21:18PM -0500, bkruse wrote:
> > >> > Hmm,
> > >> >
> > >> > There comes a time in which you have to do things
> through the
> > >> GUI for
> > >> > convention.
> > >> >
> > >> > Of course, I think in your situation, if you _have_ to,
> and not
> > >> redo the
> > >> > macros via some
> > >> > IVR in the GUI, then inside your main IVR (or wherever
> you want
> > >> to call
> > >> > the macro), add
> > >> > a 'custom' step, in which you could put the
> macro(macro-name, args)
> > >> > statement.
> > >> >
> > >> > -Brandon
> > >> >
> > >> > Christoph Adomeit wrote:
> > >> > > Hi,
> > >> > >
> > >> > > I just installed asterisk gui 2.0 and it looks great !
> > >> > >
> > >> > > Now I want to add my own macros to the dialplan and
> make the
> > >> > > macros useable by the GUI.
> > >> > >
> > >> > > For example I want to route calls to -4711 to a macro that
> > >> > > opens door a and -4712 to open door b. *73 should add
> the callerid
> > >> > > to the astdb and so on. The macros are custom macros I
> once wrote.
> > >> > >
> > >> > > I am used to voiceone and there all this can be
> achieved by
> > >> calling
> > >> > > "applications" and "macros" using incoming rules.
> > >> > >
> > >> > > Is there something similar in Asterisk GUI 2.0 ?
> > >> > > All I can choose for incoming calls is:
> > >> > > User Extension, Voice Menu, Operator, Hangup,
> Congestion and
> > >> > > "Local Extension by DID".
> > >> > >
> > >> > > What is the way of configuring my demands with
> Asterisk GUI 2.0 ?
> > >> > >
> > >> > > Thanks
> > >> > > Christoph
> > >> > >
> > >> > > _______________________________________________
> > >> > > --Bandwidth and Colocation Provided by
> > >> http://www.api-digital.com--
> > >> > >
> > >> > > asterisk-gui mailing list
> > >> > > To UNSUBSCRIBE or update options visit:
> > >> > > http://lists.digium.com/mailman/listinfo/asterisk-gui
> > >> > >
> > >> >
> > >> >
> > >> > _______________________________________________
> > >> > --Bandwidth and Colocation Provided by
> http://www.api-digital.com--
> > >> >
> > >> > asterisk-gui mailing list
> > >> > To UNSUBSCRIBE or update options visit:
> > >> > http://lists.digium.com/mailman/listinfo/asterisk-gui
> > >>
> > >> --
> > >> Christoph Adomeit
> > >> GATWORKS GmbH
> > >> Reststrauch 191
> > >> 41199 Moenchengladbach
> > >> Sitz: Moenchengladbach
> > >> Amtsgericht Moenchengladbach, HRB 6303
> > >> Geschaeftsfuehrer:
> > >> Christoph Adomeit, Hans Wilhelm Terstappen
> > >>
> > >> Christoph.Adomeit at gatworks.de
> <mailto:Christoph.Adomeit at gatworks.de>
> > >> <mailto:Christoph.Adomeit at gatworks.de
> <mailto:Christoph.Adomeit at gatworks.de>> Internetloesungen vom
> > >> Feinsten
> > >> Fon. +49 2166 9149-32 Fax. +49 2166
> 9149-10
> > >>
> > >> _______________________________________________
> > >> --Bandwidth and Colocation Provided by
> http://www.api-digital.com--
> > >>
> > >> asterisk-gui mailing list
> > >> To UNSUBSCRIBE or update options visit:
> > >> http://lists.digium.com/mailman/listinfo/asterisk-gui
> > >>
> > >>
> > >>
> ------------------------------------------------------------------------
> > >>
> > >> _______________________________________________
> > >> --Bandwidth and Colocation Provided by
> http://www.api-digital.com--
> > >>
> > >> asterisk-gui mailing list
> > >> To UNSUBSCRIBE or update options visit:
> > >> http://lists.digium.com/mailman/listinfo/asterisk-gui
> > >>
> > >
> > >
> > >
>
> > _______________________________________________
> > --Bandwidth and Colocation Provided by http://www.api-digital.com--
> >
> > asterisk-gui mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-gui
>
> --
> Christoph Adomeit
> GATWORKS GmbH
> Reststrauch 191
> 41199 Moenchengladbach
> Sitz: Moenchengladbach
> Amtsgericht Moenchengladbach, HRB 6303
> Geschaeftsfuehrer:
> Christoph Adomeit, Hans Wilhelm Terstappen
>
> Christoph.Adomeit at gatworks.de
> <mailto:Christoph.Adomeit at gatworks.de> Internetloesungen vom
> Feinsten
> Fon. +49 2166 9149-32 Fax. +49 2166 9149-10
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-gui mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-gui
>
> BirchenallHowden
> information | communication | technology
>
> t : 0114 321 0555 | f : 0114 321 0500 | e :
> info at birchenallhowden.co.uk <mailto:info at birchenallhowden.co.uk> |
> w : www.birchenallhowden.co.uk <http://www.birchenallhowden.co.uk>
>
> Registered Office: Edmund House, 233 Edmund Road, Sheffield S2 4EL, UK
> Company Registration Number: 05779505
>
> All information contained in this email and any attachments should
> be treated as confidential. This email has been scanned for
> viruses and dangerous content and is believed to be clean.
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-gui mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-gui
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-gui mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-gui
More information about the asterisk-gui
mailing list