jonas kellens
2009-Sep-07 18:40 UTC
[asterisk-users] features.conf : feature map ==> getting feature to work
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... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090907/b016a717/attachment.htm
Anthony Messina
2009-Sep-07 21:03 UTC
[asterisk-users] features.conf : feature map ==> getting feature to work
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]" -- Anthony - http://messinet.com - http://messinet.com/~amessina/gallery 8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20090907/5aedab22/attachment.pgp
Erik de Wild
2009-Sep-08 07:17 UTC
[asterisk-users] features.conf : feature map ==> getting feature to work
just a hint. you might have # assigned the moh in feature.conf and #3 to starting the recording. check your feature.conf and makesure that # isn't assigned to anything. erik de wild Tripple-o Your Asterisk migration partner the Netherlands Verstuurd vanaf mijn iPhone Op 7 sep 2009 om 20:40 heeft jonas kellens <jonas.kellens at telenet.be> het volgende geschreven:\> 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. > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > AstriCon 2009 - October 13 - 15 Phoenix, Arizona > Register Now: http://www.astricon.net > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090908/c6a05c86/attachment.htm