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
I have attached the freeswitch log http://pastebin.freeswitch.org/7730
Can any one correct were i am wrong.
Baskar, At first look your configs seem okay. Please pastebin the output of these commands from the CLI: oz list oz dump 1 -MC
*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 *
Hello, please show your configs (openzap.conf, openzap.conf.xml). Which protocol do you intend to use? (EuroISDN, etc.) Regards, Tamas Baskar írta:
*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
*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 *
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:
*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
participants (4)
-
Baskar
-
Michael Collins
-
Peter P GMX
-
Tamas