[asterisk-bugs] [JIRA] (ASTERISK-29603) res_pjsip: UPDATE/re-INVITE not sent when "timers=always" is specified in pjsip.conf

Trevor Peirce (JIRA) noreply at issues.asterisk.org
Tue Jun 7 01:41:49 CDT 2022


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

Trevor Peirce commented on ASTERISK-29603:
------------------------------------------

Just ran in to this with Asterisk 18.12.1 and independently came up with the same solution.  Exactly what is proposed in the description is the correct fix.  The pjsip library will not do any timer processing without PJSIP_INV_SUPPORT_TIMER being set.  So this is a prerequisite of PJSIP_INV_ALWAYS_USE_TIMER.

> res_pjsip: UPDATE/re-INVITE not sent when "timers=always" is specified in pjsip.conf
> ------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-29603
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29603
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 16.8.0
>         Environment: Debian 10.4
>            Reporter: Ray Crumrine
>            Severity: Major
>         Attachments: timers_handler.c
>
>
> When using pjsip.conf option "timers=always", asterisk function "timers_handler" does not set complete flag information before calling pjsip and as a result pjsip does not go into the uac mode and does not send sip UPDATES or re-INVITES.
> -The "required" state needs flag settings (PJSIP_INV_REQUIRE_TIMER | PJSIP_INV_SUPPORT_TIMER)-
> the "always" state needs flag settings (PJSIP_INV_ALWAYS_USE_TIMER | PJSIP_INV_SUPPORT_TIMER)



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



More information about the asterisk-bugs mailing list