[Freeswitch-users] Need Help to setup freeswitch with sangoma card

Thangappan.M thangappan143 at gmail.com
Thu Jan 21 20:45:58 PST 2010


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 at 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 at 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 at 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 at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100122/1f41ba61/attachment-0002.html 


More information about the FreeSWITCH-users mailing list