You may want to work with FreeSWITCH svn trunk for the time being.<br>There have been some changes and if you have a problem to fix it&#39;s easier to debug with that version.<br><br><br><div class="gmail_quote">2009/10/28 Albano Daniele Salvatore - Lavoro <span dir="ltr">&lt;<a href="mailto:info@daccii.it">info@daccii.it</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi to all,<br>
<br>
this is my first message here!<br>
<br>
I&#39;m trying to setup a freeswitch box using 1.0.4 version compiled from sources, ubuntu 8.04.03 lts with lastest updates and lastest zaptel modules/tools compiled from sources. As hardware i&#39;m using an OpenVox A800P.<br>

<br>
My problem is the following: if i do a call trought openzap it works, but when i hang down and try a second call it doesn&#39;t work!<br>
<br>
Looking with ztmonitor and hearing recorded audio file it seems that freeswitch do the job on the first outgoing call but, on the second, it does nothing because it doesn&#39;t reknow dial tone (but it is there). If i call the freeswitch mananged number (i can answer or not, nothing change) i can do another call, but, in any case, the successive call doesn&#39;t start.<br>

<br>
Looking with ztmonitor 1 -v i see that before the first call i get the special dial tone (a continue 425 frequency to state that the line is free to dial sended by the provider) but after the first call is done, before the second, i didn&#39;t see any special dial tone ... that appears for less than a sec when freeswitch starts to compose the number.<br>

<br>
Here logs for first call<br>
------<br>
2009-10-28 21:38:39.616112 [INFO] ozmod_zt.c:636 Setting echo cancel to 64 taps for 1:1<br>
2009-10-28 21:38:39.616112 [DEBUG] ozmod_analog.c:450 Executing state handler on 1:1 for DIALING<br>
2009-10-28 21:38:39.616112 [DEBUG] switch_core_state_machine.c:398 (OpenZAP/1:1/xyz) Running State Change CS_INIT<br>
2009-10-28 21:38:39.616112 [DEBUG] switch_core_state_machine.c:481 (OpenZAP/1:1/xyz) State INIT<br>
2009-10-28 21:38:39.616112 [DEBUG] mod_openzap.c:368 (OpenZAP/1:1/xyz) State Change CS_INIT -&gt; CS_ROUTING<br>
2009-10-28 21:38:39.616112 [DEBUG] switch_core_session.c:932 Send signal OpenZAP/1:1/xyz [BREAK]<br>
2009-10-28 21:38:39.616112 [DEBUG] switch_core_state_machine.c:481 (OpenZAP/1:1/xyz) State INIT going to sleep<br>
2009-10-28 21:38:39.616112 [DEBUG] switch_core_state_machine.c:398 (OpenZAP/1:1/xyz) Running State Change CS_ROUTING<br>
2009-10-28 21:38:39.616112 [DEBUG] switch_core_state_machine.c:484 (OpenZAP/1:1/xyz) State ROUTING<br>
2009-10-28 21:38:39.616112 [DEBUG] mod_openzap.c:391 OpenZAP/1:1/xyz CHANNEL ROUTING<br>
2009-10-28 21:38:39.616112 [DEBUG] switch_ivr_originate.c:63 (OpenZAP/1:1/xyz) State Change CS_ROUTING -&gt; CS_CONSUME_MEDIA<br>
2009-10-28 21:38:39.616112 [DEBUG] switch_core_session.c:932 Send signal OpenZAP/1:1/xyz [BREAK]<br>
2009-10-28 21:38:39.616112 [DEBUG] switch_core_state_machine.c:484 (OpenZAP/1:1/xyz) State ROUTING going to sleep<br>
2009-10-28 21:38:39.616112 [DEBUG] switch_core_state_machine.c:398 (OpenZAP/1:1/xyz) Running State Change CS_CONSUME_MEDIA<br>
2009-10-28 21:38:39.616112 [DEBUG] switch_core_state_machine.c:503 (OpenZAP/1:1/xyz) State CONSUME_MEDIA<br>
2009-10-28 21:38:40.475897 [DEBUG] ozmod_analog.c:655 Detected tone DIAL on 1:1<br>
2009-10-28 21:38:40.475897 [DEBUG] mod_openzap.c:1216 got FXO sig 1:1 [TONE_DETECTED]<br>
------<br>
<br>
Here logs for second call<br>
------<br>
2009-10-28 21:39:07.105916 [INFO] ozmod_zt.c:636 Setting echo cancel to 64 taps for 1:1<br>
2009-10-28 21:39:07.105916 [DEBUG] ozmod_analog.c:450 Executing state handler on 1:1 for DIALING<br>
2009-10-28 21:39:07.118644 [DEBUG] switch_core_state_machine.c:398 (OpenZAP/1:1/xyz) Running State Change CS_INIT<br>
2009-10-28 21:39:07.118644 [DEBUG] switch_core_state_machine.c:481 (OpenZAP/1:1/xyz) State INIT<br>
2009-10-28 21:39:07.118644 [DEBUG] mod_openzap.c:368 (OpenZAP/1:1/xyz) State Change CS_INIT -&gt; CS_ROUTING<br>
2009-10-28 21:39:07.118644 [DEBUG] switch_core_session.c:932 Send signal OpenZAP/1:1/xyz [BREAK]<br>
2009-10-28 21:39:07.118644 [DEBUG] switch_core_state_machine.c:481 (OpenZAP/1:1/xyz) State INIT going to sleep<br>
2009-10-28 21:39:07.118644 [DEBUG] switch_core_state_machine.c:398 (OpenZAP/1:1/xyz) Running State Change CS_ROUTING<br>
2009-10-28 21:39:07.118644 [DEBUG] switch_core_state_machine.c:484 (OpenZAP/1:1/xyz) State ROUTING<br>
2009-10-28 21:39:07.118644 [DEBUG] mod_openzap.c:391 OpenZAP/1:1/xyz CHANNEL ROUTING<br>
2009-10-28 21:39:07.118644 [DEBUG] switch_ivr_originate.c:63 (OpenZAP/1:1/xyz) State Change CS_ROUTING -&gt; CS_CONSUME_MEDIA<br>
2009-10-28 21:39:07.118644 [DEBUG] switch_core_session.c:932 Send signal OpenZAP/1:1/xyz [BREAK]<br>
2009-10-28 21:39:07.118644 [DEBUG] switch_core_state_machine.c:484 (OpenZAP/1:1/xyz) State ROUTING going to sleep<br>
2009-10-28 21:39:07.118644 [DEBUG] switch_core_state_machine.c:398 (OpenZAP/1:1/xyz) Running State Change CS_CONSUME_MEDIA<br>
2009-10-28 21:39:07.118644 [DEBUG] switch_core_state_machine.c:503 (OpenZAP/1:1/xyz) State CONSUME_MEDIA<br>
------<br>
<br>
Following my configs!<br>
<br>
Really thanks for the help,<br>
<br>
<br>
Best Regards,<br>
Daniele<br>
<br>
---<br>
ZAPTEL.CONF<br>
---<br>
# Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit<br>
# Zaptel Configuration File<br>
#<br>
# This file is parsed by the Zaptel Configurator, ztcfg<br>
#<br>
<br>
# It must be in the module loading order<br>
<br>
<br>
# Span 1: OPVXA1200/0 &quot;OpenVox A1200P/A800P Board 1&quot; (MASTER)<br>
fxsks=1<br>
fxsks=2<br>
fxsks=3<br>
fxsks=4<br>
fxoks=5<br>
<br>
# Global data<br>
<br>
loadzone        = it<br>
defaultzone     = it<br>
---<br>
<br>
ZT.CONF<br>
---<br>
[defaults]<br>
codec_ms =&gt; 20<br>
wink_ms =&gt; 150<br>
flash_ms =&gt; 750<br>
echo_cancel_level =&gt; 64<br>
rxgain =&gt; 0.0<br>
txgain =&gt; 0.0<br>
---<br>
<br>
OPENZAP.CONF<br>
---<br>
[span zt]<br>
number =&gt; xyz<br>
fxo-channel =&gt; 1<br>
number =&gt; xyz<br>
fxs-channel =&gt; 2<br>
number =&gt; xyz<br>
fxs-channel =&gt; 3<br>
number =&gt; xyz<br>
fxs-channel =&gt; 4<br>
<br>
[span zt]<br>
fxs-channel =&gt; 5<br>
---<br>
<br>
TONES.CONF<br>
---<br>
[it]<br>
generate-dial =&gt; %(200, 200, 425);%(600, 1000, 425)<br>
detect-dial =&gt; 425<br>
<br>
generate-ring =&gt; %(1000, 4000, 425)<br>
detect-ring =&gt; 425<br>
<br>
generate-busy =&gt; %(500, 500, 425)<br>
detect-busy =&gt; 425<br>
<br>
generate-callwaiting-sas =&gt; %(400,100,425);%(250,100,425);%(150,0,425);<br>
detect-callwaiting-sas =&gt; 425<br>
---<br>
<br>
OPENZAP.CONF.XML<br>
---<br>
&lt;configuration name=&quot;openzap.conf&quot; description=&quot;OpenZAP Configuration&quot;&gt;<br>
  &lt;settings&gt;<br>
      &lt;param name=&quot;debug&quot; value=&quot;0&quot;/&gt;<br>
      &lt;param name=&quot;hold-music&quot; value=&quot;$${moh_uri}&quot;/&gt;<br>
  &lt;/settings&gt;<br>
<br>
  &lt;analog_spans&gt;<br>
<br>
      &lt;span id=&quot;1&quot;&gt;<br>
          &lt;param name=&quot;tonegroup&quot; value=&quot;it&quot;/&gt;<br>
          &lt;param name=&quot;digit-timeout&quot; value=&quot;2000&quot;/&gt;<br>
          &lt;param name=&quot;max-digits&quot; value=&quot;11&quot;/&gt;<br>
          &lt;param name=&quot;dialplan&quot; value=&quot;XML&quot;/&gt;<br>
          &lt;param name=&quot;context&quot; value=&quot;default&quot;/&gt;<br>
          &lt;param name=&quot;enable-callerid&quot; value=&quot;true&quot;/&gt;<br>
      &lt;/span&gt;<br>
<br>
      &lt;span id=&quot;2&quot;&gt;<br>
          &lt;param name=&quot;tonegroup&quot; value=&quot;it&quot;/&gt;<br>
          &lt;param name=&quot;digit-timeout&quot; value=&quot;2000&quot;/&gt;<br>
          &lt;param name=&quot;max-digits&quot; value=&quot;11&quot;/&gt;<br>
          &lt;param name=&quot;dialplan&quot; value=&quot;XML&quot;/&gt;<br>
          &lt;param name=&quot;context&quot; value=&quot;default&quot;/&gt;<br>
          &lt;param name=&quot;enable-callerid&quot; value=&quot;true&quot;/&gt;<br>
      &lt;/span&gt;<br>
<br>
  &lt;/analog_spans&gt;<br>
&lt;/configuration&gt;<br>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a 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 href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>