[asterisk-bugs] [JIRA] Created: (ASTERISK-20321) Use a unique sequence number instead of random number generation for Local Channel names

Matt Jordan (JIRA) noreply at issues.asterisk.org
Mon Aug 27 07:15:07 CDT 2012


Use a unique sequence number instead of random number generation for Local Channel names
----------------------------------------------------------------------------------------

                 Key: ASTERISK-20321
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20321
             Project: Asterisk
          Issue Type: Improvement
      Security Level: None
          Components: Resources/res_agi
    Affects Versions: 10.3.1, 10.7.0
         Environment: Debian 64 bit, virtual machine, SIP.
            Reporter: Dan Cropp
            Assignee: Dan Cropp
            Severity: Minor


We are using AMI and during load testing we occasionally see two calls with the same channelname.  
For the load test, we originate calls to ourselves.  Basically a loop back.  We go through a few thousand calls before encountering a case where the channel name matches another channel name.

We decided to use the UniqueId for identification purposes.  This works great for the calls.  However, since we are using AsyncAGI, we rely on the AsyncAGI related events to also have the UniqueId.
The channel's uniqueid is not included in the "AsyncAGI" and "AGIExec" events.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list