Try set  <span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">loadzone  and defaultzone for your country in zaptel.conf </span><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">then do this:</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">ztcfg -vv</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">and</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">zttol -vvv  (see if status of your card is OK)</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Att</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Eng Eder de Souza</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font><br><div class="gmail_quote">On Sat, Feb 20, 2010 at 4:10 PM, Michael S  Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Ports 1 and 2 are FXO which need a phone line. Try port 3 or 4. Also<br>
pastebin your zaptel.conf file.<br>
<br>
-MC<br>
<br>
Sent from my iPhone<br>
<br>
On Feb 19, 2010, at 9:57 PM, Brian May<br>
<div><div></div><div class="h5">&lt;<a href="mailto:brian@microcomaustralia.com.au">brian@microcomaustralia.com.au</a>&gt; wrote:<br>
<br>
&gt; Hello,<br>
&gt;<br>
&gt; I think I have the config correct, and not confused FXO/FXS anywhere.<br>
&gt;<br>
&gt; voyage:/opt/freeswitch/conf# ztcfg  -vv<br>
&gt;<br>
&gt; Zaptel Version: 1.4.11<br>
&gt; Echo Canceller: MG2<br>
&gt; Configuration<br>
&gt; ======================<br>
&gt;<br>
&gt;<br>
&gt; Channel map:<br>
&gt;<br>
&gt; Channel 01: FXO Kewlstart (Default) (Slaves: 01)<br>
&gt; Channel 02: FXO Kewlstart (Default) (Slaves: 02)<br>
&gt; Channel 03: FXS Kewlstart (Default) (Slaves: 03)<br>
&gt; Channel 04: FXS Kewlstart (Default) (Slaves: 04)<br>
&gt;<br>
&gt; 4 channels to configure.<br>
&gt;<br>
&gt; voyage:/opt/freeswitch/conf# cat openzap.conf<br>
&gt; [span zt FXO1]<br>
&gt; name =&gt; OpenZAP-FXO1<br>
&gt; number =&gt; 1<br>
&gt; fxo-channel =&gt; 1<br>
&gt;<br>
&gt; [span zt FXO2]<br>
&gt; name =&gt; OpenZAP-FXO2<br>
&gt; number =&gt; 2<br>
&gt; fxo-channel =&gt; 2<br>
&gt;<br>
&gt; [span zt FXS1]<br>
&gt; name =&gt; OpenZAP-FXS1<br>
&gt; number =&gt; 3<br>
&gt; fxs-channel =&gt; 3<br>
&gt;<br>
&gt; [span zt FXS2]<br>
&gt; name =&gt; OpenZAP-FXS2<br>
&gt; number =&gt; 4<br>
&gt; fxs-channel =&gt; 4<br>
&gt;<br>
&gt; voyage:/opt/freeswitch/conf# cat autoload_configs/openzap.conf.xml<br>
&gt; &lt;configuration name=&quot;openzap.conf&quot; description=&quot;OpenZAP<br>
&gt; Configuration&quot;&gt;<br>
&gt;  &lt;settings&gt;<br>
&gt;    &lt;param name=&quot;debug&quot; value=&quot;0&quot;/&gt;<br>
&gt;    &lt;!--&lt;param name=&quot;hold-music&quot; value=&quot;$${moh_uri}&quot;/&gt;--&gt;<br>
&gt;    &lt;!--&lt;param name=&quot;enable-analog-option&quot; value=&quot;call-swap&quot;/&gt;--&gt;<br>
&gt;    &lt;!--&lt;param name=&quot;enable-analog-option&quot; value=&quot;3-way&quot;/&gt;--&gt;<br>
&gt;  &lt;/settings&gt;<br>
&gt;  &lt;!-- one entry here per openzap span --&gt;<br>
&gt;  &lt;analog_spans&gt;<br>
&gt;    &lt;span id=&quot;1&quot;&gt;<br>
&gt;      &lt;param name=&quot;tonegroup&quot; value=&quot;au&quot;/&gt;<br>
&gt;      &lt;param name=&quot;digit-timeout&quot; value=&quot;2000&quot;/&gt;<br>
&gt;      &lt;param name=&quot;max-digits&quot; value=&quot;11&quot;/&gt;<br>
&gt;      &lt;param name=&quot;dialplan&quot; value=&quot;XML&quot;/&gt;<br>
&gt;      &lt;param name=&quot;context&quot; value=&quot;default&quot;/&gt;<br>
&gt;      &lt;param name=&quot;enable-analog-option&quot; value=&quot;3-way&quot;/&gt;<br>
&gt; &lt;!--      &lt;param name=&quot;moh&quot; value=&quot;$${base_dir}/sounds/<br>
&gt; Dardedisco.wav&quot;/&gt; --&gt;<br>
&gt;    &lt;/span&gt;<br>
&gt;    &lt;span id=&quot;2&quot;&gt;<br>
&gt;      &lt;param name=&quot;tonegroup&quot; value=&quot;au&quot;/&gt;<br>
&gt;      &lt;param name=&quot;digit-timeout&quot; value=&quot;2000&quot;/&gt;<br>
&gt;      &lt;param name=&quot;max-digits&quot; value=&quot;11&quot;/&gt;<br>
&gt;      &lt;param name=&quot;dialplan&quot; value=&quot;XML&quot;/&gt;<br>
&gt;      &lt;param name=&quot;context&quot; value=&quot;default&quot;/&gt;<br>
&gt;      &lt;param name=&quot;enable-analog-option&quot; value=&quot;3-way&quot;/&gt;<br>
&gt; &lt;!--      &lt;param name=&quot;moh&quot; value=&quot;$${base_dir}/sounds/<br>
&gt; Dardedisco.wav&quot;/&gt; --&gt;<br>
&gt;    &lt;/span&gt;<br>
&gt;    &lt;span id=&quot;3&quot;&gt;<br>
&gt;      &lt;param name=&quot;tonegroup&quot; value=&quot;au&quot;/&gt;<br>
&gt;      &lt;param name=&quot;digit-timeout&quot; value=&quot;2000&quot;/&gt;<br>
&gt;      &lt;param name=&quot;max-digits&quot; value=&quot;11&quot;/&gt;<br>
&gt;      &lt;param name=&quot;dialplan&quot; value=&quot;XML&quot;/&gt;<br>
&gt;      &lt;param name=&quot;context&quot; value=&quot;default&quot;/&gt;<br>
&gt;    &lt;/span&gt;<br>
&gt;    &lt;span id=&quot;4&quot;&gt;<br>
&gt;      &lt;param name=&quot;tonegroup&quot; value=&quot;au&quot;/&gt;<br>
&gt;      &lt;param name=&quot;digit-timeout&quot; value=&quot;2000&quot;/&gt;<br>
&gt;      &lt;param name=&quot;max-digits&quot; value=&quot;11&quot;/&gt;<br>
&gt;      &lt;param name=&quot;dialplan&quot; value=&quot;XML&quot;/&gt;<br>
&gt;      &lt;param name=&quot;context&quot; value=&quot;default&quot;/&gt;<br>
&gt;    &lt;/span&gt;<br>
&gt;  &lt;/analog_spans&gt;<br>
&gt; &lt;/configuration&gt;<br>
&gt;<br>
&gt;<br>
&gt; freeswitch@voyage&gt; reload mod_openzap<br>
&gt; 2010-02-20 16:45:53.312813 [NOTICE] switch_loadable_module.c:464<br>
&gt; Deleting Endpoint &#39;openzap&#39;<br>
&gt; 2010-02-20 16:45:53.312813 [NOTICE] switch_loadable_module.c:545<br>
&gt; Deleting Application &#39;disable_ec&#39;<br>
&gt; 2010-02-20 16:45:53.312813 [NOTICE] switch_loadable_module.c:572<br>
&gt; Deleting API Function &#39;oz&#39;<br>
&gt; 2010-02-20 16:45:53.312813 [CONSOLE] switch_loadable_module.c:1277<br>
&gt; Stopping: mod_openzap<br>
&gt; 2010-02-20 16:45:53.312813 [INFO] zap_io.c:269 Closing channel zt:<br>
&gt; 1:1 fd:36<br>
&gt; 2010-02-20 16:45:53.312813 [INFO] zap_io.c:269 Closing channel zt:<br>
&gt; 2:1 fd:40<br>
&gt; 2010-02-20 16:45:53.312813 [INFO] zap_io.c:269 Closing channel zt:<br>
&gt; 3:1 fd:41<br>
&gt; 2010-02-20 16:45:53.312813 [INFO] zap_io.c:269 Closing channel zt:<br>
&gt; 4:1 fd:42<br>
&gt; 2010-02-20 16:45:53.612813 [ERR] ozmod_analog.c:951 Failure Polling<br>
&gt; event! [no matching descriptor]<br>
&gt; 2010-02-20 16:45:54.162813 [ERR] ozmod_analog.c:951 Failure Polling<br>
&gt; event! [no matching descriptor]<br>
&gt; 2010-02-20 16:45:54.162813 [ERR] ozmod_analog.c:951 Failure Polling<br>
&gt; event! [no matching descriptor]<br>
&gt; 2010-02-20 16:45:54.162813 [ERR] ozmod_analog.c:951 Failure Polling<br>
&gt; event! [no matching descriptor]<br>
&gt; 2010-02-20 16:45:54.322813 [INFO] zap_io.c:2694 Unloading<br>
&gt; /opt/freeswitch/mod/ozmod_analog.so<br>
&gt; 2010-02-20 16:45:54.322813 [INFO] zap_io.c:2679 Unloading IO zt<br>
&gt; 2010-02-20 16:45:54.322813 [INFO] zap_io.c:2694 Unloading<br>
&gt; /opt/freeswitch/mod/ozmod_zt.so<br>
&gt; 2010-02-20 16:45:54.322813 [CONSOLE] switch_loadable_module.c:1297<br>
&gt; mod_openzap unloaded.<br>
&gt; 2010-02-20 16:45:54.322813 [NOTICE] zap_io.c:2778 Modules<br>
&gt; configured: 1<br>
&gt; 2010-02-20 16:45:54.322813 [NOTICE] ozmod_zt.c:1161 Using Zaptel<br>
&gt; control device<br>
&gt; 2010-02-20 16:45:54.322813 [INFO] zap_io.c:2579 Loading IO from<br>
&gt; /opt/freeswitch/mod/ozmod_zt.so [zt]<br>
&gt; 2010-02-20 16:45:54.322813 [INFO] ozmod_zt.c:556 Setting rxgain val<br>
&gt; to 0.000000<br>
&gt; 2010-02-20 16:45:54.322813 [INFO] ozmod_zt.c:565 Setting txgain val<br>
&gt; to 0.000000<br>
&gt; 2010-02-20 16:45:54.322813 [INFO] zap_io.c:2379 auto-loaded &#39;zt&#39;<br>
&gt; 2010-02-20 16:45:54.322813 [WARNING] ozmod_zt.c:333 this ioctl fails<br>
&gt; on older zaptel but is harmless if you used ztcfg<br>
&gt; [device /dev/zap/channel chan 1 fd 27 (Invalid argument)]<br>
&gt; 2010-02-20 16:45:54.322813 [INFO] ozmod_zt.c:385 configuring device<br>
&gt; /dev/zap/channel channel 1 as OpenZAP device 1:1 fd:36<br>
&gt; 2010-02-20 16:45:54.322813 [WARNING] ozmod_zt.c:333 this ioctl fails<br>
&gt; on older zaptel but is harmless if you used ztcfg<br>
&gt; [device /dev/zap/channel chan 2 fd 27 (Invalid argument)]<br>
&gt; 2010-02-20 16:45:54.322813 [INFO] ozmod_zt.c:385 configuring device<br>
&gt; /dev/zap/channel channel 2 as OpenZAP device 2:1 fd:40<br>
&gt; 2010-02-20 16:45:54.322813 [WARNING] ozmod_zt.c:333 this ioctl fails<br>
&gt; on older zaptel but is harmless if you used ztcfg<br>
&gt; [device /dev/zap/channel chan 3 fd 27 (Invalid argument)]<br>
&gt; 2010-02-20 16:45:54.322813 [INFO] ozmod_zt.c:385 configuring device<br>
&gt; /dev/zap/channel channel 3 as OpenZAP device 3:1 fd:41<br>
&gt; 2010-02-20 16:45:54.322813 [WARNING] ozmod_zt.c:333 this ioctl fails<br>
&gt; on older zaptel but is harmless if you used ztcfg<br>
&gt; [device /dev/zap/channel chan 4 fd 27 (Invalid argument)]<br>
&gt; 2010-02-20 16:45:54.322813 [INFO] ozmod_zt.c:385 configuring device<br>
&gt; /dev/zap/channel channel 4 as OpenZAP device 4:1 fd:42<br>
&gt; 2010-02-20 16:45:54.322813 [INFO] zap_io.c:2502 Configured 4 channel<br>
&gt; (s)<br>
&gt; 2010-02-20 16:45:54.322813 [INFO] zap_io.c:2596 Loading SIG from<br>
&gt; /opt/freeswitch/mod/ozmod_analog.so<br>
&gt; 2010-02-20 16:45:54.322813 [INFO] zap_io.c:2712 auto-loaded &#39;analog&#39;<br>
&gt; 2010-02-20 16:45:54.358813 [CONSOLE] switch_loadable_module.c:900<br>
&gt; Successfully Loaded [mod_openzap]<br>
&gt; 2010-02-20 16:45:54.362813 [NOTICE] switch_loadable_module.c:144<br>
&gt; Adding Endpoint &#39;openzap&#39;<br>
&gt; 2010-02-20 16:45:54.362813 [NOTICE] switch_loadable_module.c:250<br>
&gt; Adding Application &#39;disable_ec&#39;<br>
&gt; 2010-02-20 16:45:54.362813 [NOTICE] switch_loadable_module.c:272<br>
&gt; Adding API Function &#39;oz&#39;<br>
&gt;<br>
&gt; +OK module unloaded<br>
&gt; +OK module loaded<br>
&gt;<br>
&gt; freeswitch@voyage&gt; oz list<br>
&gt;<br>
&gt; +OK<br>
&gt; span: 1 (FXO1)<br>
&gt; type: analog<br>
&gt; chan_count: 1<br>
&gt; dialplan: XML<br>
&gt; context: default<br>
&gt; dial_regex:<br>
&gt; fail_dial_regex:<br>
&gt; hold_music:<br>
&gt; analog_options 3way<br>
&gt; +OK<br>
&gt; span: 2 (FXO2)<br>
&gt; type: analog<br>
&gt; chan_count: 1<br>
&gt; dialplan: XML<br>
&gt; context: default<br>
&gt; dial_regex:<br>
&gt; fail_dial_regex:<br>
&gt; hold_music:<br>
&gt; analog_options 3way<br>
&gt; +OK<br>
&gt; span: 3 (FXS1)<br>
&gt; type: analog<br>
&gt; chan_count: 1<br>
&gt; dialplan: XML<br>
&gt; context: default<br>
&gt; dial_regex:<br>
&gt; fail_dial_regex:<br>
&gt; hold_music:<br>
&gt; analog_options none<br>
&gt; +OK<br>
&gt; span: 4 (FXS2)<br>
&gt; type: analog<br>
&gt; chan_count: 1<br>
&gt; dialplan: XML<br>
&gt; context: default<br>
&gt; dial_regex:<br>
&gt; fail_dial_regex:<br>
&gt; hold_music:<br>
&gt; analog_options none<br>
&gt;<br>
&gt;<br>
&gt; Yet, when I lift the handset on port 1 or port 2 I don&#39;t get a dial<br>
&gt; tone :-(<br>
&gt;<br>
&gt; Instead I get this message:<br>
&gt;<br>
&gt; 2010-02-20 16:52:26.332813 [INFO] ozmod_zt.c:640 Setting echo cancel<br>
&gt; to 64 taps for 2:1<br>
&gt; 2010-02-20 16:52:26.332813 [ERR] zap_io.c:1599 I/O backend does not<br>
&gt; support command 24!<br>
&gt;<br>
&gt; Am I doing something wrong?<br>
&gt; --<br>
&gt; Brian May &lt;<a href="mailto:brian@microcomaustralia.com.au">brian@microcomaustralia.com.au</a>&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-</a><br>
&gt; users<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><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>
</div></div></blockquote></div><br></div>