chan_lcr: Fixed automagic 's' extension and made pickup work.
authorPeter Schlaile <root@asterisk.schlaile.de>
Sat, 25 Oct 2008 16:44:31 +0000 (18:44 +0200)
committerroot <root@asterisk.schlaile.de>
Sat, 25 Oct 2008 16:44:31 +0000 (18:44 +0200)
commit6c4b239a3a278a8e4aa1d5c6ac18d0894f997c44
tree30fe9a25338b638797ecd5b2057fc3c88a79bd99
parent122a9b232937a3c8dcf791165f6db67c357fd1bf
chan_lcr: Fixed automagic 's' extension and made pickup work.

Last commit by Andreas changed matching semantics to make it possible
to go directly into the dialplan _without_ dialing any digits by implicitly
dialing the 's' extension.

That is fine, if there is one to match :)

If we do not find an implicit 's' extension, we will wait for more digits
instead of hanging up immediately. (If you _really_ depended on that 'feature'
please add s => { Hangup(); } :)

Pickup: the pickup application can be used with PICKUPMARK to match
a channel, that is in RINGING state. Unfortunately, one has to explicitly
use ast_setstate() in addition to ast_queue_event() to convince asterisk
to change the channel state...

=> Pickup works now.
chan_lcr.c