Hi,
we have SA8481 enabled on CM6.
Currently we try to modify the CLI send out for an outgoing call using DMCC.
The UUI is build like this - code is borrowed from an old thread here in the forums:
int extra = 2;
string cli = uui.Replace("FAKECLI", "");
ThreadPool.QueueUserWorkItem(o => SendMessage(sj.connection, MessageTypes.Info,cli));
char[] numbers = cli.ToCharArray();
int length = numbers.Length;
byte[] data = new byte[length + extra];
data[0] = 0x2a;
data[1] = 0x21;
for (int i = 0; i < length; i++)
{
data[i + 2] = Convert.ToByte(numbers[i]);
}
ThreadPool.QueueUserWorkItem(o => SendMessage(sj.connection, MessageTypes.Info, System.Text.Encoding.Default.GetString(data)));
p.UserData = new ThirdPartyCallController.UserData(data, length + extra);
sj.connection.Connection.serviceprovider.getThirdPartyCallController.MakeCall(p, null);
for ISDN we see the info coming to the Trunk but the presentation indicator is missing.
so not custom CLI is send to the called party.
for SIP we found the TSAPI FAQ entry stating the new format to be used. How can this be done using DMCC?
Unfortunately there is like zero documentation available on devconnect :(
thansk and best regards