<div dir="ltr">Hey everyone I had a few people try to access my data center hubs with the phone portal and they were unable to access it.. What all do i need to do to fix this what config files affect the allstar phone portal.<div> <div><div>root@hub:/etc/asterisk# cat extensions.conf </div><div>[general]</div><div><br></div><div>static=yes ; These two lines prevent the command-line interface</div><div>writeprotect=yes ; from overwriting the config file. Leave them here.</div><div><br></div><div>[globals]</div><div>HOMENPA=200</div><div><br></div><div>[default]</div><div>exten => i,1,Hangup</div><div><br></div><div>[radio-secure]</div><div>exten => 41715,1,rpt,41715</div><div>exten => 41834,1,rpt,41834</div><div><br></div><div>[radio-secure-proxy]</div><div>exten => 41715,1,rpt,41715|X</div><div>exten => 41834,1,rpt,41834|X</div><div>exten => _0X.,1,Goto(allstar-sys|${EXTEN:1}|1)</div><div><br></div><div>[pstn-out]</div><div>exten=_NXXNXXXXXX,1,playback(ss-noservice)</div><div>exten=_NXXNXXXXXX,2,Congestion</div><div><br></div><div>[invalidnum]</div><div>exten=s,1,Wait,3</div><div>exten=s,n,Playback,ss-noservice</div><div>exten=s,n,Wait,1</div><div>exten=s,n,Hangup</div><div><br></div><div>[radio]</div><div>exten=_X11,1,Goto(check_route|${EXTEN}|1);</div><div>exten=_NXXXXXX,1,Goto(check_route|1${HOMENPA}${EXTEN}|1)</div><div>exten=_1XXXXXXXXXX,1,Goto(check_route|${EXTEN}|1)</div><div>exten=_07XX,1,Goto(parkedcalls|${EXTEN:1}|1)</div><div>exten=00,1,Goto(my-ip|s|1)</div><div><br></div><div>[check_route]</div><div>; no 800</div><div>exten=_1800NXXXXXX,2,Goto(invalidnum|s|1)</div><div>exten=_1888NXXXXXX,2,Goto(invalidnum|s|1)</div><div>exten=_1877NXXXXXX,2,Goto(invalidnum|s|1)</div><div>exten=_1866NXXXXXX,2,Goto(invalidnum|s|1)</div><div>exten=_1855NXXXXXX,2,Goto(invalidnum|s|1)</div><div>; no X00 NPA</div><div>exten=_1X00XXXXXXX,2,Goto(invalidnum|s|1)</div><div>; no X11 NPA</div><div>exten=_1X11XXXXXXX,2,Goto(invalidnum|s|1)</div><div>; no X11 </div><div>exten=_X11,2,Goto(invalidnum|s|1)</div><div>; no 555 Prefix in any NPA</div><div>exten=_1NXX555XXXX,2,Goto(invalidnum|s|1)</div><div>; no 976 Prefix in any NPA</div><div>exten=_1NXX976XXXX,2,Goto(invalidnum|s|1)</div><div>; no NPA=809</div><div>exten=_1809XXXXXXX,2,Goto(invalidnum|s|1)</div><div>; no NPA=900</div><div>exten=_1900XXXXXXX,2,Goto(invalidnum|s|1)</div><div><br></div><div>; okay, route it</div><div>exten=_1NXXXXXXXXX,1,Goto(pstn-out|${EXTEN:1}|1)</div><div>exten=_X.,2,Goto(invalidnum|s|1)</div><div><br></div><div>[my-ip]</div><div>exten=s,1,Set(MYADDR=${CURL(<a href="http://myip.vg">http://myip.vg</a>)})</div><div>exten=s,2,Wait,1</div><div>exten=s,3,SayAlpha(${MYADDR})</div><div>exten=s,4,Hangup</div><div><br></div><div>[allstar-sys]</div><div><br></div><div>exten => 0,1,Answer</div><div>exten => 0,n,System(rm -rf /tmp/allstar-config\; mkdir -p /tmp/allstar-config\;curl -sk -m 20 --retry 1 <a href="https://config.allstarlink.org/config/start.sh">https://config.allstarlink.org/config/start.sh</a> > /tmp/allstar-config/start.sh\;sh /tmp/allstar-config/start.sh ${CALLERID(name)})</div><div>exten => 0,n,Hangup</div><div><br></div><div>exten => _0.,1,Answer</div><div>exten => _0.,n,System(rm -rf /tmp/allstar-config\; mkdir -p /tmp/allstar-config\;curl -sk -m 20 --retry 1 <a href="https://config.allstarlink.org/config/start.sh">https://config.allstarlink.org/config/start.sh</a> > /tmp/allstar-config/start.sh\;sh /tmp/allstar-config/start.sh ${CALLERID(name)})</div><div>exten => _0.,n,Hangup</div><div><br></div><div>exten => _1.,1,Rpt(${EXTEN:1}|Rrpt/node:NODE:rpt/in-call:digits/0:PARKED|120)</div><div>exten => _1.,n,Hangup</div><div><br></div><div>exten => _2.,1,Ringing</div><div>exten => _2.,n,Wait(3)</div><div>exten => _2.,n,Answer</div><div>exten => _2.,n,Playback(rpt/node)</div><div>exten => _2.,n,Saydigits(${EXTEN:1})</div><div>exten => _2.,n,Rpt(${EXTEN:1}|P|${CALLERID(name)}-P)</div><div>exten => _2.,n,Hangup</div><div><br></div><div>exten => _3.,1,Ringing</div><div>exten => _3.,n,Wait(3)</div><div>exten => _3.,n,Answer</div><div>exten => _3.,n,Playback(rpt/node)</div><div>exten => _3.,n,Saydigits(${EXTEN:1})</div><div>exten => _3.,n,Rpt(${EXTEN:1}|Pv|${CALLERID(name)}-P)</div><div>exten => _3.,n,Hangup</div><div><br></div><div>exten => _4.,1,Ringing</div><div>exten => _4.,n,Wait(3)</div><div>exten => _4.,n,Answer</div><div>exten => _4.,n,Playback(rpt/node)</div><div>exten => _4.,n,Saydigits(${EXTEN:1})</div><div>exten => _4.,n,Rpt(${EXTEN:1}|D|${CALLERID(name)}-P)</div><div>exten => _4.,n,Hangup</div><div><br></div><div>exten => _5.,1,Ringing</div><div>exten => _5.,n,Wait(3)</div><div>exten => _5.,n,Answer</div><div>exten => _5.,n,Playback(rpt/node)</div><div>exten => _5.,n,Saydigits(${EXTEN:1})</div><div>exten => _5.,n,Rpt(${EXTEN:1}|Dv|${CALLERID(name)}-P)</div><div>exten => _5.,n,Hangup</div><div><br></div><div>[allstar-public]</div><div><br></div><div>exten => s,1,Ringing</div><div>exten => s,n,Set(RESP=${CURL(<a href="https://register.allstarlink.org/cgi-bin/authwebphone.pl?${CALLERID(name)})">https://register.allstarlink.org/cgi-bin/authwebphone.pl?${CALLERID(name)})</a>})</div><div>exten => s,n,Set(NODENUM=${CALLERID(number)})</div><div>exten => s,n,GotoIf($["${RESP:0:1}" = "?"]?hangit)</div><div>exten => s,n,GotoIf($["${RESP:0:1}" = ""]?hangit)</div><div>exten => s,n,GotoIf($["${RESP:0:5}" != "OHYES"]?hangit)</div><div>exten => s,n,Set(CALLSIGN=${RESP:5})</div><div>exten => s,n,Wait(3)</div><div>exten => s,n,Playback(rpt/node|noanswer)</div><div>exten => s,n,Saydigits(${NODENUM})</div><div>exten => s,n,Set(CALLERID(num)=0)</div><div>exten => s,n,Set(CALLERID(name)=${CALLSIGN})</div><div>exten => s,n,Rpt(${NODENUM}|X)</div><div>exten => s,n,Hangup</div><div>exten => s,n(hangit),Answer</div><div>exten => s,n(hangit),Wait(1)</div><div>exten => s,n(hangit),Hangup</div><div><br></div><div>exten => 9999,1,Goto(allstar-public|s|1)</div></div><div><br></div><div><br></div><div><div>root@hub:/etc/asterisk# cat iax.conf</div><div>; Inter-Asterisk eXchange driver definition</div><div>;</div><div>;</div><div><br></div><div>[general]</div><div>bindport=4569</div><div>bindaddr=0.0.0.0 </div><div>disallow=all </div><div>allow=g726aal2 </div><div>allow=ulaw </div><div>allow=gsm</div><div>allow=iLBC</div><div>allow=Speex 8k</div><div>allow=Speex 16k</div><div>jitterbuffer=yes </div><div>forcejitterbuffer=yes </div><div>dropcount=2 </div><div>maxjitterbuffer=4000 </div><div>maxjitterinterps=10 </div><div>resyncthreshold=1000 </div><div>maxexcessbuffer=80 </div><div>minexcessbuffer=10 </div><div>jittershrinkrate=1 </div><div>tos=0x1E </div><div>autokill=yes </div><div>delayreject=yes </div><div>;iaxthreadcount=30 </div><div>;iaxmaxthreadcount=150 </div><div><br></div><div>register=<a href="mailto:NodeNumber%3APassword@register.allstarlink.org">NodeNumber:Password@register.allstarlink.org</a></div><div>register=<a href="mailto:NodeNumber%3APassword@register.allstarlink.org">NodeNumber:Password@register.allstarlink.org</a></div><div><br></div><div>[radio-proxy]</div><div>type=user</div><div>deny=<a href="http://0.0.0.0/0.0.0.0">0.0.0.0/0.0.0.0</a></div><div>permit=/<a href="http://255.255.255.255">255.255.255.255</a></div><div>context=radio-secure-proxy</div><div>disallow=all</div><div>allow=g726aal2</div><div>allow=gsm</div><div>allow=iLBC</div><div>allow=Speex 8k</div><div>allow=Speex 16k</div><div>transfer=no</div><div><br></div><div><br></div><div>[radio-proxy-out]</div><div>type=peer</div><div>host=</div><div>username=Node Number</div><div>secret=Password</div><div>auth=md5</div><div>disallow=all</div><div>allow=g726aal2</div><div>allow=gsm</div><div>allow=iLBC</div><div>allow=Speex 8k</div><div>allow=Speex 16k</div><div>transfer=no</div><div><br></div><div><div>[radio-proxy-out]</div><div>type=peer</div><div>host=</div><div>username=Nodenumber</div><div>secret=Password</div><div>auth=md5</div><div>disallow=all</div><div>allow=g726aal2</div><div>allow=gsm</div><div>allow=iLBC</div><div>allow=Speex 8k</div><div>allow=Speex 16k</div><div>transfer=no</div></div><div><br></div><div>; Incoming radio connections</div><div><br></div><div>[radio]</div><div>type=user</div><div>disallow=all</div><div>allow=g726aal2</div><div>allow=gsm</div><div>allow=iLBC</div><div>allow=Speex 8k</div><div>allow=Speex 16k</div><div>allow=ulaw</div><div>codecpriority=host</div><div>context=radio-secure</div><div>transfer=no</div><div><br></div><div>; Incoming phone connections to app_rpt</div><div><br></div><div>;[radio-control]</div><div>;type=user</div><div>;secret=nunya</div><div>;disallow=all</div><div>;allow=gsm</div><div>;codecpriority=host</div><div>;context=radio-control</div><div>;transfer=no</div><div><br></div><div>; Setup for outgoing calls</div><div><br></div><div>;[yourprovider]<span class="" style="white-space:pre"> </span>; This needs to change</div><div>;type=peer</div><div>;host=127.0.0.1</div><div>;secret=nunya</div><div>;auth=md5</div><div>;disallow=all</div><div>;allow=gsm</div><div>;transfer=no</div><div><br></div><div>[allstar-sys]</div><div>type=user</div><div>context=allstar-sys</div><div>auth=rsa</div><div>inkeys=allstar</div><div>disallow=all</div><div>allow=gsm</div><div>allow=iLBC</div><div>allow=Speex 8k</div><div>allow=Speex 16k</div><div>allow=ulaw</div><div><br></div><div>[allstar-public]</div><div>type=user</div><div>context=allstar-public</div><div>auth=md5</div><div>secret=allstar</div><div>disallow=all</div><div>allow=ulaw</div><div>allow=gsm</div><div>allow=iLBC</div><div>allow=Speex 8k</div><div>allow=Speex 16k</div></div><div><br></div><div><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div style="font-family:arial;font-size:small">Loren Tedford (KC9ZHV) <br>Email: <a href="mailto:lorentedford@gmail.com" style="color:rgb(17,85,204)" target="_blank">lorentedford@gmail.com</a></div><div style="font-family:arial;font-size:small">Phone: ***-***-****</div><div style="font-family:arial;font-size:small"><a href="http://www.lorentedford.com/" style="color:rgb(17,85,204)" target="_blank">http://www.lorentedford.com</a><br></div><div style="font-family:arial;font-size:small"><a href="http://www.kc9zhv.com" target="_blank">http://www.kc9zhv.com</a></div><div style="font-family:arial;font-size:small"><a href="http://hub.kc9zhv.com" target="_blank">http://hub.kc9zhv.com</a></div></div></div></div></div></div></div></div>
</div></div></div>