Genesys CTI User Forum
Genesys CTI User Forum => Genesys-related Development => Topic started by: CTIgem on August 17, 2007, 06:00:55 PM
-
How do I register position and Dn in nortel enviroment?
Code sample only shows just one DN register.
myPhoneTeleLine.open();
// The sleep method here creates a 1 second network delay.
try{
Thread.sleep(1000);
}catch(InterruptedException interruptedexception) { }
myPhoneTeleAddress.setDN("6001"); //some agent's DN
/*
* This method if successful will generate the EventRegistered event.
* You must wait for this event before calling to PhoneTeleAddress.login() mrthod.
*/
myPhoneTeleAddress.register();
-
Ok, this one is prtty straight-forward:
you need to register BOTH ACD position AND extension. So, in essence, you would have TWO extension objects and two register requests.
You also will need to remember which one is ACD Position and which one is Extension, because your Login/Logout/Ready/etc needs to be performed on extension object assigned to ACD position and your RequestMakeCall needs to be made through extension object assigned to extension.
There might be a way to combined both of them into one object, but I never bothered to find it and just always programmed with two objects assigned to two DNs.
Best regards,
Vic