[asterisk-app-dev] AMI: duplicate events

jg webaccounts at jgoettgens.de
Wed Oct 16 16:29:05 CDT 2013


Whenever 2 channels form a bridge, I see a duplicate pair of "Bridge" events (Asterisk 11.5.1), like

Event: Bridge
Privilege: call,all
Bridgestate: Link
Bridgetype: core
Channel1: SIP/Sn370-0000002a
Channel2: Local/voicemailmain at from-internal-00000008;1
Uniqueid1: 1381958063.58
Uniqueid2: 1381958063.59
CallerID1: *7001
CallerID2: asterisk

Event: Bridge
Privilege: call,all
Bridgestate: Unlink
Bridgetype: core
Channel1: SIP/Sn370-0000002a
Channel2: Local/voicemailmain at from-internal-00000008;1
Uniqueid1: 1381958063.58
Uniqueid2: 1381958063.59
CallerID1: *7001
CallerID2: asterisk

Event: Bridge
Privilege: call,all
Bridgestate: Link
Bridgetype: core
Channel1: SIP/Sn370-0000002a
Channel2: Local/voicemailmain at from-internal-00000008;1
Uniqueid1: 1381958063.58
Uniqueid2: 1381958063.59
CallerID1: *7001
CallerID2: asterisk

...

Event: SoftHangupRequest
Privilege: call,all
Channel: Local/voicemailmain at from-internal-00000008;2
Uniqueid: 1381958063.60
Cause: 16

Event: Hangup
Privilege: call,all
Channel: Local/voicemailmain at from-internal-00000008;2
Uniqueid: 1381958063.60
CallerIDNum: *7001
CallerIDName: Snom 370 öäü
ConnectedLineNum: asterisk
ConnectedLineName: <unknown>
AccountCode:
Cause: 0
Cause-txt: Unknown

Event: Bridge
Privilege: call,all
Bridgestate: Unlink
Bridgetype: core
Channel1: SIP/Sn370-0000002a
Channel2: Local/voicemailmain at from-internal-00000008;1
Uniqueid1: 1381958063.58
Uniqueid2: 1381958063.59
CallerID1: *7001
CallerID2: asterisk

The "Bridge" events are symmetric with respect to "Link" and "Unlink", but initially there is a 
quick "Link" and "Unlink" that does not seem to serve any purpose.

Is this an artifact of the manager interface?

jg



More information about the asterisk-app-dev mailing list