how to bridge call to call center module
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 3. i made another call to callcenter module(legB=freeswitch.Session("sofia/ 192.168.56.101/support@default")) how to make successfully call in step 3 using lua script thank you
participants (1)
-
Do Nguyen Ha