[Freeswitch-users] Error! cannot get read lock

Seven Du dujinfang at gmail.com
Thu Mar 10 06:24:53 MSK 2011


I run into this short time ago and rebuilt mod_erlang_event fixed.

cd freeswitch-source-tree
make mod_erlang_event-install

fs_cli> reload mod_erlang_event

On Thu, Mar 10, 2011 at 10:26 AM, Anthony Minessale
<anthony.minessale at gmail.com> wrote:
> you should open a JIRA under mod_erlang_event to find out.
>
>
> On Wed, Mar 9, 2011 at 3:48 PM, Laurentiu Ceausescu
> <laurentiu.ceausescu at gmail.com> wrote:
>> Hi,
>>
>> I have the following dialplan:
>>  <extension name="line1">
>>    <condition field="destination_number" expression="^333$">
>>      <action application="answer"/>
>>      <action application="set" data="allow_voicemail=true"/>
>>      <action application="set" data="queue=Queue"/>
>>      <action application="set" data="brand=110011"/>
>>      <action application="playback" data="/usr/local/audio/welcome.wav"/>
>>      <action application="set" data="domain_name=$${domain}"/>
>>      <action application="erlang_sendmsg"
>> data="freeswitch_media_manager toor at 127.0.0.1 inivr ${uuid}"/>
>>      <action application="erlang" data="freeswitch_media_manager:!
>> toor at 127.0.0.1"/>
>>    </condition>
>>  </extension>
>>
>> When I call 333 I can hear welcome message but then the call is dropped.
>> FS logs shows this error: [ERR] handle_msg.c:56 Error! cannot get read lock.
>>
>> [NOTICE] switch_channel.c:812 New Channel
>> sofia/toor.mydomain.org/401 at toor.mydomain.org
>> [03ecb2ca-24df-4903-917a-c9720b43a511]
>> [NOTICE] sofia_glue.c:3754 Pre-Answer
>> sofia/toor.mydomain.org/401 at toor.mydomain.org!
>> [NOTICE] mod_dptools.c:929 Channel
>> [sofia/toor.mydomain.org/401 at toor.mydomain.org] has been answered
>> [ERR] handle_msg.c:56 Error! cannot get read lock.
>> [WARNING] mod_erlang_event.c:1365 Timed out when waiting for outbound
>> pid 1.0.0 at freeswitch@127.0.0.1 03ecb2ca-24df-4903-917a-c
>> [NOTICE] switch_core_state_machine.c:189
>> sofia/toor.mydomain.org/401 at toor.mydomain.org has executed the last
>> dialplan instruct
>> [NOTICE] switch_core_state_machine.c:191 Hangup
>> sofia/toor.mydomain.org/401 at toor.mydomain.org [CS_EXECUTE]
>> [NORMAL_CLEARING]
>> [NOTICE] switch_core_session.c:1306 Session 4
>> (sofia/toor.mydomain.org/401 at toor.mydomain.org) Ended
>> [NOTICE] switch_core_session.c:1308 Close Channel
>> sofia/toor.mydomain.org/401 at toor.mydomain.org [CS_DESTROY]
>> [ERR] handle_msg.c:56 Error! cannot get read lock.
>>
>>
>> This thing is happend only after I updated to last git head
>> (419d7e2335042e2d86c678c0daf86c2d9c867036 /Mar 9).
>> With a older revision (e88b9639624cef4f35901146241f515730b3b118 /Jan
>> 31) everything works fine.
>> Any idea what has been changed?
>>
>> Thanks,
>> Laurentiu
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> googletalk:conf+888 at conference.freeswitch.org
> pstn:+19193869900
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 
About: http://about.me/dujinfang
Blog: http://www.dujinfang.com
Proj:  http://www.freeswitch.org.cn



More information about the FreeSWITCH-users mailing list