Dear Sir,
We are testing forward functions, i.e. 1) always forward, 2) forward if the phone does not answer, 3) forward if the phone is busy.
09065693055(caller)-->05030331148(topic number)-->5706(VDN)-->5003--forward-->5004
In this scheme we are monitoring alerting event. And usually we get 2 alerting events like below:
2022/12/02 17:52:33.653 TerminalServer - -------- connectionAlerting( CallControlConnectionEvent.CALLCTL_CONNECTION_ALERTING )
2022/12/02 17:52:33.654 TerminalServer - eventConnectionAddress= 5706
2022/12/02 17:52:33.654 TerminalServer - ------ 100 ------
2022/12/02 17:52:33.655 TerminalServer - Event.CAUSE_SNAPSHOT (110)
2022/12/02 17:52:33.655 TerminalServer - UCID = 00001100291669938814, TsapiCallID = 10029
2022/12/02 17:52:33.658 TerminalServer - callingAddress = 09065693055 1
2022/12/02 17:52:33.678 TerminalServer - calledAddress = 05030331148
2022/12/02 17:52:33.681 TerminalServer - lastRedirectedAddress = 5003
2022/12/02 17:52:33.696 TerminalServer - DistributingAddress = 05030331148
2022/12/02 17:52:33.696 TerminalServer - DistributingVDNAddress= 5706
2022/12/02 17:52:33.709 TerminalServer - Old CallID 0 = 10029, DeviceIDType = 0
2022/12/02 17:52:33.710 TerminalServer - Old DeviceID = 5003, Cause = EC_CALL_FORWARD_ALWAYS (6)
2022/12/02 17:52:33.775 TerminalServer - -------- connectionAlerting( CallControlConnectionEvent.CALLCTL_CONNECTION_ALERTING )
2022/12/02 17:52:33.846 TerminalServer - eventConnectionAddress= 5004, RINGING (97)
2022/12/02 17:52:33.846 TerminalServer - event Terminal Name = 5004
2022/12/02 17:52:33.847 TerminalServer - CallControlEvent.CAUSE_REDIRECTED (210)
2022/12/02 17:52:33.847 TerminalServer - Event.CAUSE_NORMAL (100)
2022/12/02 17:52:33.848 TerminalServer - UCID = 00001100291669938814, TsapiCallID = 10029
2022/12/02 17:52:33.852 TerminalServer - callingAddress = 09065693055
2022/12/02 17:52:33.870 TerminalServer - calledAddress = 05030331148
2022/12/02 17:52:33.872 TerminalServer - lastRedirectedAddress = 5003
2022/12/02 17:52:33.888 TerminalServer - DistributingAddress = 05030331148
2022/12/02 17:52:33.889 TerminalServer - DistributingVDNAddress= 5706
2022/12/02 17:52:33.902 TerminalServer - Old CallID 0 = 10029, DeviceIDType = 0
2022/12/02 17:52:33.903 TerminalServer - Old DeviceID = 5003, Cause = EC_CALL_FORWARD_ALWAYS (6)
However ONLY the case of "always forward" we got 3 alerting events time to time. (roughly speaking 5 cases out of 10)
2022/12/02 17:51:30.849 TerminalServer - -------- connectionAlerting( CallControlConnectionEvent.CALLCTL_CONNECTION_ALERTING ) ------------------------------------------
2022/12/02 17:51:30.919 TerminalServer - eventConnectionAddress= 5004, RINGING (97)
2022/12/02 17:51:30.920 TerminalServer - event Terminal Name = 5004
2022/12/02 17:51:30.921 TerminalServer - CallControlEvent.CAUSE_REDIRECTED (210)
2022/12/02 17:51:30.921 TerminalServer - Event.CAUSE_NORMAL (100)
2022/12/02 17:51:30.922 TerminalServer - UCID = 00001100261669938751, TsapiCallID = 10026
2022/12/02 17:51:30.925 TerminalServer - callingAddress = 09065693055 1
2022/12/02 17:51:30.944 TerminalServer - calledAddress = 05030331148
2022/12/02 17:51:30.946 TerminalServer - lastRedirectedAddress = 5003
2022/12/02 17:51:30.963 TerminalServer - DistributingAddress = 05030331148
2022/12/02 17:51:30.969 TerminalServer - DistributingVDNAddress= 5706 1
2022/12/02 17:51:31.022 TerminalServer - UCID = 00001100261669938751, TsapiCallID = 10026
2022/12/02 17:51:31.049 TerminalServer - -------- connectionAlerting( CallControlConnectionEvent.CALLCTL_CONNECTION_ALERTING ) ------------------------------------------
2022/12/02 17:51:31.072 TerminalServer - eventConnectionAddress= 5706 1
2022/12/02 17:51:31.074 TerminalServer - ------ 100 ------
2022/12/02 17:51:31.074 TerminalServer - Event.CAUSE_SNAPSHOT (110)
2022/12/02 17:51:31.075 TerminalServer - UCID = 00001100261669938751, TsapiCallID = 10026
2022/12/02 17:51:31.078 TerminalServer - callingAddress = 09065693055 1
2022/12/02 17:51:31.132 TerminalServer - calledAddress = 05030331148
2022/12/02 17:51:31.137 TerminalServer - lastRedirectedAddress = 5003
2022/12/02 17:51:31.179 TerminalServer - DistributingAddress = 05030331148
2022/12/02 17:51:31.226 TerminalServer - DistributingVDNAddress= 5706 1
2022/12/02 17:51:31.278 TerminalServer - UCID = 00001100261669938751, TsapiCallID = 10026
2022/12/02 17:51:31.454 TerminalServer - -------- connectionAlerting( CallControlConnectionEvent.CALLCTL_CONNECTION_ALERTING ) ------------------------------------------
2022/12/02 17:51:31.532 TerminalServer - eventConnectionAddress= 5004 1, RINGING (97)
2022/12/02 17:51:31.533 TerminalServer - event Terminal Name = 5004
2022/12/02 17:51:31.533 TerminalServer - ------ 100 ------
2022/12/02 17:51:31.533 TerminalServer - Event.CAUSE_SNAPSHOT (110)
2022/12/02 17:51:31.534 TerminalServer - UCID = 00001100261669938751, TsapiCallID = 10026
2022/12/02 17:51:31.538 TerminalServer - callingAddress = 09065693055 1
2022/12/02 17:51:31.557 TerminalServer - calledAddress = 05030331148
2022/12/02 17:51:31.560 TerminalServer - lastRedirectedAddress = 5003
2022/12/02 17:51:31.579 TerminalServer - DistributingAddress = 05030331148
2022/12/02 17:51:31.634 TerminalServer - DistributingVDNAddress= 5706 1
2022/12/02 17:51:31.685 TerminalServer - UCID = 00001100261669938751, TsapiCallID = 10026
So far this 3 alerting event case comes out always forward ONLY, but 5 cases out of 10.
As you can see that log itself are different each other.
Thank you for your help in advance.
Best regards,
|