Sorry for unnecessary requests.<br>I have read the book and it is related to the old version.<br><br>Now I am studying the reference book included in the sources...<br>Asterisk Reference Information<br>Version 1.6.2.11<br>
<br># make pdf<br>and<br>/usr/src/asterisk-1.6.2.6/doc/tex/asterisk.pdf is there for pdf people.<br><br><br><div class="gmail_quote">On 2 September 2010 19:31, Mehmet Kuzulugil <span dir="ltr"><<a href="mailto:mehmetkuzulugil@gmail.com">mehmetkuzulugil@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">One more thing.<br>Can anybody point me to a sample configuration for<br>2 PSTN lines and 2 internal phones. (May be plus a SIP server)<br>
for Asterisk 1.6.x<div><div></div><div class="h5"><br><br><div class="gmail_quote">On 1 September 2010 15:41, Tzafrir Cohen <span dir="ltr"><<a href="mailto:tzafrir.cohen@xorcom.com" target="_blank">tzafrir.cohen@xorcom.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>On Wed, Sep 01, 2010 at 02:58:59PM +0300, Mehmet Kuzulugil wrote:<br>
> Hello,<br>
> After installing on Ubuntu 10.04 using the tutorial on<br>
> <a href="http://hmontoliu.blogspot.com/2010/03/installing-asterisk-and-freepbx-on.html" target="_blank">http://hmontoliu.blogspot.com/2010/03/installing-asterisk-and-freepbx-on.html</a><br>
> I have a running instance of Asterisk.<br>
><br>
> PROBLEM: result of dahdi_cfg:<br>
> DAHDI Tools Version - 2.2.1<br>
<br>
</div>How nice. Why don't you use the latest? 2.3.0[.1]? (2.4.0 should be<br>
released shortly, but that's not really something users are expected to<br>
guess).<br>
<div><br>
><br>
> DAHDI Version: 2.2.1<br>
> Echo Canceller(s): MG2<br>
> Configuration<br>
> ======================<br>
><br>
><br>
> Channel map:<br>
><br>
> Channel 01: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 01)<br>
> Channel 02: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 02)<br>
> Channel 03: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 03)<br>
> Channel 04: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 04)<br>
><br>
> 4 channels to configure.<br>
><br>
> Setting echocan for channel 1 to mg2<br>
> Setting echocan for channel 2 to mg2<br>
> Setting echocan for channel 3 to mg2<br>
> Setting echocan for channel 4 to mg2<br>
><br>
> The problem is about asterisk CLI results:<br>
> asterisk*CLI> dahdi show status<br>
> Description Alarms IRQ bpviol CRC4<br>
> Fra Codi Options LBO<br>
> Wildcard TDM400P REV I Board 5 OK 0 0 0<br>
> CAS Unk YEL 0 db (CSU)/0-133 feet (DSX-1)<br>
><br>
> asterisk*CLI> dahdi show channels<br>
> Chan Extension Context Language MOH Interpret<br>
> Blocked State<br>
> pseudo default default<br>
> In Service<br>
<br>
</div>What's the output of lsdahdi ?<br>
<br>
This suggests a misconfigured /etc/dahdi/chan_dahdi.conf or one of its<br>
<div><br>
><br>
> -----------<br>
> INFO:<br>
> related lspci result:<br>
> 07:00.0 Network controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN<br>
> interface<br>
><br>
> related dahdi_hardware result:<br>
> pci:0000:07:00.0 wctdm+ e159:0001 Wildcard TDM400P REV I<br>
><br>
> One more thing:<br>
> root@asterisk:~# lsmod|grep dahdi<br>
> dahdi_echocan_mg2 5729 4<br>
> dahdi_transcode 6836 1 wctc4xxp<br>
> dahdi_voicebus 41854 2 wctdm24xxp,wcte12xp<br>
> dahdi 210885 12<br>
> dahdi_echocan_mg2,xpp,dahdi_transcode,wcb4xxp,wctdm,wcfxo,wctdm24xxp,wcte11xp,wct1xxp,wcte12xp,dahdi_voicebus,wct4xxp<br>
> crc_ccitt 1675 2 dahdi,hisax<br>
<br>
</div>Haveing just 'wctdm' in /etc/dahdi/modules would save you a second or<br>
two on loading (and a bunch of log messages).<br>
<div><br>
><br>
> it seems my dahdi/system.conf is ok.<br>
> # Span 1: WCTDM/4 "Wildcard TDM400P REV I Board 5" (MASTER)<br>
> fxsks=1<br>
> echocanceller=mg2,1<br>
> fxsks=2<br>
> echocanceller=mg2,2<br>
> fxoks=3<br>
> echocanceller=mg2,3<br>
> fxoks=4<br>
> echocanceller=mg2,4<br>
><br>
> # Global data<br>
><br>
> loadzone = tr<br>
> defaultzone = tr<br>
><br>
> And this is zapata.conf:<br>
<br>
</div>zapata.conf is ignored for asterisk >= 1.6.0 . Please tell me you don't<br>
use 1.4.x .<br>
<div><div></div><div><br>
> [channels]<br>
> language=en<br>
><br>
> ; include zap extensions defined in AMP<br>
> #include zapata_additional.conf<br>
><br>
> ; XTDM20B Port #1,2 plugged into PSTN<br>
> ;AMPLABEL:Channel %c - Button %n<br>
> context=from-pstn<br>
> faxdetect=incoming<br>
> echotraining=800<br>
> group=0<br>
> busydetect=yes<br>
> busycount=4<br>
> hanguponpolarityswitch<br>
> relaxdtmf=yes<br>
> callprogress=yes<br>
> callwaiting=yes<br>
> callwaitingcallerid=yes<br>
> threewaycalling=yes<br>
> transfer=yes<br>
> cancallforward=yes<br>
> usecallerid=yes<br>
> echocancel=yes<br>
> echocancelwhenbridged=yes<br>
> rxgain=2.0<br>
> txgain=2.0<br>
> immediate=yes<br>
> signalling=fxs_ks<br>
> channel=1-2<br>
<br>
</div></div><font color="#888888">--<br>
Tzafrir Cohen<br>
icq#16849755 <a href="mailto:jabber%3Atzafrir.cohen@xorcom.com" target="_blank">jabber:tzafrir.cohen@xorcom.com</a><br>
+972-50-7952406 mailto:<a href="mailto:tzafrir.cohen@xorcom.com" target="_blank">tzafrir.cohen@xorcom.com</a><br>
<a href="http://www.xorcom.com" target="_blank">http://www.xorcom.com</a> <a href="http://iax:guest@local.xorcom.com/tzafrir" target="_blank">iax:guest@local.xorcom.com/tzafrir</a><br>
</font><div><div></div><div><br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>