Hi There, We have very old asterisk 1.2 running in production and it has following setting in /etc/zaptel.conf. I have read on web about span and they told span= <span num> ,<timing source>,<line build out (LBO)>,<framing>,<coding>[,yellow] Just wondering why it has timing source 0 ? 0=master, 1=slave right ? Do you think i should change it to 1 ? #Sangoma A102 port 1 [slot:2 bus:7 span:1] <wanpipe1> span=1,0,0,esf,b8zs bchan=1-23 dchan=24 #Sangoma A102 port 2 [slot:2 bus:7 span:2] <wanpipe2> span=2,0,0,esf,b8zs bchan=25-47 dchan=48 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110527/b34f7da3/attachment.htm>
Rafael dos Santos Saraiva
2011-May-27 20:27 UTC
[asterisk-users] DAHDI span timeing source
Hi The timing source is the clock of the system. When a equipment is 0, the other should be 1. The correct is: 0=slave, 1=master. The default for private systems is "slave". Att, Rafael Saraiva 2011/5/27 satish patel <satish_lx at hotmail.com>> Hi There, > > We have very old asterisk 1.2 running in production and it has following > setting in /etc/zaptel.conf. I have read on web about span and they told > span= <span num> ,<timing source>,<line build out > (LBO)>,<framing>,<coding>[,yellow] > > Just wondering why it has timing source 0 ? 0=master, 1=slave right ? Do > you think i should change it to 1 ? > > #Sangoma A102 port 1 [slot:2 bus:7 span:1] <wanpipe1> > span=1,0,0,esf,b8zs > bchan=1-23 > dchan=24 > > #Sangoma A102 port 2 [slot:2 bus:7 span:2] <wanpipe2> > span=2,0,0,esf,b8zs > bchan=25-47 > dchan=48 > > > -- > _____________________________________________________________________ > -- 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 >-- Att, Rafael Saraiva -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110527/afa63603/attachment.htm>
You mean say 0=Slave (Use PSTN clock) 1=Master(generate Internal clock) So best option is 0 for all span if you connected on PSTN right ? Date: Fri, 27 May 2011 17:27:43 -0300 From: rafaelsnsa at gmail.com To: asterisk-users at lists.digium.com Subject: Re: [asterisk-users] DAHDI span timeing source Hi The timing source is the clock of the system. When a equipment is 0, the other should be 1. The correct is: 0=slave, 1=master. The default for private systems is "slave". Att,Rafael Saraiva 2011/5/27 satish patel <satish_lx at hotmail.com> Hi There, We have very old asterisk 1.2 running in production and it has following setting in /etc/zaptel.conf. I have read on web about span and they told span= <span num> ,<timing source>,<line build out (LBO)>,<framing>,<coding>[,yellow] Just wondering why it has timing source 0 ? 0=master, 1=slave right ? Do you think i should change it to 1 ? #Sangoma A102 port 1 [slot:2 bus:7 span:1] <wanpipe1> span=1,0,0,esf,b8zs bchan=1-23 dchan=24 #Sangoma A102 port 2 [slot:2 bus:7 span:2] <wanpipe2> span=2,0,0,esf,b8zs bchan=25-47 dchan=48 -- _____________________________________________________________________ -- 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 -- Att,Rafael Saraiva -- _____________________________________________________________________ -- 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110527/58618744/attachment.htm>
On Fri, May 27, 2011 at 08:57:15PM +0000, satish patel wrote:> > You mean say > > 0=Slave (Use PSTN clock) > 1=Master(generate Internal clock) > > So best option is 0 for all span if you connected on PSTN right ?Not really. Looking in system.conf.sample in dahdi-tools [1] Choose 1 to make the equipment at the far end of the E1/T1/BRI link the preferred source of the master clock. Choose 2 to make it the second choice for the master clock, if the first choice port fails (the far end dies, a cable breaks, or whatever). Choose 3 to make a port the third choice, and so on. If you have, say, 2 ports connected to the PSTN, mark those as 1 and 2. The number used for each port should be different. If you choose 0, the port will never be used as a source of timing. This is appropriate when you know the far end should always be a slave to you. If the port is connected to a channel bank, for example, you should always be its master. Likewise, BRI TE ports should always be configured as a slave. Any number of ports can be marked as 0. [1] http://svn.asterisk.org/view/dahdi/tools/trunk/system.conf.sample?view=co -- Shaun Ruffell Digium, Inc. | Linux Kernel Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at: www.digium.com & www.asterisk.org
Tell me in one word. We have 2 PRI line connected with sangoma card what option would be good for me? 0 or 1 ? -S> Date: Fri, 27 May 2011 16:11:03 -0500 > From: sruffell at digium.com > To: asterisk-users at lists.digium.com > Subject: Re: [asterisk-users] DAHDI span timeing source > > On Fri, May 27, 2011 at 08:57:15PM +0000, satish patel wrote: > > > > You mean say > > > > 0=Slave (Use PSTN clock) > > 1=Master(generate Internal clock) > > > > So best option is 0 for all span if you connected on PSTN right ? > > Not really. Looking in system.conf.sample in dahdi-tools [1] > > Choose 1 to make the equipment at the far end of the E1/T1/BRI link the > preferred source of the master clock. Choose 2 to make it the second > choice for the master clock, if the first choice port fails (the far end > dies, a cable breaks, or whatever). Choose 3 to make a port the third > choice, and so on. If you have, say, 2 ports connected to the PSTN, mark > those as 1 and 2. The number used for each port should be different. > > If you choose 0, the port will never be used as a source of timing. This > is appropriate when you know the far end should always be a slave to > you. If the port is connected to a channel bank, for example, you should > always be its master. Likewise, BRI TE ports should always be configured > as a slave. Any number of ports can be marked as 0. > > [1] http://svn.asterisk.org/view/dahdi/tools/trunk/system.conf.sample?view=co > > -- > Shaun Ruffell > Digium, Inc. | Linux Kernel Developer > 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA > Check us out at: www.digium.com & www.asterisk.org > > -- > _____________________________________________________________________ > -- 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-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110527/f8bd3ab7/attachment.htm>
I guess you are wrong here correct one is 0=master 1=slave If you connect to PSTN the you should user span=1,1,0 Check out http://www.cadvision.com/blanchas/Asterisk/DahdiT1trunk.html -- Sent from my iPhone On May 27, 2011, at 4:27 PM, Rafael dos Santos Saraiva <rafaelsnsa at gmail.com > wrote:> Hi > > The timing source is the clock of the system. When a equipment is 0, > the other should be 1. The correct is: 0=slave, 1=master. The > default for private systems is "slave". > > Att, > Rafael Saraiva > > 2011/5/27 satish patel <satish_lx at hotmail.com> > Hi There, > > We have very old asterisk 1.2 running in production and it has > following setting in /etc/zaptel.conf. I have read on web about > span and they told span= <span num> ,<timing source>,<line build > out (LBO)>,<framing>,<coding>[,yellow] > > Just wondering why it has timing source 0 ? 0=master, 1=slave > right ? Do you think i should change it to 1 ? > > #Sangoma A102 port 1 [slot:2 bus:7 span:1] <wanpipe1> > span=1,0,0,esf,b8zs > bchan=1-23 > dchan=24 > > #Sangoma A102 port 2 [slot:2 bus:7 span:2] <wanpipe2> > span=2,0,0,esf,b8zs > bchan=25-47 > dchan=48 > > > -- > _____________________________________________________________________ > -- 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 > > > > -- > Att, > Rafael Saraiva > > -- > _____________________________________________________________________ > -- 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-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110527/804e3c14/attachment.htm>