[asterisk-users] Dynamically Adding A Context
j
j at intuitivecreations.com
Wed Jan 31 14:49:32 MST 2007
On Wed, 2007-01-31 at 09:28 -0900, Shane Spencer wrote:
> Seriously? You want serious! You can't handle the serious!
Heh. Sorry man, it's been a bad day :(
> I would assume that editing a file and refreshing a system by means of
> a program or self intervention which causes no interruption in service
> could be concidered dynamic.
I suppose the interpretation of dynamic can be somewhat subjective,
however I tend to think of a text file as static. Dynamic, IMO, would be
more along the lines of manipulating the configuration of the machine
on-the-fly directly.
> How does asterisk realtime handle this
> thats so radically different that it can be the only true dynamic
> method of doing this.
The problem with realtime is that not everyone uses it. I'm not trying
to do something specific to my own configuration. I'm updating proxy
software that's used in arbitrary environments, so I can only count on
stuff that everyone has.
>
> BTW.. Did you figure it out yet?
Unfortunately, it doesn't seem as though there is a way. I had to resort
to making the users of the software map dynamic agent channels (i.e.
Local/200 at call-agent) to actual device channels (i.e. SIP/200) in the
users configuration file for every single user. I'm sure I'll hear some
grumbling from some of the users I've spoken with in the past with very
large call centers :(
It would have been really cool if I could have dynamically called and
traced the dynamic agents to their actual devices and removed the
headache from the admin .. but .. oh well :(
>
> On 1/31/07, j <j at intuitivecreations.com> wrote:
> > Seriously man.
> > I don't want to be "testy" here, but what part of *dynamic* didn't you
> > understand?
> >
> > Adding a context to a flat file and reloading the server is NOT
> > dynamic.
> >
> > And, as I explained in a previous post, realtime is not a solution I
> > can use for this issue because I'm updating proxy software that uses the
> > AMI so realtime is not an option.
> >
> > For everyone else;
> > Thanks for trying to take a stab at this. It seems there simply is no
> > way to do it. Perhaps I'll submit a patch to digium so at least we have
> > this simple functionality in the future...
> >
> > j
> >
> > On Tue, 2007-01-30 at 13:17 -0900, Shane Spencer wrote:
> > > Reload.. Reload.. Reload..
> > >
> > > On 1/30/07, Shane Spencer <shane at bogomip.com> wrote:
> > > > Realtime.. Realtime.. Realtime..
> > > >
> > > > On 1/30/07, j <j at intuitivecreations.com> wrote:
> > > > > On Tue, 2007-01-30 at 23:11 +0200, Tzafrir Cohen wrote:
> > > > > > On Tue, Jan 30, 2007 at 12:59:15PM -0800, chester c young wrote:
> > > > > > > In order to do this, I have to add a couple quick extensions to the
> > > > > > > dial plan dynamically, so I have to be able to add my own context.
> > > > > > >
> > > > > > > from API use Command to run the CLI command add extension
> > > > > >
> > > > > > But you can only add to an existing context with that.
> > > > >
> > > > > Yes exactly. I tried the 'add extension' command. With *and* without the
> > > > > 'replace' argument, if the context does not already exist the command
> > > > > gives an error ;(
> > > > >
> > > > > _______________________________________________
> > > > > --Bandwidth and Colocation provided by Easynews.com --
> > > > >
> > > > > asterisk-users mailing list
> > > > > To UNSUBSCRIBE or update options visit:
> > > > > http://lists.digium.com/mailman/listinfo/asterisk-users
> > > > >
> > > >
> > > _______________________________________________
> > > --Bandwidth and Colocation provided by Easynews.com --
> > >
> > > asterisk-users mailing list
> > > To UNSUBSCRIBE or update options visit:
> > > http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> > _______________________________________________
> > --Bandwidth and Colocation provided by Easynews.com --
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list