<div dir="ltr">Hi,<div><br></div><div>First of all, you need to update to 1.8.5. Second, try without Lua.</div><div><br></div><div>Regards,</div><div><br></div><div>Alex</div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><font color="#000000" face="arial, helvetica, sans-serif" size="1"><span style="white-space:pre-wrap">Alex Sibyakin | Support Engineer
SignalWire | 228 Hamilton Ave 3rd Floor, Palo Alto, CA 94303
Email: <a href="mailto:alex@freeswitch.com" target="_blank">alex@freeswitch.com</a>
Website: <a href="https://www.signalwire.com" target="_blank">https://www.signalwire.com</a></span></font><br></div><div dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><font color="#000000" style="font-family:HelveticaNeue,"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;color:rgb(0,0,0);font-size:12.8px"><br></font></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 19, 2019 at 10:43 PM 梅表逵 <<a href="mailto:ceniy.mei@gmail.com">ceniy.mei@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">Hi,<span class="gmail-m_-6179574502770916394gmail-Apple-converted-space"> </span></span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">I’m running freeswitch version 1.8.1. In the log files, I saw a lot of [ERR] too many stacked extensions. It happens when freeswitch is trying to bridge a callcenter member to agent. I don’t know how to handle it. Could you please give any advises? </span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">55791bf8-30bb-11e9-a4fd-7125b8df8c7a 2019-02-15 08:47:56.419673 [DEBUG] switch_ivr_bridge.c:1063 sofia/internal/<a href="http://137095@10.20.86.100:5060" target="_blank">137095@10.20.86.100:5060</a> CUSTOM HOLD</span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">55791bf8-30bb-11e9-a4fd-7125b8df8c7a 2019-02-15 08:47:56.419673 [DEBUG] switch_core_state_machine.c:662 (sofia/internal/<a href="http://137095@10.20.86.100:5060" target="_blank">137095@10.20.86.100:5060</a>) State CONSUME_MEDIA going to sleep</span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">55791bf8-30bb-11e9-a4fd-7125b8df8c7a 2019-02-15 08:47:56.419673 [ERR] switch_ivr.c:902 Error sofia/internal/<a href="http://137095@10.20.86.100:5060" target="_blank">137095@10.20.86.100:5060</a> too many stacked extensions</span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">55791bf8-30bb-11e9-a4fd-7125b8df8c7a 2019-02-15 08:47:56.419673 [ERR] switch_ivr.c:902 Error sofia/internal/<a href="http://137095@10.20.86.100:5060" target="_blank">137095@10.20.86.100:5060</a> too many stacked extensions</span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">55791bf8-30bb-11e9-a4fd-7125b8df8c7a 2019-02-15 08:47:56.419673 [DEBUG] switch_ivr_bridge.c:1744 (sofia/internal/<a href="http://137095@10.20.86.100:5060" target="_blank">137095@10.20.86.100:5060</a>) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA</span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">55791bf8-30bb-11e9-a4fd-7125b8df8c7a 2019-02-15 08:47:56.419673 [ERR] switch_ivr.c:902 Error sofia/internal/<a href="http://137095@10.20.86.100:5060" target="_blank">137095@10.20.86.100:5060</a> too many stacked extensions</span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">55791bf8-30bb-11e9-a4fd-7125b8df8c7a 2019-02-15 08:47:56.419673 [ERR] switch_ivr.c:902 Error sofia/internal/<a href="http://137095@10.20.86.100:5060" target="_blank">137095@10.20.86.100:5060</a> too many stacked extensions</span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">55791bf8-30bb-11e9-a4fd-7125b8df8c7a 2019-02-15 08:47:56.419673 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/<a href="http://137095@10.20.86.100:5060" target="_blank">137095@10.20.86.100:5060</a>) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 4919)</span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">55791bf8-30bb-11e9-a4fd-7125b8df8c7a 2019-02-15 08:47:56.419673 [DEBUG] switch_core_state_machine.c:653 (sofia/internal/<a href="http://137095@10.20.86.100:5060" target="_blank">137095@10.20.86.100:5060</a>) State EXCHANGE_MEDIA</span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">55791bf8-30bb-11e9-a4fd-7125b8df8c7a 2019-02-15 08:47:56.419673 [DEBUG] mod_sofia.c:645 SOFIA EXCHANGE_MEDIA</span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">XML:</span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><condition field="destination_number" expression="^(31\d{4})$" ></span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"> <action application="set" data="dialed_extension=$1"/></span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"> <!-- hangup after successful bridge to agent --></span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"> <action application="set" data="recording_follow_transfer=true"/></span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"> <action application="set" data="hangup_after_bridge=true"/></span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"> <action application="set" data="say_agent_first=1" /></span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"> <action application="set" data="bridge_pre_execute_aleg_app=lua"/></span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"> <action application="set" data="bridge_pre_execute_aleg_data=broadcastAgent.lua"/></span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"> <action application="set" data="call_type=q" /></span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"> <action application="bind_meta_app" data="4 ab s execute_extension::att_xfer XML features"/></span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"> <action application="callcenter" data="$1"/></span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"></condition></span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"></extension></span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">Thanks</span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">Ceniy Mei</span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"></div>
_________________________________________________________________________<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div>