You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using manager = asterisk.manager.Manager() then manager.hostname is always set to the hostname of the machine running the python code. Am I alone in expecting that this should really be the hostname of the client we're talking to instead?
The text was updated successfully, but these errors were encountered:
Well, this makes it work how I think it probably should work. I cannot see any point in having it tell me what the hostname of the machine running the pyst2 code is. If I do want to know that then there are already ways to do that. What I want it to tell me is the remote hostname of the connected asterisk manager that this asterisk.manager.Manager() is connected to and the patch attached makes it do that though I am unsure about setting it to "Unconnected" in _init though it is accurate (otherwise it also shows up as the pyst2 code machine when the manager isn't connected)
When using
manager = asterisk.manager.Manager()
then manager.hostname is always set to the hostname of the machine running the python code. Am I alone in expecting that this should really be the hostname of the client we're talking to instead?The text was updated successfully, but these errors were encountered: