<div dir="ltr">Hi<div><br></div><div>i am testing a lua script to bridge calls</div><div><br></div><div>my dialplan call center setup</div><div><br></div><div><div>    <extension name="callcenter"></div><div>        <condition field="destination_number" expression="^(6789)$"></div><div>            <action application="callcenter" data="support@default"/><br></div><div>        </condition><br></div><div>    </extension></div></div><div><br></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">my call center module setup</span><br></div><div><div><configuration name="callcenter.conf" description="CallCenter"></div><div>  <settings></div><div>    <!--<param name="odbc-dsn" value="dsn:user:pass"/>--></div><div>    <!--<param name="dbname" value="/dev/shm/callcenter.db"/>--></div><div>  </settings></div><div><br></div><div>  <queues></div><div><br></div><div>    <queue name="support@default"></div><div>      <param name="strategy" value="longest-idle-agent"/></div><div>     .....<br></div><div>      <param name="abandoned-resume-allowed" value="false"/><br></div><div>    </queue></div><div><br></div><div>  </queues></div><div><br></div><div>  <agents><br></div><div>    <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" /></div><div>  </agents></div><div>  <tiers></div><div>    <tier agent="1000@default" queue="support@default" level="1" position="1"/><br></div><div>  </tiers></div><div><br></div><div></configuration> </div></div><div><br></div><div><br></div><div>1. init a call to first person (legA=freeswitch.Session(<span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">"sofia/gateway/fs1/9903"</span>))</div><div>2. when a first call ready</div><div>3. i made another call to callcenter module(<span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">legB=freeswitch.Session(</span><span style="font-size:small;text-decoration-style:initial;text-decoration-color:initial;background-color:rgb(255,255,255);float:none;display:inline">"sofia/<a href="http://192.168.56.101/support@default">192.168.56.101/support@default</a>"</span><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">))</span></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">how to make successfully call  in step 3 using lua script</span></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">thank you</span></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div></div>