Hi, i’m creating call between two mobile numbers using ari4java like this:
ari.channels().originate("{trunk tech}/{trunk name}/{first number to call}")
.setExtension("{second number to call}")
.setContext("{predefined context for outbound calls}")
.setCallerId("{extension}")
.execute()
But in cdr reports info about call not containing any info about {first number to call}. CDR files not containing this info too.
If i change CallerId to {first number to call} i will loose call record that predefined on {extension}.
I’ve tried to set up some variables:
REALCALLERIDNUM
AMPUSER
CALLERID(number)
CALLERID(name)
No changes or no records after using this variables. Any ideas how i can receive info {first number to call} and call record ?
There is field in cdr reports looks like for custom user data, but any chance to put some data to it