Unexpected end of call when app is started using Web Trigger - sip-server

I've created an RVD app enabling Web Trigger. One of the modules of this app contains a collect step. When I start the app using Web Trigger, the call ends few seconds after say the prompt message of the collect step, while I'm still dialing some digits.
If I register a number to this app in restcomm-management and call to this number using the same SIP client I used in the situation above, its possible to dial all the digits in the collect step and the app continue executing normally.
The restcomm log since the HTTP call made to Web Trigger until the end of the SIP call is shown bellow (SIP messages and timestamp INFO omitted by due to text limit). Any idea will be welcome.
Thank you!
[org.mobicents.servlet.restcomm.rvd.http.resources.RvdController] (http-/127.0.0.1:8080-8) using restcomm host: 127.0.0.1 and port: 8080
[org.mobicents.servlet.sip.catalina.session.ConvergedStandardSession] (http-/127.0.0.1:8080-1) maxInactiveInterval = 1800
[org.apache.shiro.realm.AuthorizingRealm] (http-/127.0.0.1:8080-1) No cache or cacheManager properties have been set. Authorization cache cannot be obtained.
[org.apache.shiro.realm.AuthorizingRealm] (http-/127.0.0.1:8080-1) No cache or cacheManager properties have been set. Authorization cache cannot be obtained.
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6310) ********** Call's akka://RestComm/user/$qc Current State: "uninitialized
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6310) ********** Call akka://RestComm/user/$qc Processing Message: "org.mobicents.servlet.restcomm.telephony.InitializeOutbound sender : class akka.actor.RepointableActorRef
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6310) ********** Call's akka://RestComm/user/$qc Current State: "queued
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6310) ********** Call akka://RestComm/user/$qc Processing Message: "org.mobicents.servlet.restcomm.telephony.GetCallInfo sender : class akka.pattern.PromiseActorRef
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6309) ********** VoiceInterpreter's akka://RestComm/user/$rc Current State: uninitialized
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6309) ********** VoiceInterpreter's akka://RestComm/user/$rc Processing Message: org.mobicents.servlet.restcomm.interpreter.StartInterpreter
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6309) ********** VoiceInterpreter's akka://RestComm/user/$rc Current State: acquiring asr info
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6309) ********** VoiceInterpreter's akka://RestComm/user/$rc Processing Message: org.mobicents.servlet.restcomm.asr.AsrResponse
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6309) ********** VoiceInterpreter's akka://RestComm/user/$rc Current State: acquiring tts info
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6309) ********** VoiceInterpreter's akka://RestComm/user/$rc Processing Message: org.mobicents.servlet.restcomm.tts.api.SpeechSynthesizerResponse
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6309) ********** Call's akka://RestComm/user/$qc Current State: "queued
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6309) ********** Call akka://RestComm/user/$qc Processing Message: "org.mobicents.servlet.restcomm.patterns.Observe sender : class akka.actor.RepointableActorRef
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6309) ********** Call's akka://RestComm/user/$qc Current State: "queued
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6309) ********** Call akka://RestComm/user/$qc Processing Message: "org.mobicents.servlet.restcomm.telephony.GetCallInfo sender : class akka.actor.RepointableActorRef
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6309) ********** VoiceInterpreter's akka://RestComm/user/$rc Current State: acquiring call info
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6309) ********** VoiceInterpreter's akka://RestComm/user/$rc Processing Message: org.mobicents.servlet.restcomm.patterns.Observing
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6309) ********** VoiceInterpreter's akka://RestComm/user/$rc Current State: acquiring call info
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6309) ********** VoiceInterpreter's akka://RestComm/user/$rc Processing Message: org.mobicents.servlet.restcomm.telephony.CallResponse
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6309) ********** Call's akka://RestComm/user/$qc Current State: "queued
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6309) ********** Call akka://RestComm/user/$qc Processing Message: "org.mobicents.servlet.restcomm.telephony.Dial sender : class akka.actor.RepointableActorRef
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6309) ********** Call's akka://RestComm/user/$qc Current State: "acquiring media gateway info
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6309) ********** Call akka://RestComm/user/$qc Processing Message: "org.mobicents.servlet.restcomm.mgcp.MediaGatewayResponse sender : class akka.actor.RepointableActorRef
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6309) ********** Call's akka://RestComm/user/$qc Current State: "acquiring media session
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6309) ********** Call akka://RestComm/user/$qc Processing Message: "org.mobicents.servlet.restcomm.mgcp.MediaGatewayResponse sender : class akka.actor.RepointableActorRef
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6309) ********** Call's akka://RestComm/user/$qc Current State: "acquiring bridge
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6309) ********** Call akka://RestComm/user/$qc Processing Message: "org.mobicents.servlet.restcomm.mgcp.MediaGatewayResponse sender : class akka.actor.RepointableActorRef
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6309) ********** Call's akka://RestComm/user/$qc Current State: "acquiring remote connection
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6309) ********** Call akka://RestComm/user/$qc Processing Message: "org.mobicents.servlet.restcomm.mgcp.MediaGatewayResponse sender : class akka.actor.RepointableActorRef
[org.mobicents.servlet.restcomm.mgcp.Connection] (RestComm-akka.actor.default-dispatcher-6309) ********** Connection Current State: uninitialized
[org.mobicents.servlet.restcomm.mgcp.Connection] (RestComm-akka.actor.default-dispatcher-6309) ********** Connection Processing Message: org.mobicents.servlet.restcomm.patterns.Observe
[org.mobicents.servlet.restcomm.mgcp.Connection] (RestComm-akka.actor.default-dispatcher-6309) ********** Connection Current State: uninitialized
[org.mobicents.servlet.restcomm.mgcp.Connection] (RestComm-akka.actor.default-dispatcher-6309) ********** Connection Processing Message: org.mobicents.servlet.restcomm.mgcp.InitializeConnection
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6309) ********** Call's akka://RestComm/user/$qc Current State: "initializing remote connection
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6309) ********** Call akka://RestComm/user/$qc Processing Message: "org.mobicents.servlet.restcomm.patterns.Observing sender : class akka.actor.LocalActorRef
[org.mobicents.servlet.restcomm.mgcp.Connection] (RestComm-akka.actor.default-dispatcher-6309) ********** Connection Current State: initializing
[org.mobicents.servlet.restcomm.mgcp.Connection] (RestComm-akka.actor.default-dispatcher-6309) ********** Connection Processing Message: org.mobicents.servlet.restcomm.mgcp.EndpointCredentials
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6309) ********** Call's akka://RestComm/user/$qc Current State: "initializing remote connection
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6309) ********** Call akka://RestComm/user/$qc Processing Message: "org.mobicents.servlet.restcomm.mgcp.ConnectionStateChanged sender : class akka.actor.LocalActorRef
[org.mobicents.servlet.restcomm.mgcp.Connection] (RestComm-akka.actor.default-dispatcher-6309) ********** Connection Current State: closed
[org.mobicents.servlet.restcomm.mgcp.Connection] (RestComm-akka.actor.default-dispatcher-6309) ********** Connection Processing Message: org.mobicents.servlet.restcomm.mgcp.OpenConnection
[org.mobicents.servlet.restcomm.mgcp.Connection] (RestComm-akka.actor.default-dispatcher-6310) ********** Connection Current State: opening halfway
[org.mobicents.servlet.restcomm.mgcp.Connection] (RestComm-akka.actor.default-dispatcher-6310) ********** Connection Processing Message: jain.protocol.ip.mgcp.message.CreateConnectionResponse
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6310) ********** Call's akka://RestComm/user/$qc Current State: "opening remote connection
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6310) ********** Call akka://RestComm/user/$qc Processing Message: "org.mobicents.servlet.restcomm.mgcp.ConnectionStateChanged sender : class akka.actor.LocalActorRef
[org.mobicents.servlet.restcomm.telephony.util.B2BUAHelper] (RestComm-akka.actor.default-dispatcher-6309) SIP SESSION is NULL
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6309) ********** Call's akka://RestComm/user/$qc Current State: "dialing
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6309) ********** Call akka://RestComm/user/$qc Processing Message: "org.mobicents.servlet.sip.message.Servlet3SipServletResponseImpl sender : class akka.actor.RepointableActorRef
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6310) ********** VoiceInterpreter's akka://RestComm/user/$rc Current State: initializing call
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6309) ********** VoiceInterpreter's akka://RestComm/user/$rc Processing Message: org.mobicents.servlet.restcomm.telephony.CallStateChanged
[org.mobicents.servlet.restcomm.telephony.util.B2BUAHelper] (RestComm-akka.actor.default-dispatcher-6310) SIP SESSION is NULL
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6309) ********** Call's akka://RestComm/user/$qc Current State: "ringing
[org.mobicents.servlet.sip.message.SipServletResponseImpl] (RestComm-akka.actor.default-dispatcher-6310) ackRequest just created ACK sip:bob#127.0.0.1:5060;transport=udp;registering_acc=127_0_0_1 SIP/2.0
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6309) ********** Call akka://RestComm/user/$qc Processing Message: "org.mobicents.servlet.sip.message.Servlet3SipServletResponseImpl sender : class akka.actor.RepointableActorRef
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6309) Using the real ip address of the sip client sip:bob#127.0.0.1:5060 as a request uri of the ACK
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6310) Just sent out ACK : ACK sip:bob#127.0.0.1:5060 SIP/2.0
[org.mobicents.servlet.restcomm.mgcp.Connection] (RestComm-akka.actor.default-dispatcher-6310) ********** Connection Current State: half open
[org.mobicents.servlet.restcomm.mgcp.Connection] (RestComm-akka.actor.default-dispatcher-6310) ********** Connection Processing Message: org.mobicents.servlet.restcomm.mgcp.UpdateConnection
[org.mobicents.servlet.restcomm.mgcp.Connection] (RestComm-akka.actor.default-dispatcher-6309) ********** Connection Current State: modifying
[org.mobicents.servlet.restcomm.mgcp.Connection] (RestComm-akka.actor.default-dispatcher-6309) ********** Connection Processing Message: jain.protocol.ip.mgcp.message.ModifyConnectionResponse
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6309) ********** Call's akka://RestComm/user/$qc Current State: "updating remote connection
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6309) ********** Call akka://RestComm/user/$qc Processing Message: "org.mobicents.servlet.restcomm.mgcp.ConnectionStateChanged sender : class akka.actor.LocalActorRef
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6309) ********** VoiceInterpreter's akka://RestComm/user/$rc Current State: initializing call
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6309) ********** VoiceInterpreter's akka://RestComm/user/$rc Processing Message: org.mobicents.servlet.restcomm.telephony.CallStateChanged
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6309) Voiceinterpreter: akka://RestComm/user/$rc sent CreateMediaGroup to Call: akka://RestComm/user/$qc
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6309) ********** Call's akka://RestComm/user/$qc Current State: "in progress
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6309) ********** Call akka://RestComm/user/$qc Processing Message: "org.mobicents.servlet.restcomm.telephony.CreateMediaGroup sender : class akka.actor.RepointableActorRef
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6309) group is null or terminated, will get new one for call: akka://RestComm/user/$qc
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6313) 1 MediaGroup for call: akka://RestComm/user/$qc will be sent to sender: akka://RestComm/user/$rc
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6313) ********** VoiceInterpreter's akka://RestComm/user/$rc Current State: acquiring call media group
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6313) ********** VoiceInterpreter's akka://RestComm/user/$rc Processing Message: org.mobicents.servlet.restcomm.telephony.CallResponse
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6313) VoiceInterpreter: akka://RestComm/user/$rc sent StartMediaGroup for callMediaGroup: akka://RestComm/user/$qc/$a CallMediaGroup isTerminated: false
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6313) ********** VoiceInterpreter's akka://RestComm/user/$rc Current State: initializing call media group
[org.mobicents.servlet.restcomm.telephony.MediaGroup] (RestComm-akka.actor.default-dispatcher-6313) MediaGroup: akka://RestComm/user/$qc/$a got StartMediaGroup from: akka://RestComm/user/$rc endpoint: akka://RestComm/user/$a/$Kd isTerminated: false
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6313) ********** VoiceInterpreter's akka://RestComm/user/$rc Processing Message: org.mobicents.servlet.restcomm.patterns.Observing
[org.mobicents.servlet.restcomm.telephony.MediaGroup] (RestComm-akka.actor.default-dispatcher-6313) MediaGroup :akka://RestComm/user/$qc/$a state: uninitialized session: 65 will ask to get IvrEndpoint
[org.mobicents.servlet.restcomm.telephony.MediaGroup] (RestComm-akka.actor.default-dispatcher-6313) MediaGroup :akka://RestComm/user/$qc/$a state: acquiring ivr session: 65 ivr endpoint: akka://RestComm/user/$a/$Md will ask to get Link
[org.mobicents.servlet.restcomm.telephony.MediaGroup] (RestComm-akka.actor.default-dispatcher-6313) MediaGroup :akka://RestComm/user/$qc/$a state: acquiring link session: 65 link: akka://RestComm/user/$a/$Nd endpoint: akka://RestComm/user/$a/$Kd initializeLink sent, endpoint isTerminated: false
[org.mobicents.servlet.restcomm.mgcp.Link] (RestComm-akka.actor.default-dispatcher-6313) Link: akka://RestComm/user/$a/$Nd ,received InitializeLink message from sender: akka://RestComm/user/$qc/$a
[org.mobicents.servlet.restcomm.mgcp.Link] (RestComm-akka.actor.default-dispatcher-6313) Link: akka://RestComm/user/$a/$Nd ,state: uninitialized ,primaryEndpoint: akka://RestComm/user/$a/$Kd ,secondaryEndpoint: akka://RestComm/user/$a/$Md
[org.mobicents.servlet.restcomm.mgcp.Link] (RestComm-akka.actor.default-dispatcher-6313) Link: akka://RestComm/user/$a/$Nd ,state: uninitialized InviteEndpoint sent to primaryEndpoint: akka://RestComm/user/$a/$Kd
[org.mobicents.servlet.restcomm.mgcp.Link] (RestComm-akka.actor.default-dispatcher-6313) Link: akka://RestComm/user/$a/$Nd ,state: initializing primary ,primaryEndpointId: mobicents/bridge/17#127.0.0.1:2427 ,secondaryEndpoint: akka://RestComm/user/$a/$Md secondaryEndpoint isTerminated: false
[org.mobicents.servlet.restcomm.telephony.MediaGroup] (RestComm-akka.actor.default-dispatcher-6313) MediaGroup :akka://RestComm/user/$qc/$a state: initializing link session: 65 link: akka://RestComm/user/$a/$Nd will ask to open Link
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6314) ********** VoiceInterpreter's akka://RestComm/user/$rc Current State: initializing call media group
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6308) ********** VoiceInterpreter's akka://RestComm/user/$rc Processing Message: org.mobicents.servlet.restcomm.telephony.MediaGroupStateChanged
[org.mobicents.servlet.restcomm.rvd.http.resources.RvdController] (http-/127.0.0.1:8080-5) Received Restcomm POST request
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6305) ********** VoiceInterpreter's akka://RestComm/user/$rc Current State: downloading rcml
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6305) ********** VoiceInterpreter's akka://RestComm/user/$rc Processing Message: org.mobicents.servlet.restcomm.http.client.DownloaderResponse
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6313) ********** VoiceInterpreter's akka://RestComm/user/$rc Current State: ready
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6313) ********** VoiceInterpreter's akka://RestComm/user/$rc Processing Message: org.mobicents.servlet.restcomm.interpreter.rcml.Tag
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6308) ********** VoiceInterpreter's akka://RestComm/user/$rc Current State: pausing
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6308) ********** VoiceInterpreter's akka://RestComm/user/$rc Processing Message: akka.actor.ReceiveTimeout$
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6308) ********** VoiceInterpreter's akka://RestComm/user/$rc Current State: ready
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6308) ********** VoiceInterpreter's akka://RestComm/user/$rc Processing Message: org.mobicents.servlet.restcomm.interpreter.rcml.Tag
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6313) ********** VoiceInterpreter's akka://RestComm/user/$rc Current State: processing gather children
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6313) ********** VoiceInterpreter's akka://RestComm/user/$rc Processing Message: org.mobicents.servlet.restcomm.cache.DiskCacheResponse
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6313) ********** VoiceInterpreter's akka://RestComm/user/$rc Current State: processing gather children
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6313) ********** VoiceInterpreter's akka://RestComm/user/$rc Processing Message: org.mobicents.servlet.restcomm.interpreter.StartGathering
[org.mobicents.servlet.sip.core.dispatchers.InitialRequestDispatcher] (Mobicents-SIP-Servlets-UDPMessageChannelThread-497) Request event dispatched to RestComm
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6308) ********** VoiceInterpreter's akka://RestComm/user/$rc Current State: gathering
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6308) ********** VoiceInterpreter's akka://RestComm/user/$rc Processing Message: org.mobicents.servlet.restcomm.telephony.MediaGroupResponse
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6308) Digits collected:
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6308) Attribute, Action or Digits is null, FinishGathering failed, moving to the next available verb
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6308) ********** VoiceInterpreter's akka://RestComm/user/$rc Current State: finish gathering
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6308) ********** VoiceInterpreter's akka://RestComm/user/$rc Processing Message: org.mobicents.servlet.restcomm.interpreter.rcml.End
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6308) ********** Call's akka://RestComm/user/$qc Current State: "in progress
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6308) ********** Call akka://RestComm/user/$qc Processing Message: "org.mobicents.servlet.restcomm.telephony.Hangup sender : class akka.actor.RepointableActorRef
[org.mobicents.servlet.restcomm.mgcp.Connection] (RestComm-akka.actor.default-dispatcher-6308) ********** Connection Current State: open
[org.mobicents.servlet.restcomm.mgcp.Connection] (RestComm-akka.actor.default-dispatcher-6308) ********** Connection Processing Message: org.mobicents.servlet.restcomm.mgcp.CloseConnection
[org.mobicents.servlet.restcomm.telephony.util.B2BUAHelper] (RestComm-akka.actor.default-dispatcher-6308) SIP SESSION is NULL
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6308) ********** Call's akka://RestComm/user/$qc Current State: "closing remote connection
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6308) ********** Call akka://RestComm/user/$qc Processing Message: "org.mobicents.servlet.sip.message.Servlet3SipServletResponseImpl sender : class akka.actor.RepointableActorRef
[org.mobicents.servlet.restcomm.mgcp.Connection] (RestComm-akka.actor.default-dispatcher-6313) ********** Connection Current State: closing
[org.mobicents.servlet.restcomm.mgcp.Connection] (RestComm-akka.actor.default-dispatcher-6313) ********** Connection Processing Message: jain.protocol.ip.mgcp.message.DeleteConnectionResponse
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6313) ********** Call's akka://RestComm/user/$qc Current State: "closing remote connection
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6313) ********** Call akka://RestComm/user/$qc Processing Message: "org.mobicents.servlet.restcomm.mgcp.ConnectionStateChanged sender : class akka.actor.LocalActorRef
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6313) Completing Call
[org.mobicents.servlet.sip.core.session.SipSessionImpl] (RestComm-akka.actor.default-dispatcher-6308) Invalidating the sip session (49108927_0fe40796_57a5b08a_879c3206;dd1cd16f62ac436766562edd7ab80ab4#127.0.0.1;879c3206;RestComm)
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6313) Call: akka://RestComm/user/$qc about to stop bridge endpoint: akka://RestComm/user/$a/$Kd
[org.mobicents.servlet.restcomm.telephony.MediaGroup] (RestComm-akka.actor.default-dispatcher-6313) MediaGroup :akka://RestComm/user/$qc/$a at postStop, about to stop ivr endpoint :akka://RestComm/user/$a/$Md
[org.mobicents.servlet.sip.core.session.SipApplicationSessionImpl] (RestComm-akka.actor.default-dispatcher-6308) Invalidating the following sip application session 879c3206;RestComm
[org.mobicents.servlet.restcomm.mgcp.MediaGateway] (RestComm-akka.actor.default-dispatcher-6313) Gateway: akka://RestComm/user/$a about to stop endpoint path: akka://RestComm/user/$a/$Kd isTerminated: false sender: akka://RestComm/user/$qc
[org.mobicents.servlet.sip.core.session.SipApplicationSessionImpl] (RestComm-akka.actor.default-dispatcher-6308) The following sip application session 879c3206;RestComm has been invalidated
[org.mobicents.servlet.restcomm.mgcp.BridgeEndpoint] (RestComm-akka.actor.default-dispatcher-6313) Bridge: akka://RestComm/user/$a/$Kd bridge id: mobicents/bridge/17#127.0.0.1:2427 at postStop, sender: akka://RestComm/deadLetters
[org.mobicents.servlet.restcomm.mgcp.MediaGateway] (RestComm-akka.actor.default-dispatcher-6313) Gateway: akka://RestComm/user/$a about to stop endpoint path: akka://RestComm/user/$a/$Md isTerminated: true sender: akka://RestComm/deadLetters
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6308) ********** VoiceInterpreter's akka://RestComm/user/$rc Current State: hanging up
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6308) ********** VoiceInterpreter's akka://RestComm/user/$rc Processing Message: org.mobicents.servlet.restcomm.telephony.CallStateChanged
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6308) ********** Call's akka://RestComm/user/$qc Current State: "completed
[org.mobicents.servlet.restcomm.telephony.Call] (RestComm-akka.actor.default-dispatcher-6308) ********** Call akka://RestComm/user/$qc Processing Message: "org.mobicents.servlet.restcomm.telephony.DestroyMediaGroup sender : class akka.actor.RepointableActorRef
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6319) VoiceIntepreter: akka://RestComm/user/$rcAt the postStop() method. Will clean up Voice Interpreter. Keep calls: false
[org.mobicents.servlet.restcomm.interpreter.VoiceInterpreter] (RestComm-akka.actor.default-dispatcher-6319) At postStop(), will clean up call
Message shown dialing 1, when using Web Trigger (MMS Log)
[RtpHandler] Dropping packet because payload type (126) is unknown.
Message shown dialing 1, when app is called using SIP Client (MMS Log)
[EventBuffer] Receive 1 tone
[PlayCollect] (mobicents/ivr/54) Tone '1' has been detected
[PlayCollect] (mobicents/ivr/54) Tone '1' has been detected: collected
[DetectorImpl] (mobicents/ivr/54) (detector) Delivered '1' tone
Message shown when the call ends unexpectedly, when using Web Trigger (MMS Log)
[RtpMember] rtt=2054713442 - 2054584926 - 127729 = 787 => 12ms
[PlayCollect] (mobicents/ivr/35) Timeout expired waiting for dtmf
[MGCP] tx=62 Started, message= NTFY mobicents/ivr/35#127.0.0.1:2427, call agent = localhost/127.0.0.1:2727
[MGCP] tx=62 was executed normaly
[MGCP] tx=147484061 Started, message= DLCX mobicents/bridge/25#127.0.0.1:2427, call agent = localhost/127.0.0.1:2727
[MGCP] tx=147484061 was executed normaly

What version of Restcomm do you use?
Can you also check the MMS log when the application fails?
The MMS logs can be found at $RESTCOMM_HOME/mediaserver/log/server.log

Related

Flutter mysql1 got packets out of order

I have some troubles in setting up a connection with my VPS with the library mysql1 on flutter. I get this error Unhandled Exception: Error 1156 (08S01): Got packets out of order when I perform a query.
MySQL server version: 8.0.28
This is my service in which I perform the connection with my database.
var settings = ConnectionSettings(
host: 'MY_ADDRESS',
port: 3306,
user: 'root',
password: 'MY_PASSWORD',
db: 'MY_DATABASE'
);
Future connect() async {
return await MySqlConnection.connect(settings);
}
And then I try to retrieve users information in another method in this way:
var connection = await mysqlService.connect();
var res = await connection.query('select name from users');
await connection.close();
The problem is in the connection.query function which generate the error:
[VERBOSE-2:ui_dart_state.cc(209)] Unhandled Exception: Error 1156 (08S01): Got packets out of order
#0 Handler.checkResponse
package:mysql1/…/handlers/handler.dart:77
#1 QueryStreamHandler.processResponse
package:mysql1/…/query/query_stream_handler.dart:50
#2 ReqRespConnection._handleData
package:mysql1/src/single_connection.dart:349
#3 ReqRespConnection._handleHeader
package:mysql1/src/single_connection.dart:318
<asynchronous suspension>
#4 ReqRespConnection._readPacket
package:mysql1/src/single_connection.dart:303
<asynchronous suspension>
I Am not sure if it is a problem with the database that I have on my VPS or is something else.
This package appears to have problems with MySQL 8.
Try to use mysql_client, this one helped me.
https://pub.dev/packages/mysql_client

why does my node app works for a few moments on and crashes( heroku)?

i have deployed a nodejs app on heroku with ClearDb mysql, the app works for a few moments then crashes. i checked logs and got this errors
2019-09-20T19:03:41.536452+00:00 app[web.1]: events.js:174
2019-09-20T19:03:41.536474+00:00 app[web.1]: throw er; // Unhandled 'error' event
2019-09-20T19:03:41.536476+00:00 app[web.1]: ^
2019-09-20T19:03:41.536478+00:00 app[web.1]:
2019-09-20T19:03:41.536481+00:00 app[web.1]: Error: Connection lost: The server closed the connection.
2019-09-20T19:03:41.536483+00:00 app[web.1]: at Protocol.end (/app/node_modules/mysql/lib/protocol/Protocol.js:112:13)
2019-09-20T19:03:41.536485+00:00 app[web.1]: at Socket.<anonymous> (/app/node_modules/mysql/lib/Connection.js:97:28)
2019-09-20T19:03:41.536488+00:00 app[web.1]: at Socket.<anonymous> (/app/node_modules/mysql/lib/Connection.js:525:10)
2019-09-20T19:03:41.53649+00:00 app[web.1]: at Socket.emit (events.js:203:15)
2019-09-20T19:03:41.536492+00:00 app[web.1]: at endReadableNT (_stream_readable.js:1145:12)
2019-09-20T19:03:41.536495+00:00 app[web.1]: at process._tickCallback (internal/process/next_tick.js:63:19)
2019-09-20T19:03:41.536497+00:00 app[web.1]: Emitted 'error' event at:
2019-09-20T19:03:41.536503+00:00 app[web.1]: at Connection._handleProtocolError (/app/node_modules/mysql/lib/Connection.js:426:8)
2019-09-20T19:03:41.536506+00:00 app[web.1]: at Protocol.emit (events.js:198:13)
2019-09-20T19:03:41.536509+00:00 app[web.1]: at Protocol._delegateError (/app/node_modules/mysql/lib/protocol/Protocol.js:398:10)
2019-09-20T19:03:41.536511+00:00 app[web.1]: at Protocol.end (/app/node_modules/mysql/lib/protocol/Protocol.js:116:8)
2019-09-20T19:03:41.536513+00:00 app[web.1]: at Socket.<anonymous> (/app/node_modules/mysql/lib/Connection.js:97:28)
2019-09-20T19:03:41.536515+00:00 app[web.1]: [... lines matching original stack trace ...]
2019-09-20T19:03:41.536517+00:00 app[web.1]: at process._tickCallback (internal/process/next_tick.js:63:19)
2019-09-20T19:03:41.599727+00:00 heroku[web.1]: Process exited with status 1
2019-09-20T19:03:41.653368+00:00 heroku[web.1]: State changed from up to crashed
This could be the problem
You can use the following code to handle the server disconnect
var db_config = {
host: 'localhost',
user: 'root',
password: '',
database: 'example'
};
var connection;
function handleDisconnect() {
connection = mysql.createConnection(db_config); // Recreate the connection, since
// the old one cannot be reused.
connection.connect(function(err) { // The server is either down
if(err) { // or restarting (takes a while sometimes).
console.log('error when connecting to db:', err);
setTimeout(handleDisconnect, 2000); // We introduce a delay before attempting to reconnect,
} // to avoid a hot loop, and to allow our node script to
}); // process asynchronous requests in the meantime.
// If you're also serving http, display a 503 error.
connection.on('error', function(err) {
console.log('db error', err);
if(err.code === 'PROTOCOL_CONNECTION_LOST') { // Connection to the MySQL server is usually
handleDisconnect(); // lost due to either server restart, or a
} else { // connnection idle timeout (the wait_timeout
throw err; // server variable configures this)
}
});
}
handleDisconnect();

Express app getting disconnected right after the connection

I created a rest api with Express. on my server.js the i have my mysql connection.. though the connection is made at first. It's working on my local machine properly but when i deployed on AWS EC2 service then i am facing this problem..
server.js
var mysql = require('mysql');
var connection = mysql.createConnection({
host: 'localhost',
user: 'myusername',
password: 'mypassword',
database: 'mydatabasename'
});
connection.connect(function (err) {
if (err) throw err;
console.log('connected!');
});
module.exports = connection;
i tried pm 2 handledisconnect() following other project function none worked.getting following error...
restapi#0.0.0 start /home/bcs_quiz_console/bcs-preparation-backend/restapi
npm start
connected!
events.js:180
throw er; // Unhandled 'error' event
^
Error: Connection lost: The server closed the connection.
at Protocol.end (/home/bcs_quiz_console/bcs-preparation-backend/restapi/node_modules/mysql/lib/protocol/Protocol.js:112:13)
at Socket. (/home/bcs_quiz_console/bcs-preparation-backend/restapi/node_modules/mysql/lib/Connection.js:97:28)
at Socket. (/home/bcs_quiz_console/bcs-preparation-backend/restapi/node_modules/mysql/lib/Connection.js:525:10)
at Socket.emit (events.js:208:15)
at endReadableNT (_stream_readable.js:1168:12)
at processTicksAndRejections (internal/process/task_queues.js:77:11)
Emitted 'error' event at:
at Connection._handleProtocolError (/home/bcs_quiz_console/bcs-preparation-backend/restapi/node_modules/mysql/lib/Connection.js:426:8)
at Protocol.emit (events.js:203:13)
at Protocol._delegateError (/home/bcs_quiz_console/bcs-preparation-backend/restapi/node_modules/mysql/lib/protocol/Protocol.js:398:10)
at Protocol.end (/home/bcs_quiz_console/bcs-preparation-backend/restapi/node_modules/mysql/lib/protocol/Protocol.js:116:8)
at Socket. (/home/bcs_quiz_console/bcs-preparation-backend/restapi/node_modules/mysql/lib/Connection.js:97:28)
[... lines matching original stack trace ...]
at processTicksAndRejections (internal/process/task_queues.js:77:11) {
fatal: true,
code: 'PROTOCOL_CONNECTION_LOST'
}
Thank anyone who can help in advance..

How can I interact with a RDS MySQL instance with Node.js Lambda function?

I am attempting to access a MySQL database hosted on amazon RDS through amazon Lambda. I have .js files that I can run through cmd line on windows, but when I transfer to Lambda, I cannot connect to the database. I researched this issue thoroughly, and even after following this guide: Redstapler AWS, I receive a "process exited before completing request" error message.
My Code, copied from the above tutorial
var mysql = require('mysql');
var pool = mysql.createPool({
host: "",
user: "",
password: "",
database: ""
});
exports.handler = (event,context,callback) => {
context.callbackWaitFOrEmptyEventLoop = false;
pool.getConnection(function(err,connection){
if (err) throw err;
connection.query("SELECT * FROM testdata limit 10",
function(error,result,fields){
connection.release();
if (error) callback(error)
else callback(null,result)
});
});
};
Error Message received from Amazon Lambda
Response:
{
"errorMessage": "RequestId: b5151db1-6db8-11e8-8004-1b9e8072561c Process exited before completing request"
}
Request ID:
"b5151db1-6db8-11e8-8004-1b9e8072561c"
Function Logs:
START RequestId: b5151db1-6db8-11e8-8004-1b9e8072561c Version: $LATEST
2018-06-11T20:48:01.478Z b5151db1-6db8-11e8-8004-1b9e8072561c Error: Handshake inactivity timeout
at Handshake. (/var/task/node_modules/mysql/lib/protocol/Protocol.js:164:17)
at emitNone (events.js:86:13)
at Handshake.emit (events.js:185:7)
at Handshake._onTimeout (/var/task/node_modules/mysql/lib/protocol/sequences/Sequence.js:129:8)
at ontimeout (timers.js:386:14)
at tryOnTimeout (timers.js:250:5)
at Timer.listOnTimeout (timers.js:214:5)
--------------------
at Protocol._enqueue (/var/task/node_modules/mysql/lib/protocol/Protocol.js:145:48)
at Protocol.handshake (/var/task/node_modules/mysql/lib/protocol/Protocol.js:52:23)
at PoolConnection.connect (/var/task/node_modules/mysql/lib/Connection.js:130:18)
at Pool.getConnection (/var/task/node_modules/mysql/lib/Pool.js:48:16)
at exports.handler (/var/task/main.js:11:6)
END RequestId: b5151db1-6db8-11e8-8004-1b9e8072561c
REPORT RequestId: b5151db1-6db8-11e8-8004-1b9e8072561c Duration: 10074.63 ms Billed Duration: 10100 ms Memory Size: 1280 MB Max Memory Used: 27 MB
RequestId: b5151db1-6db8-11e8-8004-1b9e8072561c Process exited before completing request
This tutorial is highly rated and seems reputable, but I am unable to replicate its success. The error seems to imply that the connection.release is located in the wrong spot, or that I need to have another way of ending the connection and returning it to the pool.
Check to see that RDS instance security groups allow access from lambda IP address range (https://docs.aws.amazon.com/general/latest/gr/aws-ip-ranges.html) or place the lambda in VPC from which RDS instance is accessible.By default lambda is not in VPC...
Similar question:
updated : AWS Lambda is not able to connect to MySQL
Put console log statements to know if you are able to connect to RDS or not.
...
connection.release();
console.log(result);
if (error) callback(error)
...
Make sure you call pool.end() before calling callback function else lambda function execution won't be exited properly so you will get the timeout error.

Node-mysql Pool disconnecting after a few hours

After a few hours of running my express node application the server loses connection to the mysql server. I am using a connection pool so it shouldn't be disconnecting. Here is how I initialize the pool:
pool = mysql.createPool({
connectionLimit : 10,
host : creds.mysql_host,
port : creds.mysql_port,
database : creds.mysql_db,
user : creds.mysql_user,
password : creds.mysql_pass,
multipleStatements : true
});
To talk to the mysql server I do:
pool.query("statement", [inputs], callback);
Could the server be crashing and the pool cannot reconnect? Do I need to do connection.release() even when using connection.query? The error the server reports is:
Error: Connection lost: The server closed the connection.
at Protocol.end (/opt/node-v0.10.20-linux-x64/IM/node_modules/mysql/lib/protocol/Protocol.js:73:13)
at Socket.onend (stream.js:79:10)
at Socket.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:920:16
at process._tickCallback (node.js:415:13)