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. :)

-MC

Sent from my iPhone

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

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" /> ???
                                                                           
_______________________________________________
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