How to transfer clients data from one server to another

All installation and configuration problems and questions

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

How to transfer clients data from one server to another

Postby manos » Wed Mar 11, 2020 10:58 am

Hello folks!
I have two servers that are on cloud which at one i have installed Vicibox-9.0.1 Full vicibox-installation with DB, Web and Dialer.
Specs are:
Cpu: 4 core Intel(R) Xeon(R) D-2141I CPU @ 2.20GHz
RAM: 8GB DDR4
SSD with no raid
No extra things added on it.

Second server:
Cpu: 16 core Intel(R) Xeon(R) D-2141I CPU @ 2.20GHz
RAM: 32GB DDR4
SSD with no raid
No extra things added on it.

The vicibox-9.0.1 server has a setup outbound campaign in it with remote agents that do the calls.
This campaign has a secretary record that when a customer pick up the phone it invites him to press 1 to connect it with an agent to get more info about the
topic if he is interested.
This is done through the Survey option where the Survey Xfer Extension: is 78855888558, a DID that is created at the Inbound server Vicibox-8.0.0

The carrier configuration for making this transfer is this one below:
Code: Select all
[transfer1]
username=8855888558
fromuser=8855888558
secret=freepbx05
type=friend
qualify=yes
port=5060
insecure=port,invite
host=51.91.118.172
dtmfmode=rfc2833
disallow=all
context=from-internal
canreinvite=no
allow=alaw
nat=no


And the dialplan is:
Code: Select all
exten => _7XX.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _7XX.,2,Dial(${transfer1}/${EXTEN:1},,tTor)
exten => _7XX.,3,Hangup()


At the other side the inbound server Vicibox-8.0.0 carrier, is configured like this:
Code: Select all
[8855888558]
disallow=all
allow=alaw
type=friend
secret=freepbx05
host=dynamic
dtmfmode=auto
canreinvite=yes
insecure=port,invite
context=trunkinbound


No dialplan.

I know that the dialplans that i configured are so messy but since i don't have knowledge in asterisk, after hours of trying different stuffs i made it work.
The transfer is done correctly but the thing that are missing of course are the customer's data to make them appear at the inbound agent web interface too.
The only thing that i noticed that is transferred is the "asterisk" word in comments section or when i dial from a sip phone in the outbound server directly the DID number, at the inbound agent web interface at the comment section appears that sip phone number.
From my investigation at the asterisk cli (with sip debug on) I saw that the only place maybe where that data is set.. is the header Remote-Party-ID.
What i'm trying to say is, is there a way how to send other data from one server to another, maybe through sip headers with SipAddHeader() app or through any agi script.

Thanks in advance!
manos
 
Posts: 36
Joined: Sat Apr 30, 2016 4:03 am

Re: How to transfer clients data from one server to another

Postby roger.milligan » Wed Mar 11, 2020 11:07 am

Hello

From what you say you have setup 2 ViciDial single-server clusters - one ViciBox 8 and one ViciBox 9.

See this presentation by Matt Florell about the setup https://www.youtube.com/watch?v=QfE9fvUzHfE

and also this document: http://vicidial.org/docs/CROSS_CLUSTER_COMMUNICATION.txt

I hope this gives you what you are looking for.

Roger
------------------------------------------------------------------------------------------------------
Roger Milligan
Thrive, Cape Town, South Africa.
Mobile: +27 791412325 rogerm(at)thrivedatasolutions(dot)com
roger.milligan
 
Posts: 58
Joined: Sun Jul 19, 2015 12:18 pm
Location: Cape Town, South Africa

Re: How to transfer clients data from one server to another

Postby manos » Thu Mar 12, 2020 7:52 am

Thanks for the reply man, didn't know about this feature.
manos
 
Posts: 36
Joined: Sat Apr 30, 2016 4:03 am

Re: How to transfer clients data from one server to another

Postby ambiorixg12 » Thu Mar 12, 2020 11:27 pm

trustrpid=yes
sendrpid=yes

add the above 2 settings to your trunks
ambiorixg12
 
Posts: 448
Joined: Tue Sep 17, 2013 10:35 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 83 guests