[asterisk-users] features.conf : feature map ==> getting feature to work

jonas kellens
2009-09-07T18:40:16Z

Hi there,
I need some help with a 'custom' feature.

I have following feature defined in features.conf :

[applicationmap]

opnemencallee =>
#3,self/callee,Monitor,wav,/var/samba/profiles/jonaskl/recording,m

In my dialplan :

[from-HostAst]
exten => s,1,Set(__DYNAMIC_FEATURES=opnemencallee)
exten => s,n,Dial(SIP/grandstream,30)

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 :

[Sep  7 20:33:49] WARNING[10870]: res_musiconhold.c:665 get_mohbyname:
Music on Hold class '/var/samba/profiles/jonaskl/recording' not found

Don't know where this comes from... I have tried the same with *3. Same
output on the CLI.
Yes, I have restarted Asterisk after changes in features.conf.
It's not my Grandstream or the DTMF-input because *8 for picking up a
ringing phone works well...

When I set :
opnemencallee =>
#*3,self/callee,Monitor,wav,/var/samba/profiles/jonaskl/recording,m

and I press #*3, nothing happens... No output on the CLI.

There's not much info. I followed the instructions on voip-info.org
(which are the same as in features.conf).

The module res_features is loaded.

Greetingz,
Jonas.
-------------- next part --------------
An HTML attachment was scrubbed...