Conversation
|
While you are at it, also add API Buddy::subscribeDlgEvent() and updateDlgEvent()? |
|
@sauwming, Buddy::subscribeDlgEvent() and updateDlgEvent()? added. |
sauwming
left a comment
There was a problem hiding this comment.
You also need to sign the CLA.
|
Hi @sauwming and @thanhloi2603 , I hope I'm not doing this comment in the wrong place, but I can't get the onBuddyDlgEventState callback called, even if after this new PR I can successfully see the NOTIFY messages and their updates in the logs. this is my subscribe function in my app: and it's working perfectly as it should. The problematic part is that even when the dialog event arrives with another state (and I can see it from the logs) I can't reach my function: What am I doing wrong? |
|
I guess you have to rebuild both pjproject and pjsua2 porting apps, I suggest you do it at master as the commits were already merged. |
|
I already did that and infact now I can see in the console the NOTIFY messages arriving (before your PR I couldn't), but I can't get the callback function onBuddyDlgEventState to get called and so I can't intercept events 😢 |
|
@palla89 |
|
I didn't post the code of it but both of the functions are not getting triggered unfortunately 😔 I really can't understand why I'm not sure the function content is totally correct but I'm at the point where I just would be happy if it would called 😃 |
|
No need to apologize, you made a great work! thank you very much for checking my issue, I'm gonna try it today or at worst tomorrow and let you know 😄 |
Hi all, following up the PR #3754 for implementing the Dialog Event subscription (client only) which is working fine and present in 2.15.1.
But there is no porting to the applications to use the feature (python3 in my case).
So please preview this PR as I'm currently having it working with my setup.
I'm not sure how to setup automated unit tests (if there is any) in opening this PR, so feel free to correct me then.
Thank you.