[asterisk-bugs] [JIRA] (ASTERISK-24464) [patch]ICE Candidates Gathering causes abort in pjproject code due to too small network interface array size

Sean Bright (JIRA) noreply at issues.asterisk.org
Wed Feb 15 11:36:10 CST 2017


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

Sean Bright commented on ASTERISK-24464:
----------------------------------------

The assertion failure is pretty odd as well. It implies that {{pj_ice_sess_create_check_list}} was not called, which it was. What version of pjsip were/are you using?

Try setting {{PJ_ICE_MAX_CAND}} to {{64}} in your {{config_site.h}} when compiling pjsip and then apply your patch to Asterisk and see if that works.

> [patch]ICE Candidates Gathering causes abort in pjproject code due to too small network interface array size
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-24464
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24464
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_rtp_asterisk
>    Affects Versions: 11.13.0
>         Environment: Linux
>            Reporter: Andreas Steinmetz
>         Attachments: abort_pjproject.txt, ice-candidates-length.patch
>
>
> The array size for network gathering for the ice candidates list  is too small (16). This can cause the required candidates not to be included which lateron triggers a pjproject abort.
> Thinking of VLANs and that every network interface has typically at least two addresses an array size of 64 seems to be more reasonable.



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



More information about the asterisk-bugs mailing list