Re: [Freeswitch-dev] FS Multi outbound
Michael, Im noobie) Sorry, a saw this in wiki, but didn't note that it could work!) Next stage is how to make different timeouts for each call? Is it possible with dialplan? I still think that I should script this all in Lua) Michael Taylor пишет:
The Wiki states: If you have a problem with one of the destinations causing the others to stop ringing, insert this into the bridge application: {ignore_early_media=true} like so:
i.e. <action application="bridge" data="{ignore_early_media=true}sofia/gateway/Cisco/***#1**********|sofia/gateway/Cisco/***#2**********"/>
Michael.
I tried this possibility: <action application="bridge" data="{ignore_early_media=true}[call_timeout=10]sofia/gateway/Cisco/***#1**********|[call_timeout=30]sofia/gateway/Cisco/***#2**********"/> but the [call_timeout=10] channel variables did not take affect Perhaps you need something simpler: <action application="set" data="call_timeout=10"/> <action application="bridge" data="sofia/gateway/Cisco/***#1**********"/> <action application="set" data="call_timeout=30"/> <action application="bridge" data="sofia/gateway/Cisco/***#2**********"/> Michael. Леша... wrote:
Michael, Im noobie) Sorry, a saw this in wiki, but didn't note that it could work!)
Next stage is how to make different timeouts for each call? Is it possible with dialplan? I still think that I should script this all in Lua)
Michael Taylor пишет:
The Wiki states: If you have a problem with one of the destinations causing the others to stop ringing, insert this into the bridge application: {ignore_early_media=true} like so:
i.e. <action application="bridge" data="{ignore_early_media=true}sofia/gateway/Cisco/***#1**********|sofia/gateway/Cisco/***#2**********"/>
Michael.
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- Omniscient Australia Pty Ltd http://www.omniscient.com.au 1300 660 152 GPO Box 2705 MELBOURNE 3001
I should have read the Wiki a little more before answering. Quoting from: http://wiki.freeswitch.org/wiki/Channel_Variables call_timeout - Deprecated - Use originate_timeout or leg_timeout. under call_timeout it suggests <action application="bridge" data="{ignore_early_media=true}[leg_timeout=10]sofia/gateway/Cisco/***#1**********|[leg_timeout=30]sofia/gateway/Cisco/***#2**********"/> I tried it and it works. Also worth reading is the leg_delay_start variable that you might want to use. Michael. Леша... wrote:
Michael, Im noobie) Sorry, a saw this in wiki, but didn't note that it could work!)
Next stage is how to make different timeouts for each call? Is it possible with dialplan? I still think that I should script this all in Lua)
Michael Taylor пишет:
The Wiki states: If you have a problem with one of the destinations causing the others to stop ringing, insert this into the bridge application: {ignore_early_media=true} like so:
i.e. <action application="bridge" data="{ignore_early_media=true}sofia/gateway/Cisco/***#1**********|sofia/gateway/Cisco/***#2**********"/>
Michael.
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- Omniscient Australia Pty Ltd http://www.omniscient.com.au 1300 660 152 GPO Box 2705 MELBOURNE 3001
Michael Taylor wrote:
I should have read the Wiki a little more before answering.
Quoting from: http://wiki.freeswitch.org/wiki/Channel_Variables
call_timeout - Deprecated - Use originate_timeout or leg_timeout.
under call_timeout it suggests
<action application="bridge" data="{ignore_early_media=true}[leg_timeout=10]sofia/gateway/Cisco/***#1**********|[leg_timeout=30]sofia/gateway/Cisco/***#2**********"/>
I tried it and it works.
Also worth reading is the leg_delay_start variable that you might want to use.
Michael.
Леша... wrote:
Michael, Im noobie) Sorry, a saw this in wiki, but didn't note that it could work!)
Next stage is how to make different timeouts for each call? Is it possible with dialplan? I still think that I should script this all in Lua)
Michael Taylor пишет:
The Wiki states: If you have a problem with one of the destinations causing the others to stop ringing, insert this into the bridge application: {ignore_early_media=true} like so:
i.e. <action application="bridge" data="{ignore_early_media=true}sofia/gateway/Cisco/***#1**********|sofia/gateway/Cisco/***#2**********"/>
Michael.
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
Hi Michael! Does it possible to do this example in xml config? Client calling 500 extension (for example) Next, FS play some welcome prompt, when put incoming leg into hold (with music) and try to calling one of 3 destination numbers (call center agents, 501, 502, 503) First, FS try 501, timeout 10sec, if it not reached, try next 502 and etc... in loop for a 3 minutes. When 3 minutes out, FS play into incoming leg prompt 'We're sorry, all operators are busy, please try next time...' I wonder if its possible with xml Dm
participants (3)
-
Dmitry Mordovin
-
Michael Taylor
-
Леша...