Adhearsion::Call::CommandTimeout

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Adhearsion::Call::CommandTimeout

Lloyd Hughes
Hi,

I have started encountering a problem which I have not managed to get trace level logs from because it only occurs occasionally, and we have never gotten it to occur in development testing.

I receive the following error:

[2014-08-18 10:46:30] ERROR Adhearsion::OutboundCall: 2d97b11d-5f3c-41b9-8b4c-a0c181ec9e66@: <Adhearsion::Call::CommandTimeout> #<Punchblock::Command::Join target_call_id="2d97b11d-5f3c-41b9-8b4c-a0c181ec9e66", target_mixer_name=nil, component_id=nil, source_uri=nil, domain=nil, transport=nil, timestamp=Mon, 18 Aug 2014 10:45:30 +0200, request_id="d31ab135-ba27-4b0c-a0df-cbfea6ab64e8", call_uri="9e9e19f1-ab56-4481-91ba-3c0201ca9675", mixer_name=nil, direction=nil, media=nil>

And the last command issued for on this call before the error was the Join command, issued a minute earlier.

[2014-08-18 10:45:30] DEBUG Adhearsion::OutboundCall: 2d97b11d-5f3c-41b9-8b4c-a0c181ec9e66@: Executing command #<Punchblock::Command::Join target_call_id=nil, target_mixer_name=nil, component_id=nil, source_uri=nil, domain=nil, transport=nil, timestamp=Mon, 18 Aug 2014 10:45:30 +0200, request_id="d31ab135-ba27-4b0c-a0df-cbfea6ab64e8", call_uri="9e9e19f1-ab56-4481-91ba-3c0201ca9675", mixer_name=nil, direction=nil, media=nil>

There are no other errors or stack traces in the log (logging is set to Debug level), and the call does get issued a hangup, as seen below. But the on_end and after_call handlers never get run.

[2014-08-18 10:46:30] DEBUG Adhearsion::OutboundCall: 2d97b11d-5f3c-41b9-8b4c-a0c181ec9e66@: Finished executing controller #<OutboundAgentController call=2d97b11d-5f3c-41b9-8b4c-a0c181ec9e66, metadata={:extension=>"214"}>
[2014-08-18 10:46:30] INFO  Adhearsion::Router::Route: Call routing completed. Hanging up now...
[2014-08-18 10:46:30] INFO  Adhearsion::OutboundCall: 2d97b11d-5f3c-41b9-8b4c-a0c181ec9e66@: Hanging up
[2014-08-18 10:46:30] DEBUG Adhearsion::OutboundCall: 2d97b11d-5f3c-41b9-8b4c-a0c181ec9e66@: Executing command #<Punchblock::Command::Hangup target_call_id=nil, target_mixer_name=nil, component_id=nil, source_uri=nil, domain=nil, transport=nil, timestamp=Mon, 18 Aug 2014 10:46:30 +0200, request_id="8c7bd120-fc3b-4645-b784-a6940c7401e6", headers={}>

Any idea what causes the issue? Or why on_end isn't called even though the hangup is issued?

Thanks

--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Adhearsion::Call::CommandTimeout

Ben Langfeld
Without trace logs it's impossible say. If you can't get trace logs, maybe you could get a packet capture or even strace output.

Em 18/08/2014, às 06:48, Lloyd <[hidden email]> escreveu:

Hi,

I have started encountering a problem which I have not managed to get trace level logs from because it only occurs occasionally, and we have never gotten it to occur in development testing.

I receive the following error:

[2014-08-18 10:46:30] ERROR Adhearsion::OutboundCall: 2d97b11d-5f3c-41b9-8b4c-a0c181ec9e66@: <Adhearsion::Call::CommandTimeout> #<Punchblock::Command::Join target_call_id="2d97b11d-5f3c-41b9-8b4c-a0c181ec9e66", target_mixer_name=nil, component_id=nil, source_uri=nil, domain=nil, transport=nil, timestamp=Mon, 18 Aug 2014 10:45:30 +0200, request_id="d31ab135-ba27-4b0c-a0df-cbfea6ab64e8", call_uri="9e9e19f1-ab56-4481-91ba-3c0201ca9675", mixer_name=nil, direction=nil, media=nil>

And the last command issued for on this call before the error was the Join command, issued a minute earlier.

[2014-08-18 10:45:30] DEBUG Adhearsion::OutboundCall: 2d97b11d-5f3c-41b9-8b4c-a0c181ec9e66@: Executing command #<Punchblock::Command::Join target_call_id=nil, target_mixer_name=nil, component_id=nil, source_uri=nil, domain=nil, transport=nil, timestamp=Mon, 18 Aug 2014 10:45:30 +0200, request_id="d31ab135-ba27-4b0c-a0df-cbfea6ab64e8", call_uri="9e9e19f1-ab56-4481-91ba-3c0201ca9675", mixer_name=nil, direction=nil, media=nil>

There are no other errors or stack traces in the log (logging is set to Debug level), and the call does get issued a hangup, as seen below. But the on_end and after_call handlers never get run.

[2014-08-18 10:46:30] DEBUG Adhearsion::OutboundCall: 2d97b11d-5f3c-41b9-8b4c-a0c181ec9e66@: Finished executing controller #<OutboundAgentController call=2d97b11d-5f3c-41b9-8b4c-a0c181ec9e66, metadata={:extension=>"214"}>
[2014-08-18 10:46:30] INFO  Adhearsion::Router::Route: Call routing completed. Hanging up now...
[2014-08-18 10:46:30] INFO  Adhearsion::OutboundCall: 2d97b11d-5f3c-41b9-8b4c-a0c181ec9e66@: Hanging up
[2014-08-18 10:46:30] DEBUG Adhearsion::OutboundCall: 2d97b11d-5f3c-41b9-8b4c-a0c181ec9e66@: Executing command #<Punchblock::Command::Hangup target_call_id=nil, target_mixer_name=nil, component_id=nil, source_uri=nil, domain=nil, transport=nil, timestamp=Mon, 18 Aug 2014 10:46:30 +0200, request_id="8c7bd120-fc3b-4645-b784-a6940c7401e6", headers={}>

Any idea what causes the issue? Or why on_end isn't called even though the hangup is issued?

Thanks

--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.