blind transfer back to caller on failure
Hi all. I'm wondering if is possible to return the call if no answer or user busy? i tryed this: <context name="INTERNAL"> <extension name="INTER_RAMAL"> <condition field="destination_number" expression="^(\d{4})$"> <action application="set" data="continue_on_fail=true" /> <action application="bridge" data="[originate_timeout=10]user/$1" /> </condition> </extension> <extension name="BLIND_TRANSFER"> <condition field="destination_number" expression="^blind_transfer$"> <action application="answer"/> <action application="read" data="3 4 'tone_stream://%(10000,0,350,440)' digits 5000 #"/> <action application="set" data="continue_on_fail=true" /> <action application="execute_extension" data="is_transfer XML INTERNAL" /> <!-- here i try to call user who originate the transfer, but no success --> <action application="bridge" data="user/${caller_id_number}" /> <action application="hangup" /> </condition> </extension> <extension name="is_transfer"> <condition field="destination_number" expression="^is_transfer$"/> <condition field="${digits}" expression="^(\d+)$"> <action application="set" data="continue_on_fail=true" /> <action application="transfer" data="-bleg ${digits} XML INTERNAL"/> <anti-action application="eval" data="cancel transfer"/> </condition> </extension> </context> Example: User A call user B, user B answer and do blind transfer to user C. User B hangup when call blind transfer and C rings 30 seconds and then transfer again to B before hangup A... Now if i do blind transfer and no answer or user busy, freeswitch hangup all sides...
When B does a blind transfer of a call from A to C, the caller_id is left as A. There may be a variable set somewhere in the REFER code, but I haven't looked for it. The usual way to treat a blind transfer is as if A had originated the call directly to C. It does the regular voicemail if it's set up that way. -- Steve On Mon, Apr 22, 2013 at 2:21 PM, Tiago Sampaio <tnsampaio@bsd.com.br> wrote:
Hi all.
I'm wondering if is possible to return the call if no answer or user busy?
Example:
User A call user B, user B answer and do blind transfer to user C. User B hangup when call blind transfer and C rings 30 seconds and then transfer again to B before hangup A... Now if i do blind transfer and no answer or user busy, freeswitch hangup all sides...
confirm-blind-transfer = true sofia profile param or confirm_blind_transfer=true channel var On Mon, Apr 22, 2013 at 7:34 PM, Steven Schoch < schoch+freeswitch.org@xwin32.com> wrote:
When B does a blind transfer of a call from A to C, the caller_id is left as A. There may be a variable set somewhere in the REFER code, but I haven't looked for it.
The usual way to treat a blind transfer is as if A had originated the call directly to C. It does the regular voicemail if it's set up that way.
-- Steve
On Mon, Apr 22, 2013 at 2:21 PM, Tiago Sampaio <tnsampaio@bsd.com.br>wrote:
Hi all.
I'm wondering if is possible to return the call if no answer or user busy?
Example:
User A call user B, user B answer and do blind transfer to user C. User B hangup when call blind transfer and C rings 30 seconds and then transfer again to B before hangup A... Now if i do blind transfer and no answer or user busy, freeswitch hangup all sides...
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
FYI, the wiki has no reference to these two items. Tiago - can you try either of these (or both) and then update the wiki? I can help you with the mechanics of updating the wiki if you can provide the content. -MC On Mon, Apr 22, 2013 at 5:52 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
confirm-blind-transfer = true sofia profile param or confirm_blind_transfer=true channel var
On Mon, Apr 22, 2013 at 7:34 PM, Steven Schoch < schoch+freeswitch.org@xwin32.com> wrote:
When B does a blind transfer of a call from A to C, the caller_id is left as A. There may be a variable set somewhere in the REFER code, but I haven't looked for it.
The usual way to treat a blind transfer is as if A had originated the call directly to C. It does the regular voicemail if it's set up that way.
-- Steve
On Mon, Apr 22, 2013 at 2:21 PM, Tiago Sampaio <tnsampaio@bsd.com.br>wrote:
Hi all.
I'm wondering if is possible to return the call if no answer or user busy?
Example:
User A call user B, user B answer and do blind transfer to user C. User B hangup when call blind transfer and C rings 30 seconds and then transfer again to B before hangup A... Now if i do blind transfer and no answer or user busy, freeswitch hangup all sides...
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
None works. I tryed both alone and together. FS version: FreeSWITCH Version 1.5.1b+git~20130422T184235Z~506768aa6d (git 506768a 2013-04-22 18:42:35Z) Tiago N. Sampaio Em 23-04-2013 12:13, Michael Collins escreveu:
FYI, the wiki has no reference to these two items. Tiago - can you try either of these (or both) and then update the wiki? I can help you with the mechanics of updating the wiki if you can provide the content.
-MC
On Mon, Apr 22, 2013 at 5:52 PM, Anthony Minessale <anthony.minessale@gmail.com <mailto:anthony.minessale@gmail.com>> wrote:
confirm-blind-transfer = true sofia profile param or confirm_blind_transfer=true channel var
On Mon, Apr 22, 2013 at 7:34 PM, Steven Schoch <schoch+freeswitch.org@xwin32.com <mailto:schoch+freeswitch.org@xwin32.com>> wrote:
When B does a blind transfer of a call from A to C, the caller_id is left as A. There may be a variable set somewhere in the REFER code, but I haven't looked for it.
The usual way to treat a blind transfer is as if A had originated the call directly to C. It does the regular voicemail if it's set up that way.
-- Steve
On Mon, Apr 22, 2013 at 2:21 PM, Tiago Sampaio <tnsampaio@bsd.com.br <mailto:tnsampaio@bsd.com.br>> wrote:
Hi all.
I'm wondering if is possible to return the call if no answer or user busy?
Example:
User A call user B, user B answer and do blind transfer to user C. User B hangup when call blind transfer and C rings 30 seconds and then transfer again to B before hangup A... Now if i do blind transfer and no answer or user busy, freeswitch hangup all sides...
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <mailto:MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900 <tel:%2B19193869900>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
Get a debug log of the call from start to finish and put it on pastebin.freeswitch.org. Be sure to enable SIP trace as well. The folks here on the ML will take a look. -MC On Wed, Apr 24, 2013 at 4:53 AM, Tiago Sampaio <tnsampaio@bsd.com.br> wrote:
None works.
I tryed both alone and together.
FS version: FreeSWITCH Version 1.5.1b+git~20130422T184235Z~506768aa6d (git 506768a 2013-04-22 18:42:35Z)
Tiago N. Sampaio
Em 23-04-2013 12:13, Michael Collins escreveu:
FYI, the wiki has no reference to these two items. Tiago - can you try either of these (or both) and then update the wiki? I can help you with the mechanics of updating the wiki if you can provide the content.
-MC
On Mon, Apr 22, 2013 at 5:52 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
confirm-blind-transfer = true sofia profile param or confirm_blind_transfer=true channel var
On Mon, Apr 22, 2013 at 7:34 PM, Steven Schoch < schoch+freeswitch.org@xwin32.com> wrote:
When B does a blind transfer of a call from A to C, the caller_id is left as A. There may be a variable set somewhere in the REFER code, but I haven't looked for it.
The usual way to treat a blind transfer is as if A had originated the call directly to C. It does the regular voicemail if it's set up that way.
-- Steve
On Mon, Apr 22, 2013 at 2:21 PM, Tiago Sampaio <tnsampaio@bsd.com.br>wrote:
Hi all.
I'm wondering if is possible to return the call if no answer or user busy?
Example:
User A call user B, user B answer and do blind transfer to user C. User B hangup when call blind transfer and C rings 30 seconds and then transfer again to B before hangup A... Now if i do blind transfer and no answer or user busy, freeswitch hangup all sides...
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services:consulting@freeswitch.orghttp://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Serverhttp://www.cudatel.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
It worked with (B-party) IP phones only (not ATA) and ... B-party shouldn't hangup the phone immediately. B-party's phone displays "Transferring ... " while C-party is ringing. If B-hangs up immediately, the call is completely teared down after timeout. /Nandy -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/blind-transfer-back-to-caller-... Sent from the freeswitch-users mailing list archive at Nabble.com.
participants (5)
-
Anthony Minessale
-
Michael Collins
-
nandy
-
Steven Schoch
-
Tiago Sampaio