Hi
i am testing a lua script to bridge calls
my dialplan call center setup
<extension name="callcenter">
<condition field="destination_number" expression="^(6789)$">
<action application="callcenter" data="support@default"/>
</condition>
</extension>
my call center module setup
<configuration name="callcenter.conf" description="CallCenter">
<settings>
<!--<param name="odbc-dsn" value="dsn:user:pass"/>-->
<!--<param name="dbname" value="/dev/shm/callcenter.db"/>-->
</settings>
<queues>
<queue name="support@default">
<param name="strategy" value="longest-idle-agent"/>
.....
<param name="abandoned-resume-allowed" value="false"/>
</queue>
</queues>
<agents>
<agent name="1000@default" type="callback" contact="[leg_timeout=10]user/1000@default" status="Available" max-no-answer="3" wrap-up-time="10" reject-delay-time="10" busy-delay-time="60" />
</agents>
<tiers>
<tier agent="1000@default" queue="support@default" level="1" position="1"/>
</tiers>
</configuration>
1. init a call to first person (legA=freeswitch.Session("sofia/gateway/fs1/9903"))
2. when a first call ready
how to make successfully call in step 3 using lua script
thank you