[Freeswitch-users] att_xfer origination_cancel_key

Michael Collins msc at freeswitch.org
Sun Aug 4 03:57:55 MSD 2013


You may also research and see how you might add this yourself. The place to
look is in mod_dialplan.c at approx line 2230 inside static switch_status_t
xfer_on_dtmf(...) :

            if (dtmf->digit == '0') {
                switch_caller_extension_t *extension = NULL;
                const char *app = "three_way";
<snip>

In any case, JM is right that it is relatively easy to change that to check
for a channel variable. If you peruse the code you'll find lots of examples
of that sort of thing. If it's not your cup of tea then by all means open a
jira as a feature request.

-MC


On Sat, Aug 3, 2013 at 12:57 AM, Stuart Mills <stuart.mills3 at btopenworld.com
> wrote:

> That is great, thanks for your reply.
>
> I haven't opened a Jira before, so will read up on the wiki and put a
> request in.
>
> Regards
>
> Stuart
>
> Sent from my iPhone
>
> On 3 Aug 2013, at 04:31, João Mesquita <jmesquita at freeswitch.org> wrote:
>
> I am not looking at the code right now but if I recall correctly no you
> cannot. It is trivial to make single key configurable. Open a Jira and I
> can make a patch for it to configure using channel variables. If you want
> multiple keys like bda, forget it. A lot more complicated...
>
> Sent from my iPhone
>
> On Aug 2, 2013, at 6:17 PM, "Stuart Mills" <stuart.mills3 at btopenworld.com>
> wrote:
>
>  Hi,
>
> I have noticed that att_xfer has a configurable cancel key to stop the
> transfer mid dial, is there an option to change keys for the other transfer
> features?
>
> 0 is conference all 3 parties at the moment, but I'd like to designate a 4
> or some other key, is this possible?
>
> Many Thanks,
>
> Stuart Mills
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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
>
>


-- 
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130803/eec9c0af/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list