[asterisk-bugs] [JIRA] (ASTERISK-27298) Problem with expires on pjsip / outbound-publish
Cyrille Demaret (JIRA)
noreply at issues.asterisk.org
Wed Sep 27 08:40:08 CDT 2017
Cyrille Demaret created ASTERISK-27298:
------------------------------------------
Summary: 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 :
if (pjsip_publishc_init(publisher->client, &event, &server_uri, &from_uri, &to_uri,
publish->expiration != PJ_SUCCESS)) {
it should be :
if (pjsip_publishc_init(publisher->client, &event, &server_uri, &from_uri, &to_uri,
publish->expiration) != PJ_SUCCESS) {
Regards,
Cyrille
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list