<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.24.5">
</HEAD>
<BODY>
When I enable the automon-feature (*1) the callee can start recording the conversation. No problem there.<BR>
But I can't get my user-defined features to work.<BR>
<BR>
I have setup the following test-feature in features.conf :<BR>
<BR>
[applicationmap]<BR>
<BR>
testfeat => *3,self/callee,Playback,tt-weasels<BR>
<BR>
I have the following in my dialplan :<BR>
<BR>
[from-HostAst]<BR>
exten => s,1,Set(__DYNAMIC_FEATURES=testfeat)<BR>
exten => s,n,NoOp(...)<BR>
exten => s,n,NoOp(...)<BR>
exten => s,n,Dial(SIP/grandstream,30)<BR>
<BR>
When pressing *3 on the Grandstream (the callee), the CLI shows nothing :<BR>
<BR>
[Sep 8 11:22:14] -- Executing [s@from-HostAst:1] Set("IAX2/hostedasterisk-12746", "__DYNAMIC_FEATURES=testfeat") in new stack<BR>
[Sep 8 11:22:14] -- Executing [s@from-HostAst:2] NoOp("IAX2/hostedasterisk-12746", "...") in new stack<BR>
[Sep 8 11:22:14] -- Executing [s@from-HostAst:3] NoOp("IAX2/hostedasterisk-12746", "...") in new stack<BR>
[Sep 8 11:22:14] -- Executing [s@from-HostAst:4] Dial("IAX2/hostedasterisk-12746", "SIP/grandstream|30") in new stack<BR>
[Sep 8 11:22:14] -- Called grandstream<BR>
[Sep 8 11:22:14] -- SIP/grandstream-083d5c10 is ringing<BR>
[Sep 8 11:22:22] -- SIP/grandstream-083d5c10 answered IAX2/hostedasterisk-12746<BR>
... nothing happens when pressing *3...<BR>
[Sep 8 11:22:52] == Spawn extension (from-HostAst, s, 4) exited non-zero on 'IAX2/hostedasterisk-12746'<BR>
[Sep 8 11:22:52] -- Hungup 'IAX2/hostedasterisk-12746'<BR>
<BR>
<BR>
With the automon-feature, it works well :<BR>
<BR>
[Sep 8 11:18:35] -- User hit '*1' to record call. filename: wav|auto-1252401515-s-IAX2-hostedasterisk-9817|m<BR>
[Sep 8 11:18:46] -- User hit '*1' to stop recording call.<BR>
<BR>
<BR>
What am I doing wrong so that my user-defined features don't work ? Even this simple Playback(tt-weasels) won't work.<BR>
<BR>
Jonas.<BR>
<BR>
<BR>
<BR>
<BR>
On Mon, 2009-09-07 at 16:03 -0500, Anthony Messina wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
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]"
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>