Need Help to setup freeswitch with sangoma card
Dear all, I have successfully configured wanpipe with freeswitch. When I was the running wancfg_fs script the following files openzap.conf , autoload_confg/openzap.conf.xml , /etc/wanpipe/wanpipe1.xml, smg_pri.conf are created. I started the wanrouter command then executed the freeswitch. When I was executing freeswitch mod_openzap.c said the error as "Error for finding the span id. name:PRI_1". But in the openzap.conf and openzap.conf.xml files the span name is smg_prid. Why the freeswitch is referring the span name as PRI_1 ? Whether this has to configured in anywhere? In the freeswitch CLI using oz command I tried to dump the PRI_1 span id but it said te error as "PRI_1 is not found". When I was trying the command 'oz dump smg_prid' all the channel states and details shown. It seems that smg_prid span configured in openzap perfectly (Its my assumption). Then Why freeswitch is referring the span name as PRI_1. DID I MAKE ANY MISTAKE OR DID I MISS ANYTHING TO DO? Could anyone please help me? REFERENCE: openzap.conf [span wanpipe smg_prid] name => smg_prid trunk_type =>e1 b-channel => 1:1-15 b-channel => 1:17-31 openzap.conf.xml <configuration name="openzap.conf" description="OpenZAP Configuration"> <settings> <param name="debug" value="0"/> <!--<param name="hold-music" value="$${moh_uri}"/>--> <!--<param name="enable-analog-option" value="call-swap"/>--> <!--<param name="enable-analog-option" value="3-way"/>--> </settings> <boost_spans> <span id="smg_prid"> <!--<param name="hold-music" value="$${moh_uri}"/>--> <param name="dialplan" value="XML"/> <param name="context" value="default"/> <!-- regex to stop dialing when it matches --> <!--<param name="dial-regex" value="5555"/>--> <!-- regex to stop dialing when it does not match --> <!--<param name="fail-dial-regex" value="^5"/>--> </span> </boost_spans> <analog_spans> </analog_spans> </configuration> -- Regards, Thangappan.M
grep will tell you the answer. On Jan 20, 2010, at 12:55 AM, Thangappan.M wrote:
Dear all,
I have successfully configured wanpipe with freeswitch. When I was the running wancfg_fs script the following files openzap.conf , autoload_confg/openzap.conf.xml , /etc/wanpipe/wanpipe1.xml, smg_pri.conf are created.
I started the wanrouter command then executed the freeswitch. When I was executing freeswitch mod_openzap.c said the error as "Error for finding the span id. name:PRI_1". But in the openzap.conf and openzap.conf.xml files the span name is smg_prid.
Why the freeswitch is referring the span name as PRI_1 ? Whether this has to configured in anywhere?
In the freeswitch CLI using oz command I tried to dump the PRI_1 span id but it said te error as "PRI_1 is not found". When I was trying the command 'oz dump smg_prid' all the channel states and details shown.
It seems that smg_prid span configured in openzap perfectly (Its my assumption). Then Why freeswitch is referring the span name as PRI_1.
DID I MAKE ANY MISTAKE OR DID I MISS ANYTHING TO DO?
I found the error in it. The file name is used as openzap.conf.xml ( smg_prid is specified here) and another file name as openzap.conf.wiki.xml ( PRI_1 span is specified here ). FreeSWITCH referred the PRI_1 span from openzap.conf.wiki.xml file. Now the another problem is raised here. When I was using oz list command , the details of the smg_prid shown. When I was using 'oz dump smg_prid' command it shows all the channels' details. But all the channels' states are DOWN. why? How can I make it the states to UP? When I was making the call , the number is busy message was get. The call was not at all landed to the freeswitch. Dial plan Example: ------------------------------- <extension name="PRI_Testing"> <condition field="destination_number" expression="^39114600$"> <action application="playback" data="ivr-welcome_to_freeswitch"/> </condition> </extension> Please help me........... *Output Reference:* http://pastebin.org/79074 On Wed, Jan 20, 2010 at 11:25 AM, Thangappan.M <thangappan143@gmail.com>wrote:
Dear all,
I have successfully configured wanpipe with freeswitch. When I was the running wancfg_fs script the following files openzap.conf , autoload_confg/openzap.conf.xml , /etc/wanpipe/wanpipe1.xml, smg_pri.conf are created.
I started the wanrouter command then executed the freeswitch. When I was executing freeswitch mod_openzap.c said the error as "Error for finding the span id. name:PRI_1". But in the openzap.conf and openzap.conf.xml files the span name is smg_prid.
Why the freeswitch is referring the span name as PRI_1 ? Whether this has to configured in anywhere?
In the freeswitch CLI using oz command I tried to dump the PRI_1 span id but it said te error as "PRI_1 is not found". When I was trying the command 'oz dump smg_prid' all the channel states and details shown.
It seems that smg_prid span configured in openzap perfectly (Its my assumption). Then Why freeswitch is referring the span name as PRI_1.
DID I MAKE ANY MISTAKE OR DID I MISS ANYTHING TO DO?
Could anyone please help me?
REFERENCE:
openzap.conf [span wanpipe smg_prid] name => smg_prid trunk_type =>e1 b-channel => 1:1-15 b-channel => 1:17-31
openzap.conf.xml <configuration name="openzap.conf" description="OpenZAP Configuration"> <settings> <param name="debug" value="0"/> <!--<param name="hold-music" value="$${moh_uri}"/>--> <!--<param name="enable-analog-option" value="call-swap"/>--> <!--<param name="enable-analog-option" value="3-way"/>--> </settings> <boost_spans> <span id="smg_prid"> <!--<param name="hold-music" value="$${moh_uri}"/>--> <param name="dialplan" value="XML"/> <param name="context" value="default"/> <!-- regex to stop dialing when it matches --> <!--<param name="dial-regex" value="5555"/>--> <!-- regex to stop dialing when it does not match --> <!--<param name="fail-dial-regex" value="^5"/>--> </span> </boost_spans> <analog_spans> </analog_spans> </configuration>
-- Regards, Thangappan.M
-- Regards, Thangappan.M
Down isn't bad, it just means no one is on that channel On Jan 20, 2010, at 2:13 AM, "Thangappan.M" <thangappan143@gmail.com> wrote:
I found the error in it. The file name is used as openzap.conf.xml ( smg_prid is specified here) and another file name as openzap.conf.wiki.xml ( PRI_1 span is specified here ). FreeSWITCH referred the PRI_1 span from openzap.conf.wiki.xml file.
Now the another problem is raised here. When I was using oz list command , the details of the smg_prid shown. When I was using 'oz dump smg_prid' command it shows all the channels' details. But all the channels' states are DOWN. why? How can I make it the states to UP?
When I was making the call , the number is busy message was get. The call was not at all landed to the freeswitch.
Dial plan Example: ------------------------------- <extension name="PRI_Testing"> <condition field="destination_number" expression="^39114600$"> <action application="playback" data="ivr- welcome_to_freeswitch"/> </condition> </extension>
Please help me...........
Output Reference: http://pastebin.org/79074
On Wed, Jan 20, 2010 at 11:25 AM, Thangappan.M <thangappan143@gmail.com
wrote: Dear all,
I have successfully configured wanpipe with freeswitch. When I was the running wancfg_fs script the following files openzap.conf , autoload_confg/openzap.conf.xml , /etc/wanpipe/ wanpipe1.xml, smg_pri.conf are created.
I started the wanrouter command then executed the freeswitch. When I was executing freeswitch mod_openzap.c said the error as "Error for finding the span id. name:PRI_1". But in the openzap.conf and openzap.conf.xml files the span name is smg_prid.
Why the freeswitch is referring the span name as PRI_1 ? Whether this has to configured in anywhere?
In the freeswitch CLI using oz command I tried to dump the PRI_1 span id but it said te error as "PRI_1 is not found". When I was trying the command 'oz dump smg_prid' all the channel states and details shown.
It seems that smg_prid span configured in openzap perfectly (Its my assumption). Then Why freeswitch is referring the span name as PRI_1.
DID I MAKE ANY MISTAKE OR DID I MISS ANYTHING TO DO?
Could anyone please help me?
REFERENCE:
openzap.conf [span wanpipe smg_prid] name => smg_prid trunk_type =>e1 b-channel => 1:1-15 b-channel => 1:17-31
openzap.conf.xml <configuration name="openzap.conf" description="OpenZAP Configuration"> <settings> <param name="debug" value="0"/> <!--<param name="hold-music" value="$${moh_uri}"/>--> <!--<param name="enable-analog-option" value="call-swap"/>--> <!--<param name="enable-analog-option" value="3-way"/>--> </settings> <boost_spans> <span id="smg_prid"> <!--<param name="hold-music" value="$${moh_uri}"/>--> <param name="dialplan" value="XML"/> <param name="context" value="default"/> <!-- regex to stop dialing when it matches --> <!--<param name="dial-regex" value="5555"/>--> <!-- regex to stop dialing when it does not match --> <!--<param name="fail-dial-regex" value="^5"/>--> </span> </boost_spans> <analog_spans> </analog_spans> </configuration>
-- Regards, Thangappan.M
-- Regards, Thangappan.M _______________________________________________ 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
I noticed the 'oz list' output in that span type is 'ss7 (boost)'. How can I change this to isdn? On Wed, Jan 20, 2010 at 12:43 PM, Thangappan.M <thangappan143@gmail.com>wrote:
I found the error in it. The file name is used as openzap.conf.xml ( smg_prid is specified here) and another file name as openzap.conf.wiki.xml ( PRI_1 span is specified here ). FreeSWITCH referred the PRI_1 span from openzap.conf.wiki.xml file.
Now the another problem is raised here. When I was using oz list command , the details of the smg_prid shown. When I was using 'oz dump smg_prid' command it shows all the channels' details. But all the channels' states are DOWN. why? How can I make it the states to UP?
When I was making the call , the number is busy message was get. The call was not at all landed to the freeswitch.
Dial plan Example: ------------------------------- <extension name="PRI_Testing"> <condition field="destination_number" expression="^39114600$"> <action application="playback" data="ivr-welcome_to_freeswitch"/> </condition> </extension>
Please help me...........
*Output Reference:* http://pastebin.org/79074
On Wed, Jan 20, 2010 at 11:25 AM, Thangappan.M <thangappan143@gmail.com>wrote:
Dear all,
I have successfully configured wanpipe with freeswitch. When I was the running wancfg_fs script the following files openzap.conf , autoload_confg/openzap.conf.xml , /etc/wanpipe/wanpipe1.xml, smg_pri.conf are created.
I started the wanrouter command then executed the freeswitch. When I was executing freeswitch mod_openzap.c said the error as "Error for finding the span id. name:PRI_1". But in the openzap.conf and openzap.conf.xml files the span name is smg_prid.
Why the freeswitch is referring the span name as PRI_1 ? Whether this has to configured in anywhere?
In the freeswitch CLI using oz command I tried to dump the PRI_1 span id but it said te error as "PRI_1 is not found". When I was trying the command 'oz dump smg_prid' all the channel states and details shown.
It seems that smg_prid span configured in openzap perfectly (Its my assumption). Then Why freeswitch is referring the span name as PRI_1.
DID I MAKE ANY MISTAKE OR DID I MISS ANYTHING TO DO?
Could anyone please help me?
REFERENCE:
openzap.conf [span wanpipe smg_prid] name => smg_prid trunk_type =>e1 b-channel => 1:1-15 b-channel => 1:17-31
openzap.conf.xml <configuration name="openzap.conf" description="OpenZAP Configuration"> <settings> <param name="debug" value="0"/> <!--<param name="hold-music" value="$${moh_uri}"/>--> <!--<param name="enable-analog-option" value="call-swap"/>--> <!--<param name="enable-analog-option" value="3-way"/>--> </settings> <boost_spans> <span id="smg_prid"> <!--<param name="hold-music" value="$${moh_uri}"/>--> <param name="dialplan" value="XML"/> <param name="context" value="default"/> <!-- regex to stop dialing when it matches --> <!--<param name="dial-regex" value="5555"/>--> <!-- regex to stop dialing when it does not match --> <!--<param name="fail-dial-regex" value="^5"/>--> </span> </boost_spans> <analog_spans> </analog_spans> </configuration>
-- Regards, Thangappan.M
-- Regards, Thangappan.M
-- Regards, Thangappan.M
Hi On Wed, Jan 20, 2010 at 9:10 AM, Thangappan.M <thangappan143@gmail.com>wrote:
I noticed the 'oz list' output in that span type is 'ss7 (boost)'. How can I change this to isdn?
Ignore the bad name, as long as you run sangoma_prid siganling binary you get pri signaling, the openzap side does not really know the details of the signaling and the ss7 boost name is just a misleading name (for historic and lame reasons). -- Moises Silva Senior Software Engineer Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada t. 1 905 474 1990 x 128 | e. moy@sangoma.com
OpenZap is loading the ss7 signalling type. As per your concern openzap does not know the details of the signalling then how it is loading the ss7_boost libraries? FreeSWITCH log: ----------------------------- 2010-01-21 10:10:46.707844 [INFO] zap_io.c:2374 Configured 30 channel(s) 2010-01-21 10:10:46.708600 [INFO] zap_io.c:2468 Loading SIG from /usr/local/freeswitch/mod/ozmod_ss7_boost.so 2010-01-21 10:10:46.709031 [INFO] zap_io.c:2584 auto-loaded 'ss7_boost' 2010-01-21 10:10:46.709466 [DEBUG] ss7_boost_client.c:124 Creating L= 127.0.0.65:53000 R=127.0.0.66:53000 2010-01-21 10:10:46.709834 [DEBUG] ss7_boost_client.c:124 Creating L= 127.0.0.65:53001 R=127.0.0.66:53001 2010-01-21 10:10:46.710424 [WARNING] ss7_boost_client.c:244 TX EVENT (P): SYSTEM_RESTART:(87) [w1g1] Rc=0 CSid=0 Seq=0 The signalling type might be anything but when I used the oz list command it showed the span details. But I am unable to make a inbound and outbound call. Outbound call result: ============
originate openzap/smg_prid/a/9940464753 openzap/smg_prid/a/9843171457 -ERR NORMAL_CIRCUIT_CONGESTION
2010-01-21 10:26:14.304816 [CRIT] ozmod_ss7_boost.c:244 SPAN is not online. freeswitch@internal> 2010-01-21 10:26:14.304816 [ERR] mod_openzap.c:1043 No channels available 2010-01-21 10:26:14.304816 [ERR] switch_ivr_originate.c:1510 Cannot create outgoing channel of type [openzap] cause: [NORMAL_CIRCUIT_CONGESTION] 2010-01-21 10:26:14.304816 [DEBUG] switch_ivr_originate.c:2138 Originate Resulted in Error Cause: 34 [NORMAL_CIRCUIT_CONGESTION] Inbound call result: ----------------------------- I made incoming call for the dial plan which is specified in the earlier post at that time it said the number is busy. We did the packet capture using the following command. wanpipemon -i w1g1 -pcap -pcap file isdn.pcap -port ISDN -full -systime -c trd Here I attached the pcap file for that. Where I did mistake or Did I miss any thing to do? Please help me....... On Wed, Jan 20, 2010 at 7:40 PM, Thangappan.M <thangappan143@gmail.com>wrote:
I noticed the 'oz list' output in that span type is 'ss7 (boost)'. How can I change this to isdn?
On Wed, Jan 20, 2010 at 12:43 PM, Thangappan.M <thangappan143@gmail.com>wrote:
I found the error in it. The file name is used as openzap.conf.xml ( smg_prid is specified here) and another file name as openzap.conf.wiki.xml ( PRI_1 span is specified here ). FreeSWITCH referred the PRI_1 span from openzap.conf.wiki.xml file.
Now the another problem is raised here. When I was using oz list command , the details of the smg_prid shown. When I was using 'oz dump smg_prid' command it shows all the channels' details. But all the channels' states are DOWN. why? How can I make it the states to UP?
When I was making the call , the number is busy message was get. The call was not at all landed to the freeswitch.
Dial plan Example: ------------------------------- <extension name="PRI_Testing"> <condition field="destination_number" expression="^39114600$"> <action application="playback" data="ivr-welcome_to_freeswitch"/> </condition> </extension>
Please help me...........
*Output Reference:* http://pastebin.org/79074
On Wed, Jan 20, 2010 at 11:25 AM, Thangappan.M <thangappan143@gmail.com>wrote:
Dear all,
I have successfully configured wanpipe with freeswitch. When I was the running wancfg_fs script the following files openzap.conf , autoload_confg/openzap.conf.xml , /etc/wanpipe/wanpipe1.xml, smg_pri.conf are created.
I started the wanrouter command then executed the freeswitch. When I was executing freeswitch mod_openzap.c said the error as "Error for finding the span id. name:PRI_1". But in the openzap.conf and openzap.conf.xml files the span name is smg_prid.
Why the freeswitch is referring the span name as PRI_1 ? Whether this has to configured in anywhere?
In the freeswitch CLI using oz command I tried to dump the PRI_1 span id but it said te error as "PRI_1 is not found". When I was trying the command 'oz dump smg_prid' all the channel states and details shown.
It seems that smg_prid span configured in openzap perfectly (Its my assumption). Then Why freeswitch is referring the span name as PRI_1.
DID I MAKE ANY MISTAKE OR DID I MISS ANYTHING TO DO?
Could anyone please help me?
REFERENCE:
openzap.conf [span wanpipe smg_prid] name => smg_prid trunk_type =>e1 b-channel => 1:1-15 b-channel => 1:17-31
openzap.conf.xml <configuration name="openzap.conf" description="OpenZAP Configuration"> <settings> <param name="debug" value="0"/> <!--<param name="hold-music" value="$${moh_uri}"/>--> <!--<param name="enable-analog-option" value="call-swap"/>--> <!--<param name="enable-analog-option" value="3-way"/>--> </settings> <boost_spans> <span id="smg_prid"> <!--<param name="hold-music" value="$${moh_uri}"/>--> <param name="dialplan" value="XML"/> <param name="context" value="default"/> <!-- regex to stop dialing when it matches --> <!--<param name="dial-regex" value="5555"/>--> <!-- regex to stop dialing when it does not match --> <!--<param name="fail-dial-regex" value="^5"/>--> </span> </boost_spans> <analog_spans> </analog_spans> </configuration>
-- Regards, Thangappan.M
-- Regards, Thangappan.M
-- Regards, Thangappan.M
-- Regards, Thangappan.M
Can you do two things: Get a debug log of openzap loading, put it on pastebin. (you can unload mod_openzap and then press F8 and type load mod_openzap, capturing the output. Also do "oz list" and "oz dump 1" and pastebin the output. Pastebin your openzap.conf.xml, openzap.conf, and smg_prid.conf files. -MC On Wed, Jan 20, 2010 at 9:04 PM, Thangappan.M <thangappan143@gmail.com>wrote:
OpenZap is loading the ss7 signalling type. As per your concern openzap does not know the details of the signalling then how it is loading the ss7_boost libraries?
FreeSWITCH log: ----------------------------- 2010-01-21 10:10:46.707844 [INFO] zap_io.c:2374 Configured 30 channel(s) 2010-01-21 10:10:46.708600 [INFO] zap_io.c:2468 Loading SIG from /usr/local/freeswitch/mod/ozmod_ss7_boost.so 2010-01-21 10:10:46.709031 [INFO] zap_io.c:2584 auto-loaded 'ss7_boost' 2010-01-21 10:10:46.709466 [DEBUG] ss7_boost_client.c:124 Creating L= 127.0.0.65:53000 R=127.0.0.66:53000 2010-01-21 10:10:46.709834 [DEBUG] ss7_boost_client.c:124 Creating L= 127.0.0.65:53001 R=127.0.0.66:53001 2010-01-21 10:10:46.710424 [WARNING] ss7_boost_client.c:244 TX EVENT (P): SYSTEM_RESTART:(87) [w1g1] Rc=0 CSid=0 Seq=0
The signalling type might be anything but when I used the oz list command it showed the span details. But I am unable to make a inbound and outbound call.
Outbound call result: ============
originate openzap/smg_prid/a/9940464753 openzap/smg_prid/a/9843171457 -ERR NORMAL_CIRCUIT_CONGESTION
2010-01-21 10:26:14.304816 [CRIT] ozmod_ss7_boost.c:244 SPAN is not online. freeswitch@internal> 2010-01-21 10:26:14.304816 [ERR] mod_openzap.c:1043 No channels available 2010-01-21 10:26:14.304816 [ERR] switch_ivr_originate.c:1510 Cannot create outgoing channel of type [openzap] cause: [NORMAL_CIRCUIT_CONGESTION] 2010-01-21 10:26:14.304816 [DEBUG] switch_ivr_originate.c:2138 Originate Resulted in Error Cause: 34 [NORMAL_CIRCUIT_CONGESTION]
Inbound call result: -----------------------------
I made incoming call for the dial plan which is specified in the earlier post at that time it said the number is busy. We did the packet capture using the following command.
wanpipemon -i w1g1 -pcap -pcap file isdn.pcap -port ISDN -full -systime -c trd
Here I attached the pcap file for that.
Where I did mistake or Did I miss any thing to do? Please help me.......
On Wed, Jan 20, 2010 at 7:40 PM, Thangappan.M <thangappan143@gmail.com>wrote:
I noticed the 'oz list' output in that span type is 'ss7 (boost)'. How can I change this to isdn?
On Wed, Jan 20, 2010 at 12:43 PM, Thangappan.M <thangappan143@gmail.com>wrote:
I found the error in it. The file name is used as openzap.conf.xml ( smg_prid is specified here) and another file name as openzap.conf.wiki.xml ( PRI_1 span is specified here ). FreeSWITCH referred the PRI_1 span from openzap.conf.wiki.xml file.
Now the another problem is raised here. When I was using oz list command , the details of the smg_prid shown. When I was using 'oz dump smg_prid' command it shows all the channels' details. But all the channels' states are DOWN. why? How can I make it the states to UP?
When I was making the call , the number is busy message was get. The call was not at all landed to the freeswitch.
Dial plan Example: ------------------------------- <extension name="PRI_Testing"> <condition field="destination_number" expression="^39114600$"> <action application="playback" data="ivr-welcome_to_freeswitch"/> </condition> </extension>
Please help me...........
*Output Reference:* http://pastebin.org/79074
On Wed, Jan 20, 2010 at 11:25 AM, Thangappan.M <thangappan143@gmail.com>wrote:
Dear all,
I have successfully configured wanpipe with freeswitch. When I was the running wancfg_fs script the following files openzap.conf , autoload_confg/openzap.conf.xml , /etc/wanpipe/wanpipe1.xml, smg_pri.conf are created.
I started the wanrouter command then executed the freeswitch. When I was executing freeswitch mod_openzap.c said the error as "Error for finding the span id. name:PRI_1". But in the openzap.conf and openzap.conf.xml files the span name is smg_prid.
Why the freeswitch is referring the span name as PRI_1 ? Whether this has to configured in anywhere?
In the freeswitch CLI using oz command I tried to dump the PRI_1 span id but it said te error as "PRI_1 is not found". When I was trying the command 'oz dump smg_prid' all the channel states and details shown.
It seems that smg_prid span configured in openzap perfectly (Its my assumption). Then Why freeswitch is referring the span name as PRI_1.
DID I MAKE ANY MISTAKE OR DID I MISS ANYTHING TO DO?
Could anyone please help me?
REFERENCE:
openzap.conf [span wanpipe smg_prid] name => smg_prid trunk_type =>e1 b-channel => 1:1-15 b-channel => 1:17-31
openzap.conf.xml <configuration name="openzap.conf" description="OpenZAP Configuration"> <settings> <param name="debug" value="0"/> <!--<param name="hold-music" value="$${moh_uri}"/>--> <!--<param name="enable-analog-option" value="call-swap"/>--> <!--<param name="enable-analog-option" value="3-way"/>--> </settings> <boost_spans> <span id="smg_prid"> <!--<param name="hold-music" value="$${moh_uri}"/>--> <param name="dialplan" value="XML"/> <param name="context" value="default"/> <!-- regex to stop dialing when it matches --> <!--<param name="dial-regex" value="5555"/>--> <!-- regex to stop dialing when it does not match --> <!--<param name="fail-dial-regex" value="^5"/>--> </span> </boost_spans> <analog_spans> </analog_spans> </configuration>
-- Regards, Thangappan.M
-- Regards, Thangappan.M
-- Regards, Thangappan.M
-- Regards, Thangappan.M
_______________________________________________ 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
You're running old FreeSWITCH you'll need the very latest. /b On Jan 21, 2010, at 1:59 PM, Michael Collins wrote:
2010-01-21 10:10:46.710424 [WARNING] ss7_boost_client.c:244 TX EVENT (P): SYSTEM_RESTART:(87) [w1g1] Rc=0 CSid=0 Seq=0
The following link have the openzap.conf,openzap.conf.xml ,smg_prid.conf , debug log of mod_openzap , oz list and oz dump 1 output. http://pastebin.org/80095 On Thu, Jan 21, 2010 at 10:34 AM, Thangappan.M <thangappan143@gmail.com>wrote:
OpenZap is loading the ss7 signalling type. As per your concern openzap does not know the details of the signalling then how it is loading the ss7_boost libraries?
FreeSWITCH log: ----------------------------- 2010-01-21 10:10:46.707844 [INFO] zap_io.c:2374 Configured 30 channel(s) 2010-01-21 10:10:46.708600 [INFO] zap_io.c:2468 Loading SIG from /usr/local/freeswitch/mod/ozmod_ss7_boost.so 2010-01-21 10:10:46.709031 [INFO] zap_io.c:2584 auto-loaded 'ss7_boost' 2010-01-21 10:10:46.709466 [DEBUG] ss7_boost_client.c:124 Creating L= 127.0.0.65:53000 R=127.0.0.66:53000 2010-01-21 10:10:46.709834 [DEBUG] ss7_boost_client.c:124 Creating L= 127.0.0.65:53001 R=127.0.0.66:53001 2010-01-21 10:10:46.710424 [WARNING] ss7_boost_client.c:244 TX EVENT (P): SYSTEM_RESTART:(87) [w1g1] Rc=0 CSid=0 Seq=0
The signalling type might be anything but when I used the oz list command it showed the span details. But I am unable to make a inbound and outbound call.
Outbound call result: ============
originate openzap/smg_prid/a/9940464753 openzap/smg_prid/a/9843171457 -ERR NORMAL_CIRCUIT_CONGESTION
2010-01-21 10:26:14.304816 [CRIT] ozmod_ss7_boost.c:244 SPAN is not online. freeswitch@internal> 2010-01-21 10:26:14.304816 [ERR] mod_openzap.c:1043 No channels available 2010-01-21 10:26:14.304816 [ERR] switch_ivr_originate.c:1510 Cannot create outgoing channel of type [openzap] cause: [NORMAL_CIRCUIT_CONGESTION] 2010-01-21 10:26:14.304816 [DEBUG] switch_ivr_originate.c:2138 Originate Resulted in Error Cause: 34 [NORMAL_CIRCUIT_CONGESTION]
Inbound call result: -----------------------------
I made incoming call for the dial plan which is specified in the earlier post at that time it said the number is busy. We did the packet capture using the following command.
wanpipemon -i w1g1 -pcap -pcap file isdn.pcap -port ISDN -full -systime -c trd
Here I attached the pcap file for that.
Where I did mistake or Did I miss any thing to do? Please help me.......
On Wed, Jan 20, 2010 at 7:40 PM, Thangappan.M <thangappan143@gmail.com>wrote:
I noticed the 'oz list' output in that span type is 'ss7 (boost)'. How can I change this to isdn?
On Wed, Jan 20, 2010 at 12:43 PM, Thangappan.M <thangappan143@gmail.com>wrote:
I found the error in it. The file name is used as openzap.conf.xml ( smg_prid is specified here) and another file name as openzap.conf.wiki.xml ( PRI_1 span is specified here ). FreeSWITCH referred the PRI_1 span from openzap.conf.wiki.xml file.
Now the another problem is raised here. When I was using oz list command , the details of the smg_prid shown. When I was using 'oz dump smg_prid' command it shows all the channels' details. But all the channels' states are DOWN. why? How can I make it the states to UP?
When I was making the call , the number is busy message was get. The call was not at all landed to the freeswitch.
Dial plan Example: ------------------------------- <extension name="PRI_Testing"> <condition field="destination_number" expression="^39114600$"> <action application="playback" data="ivr-welcome_to_freeswitch"/> </condition> </extension>
Please help me...........
*Output Reference:* http://pastebin.org/79074
On Wed, Jan 20, 2010 at 11:25 AM, Thangappan.M <thangappan143@gmail.com>wrote:
Dear all,
I have successfully configured wanpipe with freeswitch. When I was the running wancfg_fs script the following files openzap.conf , autoload_confg/openzap.conf.xml , /etc/wanpipe/wanpipe1.xml, smg_pri.conf are created.
I started the wanrouter command then executed the freeswitch. When I was executing freeswitch mod_openzap.c said the error as "Error for finding the span id. name:PRI_1". But in the openzap.conf and openzap.conf.xml files the span name is smg_prid.
Why the freeswitch is referring the span name as PRI_1 ? Whether this has to configured in anywhere?
In the freeswitch CLI using oz command I tried to dump the PRI_1 span id but it said te error as "PRI_1 is not found". When I was trying the command 'oz dump smg_prid' all the channel states and details shown.
It seems that smg_prid span configured in openzap perfectly (Its my assumption). Then Why freeswitch is referring the span name as PRI_1.
DID I MAKE ANY MISTAKE OR DID I MISS ANYTHING TO DO?
Could anyone please help me?
REFERENCE:
openzap.conf [span wanpipe smg_prid] name => smg_prid trunk_type =>e1 b-channel => 1:1-15 b-channel => 1:17-31
openzap.conf.xml <configuration name="openzap.conf" description="OpenZAP Configuration"> <settings> <param name="debug" value="0"/> <!--<param name="hold-music" value="$${moh_uri}"/>--> <!--<param name="enable-analog-option" value="call-swap"/>--> <!--<param name="enable-analog-option" value="3-way"/>--> </settings> <boost_spans> <span id="smg_prid"> <!--<param name="hold-music" value="$${moh_uri}"/>--> <param name="dialplan" value="XML"/> <param name="context" value="default"/> <!-- regex to stop dialing when it matches --> <!--<param name="dial-regex" value="5555"/>--> <!-- regex to stop dialing when it does not match --> <!--<param name="fail-dial-regex" value="^5"/>--> </span> </boost_spans> <analog_spans> </analog_spans> </configuration>
-- Regards, Thangappan.M
-- Regards, Thangappan.M
-- Regards, Thangappan.M
-- Regards, Thangappan.M
-- Regards, Thangappan.M
Updated the latest version of freeswitch ( 1.0.5-20100121-0400) and run the wanrouter then freeswitch. While executing the freeswtich it said the following error. [ERR] zap_io.c:2562 Error loading/usr/local/freeswitch/mod/ozmod_sangoma_boost.so [/usr/local/freeswitch/mod/ozmod_sangoma_boost.so: cannot open shared object file: No such file or directory] [ERR] zap_io.c:2722 can't find 'sangoma_boost Searched about this in freeswitch mailing list and found one post was there regarding the same problem. Finally found the problem. I missed to install the SCTP packages. Installed it and compiled the freeswitch again now the inbound call was landed on freeswitch. But I am unable to make a outbound call. When I was trying the following was get. freeswitch@internal> originate openzap/smg_prid/a/9940464753@g1openzap/smg_prid/a/9940464753@g1 -ERR NORMAL_CIRCUIT_CONGESTION 2010-01-23 10:00:45.688854 [WARNING] ozmod_sangoma_boost.c:348 TX EVENT: CALL_START:(80) [w1g1] CSid=2 Seq=2 Cn=[FreeSWITCH] Cd=[9940464753] Ci=[0000000000] Rdnis=[] freeswitch@internal> 2010-01-23 10:00:46.709355 [WARNING] ozmod_sangoma_boost.c:1373 RX EVENT (N): CALL_START_NACK:(82) [w256g256] Rc=0 CSid=2 Seq=2 2010-01-23 10:00:46.709355 [WARNING] sangoma_boost_client.c:220 TX EVENT (N): CALL_START_NACK_ACK:(83) [w1g1] Rc=0 CSid=2 Seq=3 2010-01-23 10:00:46.709355 [ERR] mod_openzap.c:1162 No channels available 2010-01-23 10:00:46.709355 [ERR] switch_ivr_originate.c:2411 Cannot create outgoing channel of type [openzap] cause: [NORMAL_CIRCUIT_CONGESTION] 2010-01-23 10:00:46.709355 [DEBUG] switch_ivr_originate.c:3211 Originate Resulted in Error Cause: 34 [NORMAL_CIRCUIT_CONGESTION] Please help me........... On Fri, Jan 22, 2010 at 10:15 AM, Thangappan.M <thangappan143@gmail.com>wrote:
The following link have the openzap.conf,openzap.conf.xml ,smg_prid.conf , debug log of mod_openzap , oz list and oz dump 1 output.
On Thu, Jan 21, 2010 at 10:34 AM, Thangappan.M <thangappan143@gmail.com>wrote:
OpenZap is loading the ss7 signalling type. As per your concern openzap does not know the details of the signalling then how it is loading the ss7_boost libraries?
FreeSWITCH log: ----------------------------- 2010-01-21 10:10:46.707844 [INFO] zap_io.c:2374 Configured 30 channel(s) 2010-01-21 10:10:46.708600 [INFO] zap_io.c:2468 Loading SIG from /usr/local/freeswitch/mod/ozmod_ss7_boost.so 2010-01-21 10:10:46.709031 [INFO] zap_io.c:2584 auto-loaded 'ss7_boost' 2010-01-21 10:10:46.709466 [DEBUG] ss7_boost_client.c:124 Creating L= 127.0.0.65:53000 R=127.0.0.66:53000 2010-01-21 10:10:46.709834 [DEBUG] ss7_boost_client.c:124 Creating L= 127.0.0.65:53001 R=127.0.0.66:53001 2010-01-21 10:10:46.710424 [WARNING] ss7_boost_client.c:244 TX EVENT (P): SYSTEM_RESTART:(87) [w1g1] Rc=0 CSid=0 Seq=0
The signalling type might be anything but when I used the oz list command it showed the span details. But I am unable to make a inbound and outbound call.
Outbound call result: ============
originate openzap/smg_prid/a/9940464753 openzap/smg_prid/a/9843171457 -ERR NORMAL_CIRCUIT_CONGESTION
2010-01-21 10:26:14.304816 [CRIT] ozmod_ss7_boost.c:244 SPAN is not online. freeswitch@internal> 2010-01-21 10:26:14.304816 [ERR] mod_openzap.c:1043 No channels available 2010-01-21 10:26:14.304816 [ERR] switch_ivr_originate.c:1510 Cannot create outgoing channel of type [openzap] cause: [NORMAL_CIRCUIT_CONGESTION] 2010-01-21 10:26:14.304816 [DEBUG] switch_ivr_originate.c:2138 Originate Resulted in Error Cause: 34 [NORMAL_CIRCUIT_CONGESTION]
Inbound call result: -----------------------------
I made incoming call for the dial plan which is specified in the earlier post at that time it said the number is busy. We did the packet capture using the following command.
wanpipemon -i w1g1 -pcap -pcap file isdn.pcap -port ISDN -full -systime -c trd
Here I attached the pcap file for that.
Where I did mistake or Did I miss any thing to do? Please help me.......
On Wed, Jan 20, 2010 at 7:40 PM, Thangappan.M <thangappan143@gmail.com>wrote:
I noticed the 'oz list' output in that span type is 'ss7 (boost)'. How can I change this to isdn?
On Wed, Jan 20, 2010 at 12:43 PM, Thangappan.M <thangappan143@gmail.com>wrote:
I found the error in it. The file name is used as openzap.conf.xml ( smg_prid is specified here) and another file name as openzap.conf.wiki.xml ( PRI_1 span is specified here ). FreeSWITCH referred the PRI_1 span from openzap.conf.wiki.xml file.
Now the another problem is raised here. When I was using oz list command , the details of the smg_prid shown. When I was using 'oz dump smg_prid' command it shows all the channels' details. But all the channels' states are DOWN. why? How can I make it the states to UP?
When I was making the call , the number is busy message was get. The call was not at all landed to the freeswitch.
Dial plan Example: ------------------------------- <extension name="PRI_Testing"> <condition field="destination_number" expression="^39114600$"> <action application="playback" data="ivr-welcome_to_freeswitch"/> </condition> </extension>
Please help me...........
*Output Reference:* http://pastebin.org/79074
On Wed, Jan 20, 2010 at 11:25 AM, Thangappan.M <thangappan143@gmail.com
wrote:
Dear all,
I have successfully configured wanpipe with freeswitch. When I was the running wancfg_fs script the following files openzap.conf , autoload_confg/openzap.conf.xml , /etc/wanpipe/wanpipe1.xml, smg_pri.conf are created.
I started the wanrouter command then executed the freeswitch. When I was executing freeswitch mod_openzap.c said the error as "Error for finding the span id. name:PRI_1". But in the openzap.conf and openzap.conf.xml files the span name is smg_prid.
Why the freeswitch is referring the span name as PRI_1 ? Whether this has to configured in anywhere?
In the freeswitch CLI using oz command I tried to dump the PRI_1 span id but it said te error as "PRI_1 is not found". When I was trying the command 'oz dump smg_prid' all the channel states and details shown.
It seems that smg_prid span configured in openzap perfectly (Its my assumption). Then Why freeswitch is referring the span name as PRI_1.
DID I MAKE ANY MISTAKE OR DID I MISS ANYTHING TO DO?
Could anyone please help me?
REFERENCE:
openzap.conf [span wanpipe smg_prid] name => smg_prid trunk_type =>e1 b-channel => 1:1-15 b-channel => 1:17-31
openzap.conf.xml <configuration name="openzap.conf" description="OpenZAP Configuration"> <settings> <param name="debug" value="0"/> <!--<param name="hold-music" value="$${moh_uri}"/>--> <!--<param name="enable-analog-option" value="call-swap"/>--> <!--<param name="enable-analog-option" value="3-way"/>--> </settings> <boost_spans> <span id="smg_prid"> <!--<param name="hold-music" value="$${moh_uri}"/>--> <param name="dialplan" value="XML"/> <param name="context" value="default"/> <!-- regex to stop dialing when it matches --> <!--<param name="dial-regex" value="5555"/>--> <!-- regex to stop dialing when it does not match --> <!--<param name="fail-dial-regex" value="^5"/>--> </span> </boost_spans> <analog_spans> </analog_spans> </configuration>
-- Regards, Thangappan.M
-- Regards, Thangappan.M
-- Regards, Thangappan.M
-- Regards, Thangappan.M
-- Regards, Thangappan.M
-- Regards, Thangappan.M
On Fri, Jan 22, 2010 at 11:32 PM, Thangappan.M <thangappan143@gmail.com>wrote:
But I am unable to make a outbound call. When I was trying the following was get.
freeswitch@internal> originate openzap/smg_prid/a/9940464753@g1openzap/smg_prid/a/9940464753@g1 -ERR NORMAL_CIRCUIT_CONGESTION
2010-01-23 10:00:45.688854 [WARNING] ozmod_sangoma_boost.c:348 TX EVENT: CALL_START:(80) [w1g1] CSid=2 Seq=2 Cn=[FreeSWITCH] Cd=[9940464753] Ci=[0000000000] Rdnis=[] freeswitch@internal> 2010-01-23 10:00:46.709355 [WARNING] ozmod_sangoma_boost.c:1373 RX EVENT (N): CALL_START_NACK:(82) [w256g256] Rc=0 CSid=2 Seq=2 2010-01-23 10:00:46.709355 [WARNING] sangoma_boost_client.c:220 TX EVENT (N): CALL_START_NACK_ACK:(83) [w1g1] Rc=0 CSid=2 Seq=3 2010-01-23 10:00:46.709355 [ERR] mod_openzap.c:1162 No channels available 2010-01-23 10:00:46.709355 [ERR] switch_ivr_originate.c:2411 Cannot create outgoing channel of type [openzap] cause: [NORMAL_CIRCUIT_CONGESTION] 2010-01-23 10:00:46.709355 [DEBUG] switch_ivr_originate.c:3211 Originate Resulted in Error Cause: 34 [NORMAL_CIRCUIT_CONGESTION]
Please help me...........
Did you define group 1 in /etc/wanpipe/smg_prid.conf, pastebin the file plz. -- Moises Silva Senior Software Engineer Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada t. 1 905 474 1990 x 128 | e. moy@sangoma.com
Also note, we just made a backwards incompatible change to boost in the latest svn.. this will require sangoma_prid version 1.48 or later. I don't think this is packaged up with wanpipe anywhere yet. We are doing more validation of the new code, and updated driver packages should be available very soon. Mike On Jan 23, 2010, at 12:41 PM, Moises Silva wrote:
On Fri, Jan 22, 2010 at 11:32 PM, Thangappan.M <thangappan143@gmail.com> wrote: But I am unable to make a outbound call. When I was trying the following was get.
freeswitch@internal> originate openzap/smg_prid/a/9940464753@g1 openzap/smg_prid/a/9940464753@g1 -ERR NORMAL_CIRCUIT_CONGESTION
2010-01-23 10:00:45.688854 [WARNING] ozmod_sangoma_boost.c:348 TX EVENT: CALL_START:(80) [w1g1] CSid=2 Seq=2 Cn=[FreeSWITCH] Cd=[9940464753] Ci=[0000000000] Rdnis=[] freeswitch@internal> 2010-01-23 10:00:46.709355 [WARNING] ozmod_sangoma_boost.c:1373 RX EVENT (N): CALL_START_NACK:(82) [w256g256] Rc=0 CSid=2 Seq=2 2010-01-23 10:00:46.709355 [WARNING] sangoma_boost_client.c:220 TX EVENT (N): CALL_START_NACK_ACK:(83) [w1g1] Rc=0 CSid=2 Seq=3 2010-01-23 10:00:46.709355 [ERR] mod_openzap.c:1162 No channels available 2010-01-23 10:00:46.709355 [ERR] switch_ivr_originate.c:2411 Cannot create outgoing channel of type [openzap] cause: [NORMAL_CIRCUIT_CONGESTION] 2010-01-23 10:00:46.709355 [DEBUG] switch_ivr_originate.c:3211 Originate Resulted in Error Cause: 34 [NORMAL_CIRCUIT_CONGESTION]
Please help me...........
Did you define group 1 in /etc/wanpipe/smg_prid.conf, pastebin the file plz.
-- Moises Silva Senior Software Engineer Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada t. 1 905 474 1990 x 128 | e. moy@sangoma.com _______________________________________________ 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
Here I mentioned the link which has the details of /etc/wanpipe/smg_pri.conf http://www.pastebin.org/81895 On Sat, Jan 23, 2010 at 10:02 AM, Thangappan.M <thangappan143@gmail.com>wrote:
Updated the latest version of freeswitch ( 1.0.5-20100121-0400) and run the wanrouter then freeswitch. While executing the freeswtich it said the following error.
[ERR] zap_io.c:2562 Error loading/usr/local/freeswitch/mod/ozmod_sangoma_boost.so
[/usr/local/freeswitch/mod/ozmod_sangoma_boost.so: cannot open shared object file: No such file or directory] [ERR] zap_io.c:2722 can't find 'sangoma_boost
Searched about this in freeswitch mailing list and found one post was there regarding the same problem. Finally found the problem. I missed to install the SCTP packages. Installed it and compiled the freeswitch again now the inbound call was landed on freeswitch.
But I am unable to make a outbound call. When I was trying the following was get.
freeswitch@internal> originate openzap/smg_prid/a/9940464753@g1openzap/smg_prid/a/9940464753@g1 -ERR NORMAL_CIRCUIT_CONGESTION
2010-01-23 10:00:45.688854 [WARNING] ozmod_sangoma_boost.c:348 TX EVENT: CALL_START:(80) [w1g1] CSid=2 Seq=2 Cn=[FreeSWITCH] Cd=[9940464753] Ci=[0000000000] Rdnis=[] freeswitch@internal> 2010-01-23 10:00:46.709355 [WARNING] ozmod_sangoma_boost.c:1373 RX EVENT (N): CALL_START_NACK:(82) [w256g256] Rc=0 CSid=2 Seq=2 2010-01-23 10:00:46.709355 [WARNING] sangoma_boost_client.c:220 TX EVENT (N): CALL_START_NACK_ACK:(83) [w1g1] Rc=0 CSid=2 Seq=3 2010-01-23 10:00:46.709355 [ERR] mod_openzap.c:1162 No channels available 2010-01-23 10:00:46.709355 [ERR] switch_ivr_originate.c:2411 Cannot create outgoing channel of type [openzap] cause: [NORMAL_CIRCUIT_CONGESTION] 2010-01-23 10:00:46.709355 [DEBUG] switch_ivr_originate.c:3211 Originate Resulted in Error Cause: 34 [NORMAL_CIRCUIT_CONGESTION]
Please help me...........
On Fri, Jan 22, 2010 at 10:15 AM, Thangappan.M <thangappan143@gmail.com>wrote:
The following link have the openzap.conf,openzap.conf.xml ,smg_prid.conf , debug log of mod_openzap , oz list and oz dump 1 output.
On Thu, Jan 21, 2010 at 10:34 AM, Thangappan.M <thangappan143@gmail.com>wrote:
OpenZap is loading the ss7 signalling type. As per your concern openzap does not know the details of the signalling then how it is loading the ss7_boost libraries?
FreeSWITCH log: ----------------------------- 2010-01-21 10:10:46.707844 [INFO] zap_io.c:2374 Configured 30 channel(s) 2010-01-21 10:10:46.708600 [INFO] zap_io.c:2468 Loading SIG from /usr/local/freeswitch/mod/ozmod_ss7_boost.so 2010-01-21 10:10:46.709031 [INFO] zap_io.c:2584 auto-loaded 'ss7_boost' 2010-01-21 10:10:46.709466 [DEBUG] ss7_boost_client.c:124 Creating L= 127.0.0.65:53000 R=127.0.0.66:53000 2010-01-21 10:10:46.709834 [DEBUG] ss7_boost_client.c:124 Creating L= 127.0.0.65:53001 R=127.0.0.66:53001 2010-01-21 10:10:46.710424 [WARNING] ss7_boost_client.c:244 TX EVENT (P): SYSTEM_RESTART:(87) [w1g1] Rc=0 CSid=0 Seq=0
The signalling type might be anything but when I used the oz list command it showed the span details. But I am unable to make a inbound and outbound call.
Outbound call result: ============
originate openzap/smg_prid/a/9940464753 openzap/smg_prid/a/9843171457 -ERR NORMAL_CIRCUIT_CONGESTION
2010-01-21 10:26:14.304816 [CRIT] ozmod_ss7_boost.c:244 SPAN is not online. freeswitch@internal> 2010-01-21 10:26:14.304816 [ERR] mod_openzap.c:1043 No channels available 2010-01-21 10:26:14.304816 [ERR] switch_ivr_originate.c:1510 Cannot create outgoing channel of type [openzap] cause: [NORMAL_CIRCUIT_CONGESTION] 2010-01-21 10:26:14.304816 [DEBUG] switch_ivr_originate.c:2138 Originate Resulted in Error Cause: 34 [NORMAL_CIRCUIT_CONGESTION]
Inbound call result: -----------------------------
I made incoming call for the dial plan which is specified in the earlier post at that time it said the number is busy. We did the packet capture using the following command.
wanpipemon -i w1g1 -pcap -pcap file isdn.pcap -port ISDN -full -systime -c trd
Here I attached the pcap file for that.
Where I did mistake or Did I miss any thing to do? Please help me.......
On Wed, Jan 20, 2010 at 7:40 PM, Thangappan.M <thangappan143@gmail.com>wrote:
I noticed the 'oz list' output in that span type is 'ss7 (boost)'. How can I change this to isdn?
On Wed, Jan 20, 2010 at 12:43 PM, Thangappan.M <thangappan143@gmail.com
wrote:
I found the error in it. The file name is used as openzap.conf.xml ( smg_prid is specified here) and another file name as openzap.conf.wiki.xml ( PRI_1 span is specified here ). FreeSWITCH referred the PRI_1 span from openzap.conf.wiki.xml file.
Now the another problem is raised here. When I was using oz list command , the details of the smg_prid shown. When I was using 'oz dump smg_prid' command it shows all the channels' details. But all the channels' states are DOWN. why? How can I make it the states to UP?
When I was making the call , the number is busy message was get. The call was not at all landed to the freeswitch.
Dial plan Example: ------------------------------- <extension name="PRI_Testing"> <condition field="destination_number" expression="^39114600$"> <action application="playback" data="ivr-welcome_to_freeswitch"/> </condition> </extension>
Please help me...........
*Output Reference:* http://pastebin.org/79074
On Wed, Jan 20, 2010 at 11:25 AM, Thangappan.M < thangappan143@gmail.com> wrote:
Dear all,
I have successfully configured wanpipe with freeswitch. When I was the running wancfg_fs script the following files openzap.conf , autoload_confg/openzap.conf.xml , /etc/wanpipe/wanpipe1.xml, smg_pri.conf are created.
I started the wanrouter command then executed the freeswitch. When I was executing freeswitch mod_openzap.c said the error as "Error for finding the span id. name:PRI_1". But in the openzap.conf and openzap.conf.xml files the span name is smg_prid.
Why the freeswitch is referring the span name as PRI_1 ? Whether this has to configured in anywhere?
In the freeswitch CLI using oz command I tried to dump the PRI_1 span id but it said te error as "PRI_1 is not found". When I was trying the command 'oz dump smg_prid' all the channel states and details shown.
It seems that smg_prid span configured in openzap perfectly (Its my assumption). Then Why freeswitch is referring the span name as PRI_1.
DID I MAKE ANY MISTAKE OR DID I MISS ANYTHING TO DO?
Could anyone please help me?
REFERENCE:
openzap.conf [span wanpipe smg_prid] name => smg_prid trunk_type =>e1 b-channel => 1:1-15 b-channel => 1:17-31
openzap.conf.xml <configuration name="openzap.conf" description="OpenZAP Configuration"> <settings> <param name="debug" value="0"/> <!--<param name="hold-music" value="$${moh_uri}"/>--> <!--<param name="enable-analog-option" value="call-swap"/>--> <!--<param name="enable-analog-option" value="3-way"/>--> </settings> <boost_spans> <span id="smg_prid"> <!--<param name="hold-music" value="$${moh_uri}"/>--> <param name="dialplan" value="XML"/> <param name="context" value="default"/> <!-- regex to stop dialing when it matches --> <!--<param name="dial-regex" value="5555"/>--> <!-- regex to stop dialing when it does not match --> <!--<param name="fail-dial-regex" value="^5"/>--> </span> </boost_spans> <analog_spans> </analog_spans> </configuration>
-- Regards, Thangappan.M
-- Regards, Thangappan.M
-- Regards, Thangappan.M
-- Regards, Thangappan.M
-- Regards, Thangappan.M
-- Regards, Thangappan.M
-- Regards, Thangappan.M
The following link have the openzap.conf,openzap.conf.xml ,smg_pri.conf, output of oz list and oz dump. http://www.pastebin.org/81929 On Mon, Jan 25, 2010 at 9:55 AM, Thangappan.M <thangappan143@gmail.com>wrote:
Here I mentioned the link which has the details of /etc/wanpipe/smg_pri.conf http://www.pastebin.org/81895
On Sat, Jan 23, 2010 at 10:02 AM, Thangappan.M <thangappan143@gmail.com>wrote:
Updated the latest version of freeswitch ( 1.0.5-20100121-0400) and run the wanrouter then freeswitch. While executing the freeswtich it said the following error.
[ERR] zap_io.c:2562 Error loading/usr/local/freeswitch/mod/ozmod_sangoma_boost.so
[/usr/local/freeswitch/mod/ozmod_sangoma_boost.so: cannot open shared object file: No such file or directory] [ERR] zap_io.c:2722 can't find 'sangoma_boost
Searched about this in freeswitch mailing list and found one post was there regarding the same problem. Finally found the problem. I missed to install the SCTP packages. Installed it and compiled the freeswitch again now the inbound call was landed on freeswitch.
But I am unable to make a outbound call. When I was trying the following was get.
freeswitch@internal> originate openzap/smg_prid/a/9940464753@g1openzap/smg_prid/a/9940464753@g1 -ERR NORMAL_CIRCUIT_CONGESTION
2010-01-23 10:00:45.688854 [WARNING] ozmod_sangoma_boost.c:348 TX EVENT: CALL_START:(80) [w1g1] CSid=2 Seq=2 Cn=[FreeSWITCH] Cd=[9940464753] Ci=[0000000000] Rdnis=[] freeswitch@internal> 2010-01-23 10:00:46.709355 [WARNING] ozmod_sangoma_boost.c:1373 RX EVENT (N): CALL_START_NACK:(82) [w256g256] Rc=0 CSid=2 Seq=2 2010-01-23 10:00:46.709355 [WARNING] sangoma_boost_client.c:220 TX EVENT (N): CALL_START_NACK_ACK:(83) [w1g1] Rc=0 CSid=2 Seq=3 2010-01-23 10:00:46.709355 [ERR] mod_openzap.c:1162 No channels available 2010-01-23 10:00:46.709355 [ERR] switch_ivr_originate.c:2411 Cannot create outgoing channel of type [openzap] cause: [NORMAL_CIRCUIT_CONGESTION] 2010-01-23 10:00:46.709355 [DEBUG] switch_ivr_originate.c:3211 Originate Resulted in Error Cause: 34 [NORMAL_CIRCUIT_CONGESTION]
Please help me...........
On Fri, Jan 22, 2010 at 10:15 AM, Thangappan.M <thangappan143@gmail.com>wrote:
The following link have the openzap.conf,openzap.conf.xml ,smg_prid.conf , debug log of mod_openzap , oz list and oz dump 1 output.
On Thu, Jan 21, 2010 at 10:34 AM, Thangappan.M <thangappan143@gmail.com>wrote:
OpenZap is loading the ss7 signalling type. As per your concern openzap does not know the details of the signalling then how it is loading the ss7_boost libraries?
FreeSWITCH log: ----------------------------- 2010-01-21 10:10:46.707844 [INFO] zap_io.c:2374 Configured 30 channel(s) 2010-01-21 10:10:46.708600 [INFO] zap_io.c:2468 Loading SIG from /usr/local/freeswitch/mod/ozmod_ss7_boost.so 2010-01-21 10:10:46.709031 [INFO] zap_io.c:2584 auto-loaded 'ss7_boost' 2010-01-21 10:10:46.709466 [DEBUG] ss7_boost_client.c:124 Creating L= 127.0.0.65:53000 R=127.0.0.66:53000 2010-01-21 10:10:46.709834 [DEBUG] ss7_boost_client.c:124 Creating L= 127.0.0.65:53001 R=127.0.0.66:53001 2010-01-21 10:10:46.710424 [WARNING] ss7_boost_client.c:244 TX EVENT (P): SYSTEM_RESTART:(87) [w1g1] Rc=0 CSid=0 Seq=0
The signalling type might be anything but when I used the oz list command it showed the span details. But I am unable to make a inbound and outbound call.
Outbound call result: ============
originate openzap/smg_prid/a/9940464753 openzap/smg_prid/a/9843171457 -ERR NORMAL_CIRCUIT_CONGESTION
2010-01-21 10:26:14.304816 [CRIT] ozmod_ss7_boost.c:244 SPAN is not online. freeswitch@internal> 2010-01-21 10:26:14.304816 [ERR] mod_openzap.c:1043 No channels available 2010-01-21 10:26:14.304816 [ERR] switch_ivr_originate.c:1510 Cannot create outgoing channel of type [openzap] cause: [NORMAL_CIRCUIT_CONGESTION] 2010-01-21 10:26:14.304816 [DEBUG] switch_ivr_originate.c:2138 Originate Resulted in Error Cause: 34 [NORMAL_CIRCUIT_CONGESTION]
Inbound call result: -----------------------------
I made incoming call for the dial plan which is specified in the earlier post at that time it said the number is busy. We did the packet capture using the following command.
wanpipemon -i w1g1 -pcap -pcap file isdn.pcap -port ISDN -full -systime -c trd
Here I attached the pcap file for that.
Where I did mistake or Did I miss any thing to do? Please help me.......
On Wed, Jan 20, 2010 at 7:40 PM, Thangappan.M <thangappan143@gmail.com>wrote:
I noticed the 'oz list' output in that span type is 'ss7 (boost)'. How can I change this to isdn?
On Wed, Jan 20, 2010 at 12:43 PM, Thangappan.M < thangappan143@gmail.com> wrote:
I found the error in it. The file name is used as openzap.conf.xml ( smg_prid is specified here) and another file name as openzap.conf.wiki.xml ( PRI_1 span is specified here ). FreeSWITCH referred the PRI_1 span from openzap.conf.wiki.xml file.
Now the another problem is raised here. When I was using oz list command , the details of the smg_prid shown. When I was using 'oz dump smg_prid' command it shows all the channels' details. But all the channels' states are DOWN. why? How can I make it the states to UP?
When I was making the call , the number is busy message was get. The call was not at all landed to the freeswitch.
Dial plan Example: ------------------------------- <extension name="PRI_Testing"> <condition field="destination_number" expression="^39114600$"> <action application="playback" data="ivr-welcome_to_freeswitch"/> </condition> </extension>
Please help me...........
*Output Reference:* http://pastebin.org/79074
On Wed, Jan 20, 2010 at 11:25 AM, Thangappan.M < thangappan143@gmail.com> wrote:
> Dear all, > > I have successfully configured wanpipe with freeswitch. When > I was the running wancfg_fs script the following files openzap.conf , > autoload_confg/openzap.conf.xml , /etc/wanpipe/wanpipe1.xml, smg_pri.conf > are created. > > I started the wanrouter command then executed the > freeswitch. > When I was executing freeswitch mod_openzap.c said the error > as "Error for finding the span id. name:PRI_1". > But in the openzap.conf and openzap.conf.xml files the span > name is smg_prid. > > Why the freeswitch is referring the span name as PRI_1 ? > Whether this has to configured in anywhere? > > In the freeswitch CLI using oz command I tried to dump the > PRI_1 span id but it said te error as "PRI_1 is not found". When I was > trying the command 'oz dump smg_prid' all the channel states and details > shown. > > It seems that smg_prid span configured in openzap perfectly > (Its my assumption). Then Why freeswitch is referring the span name as > PRI_1. > > DID I MAKE ANY MISTAKE OR DID I MISS ANYTHING TO DO? > > Could anyone please help me? > > REFERENCE: > > openzap.conf > [span wanpipe smg_prid] > name => smg_prid > trunk_type =>e1 > b-channel => 1:1-15 > b-channel => 1:17-31 > > > openzap.conf.xml > <configuration name="openzap.conf" description="OpenZAP > Configuration"> > <settings> > <param name="debug" value="0"/> > <!--<param name="hold-music" value="$${moh_uri}"/>--> > <!--<param name="enable-analog-option" value="call-swap"/>--> > <!--<param name="enable-analog-option" value="3-way"/>--> > </settings> > <boost_spans> > <span id="smg_prid"> > <!--<param name="hold-music" value="$${moh_uri}"/>--> > <param name="dialplan" value="XML"/> > <param name="context" value="default"/> > <!-- regex to stop dialing when it matches --> > <!--<param name="dial-regex" value="5555"/>--> > <!-- regex to stop dialing when it does not match --> > <!--<param name="fail-dial-regex" value="^5"/>--> > </span> > </boost_spans> > <analog_spans> > </analog_spans> > </configuration> > > > > > > > -- > Regards, > Thangappan.M >
-- Regards, Thangappan.M
-- Regards, Thangappan.M
-- Regards, Thangappan.M
-- Regards, Thangappan.M
-- Regards, Thangappan.M
-- Regards, Thangappan.M
-- Regards, Thangappan.M
Any updates for this question. Still now I unable to make an outbound call please help me............... Or give the idea to change from boost to isdn? On Mon, Jan 25, 2010 at 11:20 AM, Thangappan.M <thangappan143@gmail.com>wrote:
The following link have the openzap.conf,openzap.conf.xml ,smg_pri.conf, output of oz list and oz dump.
On Mon, Jan 25, 2010 at 9:55 AM, Thangappan.M <thangappan143@gmail.com>wrote:
Here I mentioned the link which has the details of /etc/wanpipe/smg_pri.conf http://www.pastebin.org/81895
On Sat, Jan 23, 2010 at 10:02 AM, Thangappan.M <thangappan143@gmail.com>wrote:
Updated the latest version of freeswitch ( 1.0.5-20100121-0400) and run the wanrouter then freeswitch. While executing the freeswtich it said the following error.
[ERR] zap_io.c:2562 Error loading/usr/local/freeswitch/mod/ozmod_sangoma_boost.so
[/usr/local/freeswitch/mod/ozmod_sangoma_boost.so: cannot open shared object file: No such file or directory] [ERR] zap_io.c:2722 can't find 'sangoma_boost
Searched about this in freeswitch mailing list and found one post was there regarding the same problem. Finally found the problem. I missed to install the SCTP packages. Installed it and compiled the freeswitch again now the inbound call was landed on freeswitch.
But I am unable to make a outbound call. When I was trying the following was get.
freeswitch@internal> originate openzap/smg_prid/a/9940464753@g1openzap/smg_prid/a/9940464753@g1 -ERR NORMAL_CIRCUIT_CONGESTION
2010-01-23 10:00:45.688854 [WARNING] ozmod_sangoma_boost.c:348 TX EVENT: CALL_START:(80) [w1g1] CSid=2 Seq=2 Cn=[FreeSWITCH] Cd=[9940464753] Ci=[0000000000] Rdnis=[] freeswitch@internal> 2010-01-23 10:00:46.709355 [WARNING] ozmod_sangoma_boost.c:1373 RX EVENT (N): CALL_START_NACK:(82) [w256g256] Rc=0 CSid=2 Seq=2 2010-01-23 10:00:46.709355 [WARNING] sangoma_boost_client.c:220 TX EVENT (N): CALL_START_NACK_ACK:(83) [w1g1] Rc=0 CSid=2 Seq=3 2010-01-23 10:00:46.709355 [ERR] mod_openzap.c:1162 No channels available 2010-01-23 10:00:46.709355 [ERR] switch_ivr_originate.c:2411 Cannot create outgoing channel of type [openzap] cause: [NORMAL_CIRCUIT_CONGESTION] 2010-01-23 10:00:46.709355 [DEBUG] switch_ivr_originate.c:3211 Originate Resulted in Error Cause: 34 [NORMAL_CIRCUIT_CONGESTION]
Please help me...........
On Fri, Jan 22, 2010 at 10:15 AM, Thangappan.M <thangappan143@gmail.com>wrote:
The following link have the openzap.conf,openzap.conf.xml ,smg_prid.conf , debug log of mod_openzap , oz list and oz dump 1 output.
On Thu, Jan 21, 2010 at 10:34 AM, Thangappan.M <thangappan143@gmail.com
wrote:
OpenZap is loading the ss7 signalling type. As per your concern openzap does not know the details of the signalling then how it is loading the ss7_boost libraries?
FreeSWITCH log: ----------------------------- 2010-01-21 10:10:46.707844 [INFO] zap_io.c:2374 Configured 30 channel(s) 2010-01-21 10:10:46.708600 [INFO] zap_io.c:2468 Loading SIG from /usr/local/freeswitch/mod/ozmod_ss7_boost.so 2010-01-21 10:10:46.709031 [INFO] zap_io.c:2584 auto-loaded 'ss7_boost' 2010-01-21 10:10:46.709466 [DEBUG] ss7_boost_client.c:124 Creating L= 127.0.0.65:53000 R=127.0.0.66:53000 2010-01-21 10:10:46.709834 [DEBUG] ss7_boost_client.c:124 Creating L= 127.0.0.65:53001 R=127.0.0.66:53001 2010-01-21 10:10:46.710424 [WARNING] ss7_boost_client.c:244 TX EVENT (P): SYSTEM_RESTART:(87) [w1g1] Rc=0 CSid=0 Seq=0
The signalling type might be anything but when I used the oz list command it showed the span details. But I am unable to make a inbound and outbound call.
Outbound call result: ============
originate openzap/smg_prid/a/9940464753 openzap/smg_prid/a/9843171457 -ERR NORMAL_CIRCUIT_CONGESTION
2010-01-21 10:26:14.304816 [CRIT] ozmod_ss7_boost.c:244 SPAN is not online. freeswitch@internal> 2010-01-21 10:26:14.304816 [ERR] mod_openzap.c:1043 No channels available 2010-01-21 10:26:14.304816 [ERR] switch_ivr_originate.c:1510 Cannot create outgoing channel of type [openzap] cause: [NORMAL_CIRCUIT_CONGESTION] 2010-01-21 10:26:14.304816 [DEBUG] switch_ivr_originate.c:2138 Originate Resulted in Error Cause: 34 [NORMAL_CIRCUIT_CONGESTION]
Inbound call result: -----------------------------
I made incoming call for the dial plan which is specified in the earlier post at that time it said the number is busy. We did the packet capture using the following command.
wanpipemon -i w1g1 -pcap -pcap file isdn.pcap -port ISDN -full -systime -c trd
Here I attached the pcap file for that.
Where I did mistake or Did I miss any thing to do? Please help me.......
On Wed, Jan 20, 2010 at 7:40 PM, Thangappan.M <thangappan143@gmail.com
wrote:
I noticed the 'oz list' output in that span type is 'ss7 (boost)'. How can I change this to isdn?
On Wed, Jan 20, 2010 at 12:43 PM, Thangappan.M < thangappan143@gmail.com> wrote:
> I found the error in it. The file name is used as openzap.conf.xml ( > smg_prid is specified here) and another file name as openzap.conf.wiki.xml ( > PRI_1 span is specified here ). FreeSWITCH referred the PRI_1 span from > openzap.conf.wiki.xml file. > > Now the another problem is raised here. > When I was using oz list command , the details of the smg_prid shown. > When I was using 'oz dump smg_prid' command it shows all the channels' > details. But all the channels' states are DOWN. why? How can I make it the > states to UP? > > When I was making the call , the number is busy message was get. The > call was not at all landed to the freeswitch. > > Dial plan Example: > ------------------------------- > <extension name="PRI_Testing"> > <condition field="destination_number" > expression="^39114600$"> > <action application="playback" > data="ivr-welcome_to_freeswitch"/> > </condition> > </extension> > > Please help me........... > > *Output Reference:* > http://pastebin.org/79074 > > > On Wed, Jan 20, 2010 at 11:25 AM, Thangappan.M < > thangappan143@gmail.com> wrote: > >> Dear all, >> >> I have successfully configured wanpipe with freeswitch. >> When I was the running wancfg_fs script the following files openzap.conf , >> autoload_confg/openzap.conf.xml , /etc/wanpipe/wanpipe1.xml, smg_pri.conf >> are created. >> >> I started the wanrouter command then executed the >> freeswitch. >> When I was executing freeswitch mod_openzap.c said the >> error as "Error for finding the span id. name:PRI_1". >> But in the openzap.conf and openzap.conf.xml files the span >> name is smg_prid. >> >> Why the freeswitch is referring the span name as PRI_1 ? >> Whether this has to configured in anywhere? >> >> In the freeswitch CLI using oz command I tried to dump the >> PRI_1 span id but it said te error as "PRI_1 is not found". When I was >> trying the command 'oz dump smg_prid' all the channel states and details >> shown. >> >> It seems that smg_prid span configured in openzap perfectly >> (Its my assumption). Then Why freeswitch is referring the span name as >> PRI_1. >> >> DID I MAKE ANY MISTAKE OR DID I MISS ANYTHING TO DO? >> >> Could anyone please help me? >> >> REFERENCE: >> >> openzap.conf >> [span wanpipe smg_prid] >> name => smg_prid >> trunk_type =>e1 >> b-channel => 1:1-15 >> b-channel => 1:17-31 >> >> >> openzap.conf.xml >> <configuration name="openzap.conf" description="OpenZAP >> Configuration"> >> <settings> >> <param name="debug" value="0"/> >> <!--<param name="hold-music" value="$${moh_uri}"/>--> >> <!--<param name="enable-analog-option" value="call-swap"/>--> >> <!--<param name="enable-analog-option" value="3-way"/>--> >> </settings> >> <boost_spans> >> <span id="smg_prid"> >> <!--<param name="hold-music" value="$${moh_uri}"/>--> >> <param name="dialplan" value="XML"/> >> <param name="context" value="default"/> >> <!-- regex to stop dialing when it matches --> >> <!--<param name="dial-regex" value="5555"/>--> >> <!-- regex to stop dialing when it does not match --> >> <!--<param name="fail-dial-regex" value="^5"/>--> >> </span> >> </boost_spans> >> <analog_spans> >> </analog_spans> >> </configuration> >> >> >> >> >> >> >> -- >> Regards, >> Thangappan.M >> > > > > -- > Regards, > Thangappan.M >
-- Regards, Thangappan.M
-- Regards, Thangappan.M
-- Regards, Thangappan.M
-- Regards, Thangappan.M
-- Regards, Thangappan.M
-- Regards, Thangappan.M
-- Regards, Thangappan.M
Boost has been working fine, so there is no point in switching. Try removing the d-channel from openzap.conf, boost spans do not need d-channel declared, because that is done through the signaling binary (sangoma_prid), declaring it is causing 2 different processes to open the same channel, at best, data will be missing from one process or the other. If you still cannot make calls after removing the d-channel from openzap.conf (and restarting FreeSWITCH and sangoma_prid using smg_ctrl script), then pastebin a debug log for both FreeSWITCH and sangoma_prid after a single call attempt. -- Moises Silva Senior Software Engineer Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada t. 1 905 474 1990 x 128 | e. moy@sangoma.com On Wed, Feb 3, 2010 at 12:22 AM, Thangappan.M <thangappan143@gmail.com>wrote:
Any updates for this question. Still now I unable to make an outbound call please help me...............
Or give the idea to change from boost to isdn?
participants (5)
-
Brian West
-
Michael Collins
-
Michael Jerris
-
Moises Silva
-
Thangappan.M