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

Joeran Vinzens (JIRA) noreply at issues.asterisk.org
Mon Dec 16 03:55:33 CST 2019


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

Joeran Vinzens commented on ASTERISK-28634:
-------------------------------------------

This was a misunderstanding i guess.

The Trace "asterisk_invite_loop_other_side.pcap" is the incoming Call to the asterisk. IN this case we got this call from an inbound carrier.
The first Trace I attached "invite_loop_small.pcap" is the call leg to the customer. Here we can see the messages from the asterisk to an internal loadbalancer (kamailio). From there out to the costumer i can see the re-Invites. Our customer get all of the messages you can see in the trace "invite_loop_small.pcap".

Even if the kamailio would block the messages it would be a problem. In total we have about 100+ Asterisk instances and if all of them were Asterisk 17 we would see this issue all over the place and than the kamailio would get in trouble.


> 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
>         Attachments: asterisk_invite_loop_other_side.pcap, invite_loop_small.pcap, pjsip.conf, Screenshot from 2019-11-26 10-19-59.png
>
>
> 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