[asterisk-bugs] [JIRA] (ASTERISK-30189) chan_pjsip: rtptimeout doesn't work at all when using Stasis Application

Mikhail (JIRA) noreply at issues.asterisk.org
Tue Aug 23 08:27:09 CDT 2022


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

Mikhail commented on ASTERISK-30189:
------------------------------------

extensions.conf

[task_service] -- rtp_timeout not working
exten => _X.,1,NoOp(Call from ${CALLERID(num)} for task ${EXTEN})
 same => n,Stasis(TaskServiceApp,callId:${PJSIP_HEADER(read,Call-ID)})
 same  => n,Hangup()
 
[task_service_test] - rtp_timeout work
exten=>_X.,1,dial(PJSIP/Tom,10)

> chan_pjsip: rtptimeout doesn't work at all when using Stasis Application
> ------------------------------------------------------------------------
>
>                 Key: ASTERISK-30189
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30189
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/RTP, Core/Stasis
>    Affects Versions: 18.0.0
>            Reporter: Mikhail
>            Assignee: Unassigned
>            Severity: Major
>         Attachments: debug
>
>
> Setting rtptimeout in PJSIP Conf is supposed to terminate the call when no RTP Information was received after a certain time
> Test Procedure:
>     Setup an extension throwing into a StasisApp
>     Have the StasisApp make the channel join a bridge
>     Abruptly cut the PJSIP/RTP client through a SIGKILL or network connectivity loss
> Expected Result:
> Asterisk detects the lack of RTP traffic and terminates the call after the set timeout, notifying in Console, and the ARI Application via StasisEnd/ChannelLeftBridge/ChannelDestroyed
> Actual Result:
> Nothing happens, call goes on despite receiving no data



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



More information about the asterisk-bugs mailing list