[Home]

Summary:ASTERISK-07194: app_channelredirect causes crash
Reporter:Tim Kelly (timkelly1980)Labels:
Date Opened:2006-06-17 08:59:34Date Closed:2011-06-07 14:00:26
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Applications/app_channelredirect
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:If you use app_channelredirect to direct a channel to a conference room and then join the conference room you get:

Jun 16 01:52:09 WARNING[30681]: channel.c:1470 ast_hangup: Hard hangup called by
thread 393239 on Zap/pseudo-353743279, while fd is blocked by thread 426009 in
procedure ast_waitfor_nandfds! Expect a failure

You subsequently get a crash when everyone hangs up.

HOW TO REPLICATE
-----------------

extensions.conf:

[sip]
exten => 123,1,Milliwatt

exten => 456,1,ChannelRedirect(SIP/10001-2DA3|meetme|1|1)
exten => 456,1,MeetMe(1001,dM)

[meetme]
exten => 1,1,MeetMe(1001,dM)

---

Sip/10001 dials into extension 123 and gets Milliwatt.

note the channel created (from the log), edit the extensions.conf and target it with channelredirect.

Dial into extension 456 which redirects Sip/10001 into meetme room 1001
On next line you should join Sip/10001 in meetme room 1001 (this is where you get the error come up)

I am off to Africa on a long expedition so may not be able to post any more than and won't be able to help test... sorry!
Comments:By: Tim Kelly (timkelly1980) 2006-06-17 09:07:37

Sorry SVN number = 30987

By: Serge Vecher (serge-v) 2006-06-19 09:32:05

Why do you have the same priority for these?
exten => 456,1,ChannelRedirect(SIP/10001-2DA3|meetme|1|1)
exten => 456,1,MeetMe(1001,dM)
second line should be either 456,2 or 456,n.

By: Serge Vecher (serge-v) 2006-06-19 09:39:37

also, as per BUG GUIDELINES, you need to attach a backtrace of a crashed Asterisk. Asterisk needs to be built with 'make dont-optimize' for that.

By: Tim Kelly (timkelly1980) 2006-06-19 14:24:20

Whoops, you are right there is a typo in my report:

should have been:

exten => 456,2,MeetMe(1001,dM)

(My real test did have this)

Sorry didn't post back-trace. I can't do this now as don't have access to a box for a few months.

By: Tilghman Lesher (tilghman) 2006-06-22 10:08:37

Suspended.  Please reopen when you have a backtrace to post.