Read about queues On Jan 15, 2015 11:53 AM, "Brian West" <brian@freeswitch.org> wrote:
Thats not relevant in this case, The autoHangup is when used in say lua...
This case you will probably want this combo:
https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket#mod_ev... https://wiki.freeswitch.org/wiki/Variable_park_after_bridge
On Thu, Jan 15, 2015 at 7:27 AM, Andrew <aademattia@comcast.net> wrote:
This may be able to help you but I set session.SetAutoHangup(false);
This will stop the dial plan from ending.
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *ax lyb *Sent:* Thursday, January 15, 2015 2:52 AM *To:* freeswitch-users@lists.freeswitch.org *Subject:* [Freeswitch-users] how can i keep A-LEG do not hangup
All:
recently i write a small program based freeswitch, in this program i only do things like callcenter mod,
here is what i do:
1. originate a call (" originate sofia/gateway/gw01/xxxx my-out-call XML default"), in the default.xml,
i already config it as follow:
<extension name="my-call-out">
65 <condition field="destination_number" expression= "^my-call-out$">
66 <action application="socket" data="127.0.0.1:9600 async full"/>
67 <!-- <action application="log" data="This is ax-call-out-park"/>
68 <action application="answer" />
69 <action application="playback" data="/usr/local/freeswitch/sounds/1.wav"/>
70
71 <action application="park" data=""/> -->
72 </condition>
73 </extension>
2. when call-out-destination customer pick up the call, i control the flow to playback a wav file, then ,
bridge the call to a free agent while the wav file play over in CHANNEL_EXECUTE_COMPLETE,
these steps run normally ok.
3. the question is : if i have two agent in one moment, and this time i have 3 or > 3 out-call to bridge,
i'll leave the other call do nothing,for i can not get more free agents to service; some special scene
is i have two agents (A1,A2) service 3 call (C1,C2,C3), A1 service C1, A2 service C2,then C3 is only
A-LEG when play over a wav file,about 100 seconds later, C3 is hangup(it's not user hangup manually),
how can i do make the C3 call not hangup until i get a free agent to service it?
any suggest is appreciate,
ax.lyb.lei@gmail.com
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.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 http://www.freeswitch.org
--
*Brian West* brian@freeswitch.org
*Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com
*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.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 http://www.freeswitch.org