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">Santiago Soares<br><br>