[Freeswitch-users] Fwd: mod_python always gives an error at first dialplan call

Joseph L. Casale jcasale at activenetwerx.com
Thu Aug 21 03:03:07 MSD 2014


> 2014-08-18 07:03:26.341145 [ERR] mod_python.c:293 Error calling python script
> 2014-08-18 07:03:26.341145 [ERR] mod_python.c:164 Python Error by calling script "stable.disa": <type 'exceptions.AttributeError'>
> Message: 'PySwigObject' object has no attribute 'sleep'
>
>
> This only happens with the first call after a restart. After that everything works fine.
> I never saw this in FS 1.2

Can you post come code? I am guessing you can probably add in some retry logic for
whatever situation causes the object to not have the expected attribute...


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list