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@g1, openzap/1/a/123@g2.. I don't want this way., I would want to group the spans differently. Kindly help me. -- Regards, Nagalenoj H.
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@g1 to dial using group 1 defined in smg_pri.conf or openzap/1/1234@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@sangoma.com On Thu, Apr 1, 2010 at 6:37 AM, Nagalenoj H. <nagalenoj@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@g1, openzap/1/a/123@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@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@g1 to dial using group 1 defined in smg_pri.conf or openzap/1/1234@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@sangoma.com
On Thu, Apr 1, 2010 at 6:37 AM, Nagalenoj H. <nagalenoj@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@g1, openzap/1/a/123@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@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@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.
I'm not sure why you are matching on "chan_name" but even so, you should be able to do it with the groups: <condition field="chan_name" expression="OpenZAP/1/(\d+)\@g1"> ... stuff for group 1 </condition> <condition field="chan_name" expression="OpenZAP/1/(\d+)\@g2"> ... stuff for group 2 </condition> -MC On Thu, Apr 1, 2010 at 9:49 PM, Nagalenoj H. <nagalenoj@gmail.com> wrote:
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@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@g1 to dial using group 1 defined in smg_pri.conf or openzap/1/1234@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@sangoma.com
On Thu, Apr 1, 2010 at 6:37 AM, Nagalenoj H. <nagalenoj@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@g1, openzap/1/a/123@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@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@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.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Michael Collins
-
Moises Silva
-
Nagalenoj H.