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: 1
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: 177
Joined: Fri Jan 11, 2013 4:12 pm
Location: Tenerife, Canary Islands


Return to Support

Who is online

Users browsing this forum: Majestic-12 [Bot] and 62 guests