for the
moment I cannot reproduce the error on my test server, I can only reproduce
them on production and mostly when I have many calls, so maybe it's depending
of the load of the server.
any idea ?
Hello,
I have done more test and finally I can reproduce the bug on my test server.
when I have 2 calls connected, if the call A send a DTMF and just after the
call B send also a DTMF then the second DTMF is not notified.
I have added lot of log to understand how the different listener are connected
together
and I see that the flag isActive in Event object (DTMF event) of the second call is
set to False, so they is no notification ...
public
void fire(Signal s, Text options) {
System.out.println("LSR | Event
| fire ");
if (this.isActive) {
System.out.println("LSR | Event | is active ");
System.out.println("LSR | Event | " +
requestedAction.getClass().getName());
this.requestedAction.perform(s, this, options);
}
else
{
System.out.println("LSR | Event
| is NOT active ");
}
}
actually I don't know when/why this flag is set to False.
I have attached a wireshark trace, maybe you will see what I’m doing wrong..
BR
Laurent
Hello,
After different test I saw that dtmf signal event (0,1,2 … C,D,*,#) are only
created for the first IVR endpoint (see log below).
So when I send the End Signal Event just after I get the first DTMF event, all DTMF Event are rested and the isActive status is set to False until a new IVR is initialized and this not only for the call that has send the DTMF event but for both.
Any idea ?
10/06/2015
07:37:37,221 INFO [Main] log4j initialized from a configuration file.
10/06/2015 07:37:37,222 INFO [Main] Home directory:
/home/mms-server-4.0.2-SNAPSHOT.dir
10/06/2015 07:37:37,229 INFO [Main] Booting from
file:/home/mms-server-4.0.2-SNAPSHOT.dir/conf/bootstrap-beans.xml
10/06/2015 07:37:38,566 INFO [Configuration] Configuring
/home/mms-server-4.0.2-SNAPSHOT.dir/deploy/server-beans.xml
10/06/2015 07:37:38,644 INFO [Scheduler] Starting
10/06/2015 07:37:38,652 INFO [Scheduler] Started
10/06/2015 07:37:38,702 INFO [UdpManager] Initialized UDP
interface[unknown]: bind address=95.128.80.40
10/06/2015 07:37:38,866 INFO [MGCP] Set server
10/06/2015 07:37:38,866 INFO [MGCP] Set scheduler:
ua.mobius.media.server.scheduler.Scheduler@5c4b82d2
10/06/2015 07:37:38,874 INFO [MGCP] Starting MGCP controller
10/06/2015 07:37:38,875 INFO [MGCP] Starting MGCP provider
10/06/2015 07:37:38,882 INFO [MgcpProvider] Opening channel
10/06/2015 07:37:38,885 INFO [MgcpProvider] Binding channel to
95.128.80.40:2427
10/06/2015 07:37:38,887 INFO [MGCP] Controller started
10/06/2015 07:37:38,902 INFO [Server] Installing mobius/aap/1
LSR | create Event |oc
LSR | create Event |of
LSR | new Request
10/06/2015 07:37:38,913 INFO [MGCP] Endpoint restarted: mobius/aap/1
10/06/2015 07:37:38,920 INFO [Server] Installing mobius/ivr/1
LSR | create Event |oc
LSR | create Event |of
LSR | create Event |oc
LSR | create Event |of
LSR | create Event |oc
LSR | create Event |of
LSR | create Event |oc
LSR | create Event |of
LSR | create Event |oc
LSR | create Event |of
LSR | create Event |oc
LSR | create Event |of
LSR | create Event |oc
LSR | create Event |of
LSR | create Event |0
LSR | create Event |1
LSR | create Event |2
LSR | create Event |3
LSR | create Event |4
LSR | create Event |5
LSR | create Event |6
LSR | create Event |7
LSR | create Event |8
LSR | create Event |9
LSR | create Event |A
LSR | create Event |B
LSR | create Event |C
LSR | create Event |D
LSR | create Event |#
LSR | create Event |*
LSR | create Event |oc
LSR | create Event |of
LSR | new Request
10/06/2015 07:37:38,939 INFO [MGCP] Endpoint restarted: mobius/ivr/1
10/06/2015 07:37:38,939 INFO [Server] Installing mobius/ivr/2
LSR | create Event |oc
LSR | create Event |of
LSR | create Event |oc
LSR | create Event |of
LSR | create Event |oc
LSR | create Event |of
LSR | create Event |oc
LSR | create Event |of
LSR | create Event |oc
LSR | create Event |of
LSR | create Event |oc
LSR | create Event |of
LSR | create Event |oc
LSR | create Event |of
LSR | create Event |oc
LSR | create Event |of
LSR | new Request
10/06/2015 07:37:38,942 INFO [MGCP] Endpoint restarted: mobius/ivr/2
10/06/2015 07:37:38,942 INFO [Server] Installing mobius/ivr/3
LSR | create Event |oc
LSR | create Event |of
LSR | create Event |oc
LSR | create Event |of
LSR | create Event |oc
LSR | create Event |of
LSR | create Event |oc
LSR | create Event |of
LSR | create Event |oc
LSR | create Event |of
LSR | create Event |oc
LSR | create Event |of
LSR | create Event |oc
LSR | create Event |of
LSR | create Event |oc
LSR | create Event |of
LSR | new Request
10/06/2015 07:37:38,945 INFO [MGCP] Endpoint restarted: mobius/ivr/3
10/06/2015 07:37:38,945 INFO [Server] Installing mobius/ivr/4
LSR | create Event |oc
LSR | create Event |of
LSR | create Event |oc
LSR | create Event |of
LSR | create Event |oc
LSR | create Event |of
LSR | create Event |oc
LSR | create Event |of
LSR | create Event |oc
LSR | create Event |of
LSR | create Event |oc
LSR | create Event |of
LSR | create Event |oc
LSR | create Event |of
LSR | create Event |oc
LSR | create Event |of
LSR | new Request
10/06/2015 07:37:38,948 INFO [MGCP] Endpoint restarted: mobius/ivr/4
10/06/2015 07:37:38,948 INFO [Server] Installing mobius/ivr/5
LSR | create Event |oc
LSR | create Event |of
LSR | create Event |oc
LSR | create Event |of
LSR | create Event |oc
LSR | create Event |of
LSR | create Event |oc
LSR | create Event |of
LSR | create Event |oc
LSR | create Event |of
LSR | create Event |oc
LSR | create Event |of
LSR | create Event |oc
LSR | create Event |of
LSR | create Event |oc
LSR | create Event |of
LSR | new Request
10/06/2015 07:37:38,951 INFO [MGCP] Endpoint restarted: mobius/ivr/5
10/06/2015 07:37:38,958 INFO [Server] Installing mobius/cnf/1
LSR | new Request
10/06/2015 07:37:38,959 INFO [MGCP] Endpoint restarted: mobius/cnf/1
10/06/2015 07:37:38,959 INFO [Server] Installing mobius/cnf/2
LSR | new Request
10/06/2015 07:37:38,960 INFO [MGCP] Endpoint restarted: mobius/cnf/2
10/06/2015 07:37:38,961 INFO [Server] Installing mobius/cnf/3
LSR | new Request
10/06/2015 07:37:38,961 INFO [MGCP] Endpoint restarted: mobius/cnf/3
10/06/2015 07:37:38,962 INFO [Server] Installing mobius/cnf/4
LSR | new Request
10/06/2015 07:37:38,963 INFO [MGCP] Endpoint restarted: mobius/cnf/4
10/06/2015 07:37:38,963 INFO [Server] Installing mobius/cnf/5
LSR | new Request
10/06/2015 07:37:38,964 INFO [MGCP] Endpoint restarted: mobius/cnf/5
10/06/2015 07:37:38,971 INFO [Server] Installing mobius/bridge/1
LSR | new Request
10/06/2015 07:37:38,975 INFO [MGCP] Endpoint restarted: mobius/bridge/1
10/06/2015 07:37:38,975 INFO [Server] Installing mobius/bridge/2
LSR | new Request
10/06/2015 07:37:38,976 INFO [MGCP] Endpoint restarted: mobius/bridge/2
10/06/2015 07:37:38,976 INFO [Server] Installing mobius/bridge/3
LSR | new Request
10/06/2015 07:37:38,977 INFO [MGCP] Endpoint restarted: mobius/bridge/3
10/06/2015 07:37:38,977 INFO [Server] Installing mobius/bridge/4
LSR | new Request
10/06/2015 07:37:38,978 INFO [MGCP] Endpoint restarted: mobius/bridge/4
10/06/2015 07:37:38,978 INFO [Server] Installing mobius/bridge/5
LSR | new Request
10/06/2015 07:37:38,979 INFO [MGCP] Endpoint restarted: mobius/bridge/5
10/06/2015 07:37:38,986 INFO [Server] Installing mobius/relay/1
LSR | new Request
10/06/2015 07:37:38,987 INFO [MGCP] Endpoint restarted: mobius/relay/1
10/06/2015 07:37:38,987 INFO [MainDeployer] Calling Garbage collector to
clear init data
10/06/2015 07:37:39,093 INFO [MainDeployer] [[[[[[[[[ Sipme Media Server:
release.version=4.0.1 Started ]]]]]]]]]