Here is the iax.conf and extensions.conf used on node 1200 . May i mention that it works perfectly on my phone , ve2abc and the phone of va2chq... the issue is only on ve2bap phone.
Thanks for your help ! Serge ve2abc
;;;;;;;;;;;;;Extensions.conf
[general]
static=yes ; These two lines prevent the command-line interface
writeprotect=yes ; from overwriting the config file. Leave them here.
[globals]
HOMENPA=215
[default]
exten => i,1,Hangup
[radio-secure]
exten => 1200,1,rpt,1200
[radio-secure-proxy]
exten => 1200,1,rpt,1200|X
exten => _0X.,1,Goto(allstar-sys|${EXTEN:1}|1)
; IAXRPT Windows
[radio-iaxrpt]
exten=1200,1,Rpt,1200|X
; The following stanza is to be used for Android/Iphone
; connections. Please configure the node number for the
; node on this server you want to connect to.
; The callerID name is configured and returned from
; your phone. It is typically your call.
[phone-iaxrpt] ;;; Stanza is the context from iax.conf
exten => 1200,1,Answer
exten => 1200,n,Playback,rpt/node
exten => 1200,n,Playback,digits/1
exten => 1200,n,Playback,digits/2
exten => 1200,n,Playback,digits/0
exten => 1200,n,Playback,digits/0
exten => 1200,n,Set(CALLERID(num)=0)
exten => 1200,n,Rpt,1998|P|${CALLERID(name)} ;;; The "CallerID" from IAXRpt
[android-iaxrpt] ;;; Stanza is the context from iax.conf
exten => 1200,1,Answer
exten => 1200,n,Playback,rpt/node
exten => 1200,n,Playback,digits/1
exten => 1200,n,Playback,digits/2
exten => 1200,n,Playback,digits/0
exten => 1200,n,Playback,digits/0
exten => 1200,n,Set(CALLERID(num)=0)
exten => 1200,n,Rpt,1200|P|${CALLERID(name)} ;;; The "CallerID" from IAXRpt
; To make this have a static callerID name if your phone
; app does not support callerID change the last line to this
; and specify the name (usually CALL) in place of static-name.
;exten => 1200,n,Rpt,1998|P|"static-name"
; Autopatch example lines. Must be configured and
; SIP or IAX phone connections configured to work.
[pstn-out]
exten=_NXXNXXXXXX,1,playback(ss-noservice)
exten=_NXXNXXXXXX,2,Congestion
[invalidnum]
exten=s,1,Wait,3
exten=s,n,Playback,ss-noservice
exten=s,n,Wait,1
exten=s,n,Hangup
[radio]
exten=_X11,1,Goto(check_route|${EXTEN}|1);
exten=_NXXXXXX,1,Goto(check_route|1${HOMENPA}${EXTEN}|1)
exten=_1XXXXXXXXXX,1,Goto(check_route|${EXTEN}|1)
[check_route]
; no 800
exten=_1800NXXXXXX,2,Goto(invalidnum|s|1)
exten=_1888NXXXXXX,2,Goto(invalidnum|s|1)
exten=_1877NXXXXXX,2,Goto(invalidnum|s|1)
exten=_1866NXXXXXX,2,Goto(invalidnum|s|1)
exten=_1855NXXXXXX,2,Goto(invalidnum|s|1)
; no X00 NPA
exten=_1X00XXXXXXX,2,Goto(invalidnum|s|1)
; no X11 NPA
exten=_1X11XXXXXXX,2,Goto(invalidnum|s|1)
; no X11
exten=_X11,2,Goto(invalidnum|s|1)
; no 555 Prefix in any NPA
exten=_1NXX555XXXX,2,Goto(invalidnum|s|1)
; no 976 Prefix in any NPA
exten=_1NXX976XXXX,2,Goto(invalidnum|s|1)
; no NPA=809
exten=_1809XXXXXXX,2,Goto(invalidnum|s|1)
; no NPA=900
exten=_1900XXXXXXX,2,Goto(invalidnum|s|1)
; okay, route it
exten=_1NXXXXXXXXX,1,Goto(pstn-out|${EXTEN:1}|1)
exten=_X.,2,Goto(invalidnum|s|1)
; End autopatch example
; Following stanza required for web transceiver access
[allstar-public]
exten => s,1,Ringing
exten => s,n,Set(RESP=${CURL(https://register.allstarlink.org/cgi-bin/authwebphone.pl?${CALLERID(name)})})
exten => s,n,Set(NODENUM=${CALLERID(number)})
exten => s,n,GotoIf($["${RESP:0:1}" = "?"]?hangit)
exten => s,n,GotoIf($["${RESP:0:1}" = ""]?hangit)
exten => s,n,GotoIf($["${RESP:0:5}" != "OHYES"]?hangit)
exten => s,n,Set(CALLSIGN=${RESP:5})
exten => s,n,Wait(3)
exten => s,n,Playback(rpt/node|noanswer)
exten => s,n,Saydigits(${NODENUM})
exten => s,n,Set(CALLERID(num)=0)
exten => s,n,Set(CALLERID(name)=${CALLSIGN})
exten => s,n,Rpt(${NODENUM}|X)
exten => s,n,Hangup
exten => s,n(hangit),Answer
exten => s,n(hangit),Wait(1)
exten => s,n(hangit),Hangup
exten => 9999,1,Goto(allstar-public|s|1)
; end web transceiver stanza
;;;;;;;;;;;;;;;;;;Iax.conf
[general]
bindport=XXXX
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
calltokenoptional=0.0.0.0/0.0.0.0
requirecalltoken=no
[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=1200
; add your node password as secret
secret=
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] ; Connect from iaxrpt Username field (PC AllStar Client)
type = user ; Notice type is user here <---------------
context = radio-iaxrpt ; Context to jump to in extensions.conf
auth = md5
secret = secrtetttt
host = dynamic
disallow = all
allow = ulaw
allow = adpcm
allow = gsm
transfer = no
[ve1mik] ; Connect from iaxrpt Username field (PC AllStar Client)
type = user ; Notice type is user here <---------------
context = radio-iaxrpt ; Context to jump to in extensions.conf
auth = md5
secret = secrtetttt
host = dynamic
disallow = all
allow = ulaw
allow = adpcm
allow = gsm
transfer = no
codecpriority = Caller
[va2chq]
type=user
context=radio-iaxrpt
auth=md5
secret=secrtetttt
host=dynamic
disallow=all
allow=ulaw
allow=gsm
transfer=no
[va2chq]
type=friend
context=android-iaxrpt
auth=md5
secret=secrtetttt
host=dynamic
disallow=all
allow=ulaw
allow=gsm
transfer=no
requirecalltocken=no
[ve2fvv]
type=user
context=radio-iaxrpt
auth=md5
secret=secrtetttt
host=dynamic
disallow=all
allow=ulaw
allow=gsm
transfer=no
[ve1pin]
type=user
context=radio-iaxrpt
auth=md5
secret=secrtetttt
host=dynamic
disallow=all
allow=ulaw
allow=gsm
transfer=no
[ve2abc]
type=friend
context=android-iaxrpt
auth=md5
secret=secrtetttt
host=dynamic
disallow=all
allow=ulaw
allow=gsm
transfer=no
requirecalltocken=no
[ve2bap]
type=friend
context=android-iaxrpt
auth=md5
secret=secrtetttt
host=dynamic
disallow=all
allow=ulaw
allow=gsm
transfer=no
requirecalltocken=no
[ve2bap]
type=friend
context=radio-iaxrpt
auth=md5
secret=secrtetttt
host=dynamic
disallow=all
allow=ulaw
allow=gsm
transfer=no
requirecalltocken=no
[ve2jve] ; Connect from iaxrpt Username field (PC AllStar Client)
type = user ; Notice type is user here <---------------
context = radio-iaxrpt ; Context to jump to in extensions.conf
auth = md5
secret = secrtetttt
host = dynamic
disallow = all
allow = ulaw
allow = adpcm
allow = gsm
transfer = no
requirecalltocken=no
[ve2dje] ; Connect from iaxrpt Username field (PC AllStar Client)
type = user ; Notice type is user here <---------------
context = radio-iaxrpt ; Context to jump to in extensions.conf
auth = md5
secret = secrtetttt
host = dynamic
disallow = all
allow = ulaw
allow = adpcm
allow = gsm
transfer = no
requirecalltocken=no
[ve2mwm] ; Connect from iaxrpt Username field (PC AllStar Client)
type = user ; Notice type is user here <---------------
context = radio-iaxrpt ; Context to jump to in extensions.conf
auth = md5
secret = secrtetttt
host = dynamic
disallow = all
allow = ulaw
allow = adpcm
allow = gsm
transfer = no
requirecalltocken=no