[asterisk-bugs] [JIRA] (ASTERISK-27298) Problem with expires on pjsip / outbound-publish

Friendly Automation (JIRA) noreply at issues.asterisk.org
Wed Sep 27 20:08:10 CDT 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-27298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Friendly Automation closed ASTERISK-27298.
------------------------------------------

    Resolution: Fixed

> Problem with expires on pjsip / outbound-publish
> ------------------------------------------------
>
>                 Key: ASTERISK-27298
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27298
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip_outbound_publish
>    Affects Versions: 14.6.2
>            Reporter: Cyrille Demaret
>            Assignee: Richard Mudgett
>
> Hi,
> There's a typo in res_pjsip_outbound_publish.c which cause Asterisk to always send an expires of 1 on PUBLISH.
> around the line 987 :
> {code}
> if (pjsip_publishc_init(publisher->client, &event, &server_uri, &from_uri, &to_uri,
>         publish->expiration != PJ_SUCCESS)) {
> {code}
> it should be :
> {code}
> if (pjsip_publishc_init(publisher->client, &event, &server_uri, &from_uri, &to_uri,
>         publish->expiration) != PJ_SUCCESS) {
> {code}
> Regards,
> Cyrille



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



More information about the asterisk-bugs mailing list