I'm trying to use xml_rpc to initiate an att_xfer on channel A (which is already bridged to channel B), but I'm running into some issues. I know the uuid's from both channel A and B, but the documentation I found on att_xfer only seems to indicate a way to do this from DMTF presses occurring on channel A. my idea was to use xml_rpc to execute a lua script which would take a uuid as an argv and bind to the session with freeswitch.session(uuid). I tried this, but the audio breaks up with the session that the lua script binded too. Does anyone have any recommendations on how I might accomplish an assisted transfer w/o DTMF presses and bind_meta_app knowing only a uuid? Thanks. --matt
Not sure what you want to do is doable via XML RPC. That app is to be run on an existing session. The other solution is to take both legs and park them.. Then execute bridge on one leg to the target transfer person. Once that call is up.. you can them park both of those.. uuid_bridge the two you wish to complete then hang up on the third one. I think if you just uuid_bridge the two you want in the end the third one will just hangup. /b On Jun 26, 2009, at 10:30 PM, Matthew Fong wrote:
I'm trying to use xml_rpc to initiate an att_xfer on channel A (which is already bridged to channel B), but I'm running into some issues.
I know the uuid's from both channel A and B, but the documentation I found on att_xfer only seems to indicate a way to do this from DMTF presses occurring on channel A.
my idea was to use xml_rpc to execute a lua script which would take a uuid as an argv and bind to the session with freeswitch.session(uuid).
I tried this, but the audio breaks up with the session that the lua script binded too. Does anyone have any recommendations on how I might accomplish an assisted transfer w/o DTMF presses and bind_meta_app knowing only a uuid?
Thanks.
--matt
can you 3 way with uuid_bridge? --matt On Fri, Jun 26, 2009 at 9:08 PM, Brian West <brian@freeswitch.org> wrote:
Not sure what you want to do is doable via XML RPC. That app is to be run on an existing session. The other solution is to take both legs and park them.. Then execute bridge on one leg to the target transfer person. Once that call is up.. you can them park both of those.. uuid_bridge the two you wish to complete then hang up on the third one. I think if you just uuid_bridge the two you want in the end the third one will just hangup.
/b
On Jun 26, 2009, at 10:30 PM, Matthew Fong wrote:
I'm trying to use xml_rpc to initiate an att_xfer on channel A (which is already bridged to channel B), but I'm running into some issues.
I know the uuid's from both channel A and B, but the documentation I found on att_xfer only seems to indicate a way to do this from DMTF presses occurring on channel A.
my idea was to use xml_rpc to execute a lua script which would take a uuid as an argv and bind to the session with freeswitch.session(uuid).
I tried this, but the audio breaks up with the session that the lua script binded too. Does anyone have any recommendations on how I might accomplish an assisted transfer w/o DTMF presses and bind_meta_app knowing only a uuid?
Thanks.
--matt
_______________________________________________ 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
Couldn't you just throw all the calls into a conference at this point? -MC Sent from my iPhone On Jun 26, 2009, at 9:30 PM, Matthew Fong <mattdfong@gmail.com> wrote:
can you 3 way with uuid_bridge?
--matt
On Fri, Jun 26, 2009 at 9:08 PM, Brian West <brian@freeswitch.org> wrote: Not sure what you want to do is doable via XML RPC. That app is to be run on an existing session. The other solution is to take both legs and park them.. Then execute bridge on one leg to the target transfer person. Once that call is up.. you can them park both of those.. uuid_bridge the two you wish to complete then hang up on the third one. I think if you just uuid_bridge the two you want in the end the third one will just hangup.
/b
On Jun 26, 2009, at 10:30 PM, Matthew Fong wrote:
I'm trying to use xml_rpc to initiate an att_xfer on channel A (which is already bridged to channel B), but I'm running into some issues.
I know the uuid's from both channel A and B, but the documentation I found on att_xfer only seems to indicate a way to do this from DMTF presses occurring on channel A.
my idea was to use xml_rpc to execute a lua script which would take a uuid as an argv and bind to the session with freeswitch.session(uuid).
I tried this, but the audio breaks up with the session that the lua script binded too. Does anyone have any recommendations on how I might accomplish an assisted transfer w/o DTMF presses and bind_meta_app knowing only a uuid?
Thanks.
--matt
_______________________________________________ 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
_______________________________________________ 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
there's a reference on the wiki to a three_way dial plan command. What does that do? What's the best way to put 2 bridged callers into a new conference? Must I park both uuid's first, and then transfer both to an extension that will add them to a new conference? Is there a way to do this without any break in the audio? Thanks... --matt On Sat, Jun 27, 2009 at 4:05 PM, Brian West <brian@freeswitch.org> wrote:
my thinking exactly.
/b
On Jun 27, 2009, at 12:09 PM, Michael S Collins wrote:
Couldn't you just throw all the calls into a conference at this point? -MC
Sent from my iPhone
_______________________________________________ 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
Matthew Fong <mattdfong@gmail.com> wrote:
What's the best way to put 2 bridged callers into a new conference? Must I park both uuid's first, and then transfer both to an extension that will add them to a new conference?
No, it's uuid_transfer with the -both option to transfer both legs to the conference extension.
yes and in your case you can forget it. With what you wanna do its not possible to use that. /b On Jun 27, 2009, at 9:18 PM, Matthew Fong wrote:
there's a reference on the wiki to a three_way dial plan command. What does that do?
What's the best way to put 2 bridged callers into a new conference? Must I park both uuid's first, and then transfer both to an extension that will add them to a new conference? Is there a way to do this without any break in the audio? Thanks...
--matt
participants (4)
-
Brian West
-
Jason White
-
Matthew Fong
-
Michael S Collins