Rejecting duplicate SIP calls

M
mscdexdotexe
Wed, Mar 28, 2018 1:16 AM

Hello,

Is it possible to have pjsip/pjsua reject INVITEs with the same Call-ID as
an existing, established call? Currently we're noticing that pjsip is
happily accepting such duplicate INVITEs. I'd prefer there to just be a
setting to toggle such behavior, but I cannot even see an efficient way of
manually looking up each call to check for duplicates to reject such
INVITEs.

Hello, Is it possible to have pjsip/pjsua reject INVITEs with the same Call-ID as an existing, established call? Currently we're noticing that pjsip is happily accepting such duplicate INVITEs. I'd prefer there to just be a setting to toggle such behavior, but I cannot even see an efficient way of manually looking up each call to check for duplicates to reject such INVITEs.
LM
Landman, Marcel (Comms & Control Solutions)
Wed, Mar 28, 2018 9:00 AM

Sounds to me like correct behaviour. SIP is expected to run on an unreliable transport so duplicate invites will receive duplicate responses. You don't want to give two different answers to the same question. Are you experiencing any problems due to the duplicates?


From: pjsip pjsip-bounces@lists.pjsip.org on behalf of mscdexdotexe mscdex@mscdex.net
Sent: 28 March 2018 02:16:13
To: pjsip@lists.pjsip.org
Subject: [pjsip] Rejecting duplicate SIP calls

Hello,

Is it possible to have pjsip/pjsua reject INVITEs with the same Call-ID as an existing, established call? Currently we're noticing that pjsip is happily accepting such duplicate INVITEs. I'd prefer there to just be a setting to toggle such behavior, but I cannot even see an efficient way of manually looking up each call to check for duplicates to reject such INVITEs.

This message has been scanned by Capita’s systems, but if you believe it to be spam then click herehttps://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ== to report this email as spam.

This email is security checked and subject to the disclaimer on web-page: http://www.capita.co.uk/email-disclaimer.aspx

Sounds to me like correct behaviour. SIP is expected to run on an unreliable transport so duplicate invites will receive duplicate responses. You don't want to give two different answers to the same question. Are you experiencing any problems due to the duplicates? ________________________________ From: pjsip <pjsip-bounces@lists.pjsip.org> on behalf of mscdexdotexe <mscdex@mscdex.net> Sent: 28 March 2018 02:16:13 To: pjsip@lists.pjsip.org Subject: [pjsip] Rejecting duplicate SIP calls Hello, Is it possible to have pjsip/pjsua reject INVITEs with the same Call-ID as an existing, established call? Currently we're noticing that pjsip is happily accepting such duplicate INVITEs. I'd prefer there to just be a setting to toggle such behavior, but I cannot even see an efficient way of manually looking up each call to check for duplicates to reject such INVITEs. This message has been scanned by Capita’s systems, but if you believe it to be spam then click here<https://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ==> to report this email as spam. This email is security checked and subject to the disclaimer on web-page: http://www.capita.co.uk/email-disclaimer.aspx