[asterisk-bugs] [Asterisk 0011753]: app_channelredirect relies on ast_parseable_goto which fails to redirect channels
noreply at bugs.digium.com
noreply at bugs.digium.com
Mon Feb 18 09:43:35 CST 2008
The following issue has been ASSIGNED.
======================================================================
http://bugs.digium.com/view.php?id=11753
======================================================================
Reported By: johan
Assigned To: file
======================================================================
Project: Asterisk
Issue ID: 11753
Category: Applications/app_channelredirect
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!): 98558
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 01-12-2008 16:43 CST
Last Modified: 02-18-2008 09:43 CST
======================================================================
Summary: app_channelredirect relies on ast_parseable_goto
which fails to redirect channels
Description:
It seems like ChannelRedirect isn't working very well in trunk. I patched
ChannelRedirect to report the status in bug 0011553 for asterisk
1.4-trunk.
When I was porting this patch to trunk I stumbled on this issue.
The source av ast_parseable_goto that seems to fail even if there is a
vaild channel and destination. I have tested the following scenarious:
I place call http://bugs.digium.com/view.php?id=1 in either MusicOnHold(),
Meetme(), Playback() then I've a
call http://bugs.digium.com/view.php?id=2 that makes a
Channelredirect(call-numer-1-channelname,newcontext,newexten,1)
This always fails.
However if you do a core show channels after this unsucessful redirect you
will se:
Channel Location State Application(Data)
Zap/pseudo-598993578 s at default:1 Rsrvd (None)
SIP/callnumer1-08222 s at newcontext:0 Up MeetMe(1,dm)
Note the newcontext:0...
And in the case you redirect channel http://bugs.digium.com/view.php?id=1 where
it does a Playback() the
redirect will occur after the Playback is finished. This will not happen
with the other applications thou.
Maybe I'm making a misstake, but this confuses me a lot...
======================================================================
----------------------------------------------------------------------
svnbot - 02-18-08 09:43
----------------------------------------------------------------------
Repository: asterisk
Revision: 103765
U trunk/apps/app_channelredirect.c
U trunk/include/asterisk/pbx.h
U trunk/main/pbx.c
------------------------------------------------------------------------
r103765 | file | 2008-02-18 09:43:33 -0600 (Mon, 18 Feb 2008) | 4 lines
Add an API call (ast_async_parseable_goto) which parses a goto string and
does an async goto instead of an explicit goto.
(closes issue http://bugs.digium.com/view.php?id=11753)
Reported by: johan
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=103765
Issue History
Date Modified Username Field Change
======================================================================
02-18-08 09:43 svnbot Note Added: 0082472
02-18-08 09:43 svnbot Status confirmed => assigned
======================================================================
More information about the asterisk-bugs
mailing list