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