View previous topic :: View next topic |
Author |
Message |
yudha2008 at gmail.com Guest
|
Posted: Thu Mar 12, 2009 9:04 am Post subject: [Freeswitch-users] openzap with A102 |
|
|
Hi,
I am using sangoma A102 card with freeswitch. I have updated all the changes in the freeswitch and have loaded openzap also. But still i cant able to make an outbound call.
openzap.conf
[span wanpipe]
name => OpenZAP
number => 1
trunk_type => E1
b-channel => 1:1-15
d-channel => 1:16
b-channel => 1:17-31
[span wanpipe]
name => OpenZAP
number => 2
trunk_type => E1
b-channel => 2:1-15
d-channel => 2:16
b-channel => 2:17-31
openzap.conf.xml
<configuration name="openzap.conf" description="OpenZAP Configuration">
<settings>
<param name="debug" value="2"/>
</settings>
<pri_spans>
<span id="1">
<param name="mode" value="user"/>
<param name="dialect" value="euro"/>
<param name="dialplan" value="XML"/>
<param name="context" value="default"/>
</span>
</pri_spans>
</configuration>
default.xml
<extension name="Long Distance - wanpipe">
−
<condition field="destination_number" expression="^9(\d{5,15})$">
<action application="set" data="dialed_ext=$1"/>
<action application="bridge" data="openzap/1/A/${dialed_ext}"/>
</condition>
</extension>
I have attached the freeswitch log http://pastebin.freeswitch.org/7730
Can any one correct were i am wrong.
--
Warm Regards,
N.Baskar |
|
Back to top |
|
|
msc at freeswitch.org Guest
|
|
Back to top |
|
|
yudha2008 at gmail.com Guest
|
Posted: Fri Mar 13, 2009 12:09 am Post subject: [Freeswitch-users] openzap with A102 |
|
|
Hi Michael Collins,
When i load mod_openzap i can able to get this output Successfully Loaded [mod_openzap] with one error message
2009-03-13 10:21:42 [ERR] mod_openzap.c:1898 load_config() Error starting OpenZAP span 1 mode: -1264601207 dialect: -1264601162 error:
I have pasted full output in this path : http://pastebin.freeswitch.org/7746
For oz list command i get this output.
oz list
API CALL [oz(list)] output:
For oz dump 1 command i get this output:
oz dump 1
API CALL [oz(dump 1)] output:
-ERR invalid span
Correct where i am worng. --
Warm Regards,
N.Baskar
|
|
Back to top |
|
|
jalsot at gmail.com Guest
|
Posted: Fri Mar 13, 2009 4:00 am Post subject: [Freeswitch-users] openzap with A102 |
|
|
Hello,
please show your configs (openzap.conf, openzap.conf.xml).
Which protocol do you intend to use? (EuroISDN, etc.)
Regards,
Tamas
Baskar írta:
Quote: | *Hi Michael Collins,
When i load mod_openzap i can able to get this output
**Successfully Loaded [mod_openzap**] with one error message
2009-03-13 10:21:42 [ERR] mod_openzap.c:1898 load_config() Error
starting OpenZAP span 1 mode: -1264601207 dialect: -1264601162 error:
I have pasted full output in this path :
http://pastebin.freeswitch.org/7746
For oz list command i get this output.*
* oz list
API CALL [oz(list)] output:
For oz dump 1 command i get this output:
oz dump 1
API CALL [oz(dump 1)] output:
-ERR invalid span
Correct where i am worng.
**
--
Warm Regards,
N.Baskar
*
------------------------------------------------------------------------
_______________________________________________
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 |
|
Back to top |
|
|
yudha2008 at gmail.com Guest
|
Posted: Sat Mar 14, 2009 2:53 am Post subject: [Freeswitch-users] openzap with A102 |
|
|
Hi,
I am using TDMAPI with EuroISDN.
My openzap.conf
[span wanpipe] name => OpenZAPnumber => 1trunk_type => E1 b-channel => 1:1-15d-channel => 1:16b-channel => 1:17-31 [span wanpipe]name => OpenZAP number => 2trunk_type => E1b-channel => 2:1-15 d-channel => 2:16b-channel => 2:17-31
My openzap.con.xml
<configuration name="openzap.conf" description="OpenZAP Configuration"> <settings> <param name="debug" value="2"/> </settings> <pri_spans> <span id="1"> <param name="mode" value="user"/> <param name="dialect" value="euro"/> <param name="dialplan" value="XML"/> <param name="context" value="default"/></span>
<span id="2"> <param name="mode" value="user"/> <param name="dialect" value="euro"/> <param name="dialplan" value="XML"/> <param name="context" value="default"/> </span> </pri_spans> </configuration>
--
Warm Regards,
N.Baskar
|
|
Back to top |
|
|
Prometheus001 at gmx.net Guest
|
Posted: Sat Mar 14, 2009 8:40 am Post subject: [Freeswitch-users] openzap with A102 |
|
|
Hello Baskar,
I had the same once.
Please use
<param name="dialect" value="q931"/>
in your configs. Euro dialect did not work any more for me in newer
versions of freeswitch.
Best regards
Peter
Baskar schrieb:
Quote: | *Hi,
I am using TDMAPI with EuroISDN.
*
*My openzap.conf*
*[span wanpipe]
name => OpenZAP
number => 1
trunk_type => E1
b-channel => 1:1-15
d-channel => 1:16
b-channel => 1:17-31
[span wanpipe]
name => OpenZAP
number => 2
trunk_type => E1
b-channel => 2:1-15
d-channel => 2:16
b-channel => 2:17-31
*
*My openzap.con.xml*
*
<configuration name="openzap.conf" description="OpenZAP Configuration">
<settings>
<param name="debug" value="2"/>
</settings>
<pri_spans>
<span id="1">
<param name="mode" value="user"/>
<param name="dialect" value="euro"/>
<param name="dialplan" value="XML"/>
<param name="context" value="default"/>
</span>
**<span id="2">
<param name="mode" value="user"/>
<param name="dialect" value="euro"/>
<param name="dialplan" value="XML"/>
<param name="context" value="default"/>
</span>**
</pri_spans>
</configuration>*
*
--
Warm Regards,
N.Baskar
*
------------------------------------------------------------------------
_______________________________________________
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 |
|
Back to top |
|
|
|