<!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>
Hi there,<BR>
I need some help with a 'custom' feature.<BR>
<BR>
I have following feature defined in features.conf :<BR>
<BR>
[applicationmap]<BR>
<BR>
opnemencallee =&gt; #3,self/callee,Monitor,wav,/var/samba/profiles/jonaskl/recording,m<BR>
<BR>
In my dialplan :<BR>
<BR>
[from-HostAst]<BR>
exten =&gt; s,1,Set(__DYNAMIC_FEATURES=opnemencallee)<BR>
exten =&gt; s,n,Dial(SIP/grandstream,30)<BR>
<BR>
I want the callee to be able to press #3 to be able to record the conversation but when I press these keys on my Grandstream phone, the following is displayed on the CLI :<BR>
<BR>
<FONT COLOR="#ff0000"><FONT SIZE="2">[Sep&nbsp; 7 20:33:49] WARNING[10870]: res_musiconhold.c:665 get_mohbyname: Music on Hold class '/var/samba/profiles/jonaskl/recording' not found</FONT></FONT><BR>
<BR>
Don't know where this comes from... I have tried the same with *3. Same output on the CLI.<BR>
Yes, I have restarted Asterisk after changes in features.conf.<BR>
It's not my Grandstream or the DTMF-input because *8 for picking up a ringing phone works well...<BR>
<BR>
When I set :<BR>
opnemencallee =&gt; #*3,self/callee,Monitor,wav,/var/samba/profiles/jonaskl/recording,m<BR>
<BR>
and I press #*3, nothing happens... No output on the CLI.<BR>
<BR>
There's not much info. I followed the instructions on voip-info.org (which are the same as in features.conf).<BR>
<BR>
The module res_features is loaded.<BR>
<BR>
Greetingz,<BR>
Jonas.
</BODY>
</HTML>