[asterisk-bugs] [Asterisk 0011864]: [PATCH] Device state is incorrect on incoming call on FXO channel

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Feb 18 14:39:44 CST 2008


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=11864 
====================================================================== 
Reported By:                julianjm
Assigned To:                jpeeler
====================================================================== 
Project:                    Asterisk
Issue ID:                   11864
Category:                   Channels/chan_zap
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 100933 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             01-29-2008 12:04 CST
Last Modified:              02-18-2008 14:39 CST
====================================================================== 
Summary:                    [PATCH] Device state is incorrect on incoming call
on FXO channel
Description: 
On an incoming call over an FXO port (FXS signalling), the device state is
always Idle until the PBX answers the call. It should show "InUse".
The problem is that the channel is created directly with AST_STATE_RING
state. Because ast_setstate() is not called again for this channel until
answered (or hung up), the device state isn't updated accordingly.

The attached patch fixes this. 

A phone with BLF will show a solid led as soon as a call enters the
watched channel.
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-18-08 14:39  russell        Status                   new => assigned     
02-18-08 14:39  russell        Assigned To               => jpeeler         
======================================================================




More information about the asterisk-bugs mailing list