Not that this affect the operation, but
callerid="PSTN Line Two" <PSTN 1>
should be
callerid="PSTN Line Two" <PSTN 2>

That will teach me to try and change the original settings to something
more intutive :-)

Mart

Martin Rogers wrote:
> Hi Cleve
> 
> to be clear my hardware is a TDM400 with two FXO (Red PSTN line)
> daughter boards.  These settings apply to this configuration. If yours
> is greatly different then you should investigate some more. Also, I am
> running in the UK so my settings have been adjusted accordingly, you may
> have to make further tweaks to fine tune for your locale/country. These
> should not affect your TDM setup though.
> 
> 
> 1. /mnt/kd/zaptel.conf.  Note no comment lines allowed in this file. My
> FXOs are in positions 2 and 3 (1 and 4 are empty). Note fxsks is needed
> for FXO cards - this is not a typo.
> ----------------------------------------------------------------------
> 
> fxsks=2
> fxsks=3
> loadzone=uk
> defaultzone=uk
> 
> 
> 2. /mnt/kd/asterisk/zapata.conf. I'm pretty sure the group= settings are
> superfluous, but have not been removed from an earlier configuration.
> Again, we _do_ mean fxs signalling for FXO cards. The channel=>2 and
> channel=>3 settings relate to positions 2 and 3 on the TDM card.
> ---------------------------------------------------------------------
> 
> ;
> ; Zapata telephony interface
> ;
> ; Configuration file
> 
> [trunkgroups]
> 
> [channels]
> hanguponpolarityswitch=yes
> cidsignalling=v23 ; Added for UK CLI detection
> cidstart=polarity ; Added for UK CLI detection
> ukcallerid = yes  ; Added for UK CLI detection
> sendcalleridafter=2  ; Added for UK CLI detection
> immediate=no ; as we recieve cli info before not after first ring.
> context=default
> usecallerid=yes
> hidecallerid=no
> callwaiting=no
> usecallingpres=yes
> callwaitingcallerid=yes
> threewaycalling=yes
> transfer=yes
> cancallforward=yes
> callreturn=yes
> echocancel=yes
> echotraining=yes
> echocancelwhenbridged=yes
> rxgain=0.0
> txgain=0.0
> 
> group=2
> callerid="PSTN Line Two" <PSTN 1>
> signalling=fxs_ks
> context=incoming-pstn2
> mailbox=779
> channel=>2
> 
> group=3
> callerid="PSTN Line One" <PSTN 1>
> signalling=fxs_ks
> context=incoming-pstn1
> mailbox=778
> channel=>3
> 
> 
> 3. /mnt/kd/rc.conf
> --------------------------------------
> 
> The main change you need is to uncomment :
> 
> ZAPMODS="wctdm"
> 
> In order that I can address the box from a putty (SSH) session I set the
> static IP address. It runs behind a domestic ADSL router/hub on
> 192.168.1.1. I therefore set the following:
> 
> EXTIP="192.168.1.124"
> EXTNM="255.255.255.0"
> EXTGW="192.168.1.1"
> DNS="192.168.1.1"
> 
> I also have setup MODOPTS as follows, but I don't think this is
> necessary, and in some recent versions it did not actually have any
> effect anyway:
> 
> MODOPTS="wctdm:opermode=UK wctdm:debug=1"
> 
> The only other changes I made to rc.conf - which do not affect The TDM
> card are :
> 
> DOMAIN=mydomain.com
> HOSTNAME=mypbx
> TIMEZONE=GB
> 
> 
> regards
> Mart
> 
> 
> 
> 
> Cleveland Electronic Services wrote:
>> Hi Martin,
>>
>>
>> Thankyou for the very prompt reply,
>>
>> [When you are trying to login, which account and password are you using.
>> The default root password after a clean installation is "astlinux".]
>>
>> The problem was that I could not access it via putty or via https://myip
>> nothing happen, the only way I could get it to play was to reformat the CF
>> and reinstall, unmount/ oldroot/cdrom then run fdisk & genunion /dev/hda2
>> and all is sweet again, I can login via putty (root/astlinux) & via
>> https://myip (admin/astlinux)
>>
>> [As far as your TDM card goes , have you set the ZAPMODS variable in
>> /mnt/kd/rc.conf ? Have you setup the configuration the card for the
>> (assuming you are using ZAP rather than DAHDI) in /mnt/kd/zapatel.conf
>> and /mnt/kd/asterisk/zapata.conf.]
>>
>> I am a bit lost here as I have not setup anything here, could you please
>> give me assist me what exactly I should be doing here.
>>
>> Cheers
>>
>> Cleve 
>>
>> -----Original Message-----
>> From: Martin Rogers [mailto:fromastlinux-us...@mhr.me.uk] 
>> Sent: Sunday, 1 March 2009 8:51 PM
>> To: AstLinux Users Mailing List
>> Subject: Re: [Astlinux-users] Astlinux 0.6.3 Some strange issues please help
>>
>> Hi Cleve
>>
>> When you are trying to login, which account and password are you using.
>> The default root password after a clean installation is "astlinux".
>>
>> As far as your TDM card goes , have you set the ZAPMODS variable in
>> /mnt/kd/rc.conf ? Have you setup the configuration the card for the
>> (assuming you are using ZAP rather than DAHDI) in /mnt/kd/zapatel.conf
>> and /mnt/kd/asterisk/zapata.conf.
>>
>> Mart
>>
>> Cleveland Electronic Services wrote:
>>> Hi All,
>>>
>>>  
>>>
>>> I finally took the plunge and installed the net5501 img onto a 1 GB CF,
>>> which runs on an Alix1c board I have experience the following.
>>>
>>>  
>>>
>>> When I try to run create UnionFS I with the following method.
>>>
>>>  
>>>
>>> pbx ~ # fdisk /dev/hda
>>>
>>>  
>>>
>>> The number of cylinders for this disk is set to 1986.
>>>
>>> There is nothing wrong with that, but this is larger than 1024,
>>>
>>> and could in certain setups cause problems with:
>>>
>>> 1) software that runs at boot time (e.g., old versions of LILO)
>>>
>>> 2) booting and partitioning software from other OSs
>>>
>>>    (e.g., DOS FDISK, OS/2 FDISK)
>>>
>>>  
>>>
>>> Command (m for help): n
>>>
>>> Command action
>>>
>>>    e   extended
>>>
>>>    p   primary partition (1-4)
>>>
>>> p
>>>
>>> Partition number (1-4): 2
>>>
>>> First cylinder (261-1986, default 261): 261
>>>
>>> Last cylinder or +size or +sizeM or +sizeK (261-1986, default 1986): +128M
>>>
>>>  
>>>
>>> Command (m for help): w
>>>
>>> The partition table has been altered!
>>>
>>>  
>>>
>>> Calling ioctl() to re-read partition table
>>>
>>> *************************************************************************
>>>
>>> I get the error below and the whole system hangs nothing happens even if
>>> I leave it for an hour.
>>>
>>>  
>>>
>>> *"fdisk: WARNING: rereading partition table failed, kernel still uses
>>> old table: Device or resource busy"*
>>>
>>>
>> ****************************************************************************
>> *************
>>> The only way to get back in i to repower the unit, but then I cannot log
>>> into the unit, so I have to format the CF and start all over again.
>>>
>>>
>> ============================================================================
>> ====================================
>>> Second attempt.
>>>
>>>  
>>>
>>> The only way for me to setup UnionFS is this way, I have to unmount the
>>> oldroot/cdrom
>>>
>>>  
>>>
>>> pbx ~ # umount /oldroot/cdrom
>>>
>>>  
>>>
>>> pbx ~ # fdisk /dev/hda
>>>
>>>  
>>>
>>> The number of cylinders for this disk is set to 1986.
>>>
>>> There is nothing wrong with that, but this is larger than 1024,
>>>
>>> and could in certain setups cause problems with:
>>>
>>> 1) software that runs at boot time (e.g., old versions of LILO)
>>>
>>> 2) booting and partitioning software from other OSs
>>>
>>>    (e.g., DOS FDISK, OS/2 FDISK)
>>>
>>>  
>>>
>>> Command (m for help): n
>>>
>>> Command action
>>>
>>>    e   extended
>>>
>>>    p   primary partition (1-4)
>>>
>>> p
>>>
>>> Partition number (1-4): 2
>>>
>>> Partition 2 is already defined, delete it before re-adding
>>>
>>>  
>>>
>>> Command (m for help): d
>>>
>>> Partition number (1-4): 2
>>>
>>>  
>>>
>>> Command (m for help): n
>>>
>>> Command action
>>>
>>>    e   extended
>>>
>>>    p   primary partition (1-4)
>>>
>>> p
>>>
>>> Partition number (1-4): 2
>>>
>>> First cylinder (261-1986, default 261): 261
>>>
>>> Last cylinder or +size or +sizeM or +sizeK (261-1986, default 1986):
>>> +128M                                                  
>>>
>>> Command (m for help): w
>>>
>>> The partition table has been altered!
>>>
>>>  
>>>
>>> Calling ioctl() to re-read partition table
>>>
>>> pbx ~ # genunion /dev/hda2
>>>
>>> This script will automatically create a read/write
>>>
>>> filesystem to store your AstLinux configuration.
>>>
>>> THIS SCRIPT WILL DESTROY EVERYTHING ON /dev/hda2
>>>
>>>  
>>>
>>> ARE YOU SURE YOU WANT TO CONTINUE?
>>>
>>>  
>>>
>>> Please type yes to continue
>>>
>>> Are you sure? : yes
>>>
>>>  
>>>
>>> WARNING:
>>>
>>> You already have a filesystem with the label ASTURW
>>>
>>> This could confuse AstLinux when it boots.
>>>
>>> I hope you know what you are doing...
>>>
>>> Press enter to continue
>>>
>>>  
>>>
>>> Creating filesystem...
>>>
>>> Filesystem Created.
>>>
>>>  
>>>
>>> On new systems you can optionally use unionfs instead of they key disk.
>>>
>>>  
>>>
>>> To create the appropriate file structure, type yes.
>>>
>>>  
>>>
>>> If you have an existing key disk and want to migrate your key disk
>>>
>>> settings to this new unionfs partition, execute movekd /dev/hda2 after
>>>
>>> this script exits.
>>>
>>>  
>>>
>>> To create a new key disk structure on your new unionfs partition,
>>>
>>> type yes followed by the Enter key.  Press any other key to exit.
>>>
>>>  
>>>
>>> If you are new to Astlinux, you will want to say yes.
>>>
>>> Are you sure? : yes
>>>
>>> Copying files to /dev/hda2
>>>
>>> Please reboot now or run movekd to migrate an existing key disk to your
>>> unionfs   partition
>>>
>>> pbx ~ # reboot
>>>
>>>
>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>> +++++++
>>> This method gets it all working ok but my TDM card with 2xFXO are not
>>> detected, how do I get it working, as the asterisk gui does not show the
>>> Analog card as well.
>>>
>>>  
>>>
>>> Appreciate your help
>>>
>>>  
>>>
>>> Cheers
>>>
>>>  
>>>
>>>  
>>>
>>> *Cleve Jansen*
>>>
>>>  
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>>
>> ----------------------------------------------------------------------------
>> --
>>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
>> CA
>>> -OSBC tackles the biggest issue in open source: Open Sourcing the
>> Enterprise
>>> -Strategies to boost innovation and cut costs with open source
>> participation
>>> -Receive a $600 discount off the registration fee with the source code:
>> SFAD
>>> http://p.sf.net/sfu/XcvMzF8H
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Astlinux-users mailing list
>>> Astlinux-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>>>
>>> Donations to support AstLinux are graciously accepted via PayPal to
>> pay...@krisk.org.
>>
>> ----------------------------------------------------------------------------
>> --
>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
>> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
>> -Strategies to boost innovation and cut costs with open source participation
>> -Receive a $600 discount off the registration fee with the source code: SFAD
>> http://p.sf.net/sfu/XcvMzF8H
>> _______________________________________________
>> Astlinux-users mailing list
>> Astlinux-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>>
>> Donations to support AstLinux are graciously accepted via PayPal to
>> pay...@krisk.org.
>>
>>
>> ------------------------------------------------------------------------------
>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
>> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
>> -Strategies to boost innovation and cut costs with open source participation
>> -Receive a $600 discount off the registration fee with the source code: SFAD
>> http://p.sf.net/sfu/XcvMzF8H
>> _______________________________________________
>> Astlinux-users mailing list
>> Astlinux-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>>
>> Donations to support AstLinux are graciously accepted via PayPal to 
>> pay...@krisk.org.
>>
> 
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
> 
> Donations to support AstLinux are graciously accepted via PayPal to 
> pay...@krisk.org.
> 

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to