Hi,

First of all, you need to update to 1.8.5. Second, try without Lua.

Regards,

Alex

Alex Sibyakin | Support Engineer SignalWire | 228 Hamilton Ave 3rd Floor, Palo Alto, CA 94303 Email: alex@freeswitch.com Website: https://www.signalwire.com



On Tue, Feb 19, 2019 at 10:43 PM 梅表逵 <ceniy.mei@gmail.com> wrote:
Hi, 


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? 



55791bf8-30bb-11e9-a4fd-7125b8df8c7a 2019-02-15 08:47:56.419673 [DEBUG] switch_ivr_bridge.c:1063 sofia/internal/137095@10.20.86.100:5060 CUSTOM HOLD
55791bf8-30bb-11e9-a4fd-7125b8df8c7a 2019-02-15 08:47:56.419673 [DEBUG] switch_core_state_machine.c:662 (sofia/internal/137095@10.20.86.100:5060) State CONSUME_MEDIA going to sleep
55791bf8-30bb-11e9-a4fd-7125b8df8c7a 2019-02-15 08:47:56.419673 [ERR] switch_ivr.c:902 Error sofia/internal/137095@10.20.86.100:5060 too many stacked extensions
55791bf8-30bb-11e9-a4fd-7125b8df8c7a 2019-02-15 08:47:56.419673 [ERR] switch_ivr.c:902 Error sofia/internal/137095@10.20.86.100:5060 too many stacked extensions
55791bf8-30bb-11e9-a4fd-7125b8df8c7a 2019-02-15 08:47:56.419673 [DEBUG] switch_ivr_bridge.c:1744 (sofia/internal/137095@10.20.86.100:5060) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
55791bf8-30bb-11e9-a4fd-7125b8df8c7a 2019-02-15 08:47:56.419673 [ERR] switch_ivr.c:902 Error sofia/internal/137095@10.20.86.100:5060 too many stacked extensions
55791bf8-30bb-11e9-a4fd-7125b8df8c7a 2019-02-15 08:47:56.419673 [ERR] switch_ivr.c:902 Error sofia/internal/137095@10.20.86.100:5060 too many stacked extensions
55791bf8-30bb-11e9-a4fd-7125b8df8c7a 2019-02-15 08:47:56.419673 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/137095@10.20.86.100:5060) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 4919)
55791bf8-30bb-11e9-a4fd-7125b8df8c7a 2019-02-15 08:47:56.419673 [DEBUG] switch_core_state_machine.c:653 (sofia/internal/137095@10.20.86.100:5060) State EXCHANGE_MEDIA
55791bf8-30bb-11e9-a4fd-7125b8df8c7a 2019-02-15 08:47:56.419673 [DEBUG] mod_sofia.c:645 SOFIA EXCHANGE_MEDIA


XML:
<condition field="destination_number" expression="^(31\d{4})$" >
   <action application="set" data="dialed_extension=$1"/>
   <!-- hangup after successful bridge to agent -->
   <action application="set" data="recording_follow_transfer=true"/>
   <action application="set" data="hangup_after_bridge=true"/>
   <action application="set" data="say_agent_first=1" />
   <action application="set" data="bridge_pre_execute_aleg_app=lua"/>
   <action application="set" data="bridge_pre_execute_aleg_data=broadcastAgent.lua"/>
  <action application="set" data="call_type=q" />
  <action application="bind_meta_app" data="4 ab s execute_extension::att_xfer XML features"/>
  <action application="callcenter" data="$1"/>
</condition>
</extension>


Thanks
Ceniy Mei
_________________________________________________________________________
Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com