[Freeswitch-users] Crash in mod_opal when hanging up call...

Peter Olsson peter.olsson at visionutveckling.se
Thu Apr 9 06:34:09 PDT 2009


Hello everyone. I've been following this project for quite some time now, but I never got the time to test it. But today I finally had a day off from work, so I could sit and play around with it for some time :) Everything wen't really smooth - even though I built everything from scratch on a Windows machine, including mod_opal (linked against the opal library). And with the docs I found I didn't even have to search Google to get it up and running :) So first of all - what a great job, guys - I'm really impressed, and the code seems really stable as well!

My setup right now is FreeSWITCH in Windows XP, with both SIP and H323 enabled. And most of the stuff works just fine. However, I think I've found a bug in mod_opal - it sometimes causes FreeSWITCH to crash when hanging up a call. I think that mod_opal is considered to be in beta stage still, so I'm not all that surprised. :) Check the error found in the log below. Does anyone have any ideas? It's pretty easy to reproduce, just dial in to FreeSWITCH using H323 and hang up the call, for me it happens maybe 2 out of 5 times.

I'm using latest SVN trunk versions (checked out today), for both FreeSWITCH and for opal/ptlib.

If you need further information, or if I should file a jira case, please get back to me, and I'll try to help out as much as possible.

2009-04-09 14:37:05 [NOTICE] mod_opal.cpp:657 FSConnection::OnAlerting() Ring-Ready !
2009-04-09 14:37:05 [NOTICE] switch_channel.c:597 switch_channel_set_name() New Channel opal/in:9999 [c7441e16-394c-d843-9ce4-760786dcecbf]
2009-04-09 14:37:05 [INFO] mod_dialplan_xml.c:252 dialplan_hunt() Processing Peter Olsson [172.18.96.100]->9999 in context default
2009-04-09 14:37:05 [INFO] mod_opal.cpp:1134 mod_opal() opal/in:9999 initialise opal/in:9999write audio codec G.711-uLaw-64k for connection FSMediaStream-Source-G.711-uLaw-64k
2009-04-09 14:37:05 [INFO] mod_opal.cpp:1134 mod_opal() opal/in:9999 initialise opal/in:9999read audio codec G.711-uLaw-64k for connection FSMediaStream-Sink-G.711-uLaw-64k
2009-04-09 14:37:05 [NOTICE] mod_opal.cpp:795 FSConnection::OnOpenMediaStream() Channel [opal/in:9999] has been answered Assertion failed: (*frame)->codec != ((void *)0), file ..\..\src\switch_core_io.c, line 202
2009-04-09 14:37:09 [NOTICE] mod_opal.cpp:650 FSConnection::OnReleased() Hangup opal/in:9999 [CS_EXECUTE] [NORMAL_CLEARING]
2009-04-09 14:37:09 [INFO] h323pdu.cxx:1005 H225() Read error (0):




More information about the FreeSWITCH-users mailing list