Dear Sir,
Currently our JTAPI software is monitoring all the extention numbers in the provider as well as terminals of these numbers by adding CallListener which is actually CallControlTerminalConnectionListenerAdapter.
Below I picked up and put some event logs for your reference. Here 05030331148 is a VDN number and its extention number is 5003.
I really want to get an extension number 5003 instead of VDN number, 05030331148.
Please let me know how to get this extension number.
2022/11/02 16:06:56.761 TerminalServer -
-------- terminalConnectionRinging( CallControlTerminalConnectionEvent.CALLCTL_TERMINAL_CONNECTION_RINGING ) ------------------------------------------
2022/11/02 16:06:56.762 TerminalServer - Event.CAUSE_SNAPSHOT (110)
2022/11/02 16:06:56.762 TerminalServer - UCID = 00001070781667340451
2022/11/02 16:06:56.762 TerminalServer - TsapiCallID = 7078
2022/11/02 16:06:56.762 TerminalServer - callingAddress = 09065693055
2022/11/02 16:06:56.762 TerminalServer - calledAddress = 05030331148
2022/11/02 16:06:56.762 TerminalServer - lastRedirectedAddress = null
2022/11/02 16:07:07.902 TerminalServer -
-------- connectionEstablished( CallControlConnectionEvent.CALLCTL_CONNECTION_ESTABLISHED ) ------------------------------------------
2022/11/02 16:07:07.902 TerminalServer - Event.CAUSE_NORMAL (100)
2022/11/02 16:07:07.902 TerminalServer - UCID = 00001070781667340451
2022/11/02 16:07:07.903 TerminalServer - TsapiCallID = 7078
2022/11/02 16:07:07.903 TerminalServer - callingAddress = 09065693055
2022/11/02 16:07:07.903 TerminalServer - calledAddress = 05030331148
2022/11/02 16:07:07.903 TerminalServer - lastRedirectedAddress = null
2022/11/02 16:07:07.903 TerminalServer -
-------- terminalConnectionTalking( CallControlTerminalConnectionEvent.CALLCTL_TERMINAL_CONNECTION_TALKING ) ------------------------------------------
2022/11/02 16:07:07.904 TerminalServer - Event.CAUSE_NORMAL (100)
2022/11/02 16:07:07.904 TerminalServer - UCID = 00001070781667340451
2022/11/02 16:07:07.904 TerminalServer - TsapiCallID = 7078
2022/11/02 16:07:07.904 TerminalServer - callingAddress = 09065693055
2022/11/02 16:07:07.904 TerminalServer - calledAddress = 05030331148
2022/11/02 16:07:07.905 TerminalServer - lastRedirectedAddress = null
Best regards,
|