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
Currently there are methods for changing the call forwarding state. Phone.enable() and Phone.disable() set the call forwarding for configured phones. However, I was attempting to be able to simply obtain the current value. Truthfully it would more than likely be best that the value were actually set on the phone's dict when returned from the listed phones. Such as:
#!/usr/bin/env python
from googlevoice import Voice,Phone,util
import sys
voice = Voice()
voice.login()
for phone in voice.phones:
print phone.call_forwarding
On a side note, I did see some properties that seems like they might be of use, but they did not get the state correctly. It seems that many of the phone properties are meant to represent a contact entry rather than a phone per se, being they are returned from voice.contacts['phones']
The text was updated successfully, but these errors were encountered:
Currently there are methods for changing the call forwarding state.
Phone.enable()
andPhone.disable()
set the call forwarding for configured phones. However, I was attempting to be able to simply obtain the current value. Truthfully it would more than likely be best that the value were actually set on the phone's dict when returned from the listed phones. Such as:On a side note, I did see some properties that seems like they might be of use, but they did not get the state correctly. It seems that many of the phone properties are meant to represent a contact entry rather than a phone per se, being they are returned from
voice.contacts['phones']
The text was updated successfully, but these errors were encountered: