Page 1 of 1

How to get Customer number on agent Webpage

PostPosted: Thu Nov 19, 2020 6:54 pm
by ahsan_raza706
Hello, I need a solution how can i get customer number displayed on agent web pages while i am transferring survey call from server-1 to server-2, these servers are not clusters so equation would be
server1 SEnder => Remote Agent => Press-1 => callmenu/Exten = > (with blank wav, after 1 sec timeout)
exten => _244422,1,Set(CALLERID(all)=${CUSTPHONE})
exten => _244422,n,Dial(sip/SERVER-2 IP/244422)


Server2 Receiver => DID(244422)=>INGROUP => agent
But the number is broken, its showing as V1198xxxxxxxxxxxxxxxx...instead of 123456789
while i debug 2nd server cli, it shows as
From: "V1191834520004476798" <sip:123456789@Server-1 IP>;tag=as485d85a8

Tried:
to change ingroup handle method in receiver as CID / closer /ani , nothing changed.
to change dialplan with Callerid as
exten => _X,1,Set(CALLERID(all)=${phone_number})
exten => _X,1,Set(CALLERID(num)=${CUSTPHONE})
no luck
I am using vicibox 8.01, with Asterisk 11,
Intel Xeon Dedicated

Prompt reply would be highly appreciable.

Re: How to get Customer number on agent Webpage

PostPosted: Thu Nov 19, 2020 7:41 pm
by mflorell
admin.php version and build?

So these two systems are not on the same cluster?

Have you looked at Cross Cluster Communications at all?
http://vicidial.org/docs/CROSS_CLUSTER_ ... CATION.txt

Re: How to get Customer number on agent Webpage

PostPosted: Fri Nov 20, 2020 12:01 am
by striker
in server1 use Noop to check which variable have right callerid and set that as callerid(num)

exten => 244422,1,NoOp(CHECK 1 ${CALLERID(num)})
exten => 244422,2,NoOp(CHECK 2 ${CALLERID(name)})
exten => 244422,3,NoOp(CHECK 3 ${CUSTPHONE})
exten => 244422,4,SET(CALLERID(num)=THE RIGHT VARIABLE)
exten => 244422,5,Dial(SIP/SERVER-2 IP/244422,,Tto)
exten => 244422,6,Hangup()