[asterisk-bugs] [JIRA] (ASTERISK-27276) pjsip crash given aoi with no contacts

Richard Frith-Macdonald (JIRA) noreply at issues.asterisk.org
Fri Sep 15 09:09:08 CDT 2017


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

Richard Frith-Macdonald commented on ASTERISK-27276:
----------------------------------------------------

I just noticed a typo.  It's 'contact' not 'contacts'.
The crash occurs if
contact=...
is omitted from the aor.

Just in case it's relevant, this is making a call out using ARI where the 'endpoint' parameter to the ARI request is of the form PJSIP/123456 at endpointname

> pjsip crash given aoi with no contacts
> --------------------------------------
>
>                 Key: ASTERISK-27276
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27276
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 14.6.0
>         Environment: CentOS-7
>            Reporter: Richard Frith-Macdonald
>            Assignee: Richard Frith-Macdonald
>            Severity: Minor
>
> When attempting to dial out using a pjsipo endpoint whose aor section does not have a 'contacts'  value set, I get this crash:
> asterisk: ../src/pjsip/sip_auth_client.c:507: pj_status_t pjsip_auth_clt_deinit(pjsip_auth_clt_sess *): Assertion `sess && sess->endpt' failed.
> Aborted (core dumped)
> I found this when I accidentally deleted the contacts line from pjsiop.conf. ... it seems to be reliably reproducable.



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



More information about the asterisk-bugs mailing list