[Freeswitch-users] Freetdm group

Matt Broad matt at inveroak.com
Wed Jun 10 18:54:12 MSD 2015


Hi Vallimamod,

thanks for your response. regarding the hunting order.

With regards to the group, I can't see in any of the files that group is 
mentioned or referenced other than, as you say, freetdm.conf.
I have created the conf file manually and gave the spans different names 
than wp1 and wp2 but this causes the mod_freetdm to not load correctly 
stating that the spans cannot be found.
I am not sure what I am doing wrong, I am happy to have the spans named 
as they are by wancfg_fs but I would like them to be grouped

thanks
Matt

On 09/06/2015 12:10, Vallimamod Abdullah wrote:
> Hi,
>
> - the “a” means isdn channel hunting order: “a” seeks for the first lowest numbered channel available and “A”, for the first highest numbered (i.e. start seeking from the end.) It is advisable to *not* use the same order as your telco to avoid glare conditions.
>
> - for the group, I don’t know if there is another place for isdn but for ss7, I declare it only on freetdm.conf. Make sure the span name is the same in autoload_configs/freetdm.conf.xml:
>
> 	<sangoma_pri_spans>
>       		<span name="wp1" cfgprofile="my_pri_te_e1_1">
> 		...
>
> Here the “name” must be the same as in freetdm.conf.
>
> Hope this helps!
>
> Best regards,
> Vallimamod
> .
>
>
>
>> On 09 Jun 2015, at 09:45, Matt Broad <matt at inveroak.com> wrote:
>>
>> HI,
>>
>> I have a sangoma A102 card and have configured it using the Freetdm example (https://freeswitch.org/confluence/display/FREESWITCH/FreeTDM).
>>
>> I can make calls out using both spans, but I have a couple of questions:
>>
>> in the below CLI command, what does the "a" refer to?
>> "originate freetdm/1/a/0123412345 &conference(123)"
>>
>> secondly, I will be using both ports to make outbound calls only and I am trying to add both spans to a group so that I can send calls out over the next available line.  I have the following as my freetdm.conf
>>
>> [span wanpipe wp1]
>> trunk_type => e1
>> group=PSTN
>> b-channel => 1:1-15
>> b-channel => 1:17-31
>> d-channel => 1:16
>>
>> [span wanpipe wp2]
>> trunk_type => e1
>> group=PSTN
>> b-channel => 2:1-15
>> b-channel => 2:17-31
>> d-channel => 2:16
>>
>> When I try to make a call out using "originate freetdm/PSTN/a/0123412345 &conference(123)" I get the error "[ERR] mod_freetdm.c:1390 Missing ftdm span or group: PSTN"
>>
>> Any ideas why this would be?  Do I need to declare the group elsewhere?  I have tried configuring the card using "wancfg_fs" and doing it manually but both result in the error
>> (though wancfg_fs requires the group to contain a number)
>>
>>
>> thanks
>> Matt
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.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





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