[asterisk-users] Problems with automon
Michael Neuhauser
mike at firmix.at
Tue Oct 3 15:23:00 MST 2006
On Tue, 2006-10-03 at 14:16 -0400, Clif Jones wrote:
> Thanks for the response. Answers inline..
>
> -----Original Message-----
> >From: Michael Neuhauser <mike at firmix.at>
> >Sent: Oct 3, 2006 10:37 AM
> >To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com>, Clif Jones <clif_lists at earthlink.net>
> >Subject: Re: [asterisk-users] Problems with automon
> >
> >On Tue, 2006-10-03 at 09:20 -0400, Clif Jones wrote:
> >> I have been trying to get automon working on Asterisk 1.2.12.1 and I
> >> am having some problems. I have searched the list archives and have
> >> not found my answer either. This system is setup for SIP to SIP calls
> >> with G.729 codecs.
> >
> >You do have a G.729 codec module on your machine?
> Yes, I have plenty of G.729 licenses and of course, the commercial G.729 codec.
> >
> >> I believe that I have the config files setup (*1 enabled in
> >> features.conf, DYNAMIC_FEATURES global variable and 'wW' Dial options
> >> in extensions.conf).
> >
> >Are you using [featuremap]/automon or [applicationmap]/<MYOWNFEATURE>?
> >(in the first case you do not need DYNAMIC_FEATURES in the second case
> >the wW flags do apply).
^ sorry, forgot "not" here
> I'm using the [featuremap] with the example code for '*1 - automon'
> that was provided. So, you are saying that I do NOT need the
> DYNAMIC_FEATURES global OR the 'wW' options for the [featuremap]? I'm
> trying to think back but I believe that I had trouble getting this
> working without some of that but I may be wrong.
What I meant is that this
[featuremap]
automon => *1
is controlled by wW dialflags alone and the content of DYNAMIC_FEATURES
does not control if a channel can use '*1' to activate automon or not
(at least doc/README.variables says so and a quick check of the source
code seems to confirm it).
But if you use something like this
[applicationmap]
mymon => *1,caller,SomeApplication,AppArg
then DYNAMIC_FEATURES needs to include "mymon" for it to work (global
variable -> all channels, channel variable -> only that channel can use
it). But I have never tried to use Monitor() in an applicationmap entry
so I have no idea if/how that would work.
My recommendation: use featuremap and w and/or W dialflags (depending
who should be able to start automon, you may not want to allow external
callers to start automon); don't define any applicationmap entry, don't
set DYNAMIC_FEATURES (except if have a need for a special applicationmap
entry).
--
Dr. Michael Neuhauser mailto:mike at firmix.at
Firmix Software GmbH sip:mike at firmix.at
Vienna/Austria/Europe tel:+43-1-7890849-30
Linux Development and Services http://www.firmix.at/
More information about the asterisk-users
mailing list