Call#join hangs - possibly a Rayo issue

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

Call#join hangs - possibly a Rayo issue

Harry Vangberg-2
I have an issue with originating an outbound call and then joining it to an existing call. In approximately 1 out of 5 times the `Call#join`-method will hang, seemingly because Rayo never responds. Then after some time, the calls are hung up.

My best guess is that this is a Rayo-issue, but I am not entirely sure.

I have reproduced the issue with a minimal amount of code, and I have FreeSWITCH and Adhearsion logs for both a good and a bad run, all of which can be found here: https://gist.github.com/vangberg/44d6768b2cda35fd0743

Any clues? If this is definitely a Rayo-issue, I will create a JIRA ticket for it.

--
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: Call#join hangs - possibly a Rayo issue

Harry Vangberg-2
I did some more testing. Not exactly 1 out of 5 times. It varies a lot.

On 26 November 2014 at 20:55, Harry Vangberg <[hidden email]> wrote:
I have an issue with originating an outbound call and then joining it to an existing call. In approximately 1 out of 5 times the `Call#join`-method will hang, seemingly because Rayo never responds. Then after some time, the calls are hung up.

My best guess is that this is a Rayo-issue, but I am not entirely sure.

I have reproduced the issue with a minimal amount of code, and I have FreeSWITCH and Adhearsion logs for both a good and a bad run, all of which can be found here: https://gist.github.com/vangberg/44d6768b2cda35fd0743

Any clues? If this is definitely a Rayo-issue, I will create a JIRA ticket for it.



--

--
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: Call#join hangs - possibly a Rayo issue

Ben Langfeld-2
The IQ id to grep for is ab26c60b-1757-4440-a80c-c3b46f30c641.

You'll see that this command receives an error response from mod_rayo, but only after 96s, long after the timeout has passed.

It actually looks like you are issuing the command before the channel is fully setup in Rayo.

On 27 November 2014 at 00:01, Harry Vangberg <[hidden email]> wrote:
I did some more testing. Not exactly 1 out of 5 times. It varies a lot.

On 26 November 2014 at 20:55, Harry Vangberg <[hidden email]> wrote:
I have an issue with originating an outbound call and then joining it to an existing call. In approximately 1 out of 5 times the `Call#join`-method will hang, seemingly because Rayo never responds. Then after some time, the calls are hung up.

My best guess is that this is a Rayo-issue, but I am not entirely sure.

I have reproduced the issue with a minimal amount of code, and I have FreeSWITCH and Adhearsion logs for both a good and a bad run, all of which can be found here: https://gist.github.com/vangberg/44d6768b2cda35fd0743

Any clues? If this is definitely a Rayo-issue, I will create a JIRA ticket for it.



--

--
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.
Reply | Threaded
Open this post in threaded view
|

Re: Call#join hangs - possibly a Rayo issue

Harry Vangberg-2

But if you look at the code I do that in the on_answer callback of the B call. Shouldn't the call have been set up in that case?

It is most of the time.

On Nov 27, 2014 7:09 AM, "Ben Langfeld" <[hidden email]> wrote:
The IQ id to grep for is ab26c60b-1757-4440-a80c-c3b46f30c641.

You'll see that this command receives an error response from mod_rayo, but only after 96s, long after the timeout has passed.

It actually looks like you are issuing the command before the channel is fully setup in Rayo.

On 27 November 2014 at 00:01, Harry Vangberg <[hidden email]> wrote:
I did some more testing. Not exactly 1 out of 5 times. It varies a lot.

On 26 November 2014 at 20:55, Harry Vangberg <[hidden email]> wrote:
I have an issue with originating an outbound call and then joining it to an existing call. In approximately 1 out of 5 times the `Call#join`-method will hang, seemingly because Rayo never responds. Then after some time, the calls are hung up.

My best guess is that this is a Rayo-issue, but I am not entirely sure.

I have reproduced the issue with a minimal amount of code, and I have FreeSWITCH and Adhearsion logs for both a good and a bad run, all of which can be found here: https://gist.github.com/vangberg/44d6768b2cda35fd0743

Any clues? If this is definitely a Rayo-issue, I will create a JIRA ticket for it.



--

--
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.

--
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: Call#join hangs - possibly a Rayo issue

Ben Langfeld-2
Yes, I still think this is a mod_rayo bug. It's sending out the answered event before it's got full control of the channel.

On 27 November 2014 at 10:11, Harry Vangberg <[hidden email]> wrote:

But if you look at the code I do that in the on_answer callback of the B call. Shouldn't the call have been set up in that case?

It is most of the time.

On Nov 27, 2014 7:09 AM, "Ben Langfeld" <[hidden email]> wrote:
The IQ id to grep for is ab26c60b-1757-4440-a80c-c3b46f30c641.

You'll see that this command receives an error response from mod_rayo, but only after 96s, long after the timeout has passed.

It actually looks like you are issuing the command before the channel is fully setup in Rayo.

On 27 November 2014 at 00:01, Harry Vangberg <[hidden email]> wrote:
I did some more testing. Not exactly 1 out of 5 times. It varies a lot.

On 26 November 2014 at 20:55, Harry Vangberg <[hidden email]> wrote:
I have an issue with originating an outbound call and then joining it to an existing call. In approximately 1 out of 5 times the `Call#join`-method will hang, seemingly because Rayo never responds. Then after some time, the calls are hung up.

My best guess is that this is a Rayo-issue, but I am not entirely sure.

I have reproduced the issue with a minimal amount of code, and I have FreeSWITCH and Adhearsion logs for both a good and a bad run, all of which can be found here: https://gist.github.com/vangberg/44d6768b2cda35fd0743

Any clues? If this is definitely a Rayo-issue, I will create a JIRA ticket for it.



--

--
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.

--
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.
Reply | Threaded
Open this post in threaded view
|

Re: Call#join hangs - possibly a Rayo issue

Harry Vangberg-2
In reply to this post by Harry Vangberg-2
I have opened a JIRA for the issue, as per crienzo's request.

https://freeswitch.org/jira/browse/FS-7045


On Wednesday, November 26, 2014 8:55:05 PM UTC-5, Harry Vangberg wrote:
I have an issue with originating an outbound call and then joining it to an existing call. In approximately 1 out of 5 times the `Call#join`-method will hang, seemingly because Rayo never responds. Then after some time, the calls are hung up.

My best guess is that this is a Rayo-issue, but I am not entirely sure.

I have reproduced the issue with a minimal amount of code, and I have FreeSWITCH and Adhearsion logs for both a good and a bad run, all of which can be found here: <a href="https://gist.github.com/vangberg/44d6768b2cda35fd0743" target="_blank" onmousedown="this.href='https://www.google.com/url?q\75https%3A%2F%2Fgist.github.com%2Fvangberg%2F44d6768b2cda35fd0743\46sa\75D\46sntz\0751\46usg\75AFQjCNHJ9FqdWuEIirlivKr-ZEkD2iOIfw';return true;" onclick="this.href='https://www.google.com/url?q\75https%3A%2F%2Fgist.github.com%2Fvangberg%2F44d6768b2cda35fd0743\46sa\75D\46sntz\0751\46usg\75AFQjCNHJ9FqdWuEIirlivKr-ZEkD2iOIfw';return true;">https://gist.github.com/vangberg/44d6768b2cda35fd0743

Any clues? If this is definitely a Rayo-issue, I will create a JIRA ticket for it.

--
Harry Vangberg  <[hidden email]>  <a href="http://harry.vangberg.name" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fharry.vangberg.name\46sa\75D\46sntz\0751\46usg\75AFQjCNFRoVK1Uch9LZ9kHog3TTkvY8ruYA';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fharry.vangberg.name\46sa\75D\46sntz\0751\46usg\75AFQjCNFRoVK1Uch9LZ9kHog3TTkvY8ruYA';return true;">http://harry.vangberg.name

--
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.