<div>&nbsp;</div>
<div>&nbsp;</div>
<div>Antony,</div>
<div>&nbsp;</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp; Thanks for the reply .I have posted in <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://jira.freeswitch.org/browse/FSBUILD-79" target="_blank">http://jira.freeswitch.org/browse/FSBUILD-79</a></div>

<div>&nbsp;</div>
<div>&nbsp;</div>
<div>Thanks &amp; Regards,<br>Palanivel.S</div>
<div><br><br>&nbsp;</div>
<div><span class="gmail_quote">On 9/22/08, <b class="gmail_sendername">Anthony Minessale</b> &lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div dir="ltr">That shows the other end is sending a RESTART command.<br>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 <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://jira.freeswitch.org/" target="_blank">http://jira.freeswitch.org</a> under the openzap category.<br>
<br><br>
<div class="gmail_quote">
<div><span class="e" id="q_11c8ab5fad00ea38_1">On Mon, Sep 22, 2008 at 9:29 AM, palani sivagurunathan <span dir="ltr">&lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:palani.sivagurunathan@gmail.com" target="_blank">palani.sivagurunathan@gmail.com</a>&gt;</span> wrote:<br>
</span></div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div><span class="e" id="q_11c8ab5fad00ea38_3">
<div dir="ltr"><br clear="all"><br><br>Hi,<br><br>&nbsp;&nbsp;&nbsp; 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&nbsp; 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&nbsp; 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 &nbsp;&nbsp;&nbsp; = AFT<br>S514CPU &nbsp;&nbsp;&nbsp; = A<br>CommPort &nbsp;&nbsp;&nbsp; = PRI<br>AUTO_PCISLOT &nbsp;&nbsp;&nbsp; = NO<br>PCISLOT &nbsp;&nbsp;&nbsp; = 9<br>PCIBUS&nbsp; &nbsp;&nbsp;&nbsp; = 0<br>FE_MEDIA&nbsp;&nbsp;&nbsp; = E1<br>FE_LCODE&nbsp;&nbsp;&nbsp; = HDB3<br>FE_FRAME&nbsp;&nbsp;&nbsp; = CRC4<br>FE_LINE&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = 1<br>
TE_CLOCK &nbsp;&nbsp;&nbsp; = NORMAL<br>TE_REF_CLOCK&nbsp;&nbsp;&nbsp; = 0<br>TE_SIG_MODE&nbsp;&nbsp;&nbsp;&nbsp; = CCS<br>TE_HIGHIMPEDANCE&nbsp;&nbsp;&nbsp; = NO<br>LBO &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = 120OH<br>FE_TXTRISTATE&nbsp;&nbsp;&nbsp; = NO<br>MTU &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = 1500<br>UDPPORT &nbsp;&nbsp;&nbsp; = 9000<br>TTL&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = 255<br>IGNORE_FRONT_END = NO<br>
TDMV_SPAN&nbsp;&nbsp;&nbsp; = 1<br>TDMV_DCHAN&nbsp;&nbsp;&nbsp; = 16<br>TDMV_HW_DTMF&nbsp;&nbsp;&nbsp; = NO<br><br>[w1g1]<br>ACTIVE_CH&nbsp;&nbsp;&nbsp; = ALL<br>TDMV_ECHO_OFF&nbsp;&nbsp;&nbsp; = NO<br>TDMV_HWEC&nbsp;&nbsp;&nbsp; = YES<br>MTU&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = 80<br><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b> openzap.conf</b><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [span wanpipe]<br>
&nbsp;&nbsp;&nbsp; name =&gt; OpenZAP<br>&nbsp;&nbsp;&nbsp; number =&gt; 1&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; trunk_type =&gt; E1<br>&nbsp;&nbsp;&nbsp; b-channel =&gt; 1:1-15<br>&nbsp;&nbsp;&nbsp; d-channel =&gt; 1:16<br>&nbsp;&nbsp;&nbsp; b-channel =&gt; 1:17-31<br><br><br><b>openzap.conf.xml&nbsp; </b><br>&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &lt;configuration name=&quot;openzap.conf&quot; description=&quot;OpenZAP Configuration&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;settings&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;param name=&quot;debug&quot; value=&quot;0&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/settings&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;pri_spans&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;span id=&quot;1&quot;&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;param name=&quot;mode&quot; value=&quot;user&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;param name=&quot;dialect&quot; value=&quot;euro&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;param name=&quot;dialplan&quot; value=&quot;XML&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;param name=&quot;context&quot; value=&quot;default&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/span&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/pri_spans&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/configuration&gt;<br><br><br><br><b>default.xml</b><br>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;<br>&nbsp;&nbsp;&nbsp; &lt;!-- <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://wiki.freeswitch.org/wiki/Dialplan_XML" target="_blank">http://wiki.freeswitch.org/wiki/Dialplan_XML</a> --&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;include&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;context name=&quot;default&quot;&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;extension name=&quot;Long Distance - wanpipe&quot;&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;condition field=&quot;destination_number&quot; expression=&quot;^9(\d{5,15})$&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;action application=&quot;set&quot; data=&quot;dialed_ext=$1&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;action application=&quot;bridge&quot; data=&quot;OpenZAP/1/a/${dialed_ext}&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/condition&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/extension&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &lt;/context&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/include&gt;<br><br><br><br>After&nbsp; starting&nbsp; the freeswitch . In console i type oz dump 1 a<br><br><br><b>my status before calling&nbsp; 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&nbsp; 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-&gt;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>
&nbsp;&nbsp;&nbsp; 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>&nbsp;&nbsp;&nbsp;&nbsp; <br><br><br><br><br><br><br>-- <br><br><br>Thanks &amp; Regards,<br>Palanivel.S<br>&nbsp;</div><br></span></div>_______________________________________________<br>Freeswitch-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>
FreeSWITCH <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://irc.freenode.net/" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:213-799-1400<br>&nbsp;</div><br>_______________________________________________<br>Freeswitch-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br><br></blockquote></div><br><br clear="all"><br>-- <br><br><br>Thanks &amp; Regards,<br>
Palanivel.S