[arm-allstar] iaxrpt connects, but then drops immediately.
David McGough
kb4fxc at inttek.net
Thu Jan 16 15:09:50 EST 2020
I immediately see one problem in your iax.conf file---stanzas must have
unique names. You've got 2 stanzas named: [iaxrpt]
What do the [radio-iaxrpt] and [phone-iaxrpt] stanzas look like in your
extensions.conf file?
My guess is there is a problem in the extensions.conf [radio-iaxrpt]
stanza.
73, David KB4FXC
On Thu, 16 Jan 2020, "Matt Rhoades via ARM-allstar" wrote:
> I'm having troubles with iaxrpt; I can connect, but only for 3 seconds,
> upon connecting I immediately hear "node 1-9-9-8" then the connection is
> immediately terminated. I've included my iax.conf file below.
>
> Does anyone see my issue?
>
>
>
>
>
>
>
> ; WARNING - THIS FILE WAS AUTOMATICALLY CONFIGURED FROM A
> ; TEMPLATE FILE IN /usr/local/etc/asterisk_tpl BY THE
> ; NODE-CONFIG.SH SCRIPT.
> ;
> ; EACH TIME THIS SCRIPT IS RUN, THIS FILE WILL BE OVERWRITTEN.
> ; IF YOU CHANGE ANYTHING IN THIS FILE AND RUN THE NODE-CONFIG.SH
> ; SCRIPT, IT WILL BE LOST.
> ;
> ; IF YOU INTEND TO USE THE NODE-CONFIG.SH SCRIPT, THEN YOU SHOULD
> ; MAKE MODIFICATIONS TO THE ACTUAL TEMPLATE FILES LOCATED IN
> ; /usr/local/etc/asterisk_tpl directory.
> ;
> ; Inter-Asterisk eXchange driver definition
> ;
> ; For manual configuration edit the registration lines
> ; below and also passwords for various connections.
>
> ; Updated 1/2019 to include additional features
> ; Before attempting to add features ensure they
> ; are not already installed
>
> ; THIS IS AN IMPORTANT FILE! EDIT CAREFULLY!
> ; MAKE A BACKUP BEFORE EDITING
>
> [general]
> bindport=4569
> bindaddr=0.0.0.0
> disallow=all
> allow=g726aal2
> allow=ilbc
> allow=ulaw
> allow=gsm
> ; Hamvoip additional codecs - uncomment as needed
> ;allow=g729
> ;allow=adpcm
> ;allow=g722
> ;allow=codec2
> ;
> 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
>
> ; Uncomment one or both of the following lines and add
> ; your node number in place of xxxxx
> ; and your node password in place of yyyyyy
>
> ; Include hamvoip registration
> #includeifexists iax-hamvoip.conf
>
> register => 47727:***edited to hide my password, but it is correct****@
> register.allstarlink.org
> ;register => xxxxx:yyyyyy at register.allstarlink.org
>
> [radio-proxy]
> type=user
> ;deny=0.0.0.0/0.0.0.0
> ;permit=0.0.0.0/255.255.255.255
> context=radio-secure-proxy
> disallow=all
> allow=g726aal2
> allow=ilbc
> allow=ulaw
> allow=gsm
> ; Hamvoip additional codecs - uncomment as needed
> ;allow=g729
> ;allow=adpcm
> ;allow=g722
> ;allow=codec2
> ;
> transfer=no
>
> [radio-proxy-out]
> type=peer
> host=
> ; add your node number as username
> username=47727
> ; add your node password as secret
> secret=***edited to hide my password, but it is correct****
> auth=md5
> disallow=all
> allow=g726aal2
> allow=ilbc
> allow=ulaw
> allow=gsm
> ; Hamvoip additional codecs
> ;allow=g729
> ;allow=adpcm
> ;allow=g722
> ;allow=codec2
> ;
> transfer=no
>
> ; IAXRPT Example - THis stanza is used for Windows IAXRPT
>
> [iaxrpt]
> user=iaxrpt
> type=user
> context=radio-iaxrpt
> auth=md5
> ; add a password of your selection for secret
> secret=***edited to hide my password, but it is correct**** ; PASSWORD
> host=dynamic
> disallow=all
> allow=ulaw
> allow=gsm
> transfer=no
>
> ; Example for Android/Iphone Zoiper/IAXRPT phone connections
> ; Commented lines below must be configured to your settings
> ; See the iax-rpt or zioper howto at hamvoip.org
>
> [iaxrpt] ; The stanza is the Username from the phone app
> type=friend
> context=phone-iaxrpt
> host=dynamic
> auth=md5
> secret=***edited to hide my password, but it is correct****s ; PASSWORD
> disallow=all
> allow=ulaw
> transfer=no
> calltokenoptional=0.0.0.0/0.0.0.0
> requirecalltoken=no
>
> ; [pbx]
> ;type=friend
> ;username=pbx
> ;host=192.168.0.2
> ;;auth=md5
> ;secret=wa3dsp23
> ;context=default
>
>
> ; Incoming radios needed connections
>
> [radio]
> type=user
> disallow=all
> allow=g726aal2
> allow=ilbc
> allow=ulaw
> allow=gsm
> ; Hamvoip additional codecs - uncomment as needed
> ;allow=g729
> ;allow=adpcm
> ;allow=g722
> ;allow=codec2
> ;
> codecpriority=host
> ;
> ; To use the ban/allow (blacklist/whitelist) feature
> ; comment with a ';' the context = radio-secure line and
> ; remove the ';' from either the context = whitelist or
> ; context = blacklist line. ONLY ONE of the three lines
> ; can be active (uncommented).
> ;
> ; The best way to allow or ban nodes from the database is to
> ; use the Supermon application or the node-ban-allow.sh script.
>
> context = radio-secure
> ;context = whitelist
> ;context = blacklist
> ;
> transfer=no
>
> ; Incoming phone connections to app_rpt
>
> ;[radio-control]
> ;type=user
> ;secret=nunya
> ;disallow=all
> ;allow=gsm
> ;allow=ilbc
> ;allow=ulaw
> ;allow=gsm
> ; Hamvoip additional codecs - uncomment as needed
> ;allow=g729
> ;allow=adpcm
> ;allow=g722
> ;allow=codec2
> ;
> ;codecpriority=host
> ;context=radio-control
> ;transfer=no
>
> ; For Allstar Phone access
> [allstar-sys]
> type=user
> context=allstar-sys
> auth=rsa
> inkeys=allstar
> disallow=all
> allow=ulaw
>
> ; For Allstar web page access
> [allstar-public]
> type=user
> context=allstar-public
> auth=md5
> secret=allstar
> disallow=all
> allow=ulaw
> allow=gsm
>
> ; Setup for outgoing calls
>
> ;[yourprovider] ; This needs to change
> ;type=peer
> ;host=127.0.0.1
> ;secret=nunya
> ;auth=md5
> ;disallow=all
> ;allow=gsm
> ;transfer=no
>
> #includeifexists custom/iax.conf
> _______________________________________________
>
> ARM-allstar mailing list
> ARM-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3/4 web page - http://hamvoip.org
>
More information about the ARM-allstar
mailing list