]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
Insane amounts of yucky satanic code to make transfer and that kind of thing work.
authorAnthony Minessale <anthony.minessale@gmail.com>
Fri, 6 Oct 2006 22:39:49 +0000 (22:39 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Fri, 6 Oct 2006 22:39:49 +0000 (22:39 +0000)
commit0d23976f2a46b5f98511f71eae8735dcc0b1fc1f
tree77d241717ddcd09302915048f3a6cd74b3966b06
parentd7959131a3ab008ed772f6fa62bca10041fa80ca
Insane amounts of yucky satanic code to make transfer and that kind of thing work.
Transfers work better when both legs of the call live in thier own channel eg bridged calls
A -> B where you want a to make B -> C

when you route a call to an IVR or playback app you are not really bridging you have
A all alone executing the script so it's hard to transfer that.

I do have it aparently working but it's goofy and you are better off
putting your IVR on it's own switch so they are all inbound calls
then you have A -> B -> IVR
now A can happily transfer B who can stay on line with IVR without stopping
the execution.  You can also accomplish this by calling in a loop back to the same box
if you dont want to have 2 boxes.

Also the beginning effort at bridging calls with no media is here
set this magic variable in your dialplan to convince mod_sofia
to pass A's sdp as it's own to B and return B's sdp back to A on 200 or 183

<action application="set" data="no_media=true"/>
<action application="bridge" data="sofia/id@host.com"/>

You will need a new sofia tarball for this version

There is a bunch of other odds and ends added like a function or 2 etc
Oh,

And don't be suprised if it introduces all kinds of bugs!

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2992 d0543943-73ff-0310-b7d9-9358b9ac24b2
src/include/switch_ivr.h
src/include/switch_types.h
src/include/switch_utils.h
src/mod/applications/mod_bridgecall/mod_bridgecall.c
src/mod/endpoints/mod_sofia/mod_sofia.c
src/switch_caller.c
src/switch_console.c
src/switch_core.c
src/switch_ivr.c
src/switch_rtp.c
src/switch_utils.c