[asterisk-bugs] [JIRA] (ASTERISK-22885) bridge/transfer_failure test failure

Kinsey Moore (JIRA) noreply at issues.asterisk.org
Mon Dec 16 08:13:04 CST 2013


     [ https://issues.asterisk.org/jira/browse/ASTERISK-22885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kinsey Moore closed ASTERISK-22885.
-----------------------------------

    Resolution: Fixed

Fix committed to the testsuite
                
> bridge/transfer_failure test failure
> ------------------------------------
>
>                 Key: ASTERISK-22885
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22885
>             Project: Asterisk
>          Issue Type: Bug
>          Components: Core/Bridging, Tests/testsuite
>    Affects Versions: 12.0.0-beta1
>            Reporter: Matt Jordan
>            Assignee: Kinsey Moore
>
> As seen here, the bridge/transfer_failure test fails (appropriately enough):
> https://bamboo.asterisk.org/bamboo/browse/AST-ATSF-C632TE-83/test/case/1410868
> This appears to be an issue in its CEL expected results and missing one of them:
> {noformat}
> [Nov 21 07:07:07] WARNING[18550]: ami:373 _stop_callback: Missed CEL requirement: {'extra': '.*16.*ANSWER.*/alice-.*', 'exten': 'alice_blind', 'calleriddnid': 'alice_blind', 'calleridnum': '1234', 'eventname': 'HANGUP', 'context': 'default', 'calleridname': 'Alice'}
> {noformat}
> In particular, it appears as if the 'extra' field does not match what is expected in the CEL definition:
> {noformat}
> [Nov 21 07:06:31] DEBUG[18550]: ami:118 __event_callback: Condition Event: CEL matches Event: CEL in event
> [Nov 21 07:06:31] DEBUG[18550]: ami:118 __event_callback: Condition Channel: SIP/alice-.* matches Channel: SIP/alice-00000000 in event
> [Nov 21 07:06:31] DEBUG[18550]: ami:348 event_callback: Received CEL event {'linkedid': '1385039179.0', 'appdata': '', 'extra': '{"dialstatus":"ANSWER","hangupcause":16,"hangupsource":"SIP/alice-00000000"}', 'exten': 'alice_blind', 'amaflags': 'DOCUMENTATION', 'calleridrdnis': '', 'event': 'CEL', 'calleriddnid': 'alice_blind', 'calleridnum': '1234', 'application': '', 'calleridname': 'Alice', 'privilege': 'call,all', 'channel': 'SIP/alice-00000000', 'eventtime': '2013-11-21 07:06:31', 'eventname': 'HANGUP', 'peeraccount': '', 'uniqueid': '1385039179.0', 'peer': '', 'accountcode': '', 'userfield': '', 'calleridani': '1234', 'context': 'default'}
> [Nov 21 07:06:31] DEBUG[18550]: ami:296 is_match: Skipping HANGUP - .*16.*ANSWER.*/alice-.* does not equal {"dialstatus":"ANSWER","hangupcause":16,"hangupsource":"SIP/alice-00000000"} for field extra
> [Nov 21 07:06:31] DEBUG[18550]: ami:353 event_callback: Dropping event HANGUP - next required event is HANGUP
> {noformat}
> And in the YAML:
> {noformat}
>             -
>                 match:
>                     EventName: 'HANGUP'
>                     CallerIDname: 'Alice'
>                     CallerIDnum: '1234'
>                     CallerIDdnid: 'alice_blind'
>                     Exten: 'alice_blind'
>                     Context: 'default'
>                     Extra: '.*16.*ANSWER.*/alice-.*'
>             -
> {noformat}
> There's a quote somewhere about regular expressions and now having two problems, but oh well.

--
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