Summary: | ASTERISK-02259: extensions reload does not recognize timeout in extensions.conf by save dialplan | ||
Reporter: | matti (matti) | Labels: | |
Date Opened: | 2004-08-23 08:42:15 | Date Closed: | 2008-01-15 15:06:51.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) extensions.conf | |
Description: | If dialplan has a timeout in Dial command like Dial(SIP/254,45) and dialplan is saved with command "save dialplan", extensions.conf will have the timeout like Dial(SIP/254(45)). When command "extensions reload" is then executed, timeout in extensions.conf will not be recognized by Asterisk any more. | ||
Comments: | By: Brian West (bkw918) 2004-08-23 09:04:52 I'm sorry but you're wrong on this one. I have entered: exten => 555,1,Dial(SIP/10,60) reloaded to ensure I have this in my dial plan. Then did save dialplan /test.conf looked in the test.conf and its has: exten => 555,1,Dial(SIP/10,60) Just like it should. By: Mark Spencer (markster) 2004-08-23 15:19:55 Is it possible you have either an older version of CVS or one modifications to the routine? If not, can you post the extensions.conf you have (before save dialplan) so we can try to duplicate th eproblem? It might be related to having an improper entry... By: matti (matti) 2004-08-24 02:06:22 I compiled version CVS-HEAD-06/29/04-14:58:41. I typed the following commands: add extension 254,1,Dial(SIP/254,45) into subscribers replace save dialplan extensions reload The problem does not appear if you enter the extension into extensions.conf and reload. I attach my version of extensions.conf. By: Mark Spencer (markster) 2004-08-24 09:23:46 This is a bug in add extension, not in save dialplan By: Mark Spencer (markster) 2004-08-24 11:38:58 More specifically, the "add extension" is broken in that it doesn't properly handle "new syntax" although it seems to work fine. By: Mark Spencer (markster) 2004-09-06 21:20:30 Fixed in CVS By: Digium Subversion (svnbot) 2008-01-15 15:06:51.000-0600 Repository: asterisk Revision: 3732 U trunk/apps/app_meetme.c U trunk/pbx/pbx_config.c U trunk/res/res_musiconhold.c ------------------------------------------------------------------------ r3732 | markster | 2008-01-15 15:06:50 -0600 (Tue, 15 Jan 2008) | 2 lines Make menu interruptible (bug ASTERISK-2345), Also fix PBX "add extension" CLI (bug ASTERISK-2259) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=3732 |