Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] How to configure zaptel


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
zolotov at altron.ua
Guest





PostPosted: Fri Aug 29, 2008 5:05 am    Post subject: [Freeswitch-users] How to configure zaptel Reply with quote

We reinstall FreeSWITCH version to be in the mainstream of project.

The last release successfully working for us was 9235 (11.0Cool we have installed 9377 (28.0Cool ,
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:

Quote:
version
FreeSwitch Version 1.0.trunk (9377)
Quote:
load mod_openzap
...
API CALL [load(mod_openzap)] output:
+OK
Quote:
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" /> ???
Back to top
msc at freeswitch.org
Guest





PostPosted: Fri Aug 29, 2008 9:28 am    Post subject: [Freeswitch-users] How to configure zaptel Reply with quote

Sorry for top posting...


At first glance I would say that your span configs are missing the "dialect" parameter:


<param name="dialect" value="euro"/>


Add that to each pri span in openzap.conf.xml and restart fs. Hopefully it will work but if not you might get a different error. Smile


-MC

Sent from my iPhone

On Aug 29, 2008, at 3:02 AM, ??????? ??????? <zolotov@altron.ua (zolotov@altron.ua)> wrote:



Quote:
We reinstall FreeSWITCH version to be in the mainstream of project.

The last release successfully working for us was 9235 (11.0Cool we have installed 9377 (28.0Cool ,
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:

Quote:
version
FreeSwitch Version 1.0.trunk (9377)
Quote:
load mod_openzap
...
API CALL [load(mod_openzap)] output:
+OK
Quote:
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" /> ???



_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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

Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services