[Freeswitch-users] OpenZap Not working Stable

Anthony Minessale anthony.minessale at gmail.com
Mon Sep 22 11:36:41 EDT 2008


That shows the other end is sending a RESTART command.
Can you make a trace of the debug log on the console or the logfile from
mod_logfile showing the calls working and then on to when you get the issue
including the several failed call attempts in their entirety and post them
to http://jira.freeswitch.org under the openzap category.


On Mon, Sep 22, 2008 at 9:29 AM, palani sivagurunathan <
palani.sivagurunathan at gmail.com> wrote:

>
>
>
> Hi,
>
>     I have installed freeswitch through SVN in centos.OutBound is working
> fine .But not always .Once we make 8 to 10 call from a sip extension we get
> service unavailable error in xlite . Error and configuration are  pasted
> below .we observed the problem is getting rectified after 5 to 10 mins .and
> we are able to make calls and again after 8 to 10 calls Errors  happen
>
> how to check. what will be the issue
>
>
> my configuration is:
>
>
> *wanpipe1.conf *
>
>
> [devices]
> wanpipe1 = WAN_AFT_TE1, Comment
>
> [interfaces]
> w1g1 = wanpipe1, , TDM_VOICE_API, Comment
>
> [wanpipe1]
> CARD_TYPE     = AFT
> S514CPU     = A
> CommPort     = PRI
> AUTO_PCISLOT     = NO
> PCISLOT     = 9
> PCIBUS      = 0
> FE_MEDIA    = E1
> FE_LCODE    = HDB3
> FE_FRAME    = CRC4
> FE_LINE        = 1
> TE_CLOCK     = NORMAL
> TE_REF_CLOCK    = 0
> TE_SIG_MODE     = CCS
> TE_HIGHIMPEDANCE    = NO
> LBO         = 120OH
> FE_TXTRISTATE    = NO
> MTU         = 1500
> UDPPORT     = 9000
> TTL        = 255
> IGNORE_FRONT_END = NO
> TDMV_SPAN    = 1
> TDMV_DCHAN    = 16
> TDMV_HW_DTMF    = NO
>
> [w1g1]
> ACTIVE_CH    = ALL
> TDMV_ECHO_OFF    = NO
> TDMV_HWEC    = YES
> MTU        = 80
>
>
>          * 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
>
>
> *openzap.conf.xml  *
>
>     <configuration name="openzap.conf" description="OpenZAP Configuration">
>         <settings>
>             <param name="debug" value="0"/>
>         </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*
> <?xml version="1.0" encoding="utf-8"?>
>     <!-- http://wiki.freeswitch.org/wiki/Dialplan_XML -->
>     <include>
>      <context name="default">
>            <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>
>        </context>
>     </include>
>
>
>
> After  starting  the freeswitch . In console i type oz dump 1 a
>
>
> *my status before calling  is:*
>
> span_id: 1
> chan_id: 16
> physical_span_id: 1
> physical_chan_id: 16
> type: DQ921
> state: UP
> last_state: DOWN
> cid_date:
> cid_name:
> cid_num:
> ani:
> aniII:
> dnis:
> rdnis:
> cause: NONE
> *
> my (oz dump 1 a) status After calling  is:*
>
> span_id: 1
> chan_id: 16
> physical_span_id: 1
> physical_chan_id: 16
> type: DQ921
> state: UP
> last_state: DOWN
> cid_date:
> cid_name:
> cid_num:
> ani:
> aniII:
> dnis:
> rdnis:
> cause: NONE
>
> But while i try to make a outbound call continously, i am getting following
> error
>
> [08 02 00 00 4e 18 03 a1 83 81 79 01 80]
>
> 2008-09-23 01:05:50 [DEBUG] Span:0 Q.931() Sending message to Layer4 (size:
> 119)
> 2008-09-23 01:05:50 [DEBUG] ozmod_isdn.c:319 zap_isdn_931_34() Yay I got an
> event! Type:[46] Size:[119] CRV: 0 (0, CTX: Originator)
> 2008-09-23 01:05:50 [DEBUG] ozmod_isdn.c:351 zap_isdn_931_34() zchan 0
> (-1:-1) source isdn_data->channels_remote_crv[0]
> 2008-09-23 01:05:50 [DEBUG] ozmod_isdn.c:399 zap_isdn_931_34() Changing
> state on 1:1 from DOWN to RESTART
> 2008-09-23 01:05:50 [DEBUG] Span:0 Q.931() Sending message to Q.921 (size:
> 119)
> 2008-09-23 01:05:50 [DEBUG] Span:0 Q.931() Creating Q.931 Message Header:
>     ProtDisc 8 (0x8), CRV 0 (0), CRVflag: 0 (0), MesType: 78 (0x4e)
> 2008-09-23 01:05:50 [DEBUG] ozmod_isdn.c:1499 q931_rx_32() WRITE 13
>
> --------------------------------------------------------------------------------
> [08 02 00 00 4e 18 03 a1 83 81 79 01 80]
>
> 2008-09-23 01:05:50 [DEBUG] ozmod_isdn.c:796 state_advance() 1:1 STATE
> [RESTART]
> 2008-09-23 01:05:50 [DEBUG] mod_openzap.c:1368 on_clear_channel_signal()
> got clear channel sig [RESTART]
> 2008-09-23 01:05:50 [DEBUG] ozmod_isdn.c:882 state_advance() Changing state
> on 1:1 from RESTART to DOWN
> 2008-09-23 01:05:50 [DEBUG] ozmod_isdn.c:796 state_advance() 1:1 STATE
> [DOWN]
> 2008-09-23 01:05:50 [DEBUG] zap_io.c:1088 zap_channel_done() channel done
> 1:1
>
>
>
>
>
>
>
>
> --
>
>
> Thanks & Regards,
> Palanivel.S
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080922/ff221fb3/attachment-0001.html 


More information about the Freeswitch-users mailing list