Make SIP tests compile again.
authorRichard Mudgett <rmudgett@digium.com>
Tue, 8 Jun 2010 00:45:13 +0000 (00:45 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 8 Jun 2010 00:45:13 +0000 (00:45 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@268857 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/sip/dialplan_functions.c

index 23e70c1..d39a277 100644 (file)
@@ -279,8 +279,8 @@ AST_TEST_DEFINE(test_sip_rtpqos_1)
        } lookup[] = {
                { "txcount",               INT, { .i4 = &mine.txcount, }, },
                { "rxcount",               INT, { .i4 = &mine.rxcount, }, },
-               { "txjitter",              INT, { .i4 = &mine.txjitter, }, },
-               { "rxjitter",              INT, { .i4 = &mine.rxjitter, }, },
+               { "txjitter",              DBL, { .d8 = &mine.txjitter, }, },
+               { "rxjitter",              DBL, { .d8 = &mine.rxjitter, }, },
                { "remote_maxjitter",      DBL, { .d8 = &mine.remote_maxjitter, }, },
                { "remote_minjitter",      DBL, { .d8 = &mine.remote_minjitter, }, },
                { "remote_normdevjitter",  DBL, { .d8 = &mine.remote_normdevjitter, }, },
@@ -299,7 +299,7 @@ AST_TEST_DEFINE(test_sip_rtpqos_1)
                { "local_minrxploss",      DBL, { .d8 = &mine.local_minrxploss, }, },
                { "local_normdevrxploss",  DBL, { .d8 = &mine.local_normdevrxploss, }, },
                { "local_stdevrxploss",    DBL, { .d8 = &mine.local_stdevrxploss, }, },
-               { "rtt",                   INT, { .i4 = &mine.rtt, }, },
+               { "rtt",                   DBL, { .d8 = &mine.rtt, }, },
                { "maxrtt",                DBL, { .d8 = &mine.maxrtt, }, },
                { "minrtt",                DBL, { .d8 = &mine.minrtt, }, },
                { "normdevrtt",            DBL, { .d8 = &mine.normdevrtt, }, },