<div dir="ltr"><br clear="all"><br><br>Hi,<br><br> 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<br>
<br>how to check. what will be the issue<br><br><br>my configuration is:<br><br><br><b>wanpipe1.conf </b><br><br><br>[devices]<br>wanpipe1 = WAN_AFT_TE1, Comment<br><br>[interfaces]<br>w1g1 = wanpipe1, , TDM_VOICE_API, Comment<br>
<br>[wanpipe1]<br>CARD_TYPE = AFT<br>S514CPU = A<br>CommPort = PRI<br>AUTO_PCISLOT = NO<br>PCISLOT = 9<br>PCIBUS = 0<br>FE_MEDIA = E1<br>FE_LCODE = HDB3<br>FE_FRAME = CRC4<br>FE_LINE = 1<br>
TE_CLOCK = NORMAL<br>TE_REF_CLOCK = 0<br>TE_SIG_MODE = CCS<br>TE_HIGHIMPEDANCE = NO<br>LBO = 120OH<br>FE_TXTRISTATE = NO<br>MTU = 1500<br>UDPPORT = 9000<br>TTL = 255<br>IGNORE_FRONT_END = NO<br>
TDMV_SPAN = 1<br>TDMV_DCHAN = 16<br>TDMV_HW_DTMF = NO<br><br>[w1g1]<br>ACTIVE_CH = ALL<br>TDMV_ECHO_OFF = NO<br>TDMV_HWEC = YES<br>MTU = 80<br><br><br> <b> openzap.conf</b><br><br> [span wanpipe]<br>
name => OpenZAP<br> number => 1 <br> trunk_type => E1<br> b-channel => 1:1-15<br> d-channel => 1:16<br> b-channel => 1:17-31<br><br><br><b>openzap.conf.xml </b><br> <br> <configuration name="openzap.conf" description="OpenZAP Configuration"><br>
<settings><br> <param name="debug" value="0"/><br> </settings><br> <pri_spans><br> <span id="1"><br> <param name="mode" value="user"/><br>
<param name="dialect" value="euro"/><br> <param name="dialplan" value="XML"/><br> <param name="context" value="default"/><br>
</span><br> </pri_spans><br> </configuration><br><br><br><br><b>default.xml</b><br><?xml version="1.0" encoding="utf-8"?><br> <!-- <a href="http://wiki.freeswitch.org/wiki/Dialplan_XML">http://wiki.freeswitch.org/wiki/Dialplan_XML</a> --><br>
<include><br> <context name="default"><br> <extension name="Long Distance - wanpipe"><br> <condition field="destination_number" expression="^9(\d{5,15})$"><br>
<action application="set" data="dialed_ext=$1"/><br> <action application="bridge" data="OpenZAP/1/a/${dialed_ext}"/><br> </condition><br> </extension><br>
</context><br> </include><br><br><br><br>After starting the freeswitch . In console i type oz dump 1 a<br><br><br><b>my status before calling is:</b><br><br>span_id: 1<br>chan_id: 16<br>physical_span_id: 1<br>
physical_chan_id: 16<br>type: DQ921<br>state: UP<br>last_state: DOWN<br>cid_date: <br>cid_name: <br>cid_num: <br>ani: <br>aniII: <br>dnis: <br>rdnis: <br>cause: NONE<br><b><br>my (oz dump 1 a) status After calling is:</b><br>
<br>span_id: 1<br>chan_id: 16<br>physical_span_id: 1<br>physical_chan_id: 16<br>type: DQ921<br>state: UP<br>last_state: DOWN<br>cid_date: <br>cid_name: <br>cid_num: <br>ani: <br>aniII: <br>dnis: <br>rdnis: <br>cause: NONE<br>
<br>But while i try to make a outbound call continously, i am getting following error<br><br>[08 02 00 00 4e 18 03 a1 83 81 79 01 80]<br><br>2008-09-23 01:05:50 [DEBUG] Span:0 Q.931() Sending message to Layer4 (size: 119)<br>
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)<br>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]<br>
2008-09-23 01:05:50 [DEBUG] ozmod_isdn.c:399 zap_isdn_931_34() Changing state on 1:1 from DOWN to RESTART<br>2008-09-23 01:05:50 [DEBUG] Span:0 Q.931() Sending message to Q.921 (size: 119)<br>2008-09-23 01:05:50 [DEBUG] Span:0 Q.931() Creating Q.931 Message Header:<br>
ProtDisc 8 (0x8), CRV 0 (0), CRVflag: 0 (0), MesType: 78 (0x4e)<br>2008-09-23 01:05:50 [DEBUG] ozmod_isdn.c:1499 q931_rx_32() WRITE 13<br>--------------------------------------------------------------------------------<br>
[08 02 00 00 4e 18 03 a1 83 81 79 01 80]<br><br>2008-09-23 01:05:50 [DEBUG] ozmod_isdn.c:796 state_advance() 1:1 STATE [RESTART]<br>2008-09-23 01:05:50 [DEBUG] mod_openzap.c:1368 on_clear_channel_signal() got clear channel sig [RESTART]<br>
2008-09-23 01:05:50 [DEBUG] ozmod_isdn.c:882 state_advance() Changing state on 1:1 from RESTART to DOWN<br>2008-09-23 01:05:50 [DEBUG] ozmod_isdn.c:796 state_advance() 1:1 STATE [DOWN]<br>2008-09-23 01:05:50 [DEBUG] zap_io.c:1088 zap_channel_done() channel done 1:1<br>
<br> <br><br><br><br><br><br><br>-- <br><br><br>Thanks & Regards,<br>Palanivel.S<br>
</div>