Hi... First of all i make a software with freeswitch and FreeBSD, named Voipr... voipr.brbyte.com It's a softswitch with Billing, Redirect, IVR, Routes, GSM, Gateway and other things. I am not using dialplan, just a outbound socket, with my own ESL Server written in C. I parse the events, and send comands back to make things. Like bridge, play some music, hangup the call.... <extension name="VoiprExt"> <condition> <action application="socket" data="127.0.0.1:3012 async full"/> <action application="hangup"/> </condition> </extension> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - My question, is how to make a transfer of a call... Like A (1001) call to B (1002). Then i make a BRIDGE between extensions "execute", "set", "dialed_extension=1002" "execute", "export", "dialed_extension=1002" "execute", "set", "call_timeout=30" "execute", "set", "continue_on_fail=true" "execute", "set", "park_after_bridge=true" "execute", "bridge", "user/${dialed_extension}" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Let's say B (1002) is a secretary who want to transfer the call to C (1003) B (1002), press the key [*], and i play a music, like "enter the desired number and #". B (1002), press the keys 1003# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - At this point, I have all information, and want to know how 3 things Consider that: the call already bridged between A (1001) and B (1002) - - - - - 1 - Making a call between B and C. Then, when C answer B hangup. And the call return between A and C. - - - - - 2 - Making a call between B and C. Then, when C answer, B talks with C. B press * and B hangup. And the call return between A and C - - - - - 3 - Making a call between A and C. Then, when C answer, A hangup. And the call return to B and C Thank you in advance, who can help me. Sorry for my english. If anyone need help with socket events, gsmopen or xml_curl send me a e-mail. I will be happy to help. Att, Luiz Fernando Softov http://www.softov.com.br fernando@softov.com.br
Olá Luiz! Take a look at https://freeswitch.org/confluence/display/FREESWITCH/Attended+Transfer On Tue, Mar 24, 2015 at 4:36 AM, Luiz Fernando Softov < fernando@softov.com.br> wrote:
Hi... First of all i make a software with freeswitch and FreeBSD, named Voipr...
voipr.brbyte.com
It's a softswitch with Billing, Redirect, IVR, Routes, GSM, Gateway and other things.
I am not using dialplan, just a outbound socket, with my own ESL Server written in C. I parse the events, and send comands back to make things. Like bridge, play some music, hangup the call....
<extension name="VoiprExt"> <condition> <action application="socket" data="127.0.0.1:3012 async full"/> <action application="hangup"/> </condition> </extension>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
My question, is how to make a transfer of a call...
Like A (1001) call to B (1002).
Then i make a BRIDGE between extensions
"execute", "set", "dialed_extension=1002" "execute", "export", "dialed_extension=1002" "execute", "set", "call_timeout=30" "execute", "set", "continue_on_fail=true" "execute", "set", "park_after_bridge=true" "execute", "bridge", "user/${dialed_extension}"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Let's say B (1002) is a secretary who want to transfer the call to C (1003)
B (1002), press the key [*], and i play a music, like "enter the desired number and #".
B (1002), press the keys 1003#
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
At this point, I have all information, and want to know how 3 things
Consider that: the call already bridged between A (1001) and B (1002)
- - - - - 1 - Making a call between B and C. Then, when C answer B hangup. And the call return between A and C.
- - - - - 2 - Making a call between B and C. Then, when C answer, B talks with C. B press * and B hangup. And the call return between A and C
- - - - - 3 - Making a call between A and C. Then, when C answer, A hangup. And the call return to B and C
Thank you in advance, who can help me.
Sorry for my english. If anyone need help with socket events, gsmopen or xml_curl send me a e-mail. I will be happy to help.
Att, Luiz Fernando Softov http://www.softov.com.br fernando@softov.com.br
_________________________________________________________________________ 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
-- Ítalo Rossi
participants (2)
-
Luiz Fernando Softov
-
Ítalo Rossi