[Freeswitch-users] Grouping channels in span

Nagalenoj H. nagalenoj at gmail.com
Thu Apr 1 21:49:11 PDT 2010


Moises,
      In all cases, I should use openzap/1/a/123 and there is no chance for
configuring like openzap/1 and openzap/2. Am I right?

      The difficulty I face here is, In dialplan I'm unable to route the
calls based on spans, like,
   <condition field="chan_name" expression="^OpenZAP/1.*/(.*)">
       <action application="bridge" data="openzap/3/a/$1"/>
   </condition>
   <condition field="chan_name" expression="^OpenZAP/2.*/(.*)">
       <action application="playback" data="under_maintenance.wav"/>
   </condition>

       Is there any other way to right the expression to match the spans?

On Thu, Apr 1, 2010 at 6:34 PM, Moises Silva <moises.silva at gmail.com> wrote:

> There can be only 1 boost span currently. All b-channels must be added to
> that span. Then, in /etc/wanpipe/smg_pri.conf you configure which channels
> belong to which group. You can see how to configure spans, channels and
> groups here:
>
> http://wiki.sangoma.com/wanpipe-pri-advanced-options
>
> <http://wiki.sangoma.com/wanpipe-pri-advanced-options>Then when dialing
> from FreeSWITCH use the syntax requested:
>
> openzap/1/1234 at g1 to dial using group 1 defined in smg_pri.conf or
> openzap/1/1234 at g2 to dial using group 2 and so on.
>
> Moises Silva
> Senior Software Engineer
> Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R
> 9T3 Canada
> t. 1 905 474 1990 x 128 | e. moy at sangoma.com
>
>
> On Thu, Apr 1, 2010 at 6:37 AM, Nagalenoj H. <nagalenoj at gmail.com> wrote:
>
>> Dear friends,
>>     I'm using Sangoma A102 and I've configured it with wanpipe. I've
>> question with regard to grouping the spans. There are 2 spans in the card
>> and I would want to group the spans separately, so when I want to make call
>> I could specify as either openzap/1/ or openzap/2/...
>>     But, Now I'm unable to make calls like this. It is asking me to give
>> the dial string as openzap/1/a/123 at g1, openzap/1/a/123 at g2..
>>
>>     I don't want this way., I would want to group the spans differently.
>> Kindly help me.
>>
>> --
>> Regards,
>> Nagalenoj H.
>>
>> _______________________________________________
>> 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
>
>


-- 
Regards,
Nagalenoj H.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100402/5313130e/attachment.html 


More information about the FreeSWITCH-users mailing list