Last edited · 23 revisions  


Setting Up DVSwitch Mobile Access in AllStar

DVSwitch Mobile is a specialized app which allows users to connect from their mobile device to an Allstar node. Setting up DVSwitch Mobile access is similar to setting up dial-in access, but a different command line switch is used in extensions.conf, and user authorization is done in iax.conf.

Security Issues

Incoming Mobile connections need to be authorized by making sure the incoming IAX user stanza is protected with a secret. This is the case because incoming IAX calls are not checked against a nodes stanza.


First, a user stanza needs to added to iax.conf to allow incoming DVSwitch Mobile calls to be routed to a context in extensions.conf. ASL 1.01 contains a template you can copy and modify in iax.conf:

Copy the stanza [iaxclient] below and change the name from iaxclient to your callsign. Example [W1ABC]

Change the secret =  Your_Secret_Password_Here to your password. secret = blabla

type = friend
context = iax-client
auth = md5 secret = Your_Secret_Password_Here host = dynamic disallow = all allow = slin allow = ulaw allow = adpcm transfer = no codecpriority = Caller

The context below already exists in ASL 1.01 extensions.conf. This is used to answer the call from DVSwitch Mobile:
NODE = 1999

exten => ${NODE},1,Ringing
exten => ${NODE},n,Wait(3) exten => ${NODE},n,Answer exten => ${NODE},n,Set(RPT_NODENUM=${CALLERID(number)}) exten => ${NODE},n,Playback(connected) exten => ${NODE},n,Set(CALLERID(num)=0) exten => ${NODE},n,Rpt,${NODE}|P|${CALLERID(name)} exten => ${NODE},n,Hangup