[Freeswitch-users] Sangoma A500 - dial out from specific port group?
Vassil Panayotov
panayotov.vd at gmail.com
Tue Sep 8 23:31:18 PDT 2009
Sorry I hit 'send' by mistake...
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.
I tried to modify OpenZAP config as follows:
conf/openzap.conf
[span wanpipe boostbri1]
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
[span wanpipe boostbri2]
trunk_type => bri
b-channel => 7:1-2
b-channel => 8:1-2
conf/autoload_configs/openzap.conf.xml:
<boost_spans>
<span name="boostbri1">
<param name="dialplan" value="XML"/>
<param name="context" value="isdn"/>
</span>
<span name="boostbri2">
<param name="dialplan" value="XML"/>
<param name="context" value="isdn"/>
</span>
</boost_spans>
When I try to originate call I am getting errors:
freeswitch at emo-voip> originate openzap/2/a/123456 music
API CALL [originate(openzap/2/a/123456 music)] output:
-ERR NORMAL_CIRCUIT_CONGESTION
2009-09-04 09:23:34.87253 [CRIT] ozmod_ss7_boost.c:244 SPAN is not online.
2009-09-04 09:23:34.87253 [ERR] mod_openzap.c:1043 No channels available
2009-09-04 09:23:34.87253 [ERR] switch_ivr_originate.c:1510 Cannot create
outgoing channel of type [openzap] cause: [NORMAL_CIRCUIT_CONGESTION]
Then I tried to modify the /etc/wanpipe/smg_bri.conf:
;Sangoma AFT-A500 port 11 [slot:8 bus:1 span:7]
group=2
country=europe
operator=etsi
connection_type=point_to_point
signalling=bri_nt
spans=7
;Sangoma AFT-A500 port 12 [slot:8 bus:1 span:8]
group=2
country=europe
operator=etsi
connection_type=point_to_point
signalling=bri_nt
spans=8
i.e. changed 'group' to 2, but this doesn't help either.
Marc Celsie from Sangoma's techdesk told me that I should ' dial X at gY with X
being the number and Y being the group number'.
How originate command should look like in this case?
originate openzap/1/a/123456 at g2 someExt ?
I tried this syntax but with no effect. Marc also told me that there is a
bug in FS which prevents groups from working.
Should I fill bug report or feature request?
Best regards,
Vassil Panayotov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090909/b536f909/attachment-0002.html
More information about the FreeSWITCH-users
mailing list