Discussion:
[Freeswitch-users] Call transfer issues
Shameem Shiek
2009-08-11 19:10:33 UTC
Permalink
Hello,

Good work guys. I am having good fun using freeswitch so far. Currently, I
am having a serious issue on making a call transfer happen. The scenario is
simple.

1. Caller A arrives on extension 1 and is waiting on a fifo queue.
2. Caller B arrives on extension 2 and dial plan bridges the call to Caller
C.

Now after a certain period of time, I want to hang up Caller B and put
Caller C in the fifo queue where Caller A is waiting. I know the UUIDs of
the all 3 calls. Naively, I tried the following and failed.

1. I put the bridged call to Caller C on park .
2. I did a "hang up" to caller B.
3. I did "fifo in" for Caller C into fifo queue of caller A.

This did not work. What is the right way to do this? Do I have make sure
uuid_transfer? I am using Event socket to do all of this.

-Shameem.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090811/04b41c2a/attachment-0001.html
Brian West
2009-08-11 19:19:15 UTC
Permalink
OK I try so hard to follow what you're doing but it makes little sense
to me.

I'm guessing you'll need to set/export hangup_after_bridge=false to
prevent the hangup from taking place on B and C!

The other option is to uuid_transfer both B and C to park using the -
both then hangup on C and then uuid_bridge A and C. Because once you
break the bridge on B and C by hanging up on B you left C hanging so
its naturally going to hangup.

-USAGE: <uuid> [-bleg|-both] <dest-exten> [<dialplan>] [<context>]

/b
Post by Shameem Shiek
Hello,
Good work guys. I am having good fun using freeswitch so far.
Currently, I am having a serious issue on making a call transfer
happen. The scenario is simple.
1. Caller A arrives on extension 1 and is waiting on a fifo queue.
2. Caller B arrives on extension 2 and dial plan bridges the call
to Caller C.
Now after a certain period of time, I want to hang up Caller B and
put Caller C in the fifo queue where Caller A is waiting. I know the
UUIDs of the all 3 calls. Naively, I tried the following and failed.
1. I put the bridged call to Caller C on park .
2. I did a "hang up" to caller B.
3. I did "fifo in" for Caller C into fifo queue of caller A.
This did not work. What is the right way to do this? Do I have make
sure uuid_transfer? I am using Event socket to do all of this.
-Shameem.
_______________
Shameem Shiek
2009-08-11 19:33:50 UTC
Permalink
Thanks for the explanation. I was trying to find the correct way to do this
as I saw several ways of doing this. I will try to explain how I did on the
asterisk land.

In asterisk land, Caller A will be parked at extension 701 and Caller B
"transfers" the call to extension 701 and and Caller A and C are connected
and Caller B is hung up right after transfer.

In Freeswitch, Can Caller B do a "transfer" and connect caller A and C? How
can I do this? Since Freeswitch does not have a concept of parked
extensions.

Thank you for the help.
Post by Brian West
OK I try so hard to follow what you're doing but it makes little sense
to me.
I'm guessing you'll need to set/export hangup_after_bridge=false to
prevent the hangup from taking place on B and C!
The other option is to uuid_transfer both B and C to park using the -
both then hangup on C and then uuid_bridge A and C. Because once you
break the bridge on B and C by hanging up on B you left C hanging so
its naturally going to hangup.
-USAGE: <uuid> [-bleg|-both] <dest-exten> [<dialplan>] [<context>]
/b
Post by Shameem Shiek
Hello,
Good work guys. I am having good fun using freeswitch so far.
Currently, I am having a serious issue on making a call transfer
happen. The scenario is simple.
1. Caller A arrives on extension 1 and is waiting on a fifo queue.
2. Caller B arrives on extension 2 and dial plan bridges the call
to Caller C.
Now after a certain period of time, I want to hang up Caller B and
put Caller C in the fifo queue where Caller A is waiting. I know the
UUIDs of the all 3 calls. Naively, I tried the following and failed.
1. I put the bridged call to Caller C on park .
2. I did a "hang up" to caller B.
3. I did "fifo in" for Caller C into fifo queue of caller A.
This did not work. What is the right way to do this? Do I have make
sure uuid_transfer? I am using Event socket to do all of this.
-Shameem.
_______________
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090811/4ab87270/attachment.html
Brian West
2009-08-11 19:40:14 UTC
Permalink
Post by Shameem Shiek
Thanks for the explanation. I was trying to find the correct way to
do this as I saw several ways of doing this. I will try to explain
how I did on the asterisk land.
In asterisk land, Caller A will be parked at extension 701 and
Caller B "transfers" the call to extension 701 and and Caller A and
C are connected and Caller B is hung up right after transfer.
In Freeswitch, Can Caller B do a "transfer" and connect caller A and
C? How can I do this? Since Freeswitch does not have a concept of
parked extensions.
This is where you're wrong... you can park people with the park
application just transfer them to it... But you have to take off the
asterisk hat.. I told you in the last email how to do it correctly
using nothing but API commands.

/b
Post by Shameem Shiek
Thank you for the help.
Shameem Shiek
2009-08-11 20:27:55 UTC
Permalink
OK. I am little confused here. You say I can "transfer" to a parked call
using "uuid_transfer" . I do not see any options there where would or how
would I specify parked call in the options.

Can I do:

uuid_transfer <uuid> -both "park"

Where "park" is the destination?
Post by Brian West
Post by Shameem Shiek
Thanks for the explanation. I was trying to find the correct way to
do this as I saw several ways of doing this. I will try to explain
how I did on the asterisk land.
In asterisk land, Caller A will be parked at extension 701 and
Caller B "transfers" the call to extension 701 and and Caller A and
C are connected and Caller B is hung up right after transfer.
In Freeswitch, Can Caller B do a "transfer" and connect caller A and
C? How can I do this? Since Freeswitch does not have a concept of
parked extensions.
This is where you're wrong... you can park people with the park
application just transfer them to it... But you have to take off the
asterisk hat.. I told you in the last email how to do it correctly
using nothing but API commands.
/b
Post by Shameem Shiek
Thank you for the help.
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090811/c08f8041/attachment.html
Brian West
2009-08-11 20:34:50 UTC
Permalink
You also have uuid_park... but uuid_transfer to the dialplan were the
extension calls the park application.

/b
Post by Shameem Shiek
OK. I am little confused here. You say I can "transfer" to a parked
call using "uuid_transfer" . I do not see any options there where
would or how would I specify parked call in the options.
uuid_transfer <uuid> -both "park"
Where "park" is the destination?
Brian West
2009-08-11 20:34:50 UTC
Permalink
You also have uuid_park... but uuid_transfer to the dialplan were the
extension calls the park application.

/b
Post by Shameem Shiek
OK. I am little confused here. You say I can "transfer" to a parked
call using "uuid_transfer" . I do not see any options there where
would or how would I specify parked call in the options.
uuid_transfer <uuid> -both "park"
Where "park" is the destination?
Shameem Shiek
2009-08-11 20:27:55 UTC
Permalink
OK. I am little confused here. You say I can "transfer" to a parked call
using "uuid_transfer" . I do not see any options there where would or how
would I specify parked call in the options.

Can I do:

uuid_transfer <uuid> -both "park"

Where "park" is the destination?
Post by Brian West
Post by Shameem Shiek
Thanks for the explanation. I was trying to find the correct way to
do this as I saw several ways of doing this. I will try to explain
how I did on the asterisk land.
In asterisk land, Caller A will be parked at extension 701 and
Caller B "transfers" the call to extension 701 and and Caller A and
C are connected and Caller B is hung up right after transfer.
In Freeswitch, Can Caller B do a "transfer" and connect caller A and
C? How can I do this? Since Freeswitch does not have a concept of
parked extensions.
This is where you're wrong... you can park people with the park
application just transfer them to it... But you have to take off the
asterisk hat.. I told you in the last email how to do it correctly
using nothing but API commands.
/b
Post by Shameem Shiek
Thank you for the help.
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090811/c08f8041/attachment-0002.html
Brian West
2009-08-11 19:40:14 UTC
Permalink
Post by Shameem Shiek
Thanks for the explanation. I was trying to find the correct way to
do this as I saw several ways of doing this. I will try to explain
how I did on the asterisk land.
In asterisk land, Caller A will be parked at extension 701 and
Caller B "transfers" the call to extension 701 and and Caller A and
C are connected and Caller B is hung up right after transfer.
In Freeswitch, Can Caller B do a "transfer" and connect caller A and
C? How can I do this? Since Freeswitch does not have a concept of
parked extensions.
This is where you're wrong... you can park people with the park
application just transfer them to it... But you have to take off the
asterisk hat.. I told you in the last email how to do it correctly
using nothing but API commands.

/b
Post by Shameem Shiek
Thank you for the help.
Shameem Shiek
2009-08-11 19:33:50 UTC
Permalink
Thanks for the explanation. I was trying to find the correct way to do this
as I saw several ways of doing this. I will try to explain how I did on the
asterisk land.

In asterisk land, Caller A will be parked at extension 701 and Caller B
"transfers" the call to extension 701 and and Caller A and C are connected
and Caller B is hung up right after transfer.

In Freeswitch, Can Caller B do a "transfer" and connect caller A and C? How
can I do this? Since Freeswitch does not have a concept of parked
extensions.

Thank you for the help.
Post by Brian West
OK I try so hard to follow what you're doing but it makes little sense
to me.
I'm guessing you'll need to set/export hangup_after_bridge=false to
prevent the hangup from taking place on B and C!
The other option is to uuid_transfer both B and C to park using the -
both then hangup on C and then uuid_bridge A and C. Because once you
break the bridge on B and C by hanging up on B you left C hanging so
its naturally going to hangup.
-USAGE: <uuid> [-bleg|-both] <dest-exten> [<dialplan>] [<context>]
/b
Post by Shameem Shiek
Hello,
Good work guys. I am having good fun using freeswitch so far.
Currently, I am having a serious issue on making a call transfer
happen. The scenario is simple.
1. Caller A arrives on extension 1 and is waiting on a fifo queue.
2. Caller B arrives on extension 2 and dial plan bridges the call
to Caller C.
Now after a certain period of time, I want to hang up Caller B and
put Caller C in the fifo queue where Caller A is waiting. I know the
UUIDs of the all 3 calls. Naively, I tried the following and failed.
1. I put the bridged call to Caller C on park .
2. I did a "hang up" to caller B.
3. I did "fifo in" for Caller C into fifo queue of caller A.
This did not work. What is the right way to do this? Do I have make
sure uuid_transfer? I am using Event socket to do all of this.
-Shameem.
_______________
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090811/4ab87270/attachment-0002.html
Shameem Shiek
2009-08-11 19:10:33 UTC
Permalink
Hello,

Good work guys. I am having good fun using freeswitch so far. Currently, I
am having a serious issue on making a call transfer happen. The scenario is
simple.

1. Caller A arrives on extension 1 and is waiting on a fifo queue.
2. Caller B arrives on extension 2 and dial plan bridges the call to Caller
C.

Now after a certain period of time, I want to hang up Caller B and put
Caller C in the fifo queue where Caller A is waiting. I know the UUIDs of
the all 3 calls. Naively, I tried the following and failed.

1. I put the bridged call to Caller C on park .
2. I did a "hang up" to caller B.
3. I did "fifo in" for Caller C into fifo queue of caller A.

This did not work. What is the right way to do this? Do I have make sure
uuid_transfer? I am using Event socket to do all of this.

-Shameem.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090811/04b41c2a/attachment-0002.html
Brian West
2009-08-11 19:19:15 UTC
Permalink
OK I try so hard to follow what you're doing but it makes little sense
to me.

I'm guessing you'll need to set/export hangup_after_bridge=false to
prevent the hangup from taking place on B and C!

The other option is to uuid_transfer both B and C to park using the -
both then hangup on C and then uuid_bridge A and C. Because once you
break the bridge on B and C by hanging up on B you left C hanging so
its naturally going to hangup.

-USAGE: <uuid> [-bleg|-both] <dest-exten> [<dialplan>] [<context>]

/b
Post by Shameem Shiek
Hello,
Good work guys. I am having good fun using freeswitch so far.
Currently, I am having a serious issue on making a call transfer
happen. The scenario is simple.
1. Caller A arrives on extension 1 and is waiting on a fifo queue.
2. Caller B arrives on extension 2 and dial plan bridges the call
to Caller C.
Now after a certain period of time, I want to hang up Caller B and
put Caller C in the fifo queue where Caller A is waiting. I know the
UUIDs of the all 3 calls. Naively, I tried the following and failed.
1. I put the bridged call to Caller C on park .
2. I did a "hang up" to caller B.
3. I did "fifo in" for Caller C into fifo queue of caller A.
This did not work. What is the right way to do this? Do I have make
sure uuid_transfer? I am using Event socket to do all of this.
-Shameem.
_______________
Loading...