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

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Wed Sep 27 11:27:09 CDT 2017


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

Richard Mudgett updated ASTERISK-27298:
---------------------------------------

    Status: Open  (was: Triage)

> 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
>
> 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