<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html> <head> <META http-equiv=Content-Type content="text/html; charset=iso-8859-2"> <style> </style> </head> <body style="background: #FFFFFF; font-family: arial; font-size: 10pt; margin: 0px; padding: 0px;">Hi!<br><br>Thanks for the fast answer. Of course, there is user/${username}@${domain} in the config, i was just lazy or tired, so i forgot the @${domain}. So, here is the part of the config.<br><br> <extension name="668([0-9]{4})"><br>
<condition field="destination_number" expression="^668([0-9]{4})$"><br>
<action application="bind_meta_app" data="2 b s execute_extension::xfer XML default"/><br>
<action application="bind_meta_app" data="1 b s execute_extension::att_xfer XML default"/><br>
<action application="bridge" data="user/$1@${domain}"/><br>
</condition><br>
</extension><br>
<br>
<extension name="att_xfer"><br>
<condition field="destination_number" expression="^att_xfer$"><br>
<action application="read" data="1 15
/opt/freeswitch/sounds/en/us/callie/misc/8000/transfer1.wav
callednumber 4000 #"/><br>
<action application="att_xfer" data="user/${callednumber}@${domain}"/><br>
</condition><br>
</extension><br><br>
------------------------------------------------------------------------<br>
or for the loopback:<br>------------------------------------------------------------------------<br><br><br> <extension name="att_xfer"><br> <condition field="destination_number" expression="^att_xfer$"><br> <action application="read" data="1 15 /opt/freeswitch/sounds/en/us/callie/misc/8000/transfer1.wav callednumber 4000 #"/><br> <action application="att_xfer" data="loopback/669${callednumber}"/><br> </condition><br> </extension><br> <br><br> <extension name="connect_extension"><br> <condition field="destination_number" expression="^669([0-9]{4})$"><br> <action application="bridge" data="user/$1@${domain}"/><br> </condition><br> </extension><br><br>The connect_extension just simulates that, we execute something in the dialplan.<br>The rest is the defult config.<br>Btw, the xfer is a transfer with loopback channel, and it works fine.<br><br>Cheers,<br>Viktor<br><blockquote style="border-left: 2px solid rgb(0, 0, 255); padding-left: 10px; margin-left: 5px; margin-right: 0px;">-- Eredeti üzenet --<br><div style=""><b>Feladó: </b><a href="mailto:Brian%20West%20%3Cbrian@freeswitch.org%3E">Brian West <brian@freeswitch.org></a></div><div><b>Címzett: </b><a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a></div><div><b>Másolat: </b><a href="mailto:"></a></div><div><b>Elküldve: </b>2008.11.06 17:58</div><div><b>Téma: </b>Re: [Freeswitch-users] att_xfer+loopback</div><br><br>Viktor,<div><span class="Apple-tab-span" style="white-space: pre;"> </span>For the user channel its <a href="mailto:user/user@domain.com">user/user@domain.com</a> ... as for the rest can you show me your entire config?</div><div><br></div><div><a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_att_xfer" target="_blank">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_att_xfer</a></div><div><br></div><div>/b</div><div><br><div><div>On Nov 6, 2008, at 9:45 AM, x y wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi!<br><br>I'm new to freeswitch, and I'm trying to make an att_xfer in a dialplan, but instead of giving a sofia/${domain}/${called_number} as <channel url>, i would like to use a loopback/${called_number}, because i would like to transfer the call not just to different extensions. Is there any way to achive this? When i'm trying to do this like that:<br><br><action application="att_xfer" data="loopback/${callednumber}"/><br><br>in a A-call->B-att_xfer->C situation, A gets hanged up, as soon as the bridge has been estabilished between B and C.<br><br>Btw, i have tryed out att_xfer by giving user/${legal_user} as <channel url>. I've found att_xfer this way a kind of instable, sometimes it worked perfectly, sometimes not: A and C did not hang up, but there weren't succesfully connected (1 time from 10). The log printed the same at both cases.<br><br>Cheers:<br>Viktor<br></blockquote></div><br></div><hr>_______________________________________________<br> Freeswitch-users mailing list<br> <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br> <br></blockquote></body></html>
<br>
<br><u>Hirdetés (x) </u><br>
Váltson most olcsóbb kötelezőre a biztosítás-hu-val. <a href="http://ad.adverticum.net/b/cl,1,2201,295040,360471/click.prm" target="_blank">www.biztositas.hu</a> - a kötelező biztosítások kiindulópontja!