-
Notifications
You must be signed in to change notification settings - Fork 29
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
Call not hangup after playback done #50
Comments
Look like PLAYBACK_STOP not subscribed:-
|
I just appended PLAYBACK_STOP to std in
|
@k4ml ahh yes you're completely right. The
Yes this is because a Yeah so the new way to do this would be with @k4ml what do you think about this API: router = Router(
guards={'Call-Direction': 'inbound'},
subscribe=("PLAYBACK_STOP"),
) |
@k4ml I just created #51 to fix this. Unfortunately, I can't check that it fully works since it seems our version of dockerized FreeSWITCH isn't responding to |
Tested and it work. On the API, is it too late to subscribe the event anytime |
@k4ml great thanks!
We could try it but it means that now we have to have extra logic for every call to @moises-silva @vodik any opinions on this? @k4ml btw what version of FS are you using because I can't seem to get |
@tgoodlet FreeSWITCH version: 1.6.19-36-7a77e0b~64bit (-36-7a77e0b 64bit). Running this on Debian 8 ec2 instance. |
@k4ml you should come in our riot channel :) I'd like to ask you a few more questions if you don't mind. |
Allow router apps to subscribe to events that will be awaited internally by specifying the event list when decorating a coroutine. Resolves #50
I was trying the example:-
After the media playback was done, the call just stay there and didn't hangup. After hanging up from the caller, I got this:-
I print the
evname
inloop.py:_listen_forever()
and we can see, no PLAYBACK_STOP coming. I was connected through telnet in the other console and I can see PLAYBACK_STOP coming to that connection so the event was fired by freeswitch.The text was updated successfully, but these errors were encountered: