Page 1 of 1

ViciDial Sending Double Invites

PostPosted: Sat Apr 27, 2024 6:50 pm
by mshoaib
Hi,
I've came across an issues. ViciDial is sending out 2 invites on each call.

Can someone help me understand why Vicidial is doing that and how it can be fixed?

DialPlan is below


Code: Select all
[SIPProvider]
disallow=all
allow=ulaw
dtmf=rfc2833
type=friend
nat=force_rport,comedia
insecure=port,invite
host=CarrierIP



exten => _39.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _39.,2,Dial(SIP/39#${EXTEN:2}@SIPProvider,,tTor)
exten => _39.,3,Hangup


Call Flow
[img]
https://ibb.co/N7mCtM1
[/img]


ViciDial - Installed from the ISO
Version - 11
SVN - 3787

Re: ViciDial Sending Double Invites

PostPosted: Tue Apr 30, 2024 12:58 pm
by jamiemurray
Asterisk retransmits the invite if no response is received within 100ms, this is hard coded and designed to help recover from lost packets.
This typically only causes a problem if their server doesn't correctly handle the retransmission and then creates two or more calls as a result. Most SIP compliant servers will merge the requests although some poorly configured proxies will treat these invites as separate calls.

There's probably not much you can do other than:
1. If your carrier has multiple POPs (Points of Presence) then ensure you are connecting to the one physically closest to your Vicidial server.
2. Avoid using high latency internet connections for your Vicidial system (Satelite, Wi-max, LTE/5G in heavily populated areas).
3. Change carrier to one with a Point of Presence closer to you or with full SIP compliance so the retransmits are handled correctly.

Re: ViciDial Sending Double Invites

PostPosted: Thu Jul 25, 2024 2:30 pm
by williamconley
It is POSSIBLE that "t1min=100" could be changed to a higher number to reduce this occurrence. Try setting it to 500 or 1000 as a test.

Also possible this value is not something you can alter (retransmit initial timeout)