Summary: | ASTERISK-02159: "mgcp reload" VERY buggy when mgcp.conf has wcardep= defigned | ||
Reporter: | duanecox (duanecox) | Labels: | |
Date Opened: | 2004-07-31 14:35:39 | Date Closed: | 2004-09-25 02:12:16 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Well, as the chan_mgcp.c code states: /* JS: TODO -- reload for wildcard endpoint probably buggy MGCP wildcard endpoint is VERY BUGGY. mgcp.conf wcardep= works well, but issuing a mgcp reload will definately confuse mgcp and bring it down. localhost*CLI> mgcp show endpoints Gateway '63.252.242.2' at 63.252.242.2 (Static) -- 'aaln/1@63.252.242.2 in 'main' is idle Gateway '63.252.240.58' at 63.252.240.58 (Static) -- 'aaln/1@63.252.240.58 in 'main' is idle Gateway '63.252.240.2' at 63.252.240.2 (Static) -- 'aaln/2@63.252.240.2 in 'main' is idle -- 'aaln/1@63.252.240.2 in 'main' is idle localhost*CLI> mgcp reload Reloading MGCP == Parsing '/etc/asterisk/mgcp.conf': == Parsing '/etc/asterisk/mgcp.conf': Found -- Allocating subchannel '0' on aaln/*@63.252.240.2 -- Allocating subchannel '1' on aaln/*@63.252.240.2 localhost*CLI> mgcp show endpoints ASTERISK DEAD: Asterisk CLI _may_ hang and not respond to input. MGCP dies. ****** ADDITIONAL INFORMATION ****** Asterisk CVS-HEAD-07/30/04-15:46:02 built by root@localhost on a i686 running Linux | ||
Comments: | By: duanecox (duanecox) 2004-07-31 14:51:42 should be 'major' but and not 'feature' Can't edit bugreport. * supports wcardep in mgcp.conf * support mgcp reload but when both used together, * dies. So not really much of a feature, but a major bug. By: Mark Spencer (markster) 2004-07-31 16:28:30 Can you clarify whether this reload problem exists when you don't use a wildcard endpoint? By: duanecox (duanecox) 2004-07-31 21:45:53 Mark, this reload problem only exists when using wcardep in mgcp.conf It does NOT exist when it's not present (wcardep) I haven't had the chance to take a real indepth look into chan_mgcp.c to see what is going on, or what is not going on... By: Mark Spencer (markster) 2004-08-01 00:13:21 Fixed in CVS |