[asterisk-users] What could be stopping "Disconnect Call" feature from working (set in features.txt)

Tony Mountifield tony at softins.co.uk
Wed Nov 9 06:32:30 CST 2016


In article <CAEebyNVUSCiCqvfySPVsgPnAPbbuBn_67TxjSk5j7Gm42+OYig at mail.gmail.com>,
Jonathan H <lardconcepts at gmail.com> wrote:
> Thank you - that makes sense. I've seen something about swapping and
> optimizing channels on the console, but I didn't realise "optimize"
> meant "not do what you wanted".
> 
> OK, so here's why I'm dialling anything at all:
> 
> The first dial is because I MUST limit the incoming call to less than
> 60 minutes.
> 
> The second dial, which carries the gH option, is because I want
> someone to be able to listen to a radio stream
> 
> >From previous discussion here, it seems the only way to do that is the
> gH workaround above.
> 
> If I'm not missing a trick here and there's no better way to do those
> to things, is there any way to force Asterisk to NOT "optimize" those
> channels?

Yes, append /n to the local channel:

same => n,Dial(Local/s at dial-test/n,3,L(3540000:60000))

Cheers
Tony
-- 
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org



More information about the asterisk-users mailing list