I'd like to add some audio delay to get rid of a nasty squelch tail. I figured this would be easy, but the documentation is rather sparse. Reading mailing list archives, I've found mention of an rxaudiodelay or rxsquelchdelay parameter for usbradio.conf. Haven't seen anything similar for simpleusb.conf. Searching for actual documentation of these parameters hasn't turned up anything. Do they exist? How do I use them? Is there another way? Nothing here: http://docs.allstarlink.org/drupal/search/node/rxaudiodelay http://docs.allstarlink.org/drupal/search/node/rxsquelchdelay nor here: http://docs.allstarlink.org/drupal/node/73 I did find some mention in the code... Toms-MacBook-Pro:astsrc-1.4.23-pre tom$ grep rxaudiodelay -R asterisk/channels Toms-MacBook-Pro:astsrc-1.4.23-pre tom$ grep rxsquelchdelay -R asterisk/channels asterisk/channels/chan_pi.c: int rxsquelchdelay; asterisk/channels/chan_pi.c: M_UINT("rxsquelchdelay",o->rxsquelchdelay) asterisk/channels/chan_pi.c: tChan.rxSquelchDelay=pvts[i].rxsquelchdelay; asterisk/channels/chan_usbradio.c: int rxsquelchdelay; asterisk/channels/chan_usbradio.c: M_UINT("rxsquelchdelay",o->rxsquelchdelay) asterisk/channels/chan_usbradio.c: if(o->rxsquelchdelay>RXSQDELAYBUFSIZE/8-1) asterisk/channels/chan_usbradio.c: ast_log(LOG_WARNING,"rxsquelchdelay of %i is > maximum of %i. Set to maximum.\n", asterisk/channels/chan_usbradio.c: o->rxsquelchdelay,RXSQDELAYBUFSIZE/8-1); asterisk/channels/chan_usbradio.c: o->rxsquelchdelay=RXSQDELAYBUFSIZE/8-1; asterisk/channels/chan_usbradio.c: tChan.rxSquelchDelay=o->rxsquelchdelay; But it's not much to go off. Looks like I would at least have to switch from simpleusb to usbradio to test it? And in the changelog here there mention of audio delay for squelch tail elimination: http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/ "BBB V1.2.2 - simpleusb Channel Driver update to eliminate echo on repeaters, added pre-emphasis and audio delay squelch tail elimination, fixed phone and web transceiver codec problem" But again, I haven't been successful in matching this to source code or documentation. I have the app_rpt SVN repo downloaded. Where can I find the Crompton code fork? (Is it a fork?) Tom KD7LXL
On 8/8/16 1:18 PM, Tom Hayward wrote:
I'd like to add some audio delay to get rid of a nasty squelch tail. I figured this would be easy, but the documentation is rather sparse. Reading mailing list archives, I've found mention of an rxaudiodelay or rxsquelchdelay parameter for usbradio.conf. Haven't seen anything similar for simpleusb.conf. Searching for actual documentation of these parameters hasn't turned up anything. Do they exist? How do I use them? Is there another way?
I'd like to see this as a module that can sit between app_rpt and the channel driver. Maybe a driver proxy thing? This way we could use it on pciradio or whatever input we wanted to use it on. I use a number of pciradio interfaces (best!) and it would be a nice to have. chan_voter would work too. Thoughts? -- Bryan Fields 727-409-1194 - Voice http://bryanfields.net
Hello All, I have to manual configure the dial verison of asterisk due to network issues. The 4 nodes seems to be showing up on the Allstar node list as green but we are unable connect to the other nodes inbound or outbound. I realize inbound connect request port forwarding of 4569. As for outboud, it should connect fine. I suspect it is something in the IAX.conf file that might be causing the issue. Below is my IAX.CONF file : ; Inter-Asterisk eXchange driver definition ; ; [general] bindaddr=0.0.0.0 disallow=all allow=gsm allow=g726aal2 allow=ulaw jitterbuffer=yes forcejitterbuffer=yes dropcount=2 maxjitterbuffer=4000 maxjitterinterps=10 resyncthreshold=1000 maxexcessbuffer=80 minexcessbuffer=10 jittershrinkrate=1 tos=0x1E autokill=yes delayreject=yes ;iaxthreadcount=30 ;iaxmaxthreadcount=150 register=42706:*******@register.allstarlink.org ; password commented out wih * register=42707:*******@register.allstarlink.org register=42708:*******@register.allstarlink.org register=42709:*******@register.allstarlink.org ; Incoming radio connections [radio] type=user disallow=all allow=g726aal2 allow=gsm codecpriority=host context=radio-secure transfer=no [allstar-sys] type=user context=allstar-sys auth=rsa inkeys=allstar disallow=all allow=ulaw [allstar-public] type=user context=allstar-public auth=md5 secret=allstar disallow=all allow=ulaw allow=gsm ; Yhe following should be un-commented to support Allstar Autopatch service ;[allstar-autopatch] ;type=peer ;host=register.allstarlink.org ;username=<One of the Node numbers on this server> ;secret=<The node password for the above node> ;auth=md5 ;disallow=all ;allow=ulaw ;transfer=no Any ideas??? Angelo
seems to me you need to declare the bindport= <xxxx> so your external nodes list can be pushed to your server. e.g. ./var/lib/asterisk/rpt_extnodes Thanks, Bob k6ecm 73 Sent from iPad
On Aug 8, 2016, at 12:38 PM, Angelo <aglorioso62@gmail.com> wrote:
Hello All,
I have to manual configure the dial verison of asterisk due to network issues. The 4 nodes seems to be
showing up on the Allstar node list as green but we are unable connect to the other nodes inbound or
outbound. I realize inbound connect request port forwarding of 4569. As for outboud, it should connect
fine.
I suspect it is something in the IAX.conf file that might be causing the issue.
Below is my IAX.CONF file :
; Inter-Asterisk eXchange driver definition ; ;
[general] bindaddr=0.0.0.0 disallow=all allow=gsm allow=g726aal2 allow=ulaw jitterbuffer=yes forcejitterbuffer=yes dropcount=2 maxjitterbuffer=4000 maxjitterinterps=10 resyncthreshold=1000 maxexcessbuffer=80 minexcessbuffer=10 jittershrinkrate=1 tos=0x1E autokill=yes delayreject=yes ;iaxthreadcount=30 ;iaxmaxthreadcount=150
register=42706:*******@register.allstarlink.org ; password commented out wih * register=42707:*******@register.allstarlink.org register=42708:*******@register.allstarlink.org register=42709:*******@register.allstarlink.org
; Incoming radio connections
[radio] type=user disallow=all allow=g726aal2 allow=gsm codecpriority=host context=radio-secure transfer=no
[allstar-sys] type=user context=allstar-sys auth=rsa inkeys=allstar disallow=all allow=ulaw
[allstar-public] type=user context=allstar-public auth=md5 secret=allstar disallow=all allow=ulaw allow=gsm
; Yhe following should be un-commented to support Allstar Autopatch service ;[allstar-autopatch] ;type=peer ;host=register.allstarlink.org ;username=<One of the Node numbers on this server> ;secret=<The node password for the above node> ;auth=md5 ;disallow=all ;allow=ulaw ;transfer=no
Any ideas???
Angelo
_______________________________________________ App_rpt-users mailing list App_rpt-users@ohnosec.org http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
If you are using the Dial or ACID distros, then you can set your node to usbradio. When set to usbradio a sw squelch can be used. The SW squelch has a fast squelch for 20 db quieting signals and a slow squelch for noisy signals. it mimics the Motrola smart squelch action and works very well. No need audio squelch delay. In usbradio.conf, set carrierfrom=dsp and rxdemod=flat. Connect your radio discriminator to the URI/FOB RX audio input. Restart asterisk to load the new config. Then at the cli do a full alignment for the RX audio, Do a radio tune rxnoise (with no rx signal on the receiver) Do a Radio tune rxvoice (with a 1K tone @ 3k deviation with full quieting signal in receiver) and radio tune save. Then do a radio tune rxsquelch to see the current setting of the sw squelch: AST_2249_XCN*CLI> radio tune rxsquelch Current Signal Strength is 799 Current Squelch setting is 500 AST_2249_XCN*CLI> Set you squelch to about the current signal strength +50 as a rule of thumb. Set the squelch to 850: radio tune rxsquelch 850 radio tune save AST_2249_XCN*CLI> radio tune rxsquelch Current Signal Strength is 799 Current Squelch setting is 850 AST_2249_XCN*CLI> Test the squelch setting to see how it works. Repeat above squelch command as required to set squelch to taste. Then once you are happy with the squelch level, do a final save radio tune save If you have to use simpleusb then you are stuck with the logic from the radios cor/cas. In which case the rxaudio delay may work. I dont know if it works on Acid or DIAL but looks like its implemented in other images. Someone may be able to elaborate more on that set up. Cheers! Jon VA3RQ On 8/8/2016 1:18 PM, Tom Hayward wrote:
I'd like to add some audio delay to get rid of a nasty squelch tail. I figured this would be easy, but the documentation is rather sparse. Reading mailing list archives, I've found mention of an rxaudiodelay or rxsquelchdelay parameter for usbradio.conf. Haven't seen anything similar for simpleusb.conf. Searching for actual documentation of these parameters hasn't turned up anything. Do they exist? How do I use them? Is there another way?
Nothing here: http://docs.allstarlink.org/drupal/search/node/rxaudiodelay http://docs.allstarlink.org/drupal/search/node/rxsquelchdelay nor here: http://docs.allstarlink.org/drupal/node/73
I did find some mention in the code... Toms-MacBook-Pro:astsrc-1.4.23-pre tom$ grep rxaudiodelay -R asterisk/channels Toms-MacBook-Pro:astsrc-1.4.23-pre tom$ grep rxsquelchdelay -R asterisk/channels asterisk/channels/chan_pi.c: int rxsquelchdelay; asterisk/channels/chan_pi.c: M_UINT("rxsquelchdelay",o->rxsquelchdelay) asterisk/channels/chan_pi.c: tChan.rxSquelchDelay=pvts[i].rxsquelchdelay; asterisk/channels/chan_usbradio.c: int rxsquelchdelay; asterisk/channels/chan_usbradio.c: M_UINT("rxsquelchdelay",o->rxsquelchdelay) asterisk/channels/chan_usbradio.c: if(o->rxsquelchdelay>RXSQDELAYBUFSIZE/8-1) asterisk/channels/chan_usbradio.c: ast_log(LOG_WARNING,"rxsquelchdelay of %i is > maximum of %i. Set to maximum.\n", asterisk/channels/chan_usbradio.c: o->rxsquelchdelay,RXSQDELAYBUFSIZE/8-1); asterisk/channels/chan_usbradio.c: o->rxsquelchdelay=RXSQDELAYBUFSIZE/8-1; asterisk/channels/chan_usbradio.c: tChan.rxSquelchDelay=o->rxsquelchdelay;
But it's not much to go off. Looks like I would at least have to switch from simpleusb to usbradio to test it?
And in the changelog here there mention of audio delay for squelch tail elimination: http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/ "BBB V1.2.2 - simpleusb Channel Driver update to eliminate echo on repeaters, added pre-emphasis and audio delay squelch tail elimination, fixed phone and web transceiver codec problem"
But again, I haven't been successful in matching this to source code or documentation. I have the app_rpt SVN repo downloaded. Where can I find the Crompton code fork? (Is it a fork?)
Tom KD7LXL _______________________________________________ App_rpt-users mailing list App_rpt-users@ohnosec.org http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
participants (5)
-
Angelo -
Bob Pyke -
Bryan Fields -
Jon Rorke -
Tom Hayward