[Freeswitch-users] channel selection during outbound dialing

Michael Collins msc at freeswitch.org
Wed May 15 21:08:20 MSD 2013


Doh, ctrl-enter strikes again. Here we go:

Looking at the code fragment in wider context:

    if (*argv[1] == 'A') {
        direction = FTDM_BOTTOM_UP;
    } else if (*argv[1] == 'a') {
        direction =  FTDM_TOP_DOWN;
    } else if (*argv[1] == 'r') {
        direction =  FTDM_RR_DOWN;
    } else if (*argv[1] == 'R') {
        direction =  FTDM_RR_UP;

You have bottom up, top down, round robin down and round robin up. So yes,
if someone could add "r" and "R" to the wiki that would be very helpful.

-MC


On Wed, May 15, 2013 at 10:06 AM, Michael Collins <msc at freeswitch.org>wrote:

> Actually, you have both. Look at your code fragment in wider context:
>
>
>
>
> On Wed, May 15, 2013 at 1:42 AM, mbo <mbodbg at gmx.net> wrote:
>
>> Thanks for the link. It seems that the wiki is not up to date here. In
>> the code of mod_freetdm I can see that "r" for hunt going downwards
>> starting from highest channel and "R" hunt going upwards starting from
>> lowest channel seems to be also available.
>>
>>
>> ...
>> } else if (*argv[1] == 'r') {
>> direction =  FTDM_RR_DOWN;
>> } else if (*argv[1] == 'R') {
>>  direction =  FTDM_RR_UP;
>>>>
>> Thanks
>>
>> Markus
>>
>> Am 07.05.2013 um 21:41 schrieb Michael Collins <msc at freeswitch.org>:
>>
>> I believe all of that is covered here:
>> http://wiki.freeswitch.org/wiki/FreeTDM#Dial_Plan
>>
>> The "a" means start at channel 1 and work your way up.
>> -MC
>>
>>
>> On Tue, May 7, 2013 at 10:02 AM, mbo <mbodbg at gmx.net> wrote:
>>
>>> We have a sangoma A104d QUAD T1/E1 AFT card configured with 4 spans in
>>> one group. In Asterisk it is possible to specify the channel selection
>>> mode by a prefix in the dial command (Dial(Zap/g2…) - ascending
>>> sequential hunt group Looks in order 1, 2, 5, 8), Dial(Zap/G2…) - descending
>>> sequential hunt group, looks in order 8, 5, 2, 1), etc. In freeswitch I
>>> use a dial string like:
>>>
>>> freetdm/mygroup/a/
>>>
>>> to dial out via a group. I'm not sure for what the "a" stand for. Are
>>> there also options for the channel selection mode available like in
>>> asterisk?
>>>
>>> Thanks
>>>
>>> Markus
>>>
>>>
>>> _________________________________________________________________________
>>> 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.freeswitch.org/>
>> http://www.ClueCon.com <http://www.cluecon.com/>
>> http://www.OSTAG.org <http://www.ostag.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
>
>


-- 
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/20130515/48ad91aa/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list