[asterisk-bugs] [JIRA] (ASTERISK-24224) When using Bridge() dialplan application, surrogate channel appears in list and call count is inflated.
Matt Jordan (JIRA)
noreply at issues.asterisk.org
Mon Oct 20 11:35:48 CDT 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-24224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Jordan updated ASTERISK-24224:
-----------------------------------
Target Release Version/s: 13.0.0-beta3
> When using Bridge() dialplan application, surrogate channel appears in list and call count is inflated.
> -------------------------------------------------------------------------------------------------------
>
> Key: ASTERISK-24224
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-24224
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Affects Versions: 12.4.0, 13.0.0-beta1
> Reporter: Mark Michelson
> Assignee: Richard Mudgett
> Severity: Minor
> Target Release: 13.0.0-beta3
>
>
> Perform the following steps:
> # Set up two phones and corresponding configuration in the appropriate channel driver. I used PJSIP/203 and PJSIP/205
> # Add the following to your dialplan:
> {noformat}
> [default]
> exten => 300,1,Answer()
> exten => 300,n,Echo()
> exten => 301,1,Answer
> exten => 301,1,Bridge(PJSIP/205)
> {noformat}
> # Have PJSIP/205 call extension 300.
> # Have PJSIP/203 call extension 301.
> # Issue {{core show channels}} on the CLI. This is how mine looked
> {noformat}
> *CLI> core show channels
> Channel Location State Application(Data)
> Surrogate/PJSIP/205- (None) Down ()
> PJSIP/203-00000001 (None) Up Bridge(PJSIP/205,F)
> PJSIP/205-00000000 (None) Up ()
> 2 active channels
> 1 active call
> 2 calls processed
> {noformat}
> Notice the Surrogate channel listed? Asterisk reports only having two active channels, but three are listed.
> # Hang up either phone.
> # Issue another {{core show channels}}. This is how mine looked:
> {noformat}
> *CLI> core show channels
> Channel Location State Application(Data)
> 0 active channels
> 0 active calls
> 3 calls processed
> {noformat}
> Notice how hanging up the call has increased the number of calls processed from 2 to 3.
> While I don't necessarily expect the call count to be a priority, seeing the surrogate channel in the output of core show channels is ungood.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list