How to get Customer number on agent Webpage

All installation and configuration problems and questions

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

How to get Customer number on agent Webpage

Postby ahsan_raza706 » Thu Nov 19, 2020 6:54 pm

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.
ahsan_raza706
 
Posts: 27
Joined: Wed Jun 12, 2013 5:45 pm

Re: How to get Customer number on agent Webpage

Postby mflorell » Thu Nov 19, 2020 7:41 pm

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
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: How to get Customer number on agent Webpage

Postby striker » Fri Nov 20, 2020 12:01 am

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()
www.striker24x7.com www.youtube.com/c/striker24x7 Telegram/skype id : striker24x7
striker
 
Posts: 962
Joined: Sun Jun 06, 2010 10:25 am


Return to Support

Who is online

Users browsing this forum: No registered users and 159 guests