[asterisk-bugs] [JIRA] (ASTERISK-21384) Unique ID Call Count Increasing By 2

Ross Beer (JIRA) noreply at issues.asterisk.org
Fri Apr 5 17:09:01 CDT 2013


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

Ross Beer commented on ASTERISK-21384:
--------------------------------------

I agree with you, however I have been using the call count which follows the unique id to load balance between PSTN gateways. 

The code I use does a modal operation using this count to select the PSTN gateway. However the count is always even which means that the same gateway is selected. For example:

sip08-1365195942.0
sip08-1365196042.2
sip08-1365196057.4
sip08-1365196073.6

The above calls are 'inbound <=> outbound' bridges, therefore should only increase the call count by one. 'core show channels verbose' show 4 calls as expected.

I have substituted 'EPOCH' instead of the call count, however if calls are passed in the same second calls go to the same gateway, instead of being balanced correctly. 

I can't find any other variable that changes per call.
                
> Unique ID Call Count Increasing By 2
> ------------------------------------
>
>                 Key: ASTERISK-21384
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21384
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/General
>    Affects Versions: 1.8.21.0, 11.3.0
>            Reporter: Ross Beer
>            Severity: Critical
>
> The channel count and sequence numbers are increasing by 2 for each call. 
> 'core show channels' shows half the call count of the unique id '.45345' call count. This happens with every single call where as it should only increase by one to give an accurate call count. 
> This variable is needed in our application.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list