calls from -e are starting before register #2921
Replies: 7 comments 2 replies
-
Not sure if this is an issue. I don't think that there is a wait for registration condition for the |
Beta Was this translation helpful? Give feedback.
-
yes, making the -e "/dial" not compatible / useful, so that should fire a warning or have a possibility for the command for wait for that hook/event? |
Beta Was this translation helpful? Give feedback.
-
It sounds like you are using BareSIP in ways where simply calling it from the command line with some option is not enough. You might have to develop a small application that listens to BareSIP events and then triggers certain events. That's what the multiple BareSIP interfaces have been developed for. |
Beta Was this translation helpful? Give feedback.
-
yes, I guess I should use the stdin at this point, or try the D-Bus |
Beta Was this translation helpful? Give feedback.
-
sorry for one more, and I hope last ping / tag, @maximilianfridrich do you guys any index / file I can use for reference for the list of "events" that the baresip fires? so I can try to catch them, for example, when registration is successful ? |
Beta Was this translation helpful? Give feedback.
-
Yes, see https://github.com/baresip/baresip/blob/main/include/baresip.h#L825-L862. |
Beta Was this translation helpful? Give feedback.
-
I started working on it, I just found the https://github.com/baresip/baresip/blob/main/modules/ctrl_tcp/ctrl_tcp.c, |
Beta Was this translation helpful? Give feedback.
-
Hello,
When I do a call from -e command, the calls starts immediately without waiting for registration.
Beta Was this translation helpful? Give feedback.
All reactions