<!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 =&gt; *3,self/callee,Playback,tt-weasels<BR>
<BR>
I have the following in my dialplan :<BR>
<BR>
[from-HostAst]<BR>
exten =&gt; s,1,Set(__DYNAMIC_FEATURES=testfeat)<BR>
exten =&gt; s,n,NoOp(...)<BR>
exten =&gt; s,n,NoOp(...)<BR>
exten =&gt; s,n,Dial(SIP/grandstream,30)<BR>
<BR>
When pressing *3 on the Grandstream (the callee), the CLI shows nothing :<BR>
<BR>
[Sep&nbsp; 8 11:22:14]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [s@from-HostAst:1] Set(&quot;IAX2/hostedasterisk-12746&quot;, &quot;__DYNAMIC_FEATURES=testfeat&quot;) in new stack<BR>
[Sep&nbsp; 8 11:22:14]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [s@from-HostAst:2] NoOp(&quot;IAX2/hostedasterisk-12746&quot;, &quot;...&quot;) in new stack<BR>
[Sep&nbsp; 8 11:22:14]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [s@from-HostAst:3] NoOp(&quot;IAX2/hostedasterisk-12746&quot;, &quot;...&quot;) in new stack<BR>
[Sep&nbsp; 8 11:22:14]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [s@from-HostAst:4] Dial(&quot;IAX2/hostedasterisk-12746&quot;, &quot;SIP/grandstream|30&quot;) in new stack<BR>
[Sep&nbsp; 8 11:22:14]&nbsp;&nbsp;&nbsp;&nbsp; -- Called grandstream<BR>
[Sep&nbsp; 8 11:22:14]&nbsp;&nbsp;&nbsp;&nbsp; -- SIP/grandstream-083d5c10 is ringing<BR>
[Sep&nbsp; 8 11:22:22]&nbsp;&nbsp;&nbsp;&nbsp; -- SIP/grandstream-083d5c10 answered IAX2/hostedasterisk-12746<BR>
... nothing happens when pressing *3...<BR>
[Sep&nbsp; 8 11:22:52]&nbsp;&nbsp; == Spawn extension (from-HostAst, s, 4) exited non-zero on 'IAX2/hostedasterisk-12746'<BR>
[Sep&nbsp; 8 11:22:52]&nbsp;&nbsp;&nbsp;&nbsp; -- Hungup 'IAX2/hostedasterisk-12746'<BR>
<BR>
<BR>
With the automon-feature, it works well :<BR>
<BR>
[Sep&nbsp; 8 11:18:35]&nbsp;&nbsp;&nbsp;&nbsp; -- User hit '*1' to record call. filename: wav|auto-1252401515-s-IAX2-hostedasterisk-9817|m<BR>
[Sep&nbsp; 8 11:18:46]&nbsp;&nbsp;&nbsp;&nbsp; -- 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:
&gt; [applicationmap]
&gt;
&gt; opnemencallee =&gt;
&gt; #3,self/callee,Monitor,wav,/var/samba/profiles/jonaskl/recording,m

&lt;FeatureName&gt; =&gt; 
&lt;DTMF_sequence&gt;,&lt;ActivateOn&gt;[/&lt;ActivatedBy&gt;],&lt;Application&gt;[,&lt;AppArguments&gt;[,MOH_Class]]

it looks like &quot;/var/samba/profiles/jonaskl/recording&quot; is in the spot for  
&quot;[,MOH_Class]&quot;
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>