[asterisk-dev] [Code Review] Add bridge tests to check transfer capabilites
jrose
reviewboard at asterisk.org
Fri Feb 8 15:48:38 CST 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2268/#review7823
-----------------------------------------------------------
I think this miiiiight need a little work.
Still needs CDR generation. I was under the impression that we figured out that your problem just stemmed from something silly like configs being copied from your /etc/asterisk directory... (which is a problem with the testsuite, but easy enough to work around) or am I just bonkers? I'm getting CDRs from this, but I'm only getting them for one call. Going by the yaml, it looks like there are four sepearte calls in the bridge-config.
Looking through your CEL expectations though, that makes sense. You only have one LINKEDID_END in there, which I think would imply that you only wrote up CEL logs for one of the four calls I'd expect.
I received this failure from the CEL log.
[Feb 08 15:37:59] WARNING[26102]: TestCase:363 __reactor_timeout: Reactor timeout: '30' seconds
[Feb 08 15:38:04] WARNING[26102]: astcsv:64 match: CSV MATCH FAILED, Expected: eventextra: '16,,' Got: eventextra: '16,SIP/bob-00000001,'
[Feb 08 15:38:04] WARNING[26102]: astcsv:185 match: Failed to match entry 7
Checking the CEL logs everything appeared in order aside from that one mismatch. I'm not quite sure why the reactor is timing out, but I suspect the call isn't being hung up properly after the transfer, so the bridge module never moves on past the first call. I don't really know why this would be passing on your end if that's the case though. This seems really weird.
asterisk/trunk/tests/bridge/transfer_capabilities/test-config.yaml
<https://reviewboard.asterisk.org/r/2268/#comment14841>
meh, whitespace.
- jrose
On Jan. 23, 2013, 1:15 p.m., opticron wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/2268/
> -----------------------------------------------------------
>
> (Updated Jan. 23, 2013, 1:15 p.m.)
>
>
> Review request for Asterisk Developers.
>
>
> Summary
> -------
>
> Test blind and attended transfers from Alice and Bob to ensure that the "T" and "t" options allow the correct parties to perform transfers when used from the Dial application and from BRIDGE_FEATURES.
>
>
> This addresses bug SWP-5268.
> https://issues.asterisk.org/jira/browse/SWP-5268
>
>
> Diffs
> -----
>
> asterisk/trunk/tests/bridge/tests.yaml 3617
> asterisk/trunk/tests/bridge/transfer_capabilities/configs/ast1/extensions.conf PRE-CREATION
> asterisk/trunk/tests/bridge/transfer_capabilities/test-config.yaml PRE-CREATION
>
> Diff: https://reviewboard.asterisk.org/r/2268/diff
>
>
> Testing
> -------
>
>
> Thanks,
>
> opticron
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130208/d756c213/attachment.htm>
More information about the asterisk-dev
mailing list