[Asterisk-Dev] Adding extension information to queue log

Steven Critchfield critch at basesys.com
Wed Aug 4 19:27:47 MST 2004


On Wed, 2004-08-04 at 17:59, Ilia Alshanetsky wrote:
> Hello,
> 
> I am trying to modify the app_queue.c to log the information regarding the 
> extension/phone number of the person who has picked up the line. So far my 
> attempts have yielded no results on no valid values. I've tried access the 
> current extension via qe->chan->exten and several other structures.
> 
> Could anyone please clarify how (if at all) this information can be accessed?

Maybe it would help to realize that a phone may have many extensions and
therefore the closest you will get probably is just the channel.
-- 
Steven Critchfield <critch at basesys.com>




More information about the asterisk-dev mailing list