[SIP Beyond VoIP] TypeError: storage must implement the ISIPSimpleStorage interface
Jason Ostrom
jpo at pobox.com
Fri Dec 13 16:48:21 CET 2013
Saúl,
Thank you for the advice. I have sipclients package, I will take a look and get this resolved.
Jason
On Dec 13, 2013, at 3:35 AM, Saúl Ibarra Corretgé <saul at ag-projects.com> wrote:
> Hi Jason,
>
> On Dec 13, 2013, at 12:42 AM, Jason Ostrom wrote:
>
>> Hello,
>>
>> I'm getting an error of the following with a python script that uses SIP Simple SDK. Running latest version of SDK:
>>
>> "
>> File "/usr/lib/python2.7/dist-packages/sipsimple/application.py", line 79, in start
>> raise TypeError ("storage must implement the ISIPSimpleStorage interface")
>> TypeError: storage must implement the ISIPSimpleStorage interface
>> "
>>
>> Been trying to debug this issue, please let me know if any ideas to troubleshoot. What is missing in config?
>>
>> Contacted the developers of this code (https://code.google.com/p/moshimoshi), and they said that it used to work, so it might be newer version of SDK.
>
> Well, their code is from 2011, many things have changed since :-)
>
>>
>> The problem is call to the configuration file in python script:
>> "
>> self.start(FileBackEnd('config')
>> "
>>
>
> That FileBackEnd class needs to implement ISIPSimpleStorage interface, otherwise it won't work. You can use the FileStorage class, checkout the sipclients package, it contains very complete examples.
>
>> This file exists in the working directory and it used to work for the authors. Something must have changed in SIP Simple SDK?
>>
>
> As I said, many things have changed since. Have a look at sipclients and adjust the code. I haven't looked at it, but it shouldn't take long to port it.
>
>
> Regards,
>
> --
> Saúl Ibarra Corretgé
> AG Projects
>
>
>
> _______________________________________________
> SIPBeyondVoIP mailing list
> SIPBeyondVoIP at lists.ag-projects.com
> http://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip
More information about the SIPBeyondVoIP
mailing list