[VoIP] Asterisk-Adtran dial rate
Kirt Stanfield
kirtley.stanfield at comcast.net
Mon Jul 9 20:53:49 CDT 2007
Max,
I tried changing the PULSEMAKE and PULSEBREAK. It did seem to make some
difference, I just have yet to home in on optimal values. IF these are
in fact milliseconds it would seem that 60/40 would give 10 pps. It
doesn't quite seem to work that way. In fact it seems to work better
when I set to 40/60, the exact opposite of what I would think, but it
still pulses at about 13pps. Gues I will try some simple math and ratio
both up by 13/10 for the next try.
I do understand what you are saying about the PULSEAFTERTIME.
Any ideas?
Kirt
John Novack wrote:
>ikjtel wrote:
>
>
>>Kirt
>>
>>The "PULSEAFTERTIME" is merely the interdigital delay
>>value. You'll need to actually change the PULSEMAKE
>>and PULSEBREAK ones, which I believe are directly in
>>milliseconds.
>>
>>Also, should have asked this last time, does the
>>Varian card use stock drivers, or does it include its
>>own proprietary drivers?
>>
>>
>>
>>
>Varion makes a patch to the stock zaptel drivers for the tor3 card.
>The earlier tor2 card substitutes one rbt file.
>govarion.com/tor3 has all the information.
>They supplied certain versions patched, and then, after mynag, a patch
>file for any of the zaptel 1.2 releases, given that Digium kept on
>making changes.
>
>
>
>>If absolutely necessary to prove whether the values
>>are getting overridden by unknown actors, a 'printk'
>>could be added to print out the actual values in
>>effect...
>>
>>Max
>>
>>
>>
>Beyond my pay grade!
>
>John Novack
>
>
>
>
>>--- Kirt Stanfield <kirtley.stanfield at comcast.net>
>>wrote:
>>
>>
>>
>>
>>>Max,
>>>
>>>I changed 'ZT_DEFAULT_PULSEAFTERTIME' to 900,
>>>rebuilt everything, and
>>>rebooted. I see no change in the PPS. Also m/b has
>>>always dispalyed as 60/40
>>>
>>>So I suspect these are in fact being overidden
>>>somewhere.
>>>
>>>Kirt
>>>ikjtel wrote:
>>>
>>>
>>>
>>>
>>>>Replying on-list in the event that anyone else has
>>>>commentary to add.............
>>>>
>>>>I believe there may be two separate issues here.
>>>>First, the parameters you mention should be
>>>>
>>>>
>>>>
>>>tweakable
>>>
>>>
>>>
>>>>via zaptel.h, specifically
>>>>zaptel.h:#define ZT_DEFAULT_PULSEMAKETIME 50
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>>>/* 50 ms of line closed when dial pulsing */
>>>>zaptel.h:#define ZT_DEFAULT_PULSEBREAKTIME
>>>>
>>>>
>>>>
>>>50
>>>
>>>
>>>
>>>>/* 50 ms of line open when dial pulsing */
>>>>zaptel.h:#define ZT_DEFAULT_PULSEAFTERTIME
>>>>
>>>>
>>>>
>>>750
>>>
>>>
>>>
>>>>/* 750ms between dial pulse digits */
>>>>
>>>>[Note, it is theoretically possible for user-space
>>>>(ztcfg) to override these, although I don't believe
>>>>this is currently implemented]
>>>>
>>>>[Note 2, I believe that these values are not
>>>>
>>>>
>>>>
>>>correct
>>>
>>>
>>>
>>>>for true Bell System dials, the ratio should be
>>>>
>>>>
>>>>
>>>~60/40
>>>
>>>
>>>
>>>>not 50/50]
>>>>
>>>>The second issue is that several users have
>>>>
>>>>
>>>>
>>>reported
>>>
>>>
>>>
>>>>erratic pulsing, which I have noticed too, just by
>>>>listening the problem is clearly audible. Instead
>>>>
>>>>
>>>>
>>>of
>>>
>>>
>>>
>>>>hearing regularly spaced pulses you hear plainly
>>>>
>>>>
>>>>
>>>that
>>>
>>>
>>>
>>>>the spacing is irregular.
>>>>
>>>>Try connecting a butt set (in monitor mode) to the
>>>>connection and listen to the outpulsing. Best way
>>>>
>>>>
>>>>
>>>to
>>>
>>>
>>>
>>>>test this is to use a string of several 'zero'
>>>>digits...
>>>>
>>>>I recently was able to grab an FXO card for my
>>>>
>>>>
>>>>
>>>channel
>>>
>>>
>>>
>>>>bank. When it shows up (and when I get it set up)
>>>>I'll try to duplicate the problem. I have released
>>>>
>>>>
>>>>
>>>an
>>>
>>>
>>>
>>>>asterisk dial speed app that will also help
>>>>
>>>>
>>>>
>>>pinpoint
>>>
>>>
>>>
>>>>it. See URL
>>>>
>>>>http://www.lightlink.com/mhp/dialtest/
>>>>
>>>>Max
>>>>
>>>>--- Kirt Stanfield <kirtley.stanfield at comcast.net>
>>>>wrote:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>>Max,
>>>>>
>>>>>I hope all is well with you.
>>>>>
>>>>>Early this year I installed a Varian T1 card in my
>>>>>asterisk machine, and
>>>>>connected it to an adtran channel bank. The
>>>>>
>>>>>
>>>>>
>>>channel
>>>
>>>
>>>
>>>>>bank has 5 FXS cards
>>>>>and 1 FXO card. The former is connected to ground
>>>>>start 2 way trunks on
>>>>>my step switch. The latter is connected to the
>>>>>incoming selectors on my
>>>>>step switch.
>>>>>
>>>>>In general the above configuration has performed
>>>>>well, with a tremendous
>>>>>improvement in voice quality.
>>>>>
>>>>>I have however seen evidence of misdialing into
>>>>>
>>>>>
>>>>>
>>>the
>>>
>>>
>>>
>>>>>switch via the FXO
>>>>>card. I finally wrote a php script to dial over
>>>>>
>>>>>
>>>>>
>>>and
>>>
>>>
>>>
>>>>>over again, and from
>>>>>that I have deduced that there is about a 5-10%
>>>>>misdial rate. I have now
>>>>>place a Metro-Tel TPM32 'digit grabber' in the
>>>>>circuit. That indicates
>>>>>that dialing is taking place at a rate of 13pps,
>>>>>instead of 10pps, which
>>>>>I suspect is the reason why I am seeing the error
>>>>>rate that I am.
>>>>>
>>>>>So my question is - can you tell me any place(s)
>>>>>
>>>>>
>>>>>
>>>in
>>>
>>>
>>>
>>>>>the asterisk or the
>>>>>drivers that I could adjust so as to slow down the
>>>>>dial rate?
>>>>>
>>>>>Thanks,
>>>>>Kirt
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>____________________________________________________________________________________
>>>
>>>
>>>
>>>>8:00? 8:25? 8:40? Find a flick in no time
>>>>with the Yahoo! Search movie showtime shortcut.
>>>>http://tools.search.yahoo.com/shortcuts/#news
>>>>_______________________________________________
>>>>VoIP mailing list
>>>>VoIP at ckts.info
>>>>http://lists.ckts.info/mailman/listinfo/voip
>>>>Project Web Page: http://www.ckts.info/
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>_______________________________________________
>>>VoIP mailing list
>>>VoIP at ckts.info
>>>http://lists.ckts.info/mailman/listinfo/voip
>>>Project Web Page: http://www.ckts.info/
>>>
>>>
>>>
>>>
>>
>>
>>____________________________________________________________________________________
>>Get your own web address.
>>Have a HUGE year through Yahoo! Small Business.
>>http://smallbusiness.yahoo.com/domains/?p=BESTDEAL
>>_______________________________________________
>>VoIP mailing list
>>VoIP at ckts.info
>>http://lists.ckts.info/mailman/listinfo/voip
>>Project Web Page: http://www.ckts.info/
>>
>>
>>
>>
>
>
>
More information about the VoIP
mailing list