Page 1 of 1

DV Switch Mobile

Posted: Mon May 27, 2019 1:49 pm
by kb9mwr
Matt or anyone else do you have an experience getting this to work with allstar?

I have no problem with the windows iaxrpt program.

Seems everything I try results in bashing my head into a wall.

Re: DV Switch Mobile

Posted: Mon May 27, 2019 4:10 pm
by kb9mwr
I figured it out. I changed the last line of the example I found for extensions.conf
For the next guy:

43337 is my node, change to yours

This is the Accounts tab of the DV Switch Mobile Android App. Once you setup one of the accounts with the credentials that match that in your Asterisk server's iax.conf file then you can go back to the dialer screen and connect to a radio, etc.
Image


In /etc/iax.conf:

Code: Select all

[phone-iaxrpt] ; The stanza is the Username from the phone app
type=friend
context=phone-iaxrpt
host=dynamic
auth=md5
secret=YourPassword ; PASSWORD
disallow=all
allow=ulaw
transfer=no
calltokenoptional=0.0.0.0/0.0.0.0
requirecalltoken=no

In /etc/extensions.conf:

Code: Select all

[phone-iaxrpt] ;;; Stanza is the context from iax.conf
exten => 1998,1,Answer
exten => 1998,n,Playback,rpt/node
exten => 1998,n,Playback,digits/1
exten => 1998,n,Playback,digits/9
exten => 1998,n,Playback,digits/9
exten => 1998,n,Playback,digits/8
exten => 1998,n,Set(CALLERID(num)=0)
;exten => 1998,n,Rpt,1998|P|${CALLERID(name)} ;;; The "CallerID" from IAXRpt
; Change 43337 below to your allstar node number
exten => 1998,n,Rpt,43337|P