Page 1 of 1

Regariding Transfer call between servers

PostPosted: Mon Dec 06, 2021 9:20 am
by pratikvicidial
Hello Team,

I would like to know the best possible way to transfer a live running call from 1st vici server to 2nd vici server.
Let me know either it is possible or not?

Thank you

Re: Regariding Transfer call between servers

PostPosted: Mon Dec 06, 2021 11:10 pm
by carpenox
are they clustered or not? if not you can setup an iax tunnel between the 2

Re: Regariding Transfer call between servers

PostPosted: Wed Dec 08, 2021 11:49 pm
by pratikvicidial
No it is not cluster setup.
All are standalone server and would like to transfer one server to another one.
Can you please help me how to setup IAX tunnel?

Re: Regariding Transfer call between servers

PostPosted: Thu Dec 09, 2021 7:23 am
by mflorell
Check out Cross-Cluster Communication,
http://vicidial.org/docs/CROSS_CLUSTER_ ... CATION.txt

Re: Regariding Transfer call between servers

PostPosted: Mon Dec 13, 2021 1:25 pm
by callcentertech
I can share exact method/steps of doing the same, but in my solution the customer info will not be sent to another server, it will just be the customer phone. Lemme know if you need this.

Matt already gave the link for full documentation if you need to transfer calls with the customer data.

pratikvicidial wrote:No it is not cluster setup.
All are standalone server and would like to transfer one server to another one.
Can you please help me how to setup IAX tunnel?

Re: Regariding Transfer call between servers

PostPosted: Thu Dec 16, 2021 11:17 pm
by pratikvicidial
Can you please share the method/steps.
It's okay with the phone number.

callcentertech wrote:I can share exact method/steps of doing the same, but in my solution the customer info will not be sent to another server, it will just be the customer phone. Lemme know if you need this.

Matt already gave the link for full documentation if you need to transfer calls with the customer data.

pratikvicidial wrote:No it is not cluster setup.
All are standalone server and would like to transfer one server to another one.
Can you please help me how to setup IAX tunnel?

Re: Regariding Transfer call between servers

PostPosted: Fri Dec 17, 2021 10:24 am
by callcentertech
Lest say you have 2 servers, A and B

Server A = It will transfer call to Server B = IP is aa.aa.aa.aa
Server B = It will receive call from Server A = IP is bb.bb.bb.bb

Create a dialplan (in default context) in server A
exten => _555888,1,NoOp(Transfers to Server B)
exten => _555888,2,AGI(agi-set_variables.agi,)
exten => _555888,3,Set(CALLERID(all)=${phone_number})
exten => _555888,4,Dial(SIP/555888@bb.bb.bb.bb,300)
exten => _555888,5,Hangup()

Now you need to transfer the call to extension 555888 using ingroup/callmenu or anywhere in vicidial.

Create inbound carrier in Server B:

[transfers]
disallow=all
allow=ulaw
allow=alaw
type=peer
host=aa.aa.aa.aa
port=5060
dtmfmode=rfc2833
canreinvite=no
insecure=port,invite

Add 555888 as DID in Server B and point wherever you need to send the call..

Make sure to whitelist both server IPs for each other..