[Freeswitch-users] How to configure zaptel
Евгений Золотов
zolotov at altron.ua
Fri Aug 29 03:02:58 PDT 2008
We reinstall FreeSWITCH version to be in the mainstream of project.
The last release successfully working for us was 9235 (11.08) we have installed 9377 (28.08) ,
and have some questions.
1. As we before installation of new release need to have successfully working it would be desirable
to have simultaneously installed 2 releases, we do it so:
- we rename old (9235) installation to /usr/local/fs.9235;
- install new (9377) and rename it also to /usr/local/fs.9377;
- for working with necessary version we set link fron directory /usr/local :
$ ln -s fs.9377 freeswitch
- Seems it's ОК.
Is it correct???
2. We experiment with E1 PRI:
> version
FreeSwitch Version 1.0.trunk (9377)
> load mod_openzap
...
API CALL [load(mod_openzap)] output:
+OK
> oz list
API CALL [oz(list)] output:
+OK
span: 1
type: isdn
chan_count: 31
dialplan: XML
context: public
dial_regex:
fail_dial_regex:
hold_music:
analog_options none
+OK
span: 2
type: isdn
chan_count: 31
dialplan: XML
context: public
dial_regex:
fail_dial_regex:
hold_music:
analog_options none
- E1 PRI works correctly (make calls) with same FreeSWITCH (that's 9235 version), we had no time to check up 9377 version yet.
Our configuration files below - here all is correct:
- /etc/zaptel.conf
loadzone = us
defaultzone=us
span=1,1,0,ccs,hdb3,crc4
bchan=1-15,17-31
dchan=16
span=2,1,0,ccs,hdb3,crc4
bchan=32-46,48-62
dchan=47
- /etc/openzap/openzap.conf
[span zt]
name => OpenZAP
number => 1
trunk_type => E1
b-channel => 1-15
d-channel => 16
b-channel => 17-31
[span zt]
name => OpenZAP
number => 2
trunk_type => E1
b-channel => 32-46
d-channel => 47
b-channel => 48-62
- other files /etc/openzap/ didn't change;
- we didn't find "trunk_type => E1" in examples of FS, but we find it in examples at www.sangoma.com ; if to change it for "trunk_type => t1" that the result does not change in any way .
- /usr/local/fs.9235/conf/autoload_configs/openzap.conf.xml
<configuration name="openzap.conf" description="OpenZAP Configuration">
<settings>
<param name="debug" value="1"/>
</settings>
<pri_spans>
<span id="1"> <!-- to PSTN -->
<param name="mode" value="user" />
<param name="dialplan" value="XML"/>
<param name="context" value="public"/>
</span>
<span id="2"> <!-- to PSTN -->
<param name="mode" value="user" />
<param name="dialplan" value="XML"/>
<param name="context" value="public"/>
</span>
</pri_spans>
</configuration>
- which another values (except "user") can be for <param name="mode" value="user" /> ???
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080829/c664659b/attachment-0002.html
More information about the FreeSWITCH-users
mailing list