[Freeswitch-users] Second transfer
Santiago Soares
santiagosoares at gmail.com
Thu Feb 24 21:22:55 MSK 2011
Thanks for your answer, but it doesn't work.
I tried to assign *3 to log, like this:
<extension name="transferencia2">
<condition field="${attxfer_callthis}" expression="^numberC$">
<action application="bind_meta_app" data="3 b s log::INFO
Transfer"/>
<action application="att_xfer" data="sofia/gateway/test/loginC"/>
</condition>
</extension>
But *3 still calls the transferencia extension.
Any ideas?
Thank you very much!
Santiago Soares
Fone: (41) 8488-0537
On Wed, Feb 23, 2011 at 8:20 PM, Michael Collins <msc at freeswitch.org> wrote:
> 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. :)
>
> -MC
>
> On Wed, Feb 23, 2011 at 10:01 AM, Santiago Soares <
> santiagosoares at gmail.com> wrote:
>
>> Hello,
>>
>> I'm using att_xfer to make call transfer, like that:
>> A calls B
>> B calls C
>> B hangup and A is bridged do C
>>
>> The thing is, the way I am trying to do it, C is able to transfer the call
>> again.
>> I don't want that C be able to transfer the call again.
>> The call should be transfered only once.
>> Is it possible?
>>
>> This is my dialplan:
>>
>> <include>
>>
>> <extension name="test_extension">
>> <condition field="destination_number" expression="^numberB$">
>> <action application="set" data="bind_meta_key=*"/>
>> <action application="bind_meta_app" data="3 b s
>> execute_extension::transferencia XML public"/>
>> <action application="bridge" data="sofia/gateway/test/loginB"/>
>> </condition>
>> </extension>
>>
>> <extension name="transferencia">
>> <condition field="destination_number" expression="^transferencia$">
>> <action application="read" data="3 3 base256/16000/sound.wav
>> attxfer_callthis 30000 #"/>
>> <action application="execute_extension" data="transferencia2"/>
>> </condition>
>> </extension>
>>
>> <extension name="transferencia2">
>> <condition field="${attxfer_callthis}" expression="^numberC$">
>> <action application="att_xfer" data="sofia/gateway/test/loginC"/>
>> </condition>
>> <condition field="${attxfer_callthis}" expression="^numberD$">
>> <action application="att_xfer" data="sofia/gateway/test/loginD"/>
>> </condition>
>> </extension>
>>
>> </include>
>>
>>
>> Thank you,
>> Santiago Soares
>>
>>
>> _______________________________________________
>> 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
>>
>>
>
> _______________________________________________
> 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/20110224/fe05b72f/attachment-0001.html
More information about the FreeSWITCH-users
mailing list