Summary: | ASTERISK-10152: Can't create applicationmap features with identical DTMF sequences-- even if only enable one per call | ||
Reporter: | bungalow (bungalow) | Labels: | |
Date Opened: | 2007-08-23 13:08:34 | Date Closed: | 2007-08-23 15:02:15 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | If creating two applicationmap features, with the identical DTMF sequences, and only enabling one through DYNAMIC_FEATURES, Asterisk is able to detect the DTMF sequence and the associated feature, but does not execute it. Example features: mainfeature => *9,self/caller,Playback,tt-monkeys mainfeature2 => *9,self/callee,Playback,tt-monkeys Log output after entering dtmf sequence: -- Feature Found: mainfeature exten: mainfeature | ||
Comments: | By: Jason Parker (jparker) 2007-08-23 13:18:25 Can you show a log of what it looks like when it fails, and another when it works (ie; if you change the exten for mainfeatures)? By: Russell Bryant (russell) 2007-08-23 13:22:18 Please try the latest version By: bungalow (bungalow) 2007-08-23 13:39:55 I upgraded to 1.4.11 and tried again. The problem still exists. When features.conf includes both mainfeature and mainfeature2 above, and the DTMF sequence is entered, the log output is as above -- that's it. If I disable mainfeature2, the feature is executed properly. Here is the log output: -- Feature Found: mainfeature exten: mainfeature -- <SIP/xxxxx-09e5a8c0> Playing 'tt-monkeys' (language 'en') NOTE: in both cases this is at core debug 9 and verbose logging. By: Digium Subversion (svnbot) 2007-08-23 14:58:41 Repository: asterisk Revision: 80573 ------------------------------------------------------------------------ r80573 | russell | 2007-08-23 14:58:41 -0500 (Thu, 23 Aug 2007) | 5 lines When executing a dynamic feature, don't look it up a second time by digit pattern after we already looked it up by name. This causes broken behavior if there is more than one feature defined with the same digit pattern. (closes issue ASTERISK-10152, reported by bungalow, patch by me) ------------------------------------------------------------------------ By: Digium Subversion (svnbot) 2007-08-23 15:02:15 Repository: asterisk Revision: 80574 ------------------------------------------------------------------------ r80574 | russell | 2007-08-23 15:02:15 -0500 (Thu, 23 Aug 2007) | 13 lines Merged revisions 80573 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r80573 | russell | 2007-08-23 15:16:41 -0500 (Thu, 23 Aug 2007) | 5 lines When executing a dynamic feature, don't look it up a second time by digit pattern after we already looked it up by name. This causes broken behavior if there is more than one feature defined with the same digit pattern. (closes issue ASTERISK-10152, reported by bungalow, patch by me) ........ ------------------------------------------------------------------------ |