2 Mar
2010
2 Mar
'10
2:32 p.m.
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: