So, l have A call B, and B accept the call. Then B force closed the app, and l see in asterisk console that asterisk knows B’s endpoint is now unreachable and should be deleted, but asterisk never sent SIP BYE to A to let A know that B is no longer reachable. ls there some sort of configuration l can do to handle this corner case?
B is only unreachable for signalling. The media path may not even be through Asterisk, and may still be good. Asterisk doesn’t want to break a good media connection.
You can set short RTP timeouts to detect the loss of the media connection, if it is going through Asterisk.
If you do want a fall back to clear the call, you should enable session timers.
in case other people have the same need and wandered into this post, it is the “rtp_timeout” configuration under [endpoint] in pjsip.conf
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.