Thanks for your answer, but it doesn't work.<br>I tried to assign *3 to log, like this:<br> <br> <extension name="transferencia2"><br> <condition field="${attxfer_callthis}" expression="^numberC$"><br>
<action application="bind_meta_app" data="3 b s log::INFO Transfer"/><br> <action application="att_xfer" data="sofia/gateway/test/loginC"/><br><div class="h5">
</condition><br>
</extension></div><br>But *3 still calls the transferencia extension.<br>Any ideas?<br><br>Thank you very much!<br><br clear="all">Santiago Soares<br>Fone: (41) 8488-0537<br>
<br><br><div class="gmail_quote">On Wed, Feb 23, 2011 at 8:20 PM, Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I think you can make another call to bind_meta_app and disable the *3 prior to the att_xfer. You could make *3 do something completely different (like trigger a log entry) and then you could see how many times your users tried to use *3 when they weren't supposed to. :)<div>
<br></div><div>-MC<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Wed, Feb 23, 2011 at 10:01 AM, Santiago Soares <span dir="ltr"><<a href="mailto:santiagosoares@gmail.com" target="_blank">santiagosoares@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">
Hello,<br><br>I'm using att_xfer to make call transfer, like that:<br>A calls B<br>B calls C<br>B hangup and A is bridged do C<br><br>The thing is, the way I am trying to do it, C is able to transfer the call again.<br>
I don't want that C be able to transfer the call again.<br>The call should be transfered only once.<br>Is it possible?<br><br>This is my dialplan:<br><br><include><br><br> <extension name="test_extension"><br>
<condition field="destination_number" expression="^numberB$"><br> <action application="set" data="bind_meta_key=*"/><br> <action application="bind_meta_app" data="3 b s execute_extension::transferencia XML public"/><br>
<action application="bridge" data="sofia/gateway/test/loginB"/><br> </condition><br> </extension><br><br> <extension name="transferencia"><br> <condition field="destination_number" expression="^transferencia$"><br>
<action application="read" data="3 3 base256/16000/sound.wav attxfer_callthis 30000 #"/><br> <action application="execute_extension" data="transferencia2"/><br>
</condition><br> </extension><br><br> <extension name="transferencia2"><br> <condition field="${attxfer_callthis}" expression="^numberC$"><br> <action application="att_xfer" data="sofia/gateway/test/loginC"/><br>
</condition><br> <condition field="${attxfer_callthis}" expression="^numberD$"><br>
<action application="att_xfer" data="sofia/gateway/test/loginD"/><br>
</condition><br>
</extension><br><br></include><br><br><br>Thank you,<br clear="all"><font color="#888888">Santiago Soares<br><br>
</font><br></div></div>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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></div><br></div>
<br>_______________________________________________<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></div><br>