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

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


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

Friendly Automation commented on ASTERISK-27298:
------------------------------------------------

Change 6613 merged by Jenkins2:
res_pjsip_outbound_publish.c: Fix misplaced parenthesis.

[https://gerrit.asterisk.org/6613|https://gerrit.asterisk.org/6613]

> 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