My configuration is as follows:
- One extension at 100.
- A queue at 200
- A confbridge-conference at 300
- I have only this simple configuration, no SIP-trunks etc configured.
SIP-softphone at extension 100 calls to queue at 200 and gets connected there as expected. Then I wish to transfer the caller from the queue to the conference at 300. I’m trying to do this with the Asterisk Java-API using the AsteriskChannel.redirect-method, but the caller gets disconnected every time.
What could be the problem? Should this be possible?
EDIT1: Running Asterisk v11.7.0, maybe this is a bug in this version?
EDIT2: On the Asterisk LOG I see text like this:
[2014-11-18 07:43:55] VERBOSE[C-00000007] pbx.c: == Spawn extension (300, default, 1) exited non-zero on ‘SIP/100-00000007’
[2014-11-18 07:43:55] WARNING[C-00000007] pbx.c: Channel ‘SIP/100-00000007’ sent to invalid extension but no invalid handler: context,exten,priority=300,default,1
So, is the conference extension 300 an invalid extension for transfer purposes?