[Freeswitch-users] Sangoma A500 - dial out from specific port group?

Vassil Panayotov panayotov.vd at gmail.com
Sun Sep 13 23:02:49 PDT 2009


Just want to say that you were right. Updating to trunk solved the problem.
It seems that I updated/rebuilt my copy just before the patch was
applied on 4 September.

Thank you again!

On Thu, Sep 10, 2009 at 9:54 AM, Vassil Panayotov
<panayotov.vd at gmail.com> wrote:
> Michael, Moises and Octavio thank you for your replies!
>
> The server will be shipped to another site today and I can't test
> thoroughly now.
> When it is installed I will update this thread.
>
> Best regards,
> Vassil
>
> On Thu, Sep 10, 2009 at 1:58 AM, Octavio Ruiz <tacvbo at tacvbo.net> wrote:
>> On Wed, Sep 9, 2009 at 01:20, Vassil Panayotov <panayotov.vd at gmail.com> wrote:
>>> Hi,
>>>
>>> Is it possible to originate calls from specific A500 ports with FreeSWITCH?
>>> I am using a A504 (8 BRI interfaces), and I want some outbound calls to be
>>> made from specific BRI interfaces.
>>
>> You can't define several spans in openzap.conf for boost, the
>> sangoma_brid config file is where you define groups, so your config
>> should look like this:
>>
>> /// smg_bri.conf
>> ......
>>
>> group=1
>> spans=1
>>
>> group=2
>> spans=2
>>
>> group=3
>> spans=3
>>
>> ......
>>
>> /// openzap.conf
>>
>>  [span wanpipe BoostBRI]
>>  trunk_type => bri
>>  b-channel => 1:1-2
>>  b-channel => 2:1-2
>>  b-channel => 3:1-2
>>  b-channel => 4:1-2
>>  b-channel => 5:1-2
>>  b-channel => 6:1-2
>>  b-channel => 7:1-2
>>  b-channel => 8:1-2
>>
>> /// openzap.conf.xml
>>
>>   <boost_spans>
>>    <span name="BoostBRI">
>>      <param name="local-ip" value="127.0.0.65"/>
>>      <param name="local-port" value="53000"/>
>>      <param name="remote-ip" value="127.0.0.66"/>
>>      <param name="remote-port" value="53000"/>
>>      <param name="context" value="default"/>
>>      <param name="dialplan" value="XML"/>
>>      <param name="tonegroup" value="uk"/>
>>    </span>
>>  </boost_spans>
>>
>>
>> Then, you can Dial to your span/group number 3 with:
>>
>> freeswitch>    originate openzap/1/a/12345 at g3
>> <exten>|&<application_name>(<app_args>)
>> freeswitch>    originate openzap/1/a/12345 at G3
>> <exten>|&<application_name>(<app_args>)
>> freeswitch>    originate openzap/1/a/12345 at r3
>> <exten>|&<application_name>(<app_args>)
>> freeswitch>    originate openzap/1/a/12345 at R3
>> <exten>|&<application_name>(<app_args>)
>>
>>
>> If you are using FS 1.0.4, there is a bug, you can fix it with this
>> -already in trunk- patch.
>>
>> Index: src/ozmod/ozmod_ss7_boost/ozmod_ss7_boost.c
>> ===================================================================
>> --- libs/openzap/src/ozmod/ozmod_ss7_boost/ozmod_ss7_boost.c.orig
>> +++ libs/openzap/src/ozmod/ozmod_ss7_boost/ozmod_ss7_boost.c
>> @@ -282,6 +282,8 @@
>>        }
>>
>>        ss7bc_call_init(&event, caller_data->cid_num.digits, ani, r);
>> +       //ss7_bc_call_init will clear the trunk_group val so we need to set it again
>> +       event.trunk_group=tg;
>>
>>        if (gr && *(gr+1)) {
>>
>> Best regards,
>>
>> --
>> Octavio H. Ruiz Cervera
>> Tel.: (+52 55) 8590-9000 Ext. 7016
>> Mobile: (+52 1 55) 4358-4565
>> Sent from Mexico City, DF, Mexico
>>
>> _______________________________________________
>> 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
>>
>




More information about the FreeSWITCH-users mailing list