[Freeswitch-users] SQL ERR: library routine called out of sequence

Brian West brian at freeswitch.org
Tue Mar 2 06:32:05 PST 2010


Yes accessing the db in the method you're doing is unsupport and not recommended.

/b

On Mar 2, 2010, at 6:56 AM, Yehavi Bourvine wrote:

> Since I am aware that I am the only one who experience this problem, I am trying to ivestigate it, although I do not know the source code well...
>  
> I removed all the datbase calls from our scripts and the problem still persists. It happens usually when two calls arrive to the same extension (usually to an SLA one) and one of them disconnects during the ringing phase.
>  
> I've inserted some "printfs" in switch_core_sqldb.c and found that when this happens the variable dbh->io_mutex has a null value, thus no mutex is locked (as far as I understand it).
>  
> I hope this might give some clues.
>  
>                       Thanks! __Yehavi:





More information about the FreeSWITCH-users mailing list