|
Hi all,
I want any sound gets played at callee side, for that i used applicatiomap, to do so, i added these lines :
in features.conf :
Set(DYNAMIC_FEATURES=hangup#play#testfeature)
testfeature => *5,self/callee,Playback,tt-monkeys
in extensions.conf
exten => 123,1,Set(DYNAMIC_FEATURES=testfeature#playback)
exten => 123,2,Dial(SIP/123)
When i run "reload res_features.so " on asterisk CLI :
-- Reloading module 'res_features.so' (Call Features Resource)
== Parsing '/etc/asterisk/features.conf': Found
[Feb 11 18:19:53] NOTICE[8869]: res_features.c:3253 load_config: Unknown feature 'testfeature'
[Feb 11 18:19:53] NOTICE[8869]: res_features.c:3277 load_config: Please check the feature Mapping Syntax, either extension, name, or app aren't provided (null) hangup#play#testfeature) (null) Set(DYNAMIC_FEATURES
== Registered Feature 'testfeature'
== Mapping Feature 'testfeature' to app 'Playback(tt-monkeys)' with code '*5'
At the end, when i call 123 and press *5, i didnt hear tt-monkeys sound file.
So, from that output, what i should think,there's something wrong in features.conf. testfeature is not specified properly means application is not mapped or triggered by *5.
Is this problem with DTMF or something else?
Please help, I'm stuck.
what should i do?
Regards,
Tarun. |