-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
shifted replies with outbound connection #72
Comments
Seems reasonable. I haven't worked on this lib for a while and don't have a freeswitch instance handy. If making this change works for you, feel free to put in a PR and I'll merge it. |
Thanks Chad for the feedback. I'll prepare a PR. |
I don't have a FreeSWITCH instance anymore either. I was wandering if it would take a long time to write an integration test for that using a Docker container with FreeSWITCH: https://hub.docker.com/r/bettervoice/freeswitch-container/ I think the same problem will be back for any PR so I thought a solution might be integration tests with a FreeSWITCH container. |
Sounds great, I'd be happy to merge something that sets that up. Preferably with TravisCI. |
I think I am seeing similar issues. I am trying to run the "create_uuid" command on FreeSWITCH servers and I see almost comical responses from FreeSWITCH. I am not sure if it's my FS implementation or the node.js Library. Here's what I see:
|
A PR never went in for this, so AFAIK this issue still exists. |
Hi all,
I should be able to provide a PR in the weeks to come.
Thomas
… Le 13 juin 2019 à 16:12, Chad Engler ***@***.***> a écrit :
A PR never went in for this, so AFAIK this issue still exists.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#72?email_source=notifications&email_token=AB3ZWROBNA2T2X6UKM3TZYTP2JIT3A5CNFSM4EZQCJG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXT2I6A#issuecomment-501720184>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AB3ZWRJHOOZ6FRE4OPGGBULP2JIT3ANCNFSM4EZQCJGQ>.
|
Hi,
I think there be be an issue with the outbound connection setup. When I run something like:
The output is:
This looks that the result of the previous command. The initial outbound code in Connection.js reads:
Since
send
is used for sending connect, there are no registeredcommand/reply
listener. As a result, the subsequentsubscribe
gets theconnect
result and then thelinger
gets thesubscribe
result. It seemssendRecv
should be used, with the callback, it could probably be simplified as:since the
esl::event::CHANNEL_DATA
is actually the reply to theconnect
command.Regards,
Tom
The text was updated successfully, but these errors were encountered: