[asterisk-bugs] [JIRA] (ASTERISK-18923) res_fax_spandsp usage counter is wrong

Niklas Larsson (JIRA) noreply at issues.asterisk.org
Thu Jan 31 06:44:58 CST 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-18923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=202429#comment-202429 ] 

Niklas Larsson commented on ASTERISK-18923:
-------------------------------------------

I have the same issue when using res_fax_spandsp in T38 gateway mode. Below are some info from asterisk:

{code}
sipgwdev*CLI> fax show sessions

Current FAX Sessions:

Channel              Tech       FAXID      Type  Operation  State           File(s)                       
SIP/siptrunk01-gw-00 Spandsp    11         none  gateway    Active                                        
SIP/siptrunk01-gw-00 Spandsp    3          none  gateway    Active                                        
SIP/siptrunk03-gw-00 Spandsp    15         none  gateway    Active                                        
SIP/siptrunk03-gw-00 Spandsp    7          none  gateway    Active                                        
SIP/siptrunk01-gw-00 Spandsp    19         none  gateway    Active                                        

5 FAX sessions

sipgwdev*CLI> sip show ch
channels      channelstats  channel       
sipgwdev*CLI> sip show channels
channels      channelstats  
sipgwdev*CLI> sip show channels
Peer             User/ANR         Call ID          Format           Hold     Last Message    Expiry     Peer      
0 active SIP dialogs
sipgwdev*CLI> core show ch
channel       channels      channeltypes  channeltype   
sipgwdev*CLI> core show channels 
Channel              Location             State   Application(Data)             
0 active channels
0 active calls
27 calls processed
sipgwdev*CLI> core show version 
Asterisk SVN-branch-10-r379777 built by root @ sipgwdev on a x86_64 running Linux on 2013-01-30 09:29:54 UTC
sipgwdev*CLI> fax show version 
FAX For Asterisk Components:
	Applications: SVN-branch-10-r379777
	Spandsp FAX Driver: 20110122 075024
{code}
                
> res_fax_spandsp usage counter is wrong
> --------------------------------------
>
>                 Key: ASTERISK-18923
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-18923
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_fax_spandsp
>    Affects Versions: 1.8.7.1
>            Reporter: Grigoriy Puzankin
>            Severity: Minor
>         Attachments: Screen Shot 2012-12-17 at 2.17.33 PM copy.png
>
>
> When I send fax using SendFAX (from res_fax_spandsp) it increases module usage counter by 2. When fax completes it decreases module usage by 1. So after each iteration counter grows by 1.
> {noformat}
> Module                         Description                              Use Count
> res_fax.so                     Generic FAX Applications                 1         
> res_fax_spandsp.so             Spandsp G.711 and T.38 FAX Technologies  11        
> 2 modules loaded
> Current FAX Sessions:
> Channel              Tech       FAXID      Type  Operation  State           File(s)                       
> 0 FAX sessions
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list