[Home]

Summary:ASTERISK-09800: Local channel remains after hangup if the call fails to start
Reporter:Makoto Dei (makoto)Labels:
Date Opened:2007-07-03 20:44:16Date Closed:2007-07-05 08:12:44
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Channels/chan_local
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:In local_call function of chan_local.c, ast_pbx_start is called.
But even if ast_pbx_start returns none zero value, p->launchedpbx is
set to 1.  Then local_hangup function does not hang up the channel correctly.
I believe that p->launchedpbx should be set to 1 if ast_pbx_start returns 0.
Comments:By: Digium Subversion (svnbot) 2007-07-05 08:09:24

Repository: asterisk
Revision: 73318

------------------------------------------------------------------------
r73318 | file | 2007-07-05 08:09:24 -0500 (Thu, 05 Jul 2007) | 2 lines

Actually check to make sure a PBX was started on one of the Local channels instead of blindly assuming it was. (issue ASTERISK-9800 reported by makoto)

------------------------------------------------------------------------

By: Digium Subversion (svnbot) 2007-07-05 08:11:03

Repository: asterisk
Revision: 73319

------------------------------------------------------------------------
r73319 | file | 2007-07-05 08:11:02 -0500 (Thu, 05 Jul 2007) | 10 lines

Merged revisions 73318 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r73318 | file | 2007-07-05 10:26:02 -0300 (Thu, 05 Jul 2007) | 2 lines

Actually check to make sure a PBX was started on one of the Local channels instead of blindly assuming it was. (issue ASTERISK-9800 reported by makoto)

........

------------------------------------------------------------------------

By: Digium Subversion (svnbot) 2007-07-05 08:12:04

Repository: asterisk
Revision: 73320

------------------------------------------------------------------------
r73320 | file | 2007-07-05 08:12:03 -0500 (Thu, 05 Jul 2007) | 18 lines

Merged revisions 73319 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r73319 | file | 2007-07-05 10:27:40 -0300 (Thu, 05 Jul 2007) | 10 lines

Merged revisions 73318 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r73318 | file | 2007-07-05 10:26:02 -0300 (Thu, 05 Jul 2007) | 2 lines

Actually check to make sure a PBX was started on one of the Local channels instead of blindly assuming it was. (issue ASTERISK-9800 reported by makoto)

........

................

------------------------------------------------------------------------

By: Joshua C. Colp (jcolp) 2007-07-05 08:12:44

Fixed in 1.2 as of revision 73318, 1.4 as of revision 73319, and trunk as of revision 73320.