ViciDial Sending Double Invites

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

ViciDial Sending Double Invites

Postby mshoaib » Sat Apr 27, 2024 6:50 pm

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
mshoaib
 
Posts: 3
Joined: Sat Apr 27, 2024 6:10 pm

Re: ViciDial Sending Double Invites

Postby jamiemurray » Tue Apr 30, 2024 12:58 pm

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.
Skype: live:support_71847 | Tel: (US) +1 646 647 8850 (CA) +1 613 900 6456 (MX) +52 55 9990 3550 (UK) +44 1324 285022 (ES) +34 922 937 384
Managed Hosting - No tech skills required | VoIP Termination & DID numbering | https://jmurraysolutions.com
jamiemurray
 
Posts: 179
Joined: Fri Jan 11, 2013 4:12 pm
Location: Tenerife, Canary Islands

Re: ViciDial Sending Double Invites

Postby williamconley » Thu Jul 25, 2024 2:30 pm

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)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20253
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: Bing [Bot] and 76 guests