[asterisk-bugs] [JIRA] (ASTERISK-28096) pjsip: PJPROJECT 2.8 causes test failure

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Fri Oct 26 17:42:47 CDT 2018


    [ https://issues.asterisk.org/jira/browse/ASTERISK-28096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=245282#comment-245282 ] 

Kevin Harwell commented on ASTERISK-28096:
------------------------------------------

A patch that went out in 2.8 was made to pjsua that made it so the TCP transport is now defaulted if both UDP and TCP are enabled. This caused test failures in those testsuite tests that used pjsua via a subprocess as endpoints as they were expected to use UDP. Passing '--no-tcp' as a command line should suffice to fix these tests.

However, in the chanspy_barge test I ended up rewriting it to remove the pjsua dependency altogether as the test didn't really need to use pjsua (or any external endpoint) at all (could just use local channels).

> pjsip: PJPROJECT 2.8 causes test failure
> ----------------------------------------
>
>                 Key: ASTERISK-28096
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28096
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: pjproject/pjsip
>    Affects Versions: 13.24.0, GIT, 15.7.0, 16.1.0
>            Reporter: Corey Farrell
>            Assignee: Kevin Harwell
>              Labels: pjsip
>
> {{tests/apps/chanspy/chanspy_barge}} has been locking up lately.  I've determined this is caused by the patches \[1\] which upgraded to pjproject-2.8.  Reverting the two patches allows the chanspy_barge test to pass (it takes 11 seconds).  Tested against 13.
> \[1\]: https://gerrit.asterisk.org/#/q/status:merged+topic:ASTERISK-28059



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list