[asterisk-bugs] [JIRA] Commented: (ASTERISK-18639) Multiple Bridge Events Triggered Upon DTMF Key-Presses
Ben Langfeld (JIRA)
noreply at issues.asterisk.org
Mon Sep 24 03:57:27 CDT 2012
[ https://issues.asterisk.org/jira/browse/ASTERISK-18639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=197441#comment-197441 ]
Ben Langfeld commented on ASTERISK-18639:
-----------------------------------------
So what you are saying, Terry, is that one should not attempt to write software which consumes the AMI Bridge API because Asterisk is unwilling to present this API in such a way that deterministic software may be written against it? It may represent internal state, but it does not represent anything useful, which makes it a bug in my book.
> Multiple Bridge Events Triggered Upon DTMF Key-Presses
> ------------------------------------------------------
>
> Key: ASTERISK-18639
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-18639
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Core/ManagerInterface
> Affects Versions: 10.0.0-beta1, 10.0.0-beta2
> Environment: Ubuntu 11.04, 64bit
> Reporter: Michael Iedema
> Severity: Minor
>
> When the two legs of a call connect an initial Bridge.Link event is fired. Then, upon DTMF key-presses, Bridge.Unlink and Bridge.Link events are fired for each key-press. When the call is destroyed, the expected Bridge.Unlink event is fired.
> A complete trace of this behavior follows: 201 calls 202, presses 1, 2, 3, hangs up
> Response: Success
> Message: Authentication accepted
> Event: FullyBooted
> Privilege: system,all
> Status: Fully Booted
> Event: ExtensionStatus
> Privilege: call,all
> Exten: 201
> Context: internal
> Hint: SIP/201
> Status: 2
> Event: ExtensionStatus
> Privilege: call,all
> Exten: 202
> Context: internal
> Hint: SIP/202
> Status: 8
> Event: ExtensionStatus
> Privilege: call,all
> Exten: 202
> Context: internal
> Hint: SIP/202
> Status: 2
> Event: Bridge
> Privilege: call,all
> Bridgestate: Link
> Bridgetype: core
> Channel1: SIP/201-00000002
> Channel2: SIP/202-00000003
> Uniqueid1: 1317256274.2
> Uniqueid2: 1317256274.3
> CallerID1: 201
> CallerID2: 202
> Event: DTMF
> Privilege: dtmf,all
> Channel: SIP/202-00000003
> Uniqueid: 1317256274.3
> Digit: 1
> Direction: Received
> Begin: Yes
> End: No
> Event: Bridge
> Privilege: call,all
> Bridgestate: Unlink
> Bridgetype: core
> Channel1: SIP/201-00000002
> Channel2: SIP/202-00000003
> Uniqueid1: 1317256274.2
> Uniqueid2: 1317256274.3
> CallerID1: 201
> CallerID2: 202
> Event: DTMF
> Privilege: dtmf,all
> Channel: SIP/201-00000002
> Uniqueid: 1317256274.2
> Digit: 1
> Direction: Sent
> Begin: Yes
> End: No
> Event: Bridge
> Privilege: call,all
> Bridgestate: Link
> Bridgetype: core
> Channel1: SIP/201-00000002
> Channel2: SIP/202-00000003
> Uniqueid1: 1317256274.2
> Uniqueid2: 1317256274.3
> CallerID1: 201
> CallerID2: 202
> Event: DTMF
> Privilege: dtmf,all
> Channel: SIP/202-00000003
> Uniqueid: 1317256274.3
> Digit: 1
> Direction: Received
> Begin: No
> End: Yes
> Event: Bridge
> Privilege: call,all
> Bridgestate: Unlink
> Bridgetype: core
> Channel1: SIP/201-00000002
> Channel2: SIP/202-00000003
> Uniqueid1: 1317256274.2
> Uniqueid2: 1317256274.3
> CallerID1: 201
> CallerID2: 202
> Event: DTMF
> Privilege: dtmf,all
> Channel: SIP/201-00000002
> Uniqueid: 1317256274.2
> Digit: 1
> Direction: Sent
> Begin: No
> End: Yes
> Event: Bridge
> Privilege: call,all
> Bridgestate: Link
> Bridgetype: core
> Channel1: SIP/201-00000002
> Channel2: SIP/202-00000003
> Uniqueid1: 1317256274.2
> Uniqueid2: 1317256274.3
> CallerID1: 201
> CallerID2: 202
> Event: DTMF
> Privilege: dtmf,all
> Channel: SIP/202-00000003
> Uniqueid: 1317256274.3
> Digit: 2
> Direction: Received
> Begin: Yes
> End: No
> Event: Bridge
> Privilege: call,all
> Bridgestate: Unlink
> Bridgetype: core
> Channel1: SIP/201-00000002
> Channel2: SIP/202-00000003
> Uniqueid1: 1317256274.2
> Uniqueid2: 1317256274.3
> CallerID1: 201
> CallerID2: 202
> Event: DTMF
> Privilege: dtmf,all
> Channel: SIP/201-00000002
> Uniqueid: 1317256274.2
> Digit: 2
> Direction: Sent
> Begin: Yes
> End: No
> Event: Bridge
> Privilege: call,all
> Bridgestate: Link
> Bridgetype: core
> Channel1: SIP/201-00000002
> Channel2: SIP/202-00000003
> Uniqueid1: 1317256274.2
> Uniqueid2: 1317256274.3
> CallerID1: 201
> CallerID2: 202
> Event: DTMF
> Privilege: dtmf,all
> Channel: SIP/202-00000003
> Uniqueid: 1317256274.3
> Digit: 2
> Direction: Received
> Begin: No
> End: Yes
> Event: Bridge
> Privilege: call,all
> Bridgestate: Unlink
> Bridgetype: core
> Channel1: SIP/201-00000002
> Channel2: SIP/202-00000003
> Uniqueid1: 1317256274.2
> Uniqueid2: 1317256274.3
> CallerID1: 201
> CallerID2: 202
> Event: DTMF
> Privilege: dtmf,all
> Channel: SIP/201-00000002
> Uniqueid: 1317256274.2
> Digit: 2
> Direction: Sent
> Begin: No
> End: Yes
> Event: Bridge
> Privilege: call,all
> Bridgestate: Link
> Bridgetype: core
> Channel1: SIP/201-00000002
> Channel2: SIP/202-00000003
> Uniqueid1: 1317256274.2
> Uniqueid2: 1317256274.3
> CallerID1: 201
> CallerID2: 202
> Event: DTMF
> Privilege: dtmf,all
> Channel: SIP/202-00000003
> Uniqueid: 1317256274.3
> Digit: 3
> Direction: Received
> Begin: Yes
> End: No
> Event: Bridge
> Privilege: call,all
> Bridgestate: Unlink
> Bridgetype: core
> Channel1: SIP/201-00000002
> Channel2: SIP/202-00000003
> Uniqueid1: 1317256274.2
> Uniqueid2: 1317256274.3
> CallerID1: 201
> CallerID2: 202
> Event: DTMF
> Privilege: dtmf,all
> Channel: SIP/201-00000002
> Uniqueid: 1317256274.2
> Digit: 3
> Direction: Sent
> Begin: Yes
> End: No
> Event: Bridge
> Privilege: call,all
> Bridgestate: Link
> Bridgetype: core
> Channel1: SIP/201-00000002
> Channel2: SIP/202-00000003
> Uniqueid1: 1317256274.2
> Uniqueid2: 1317256274.3
> CallerID1: 201
> CallerID2: 202
> Event: DTMF
> Privilege: dtmf,all
> Channel: SIP/202-00000003
> Uniqueid: 1317256274.3
> Digit: 3
> Direction: Received
> Begin: No
> End: Yes
> Event: Bridge
> Privilege: call,all
> Bridgestate: Unlink
> Bridgetype: core
> Channel1: SIP/201-00000002
> Channel2: SIP/202-00000003
> Uniqueid1: 1317256274.2
> Uniqueid2: 1317256274.3
> CallerID1: 201
> CallerID2: 202
> Event: DTMF
> Privilege: dtmf,all
> Channel: SIP/201-00000002
> Uniqueid: 1317256274.2
> Digit: 3
> Direction: Sent
> Begin: No
> End: Yes
> Event: Bridge
> Privilege: call,all
> Bridgestate: Link
> Bridgetype: core
> Channel1: SIP/201-00000002
> Channel2: SIP/202-00000003
> Uniqueid1: 1317256274.2
> Uniqueid2: 1317256274.3
> CallerID1: 201
> CallerID2: 202
> Event: Bridge
> Privilege: call,all
> Bridgestate: Unlink
> Bridgetype: core
> Channel1: SIP/201-00000002
> Channel2: SIP/202-00000003
> Uniqueid1: 1317256274.2
> Uniqueid2: 1317256274.3
> CallerID1: 201
> CallerID2: 202
> Event: Cdr
> Privilege: cdr,all
> AccountCode:
> Source: 201
> Destination: 202
> DestinationContext: 201
> CallerID: "201" <201>
> Channel: SIP/201-00000002
> DestinationChannel: SIP/202-00000003
> LastApplication: Dial
> LastData: SIP/202,10
> StartTime: 2011-09-28 17:31:14
> AnswerTime: 2011-09-28 17:31:16
> EndTime: 2011-09-28 17:31:22
> Duration: 8
> BillableSeconds: 6
> Disposition: ANSWERED
> AMAFlags: DOCUMENTATION
> UniqueID: 1317256274.2
> UserField:
> Event: ExtensionStatus
> Privilege: call,all
> Exten: 202
> Context: internal
> Hint: SIP/202
> Status: 0
> Event: ExtensionStatus
> Privilege: call,all
> Exten: 201
> Context: internal
> Hint: SIP/201
> Status: 0
--
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