[asterisk-bugs] [JIRA] (ASTERISK-28634) Invite loop within PJSIP

George Joseph (JIRA) noreply at issues.asterisk.org
Tue Feb 11 14:04:25 CST 2020


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

George Joseph commented on ASTERISK-28634:
------------------------------------------

OK, I was able to reproduce this...

We believe what was happening was either the original caller or the outbound carrier was sending media in a format that wasn't actually negotiated.  When that happens, Asterisk tries to send a re-invite with a new SDP offer to get the topologies synchronized.  Since the carrier just kept sending the same SDP answer back the topologies could never be synchronized hence the loop.   The good news is that the loop was fixed in Asterisk 17.1.

I'm closing this issue for now but if, after upgrading to 17.1 or 17.2, the loop continues, you can re-open the issue just by commenting in it.




> Invite loop within PJSIP
> ------------------------
>
>                 Key: ASTERISK-28634
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28634
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 17.0.0
>         Environment: Asterisk 17.0.0 with bundled PJSIP on Debian Buster
>            Reporter: Joeran Vinzens
>            Assignee: Joeran Vinzens
>         Attachments: asterisk.conf, asterisk_invite_loop_other_side.pcap, invite_loop_small.pcap, pjsip.conf, rtp.conf, Screenshot from 2019-11-26 10-19-59.png, sipp_scenario.tar.xz
>
>
> Fom time to time we can see traffic increase on out Asterisk Systems. After some debugging we see the Asterisk send kind of an Invite loop over and over. Since there is no way to deny re-invites in PJSIP there is no way out of it. From asterisk perspective it sends these re-invites as fast as it can which result in an increase of 3MBit/s of signalling traffic from this maschine. So far we do not know how to reproduce the issue but we captured the scenario from our production system. (trace attached) the Asterisk log itself just tells us the Invite is going out but nothing further. There was no trigger on the other call-leg.



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



More information about the asterisk-bugs mailing list