[asterisk-users] features.conf : feature map ==> getting feature to work
jonas kellens
jonas.kellens at telenet.be
Tue Sep 8 04:31:15 CDT 2009
When I enable the automon-feature (*1) the callee can start recording
the conversation. No problem there.
But I can't get my user-defined features to work.
I have setup the following test-feature in features.conf :
[applicationmap]
testfeat => *3,self/callee,Playback,tt-weasels
I have the following in my dialplan :
[from-HostAst]
exten => s,1,Set(__DYNAMIC_FEATURES=testfeat)
exten => s,n,NoOp(...)
exten => s,n,NoOp(...)
exten => s,n,Dial(SIP/grandstream,30)
When pressing *3 on the Grandstream (the callee), the CLI shows
nothing :
[Sep 8 11:22:14] -- Executing [s at from-HostAst:1]
Set("IAX2/hostedasterisk-12746", "__DYNAMIC_FEATURES=testfeat") in new
stack
[Sep 8 11:22:14] -- Executing [s at from-HostAst:2]
NoOp("IAX2/hostedasterisk-12746", "...") in new stack
[Sep 8 11:22:14] -- Executing [s at from-HostAst:3]
NoOp("IAX2/hostedasterisk-12746", "...") in new stack
[Sep 8 11:22:14] -- Executing [s at from-HostAst:4]
Dial("IAX2/hostedasterisk-12746", "SIP/grandstream|30") in new stack
[Sep 8 11:22:14] -- Called grandstream
[Sep 8 11:22:14] -- SIP/grandstream-083d5c10 is ringing
[Sep 8 11:22:22] -- SIP/grandstream-083d5c10 answered
IAX2/hostedasterisk-12746
... nothing happens when pressing *3...
[Sep 8 11:22:52] == Spawn extension (from-HostAst, s, 4) exited
non-zero on 'IAX2/hostedasterisk-12746'
[Sep 8 11:22:52] -- Hungup 'IAX2/hostedasterisk-12746'
With the automon-feature, it works well :
[Sep 8 11:18:35] -- User hit '*1' to record call. filename: wav|
auto-1252401515-s-IAX2-hostedasterisk-9817|m
[Sep 8 11:18:46] -- User hit '*1' to stop recording call.
What am I doing wrong so that my user-defined features don't work ? Even
this simple Playback(tt-weasels) won't work.
Jonas.
On Mon, 2009-09-07 at 16:03 -0500, Anthony Messina wrote:
> On Monday 07 September 2009 13:40:16 jonas kellens wrote:
> > [applicationmap]
> >
> > opnemencallee =>
> > #3,self/callee,Monitor,wav,/var/samba/profiles/jonaskl/recording,m
>
> <FeatureName> =>
> <DTMF_sequence>,<ActivateOn>[/<ActivatedBy>],<Application>[,<AppArguments>[,MOH_Class]]
>
> it looks like "/var/samba/profiles/jonaskl/recording" is in the spot for
> "[,MOH_Class]"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090908/6bb6639e/attachment.htm
More information about the asterisk-users
mailing list