Summary: | ASTERISK-05106: Call to ChanIsAvail fails | ||
Reporter: | Ray Van Dolson (rayvd) | Labels: | |
Date Opened: | 2005-09-20 15:14:10 | Date Closed: | 2008-01-15 15:49:05.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Applications/app_chanisavail |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Dial plan does not correctly jump to n+101 for a nonexistent SIP device when checking with ChanIsAvail() Instead, macro exits with -1 and call fails. If SIP chan is availble, function works properly. Backing out patch made in bug ASTERISK-5003 to app_chanisavail.c resolves this issue for me. Is there something wrong perhaps with ast_goto_if_exists() ? | ||
Comments: | By: Clod Patry (junky) 2005-09-20 15:47:46 That's not major. which version of app_chanisavail.c ? We have a field just for that use, that would be great if everyone could use it. By: Ray Van Dolson (rayvd) 2005-09-20 16:05:36 Version on CVS file was 1.19, however the patch that seems to have introduced the problem was on 1.18. http://cvsweb.digium.com/index.cgi/asterisk/apps/app_chanisavail.c Perhaps ChanIsAvail is not so widely used by others? I have enough calls to it that the function not working made for a 'major' problem :-) By: Kevin P. Fleming (kpfleming) 2005-09-25 16:40:32 Fixed in CVS HEAD. By: Digium Subversion (svnbot) 2008-01-15 15:49:05.000-0600 Repository: asterisk Revision: 6650 U trunk/apps/app_chanisavail.c ------------------------------------------------------------------------ r6650 | kpfleming | 2008-01-15 15:49:05 -0600 (Tue, 15 Jan 2008) | 2 lines correct sense of logic test (issue ASTERISK-5106) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=6650 |