Can't restore configuration from backup made today
QBZappy:
Quote from: OZOi on February 27, 2013, 02:32:28 pm
<V">myPassword</V> <----------- <V"><![CDATA[myPassword]]></V> (Replace with this) BTW that " in the V" looks out of place.
I'm no coder and more than likely completely off base, but I was curious about what you are trying to do. I read on some other site that an XML parser can be forced to treat data as text using this syntax. Just a stab in the dark.:
<![CDATA[
<!-- comment treated as plain text -->
]]>
OZOi:
Of course you're right. There should be no " after V. It was a typo, made when I edited my post. Now it's fixed. Thank you, @QBZappy :)
I tried your suggestion and used:
<ParameterList>
<O>
<N>VoiceService.1.VoiceProfile.1.Line.1.SIP.</N>
<P>
<N>AuthPassword</N>
<V><![CDATA[myPassword]]></V>
</P>
</O>
</ParameterList>
No luck, unfortunately. This code doesn't work too:
<ParameterList>
<O>
<N>VoiceService.1.VoiceProfile.1.Line.1.SIP.AuthPassword</N>
<P>
<V>myPassword</V>
</P>
</O>
</ParameterList>
But please keep your suggestions coming :)
Does anybody have any success in entering password from configuration file?
CoalMinerRetired:
Quote from: OZOi on February 27, 2013, 07:00:36 pm
But please keep your suggestions coming :)
Does anybody have any success in entering password from configuration file?
Based on statements Obi documentation make, such as this "Note: Neither database maintains storage of passwords used by OBi devices for administrative access or voice service registration. When a password is entered and submitted via the OBiTALK or OBi Expert Configuration web pages, it is sent securely to the device (on the next profile re-sync) and then deleted." link, it makes you wonder if that same exclusion extends to the XML schema, and possibly there is no field for password.
I don't want to discourage you from investigating this, if you figure it out, then it would be one of those obscure but useful tips and tricks that is worth knowing. But you do have to wonder if it can ever work. So take this as FYI.
OZOi:
Well, it sounds somehow discouraging ;)
I don't know about OBiTALK dashboard (I don't use it), but when I submit password using direct web connection to OBi device, the password comes in a plain text (within POST packet). Here is copy/paste example, captured with Wireshark:
uri=\"/result.html?d4777741=myPass\"
But even if they used a digest/hash, I'd like to know that and apply for password values in my configuration files too. So, I don't need to manually re-submit passwords and then reboot the OBi, just to be able to use SIP providers every time I restore configuration from saved XML files...
QBZappy:
OZOi,
Service providers who manage the OBi devices for their customers obviously have a solution for this. If you want to take this to the final solution, I think you need to set yourself up as a self provisioning server.
I remember some discussion a long time ago about this. You will need to search the forum for this discussion. RonR participated in the thread.There is also some reading material on the OBi web site which I believe is available for everyone regarding ISP providers which may provide some direction. If memory serves, it basically is an XML file approach. I suspect that the passwords may be handled differently as the ISP lock the units from the customers.
I had been interested in doing a "How to" on the topic of self provisioning. Perhaps you will beat me to it. Let us know.
I see that you talk to RonR over at DSL. He would be the right person to ask. It's funny that we have to ask OBi related questions over at some other site because of the strained relationships.
Navigation
[0] Message Index
[#] Next page
[*] Previous page