page1
extensions.conf
[from-sipphone] ;;; added stanza for local SIP phone lines
exten => 8,1,Wait(1)
exten => 8,n,Dial(IAX2/telephone_dialin:<password2>@127.0.0.1/<node#>)
;exten => 8,n,Dial(IAX2/telephone_dialin:<password2>@127.0.0.1:{port}/<node#>) ; If non-standard port
exten => 8,n,Hangup
[radio-control] ;;; added stanza for local SIP phone lines
exten => <node#>,1,Answer
exten => <node#>,n,Playback(rpt/node)
exten => <node#>,n,Playback(digits/5)
exten => <node#>,n,Playback(digits/1)
exten => <node#>,n,Playback(digits/8)
exten => <node#>,n,Playback(digits/4)
exten => <node#>,n,Playback(digits/6)
exten => <node#>,n,Playback(rpt/connected)
exten => <node#>,n,Rpt,<node#>|P|${CALLERID(name)} ; Uses CLID from phone
;; |P| = Phone *99 to key and # to unkey (with full DTMF controls available)
;; Alternate examples:
;exten=<node#>,n,rpt(<node#>|P|ad6g-P) ; Setting CLID here overrides phone
;exten => <node#>,n,rpt(<node#>|S|ad6g-P) ; S = Simple exten... single * to key and # (or * again) to unkey (no other controls)
;exten => <node#>,n,rpt(<node#>|Pv|ad6g-P) ; Pv = Phone VOX instead of DTMF PTT
iax.conf
[telephone_dialin]
type=user
secret=<password2>
disallow=all
allow=ulaw
allow=g726aal2
allow=gsm
codecpriority=host
context=radio-control
transfer=no
sip.conf
[7911] ; SPA508G
type=friend
secret=<password0>
host=dynamic
context=from-sipphone
;additional stuff
dtmfmode=rfc2833
callerid=<node#>
Phone userid, i.e.
extension number
This stuff doesn't seem to do anything
Add a sip.conf stanza for each
extension, as many as desired:
[7912] ; Aastra 421
type=friend
secret=<password1>
host=dynamic
context=from-sipphone
;additional stuff
dtmfmode=rfc2833
callerid=<node#>
“ad6g-P” will show up as the
Node ID in connection tables.
“8” is access code on node
after receiving dial tone.
Phone programed to auto-dial 8
“<node#>” is the
local node number.
Password2 set in
extensions.conf
is the same as in
iax.conf
Don't forget to
enable SIP in
modules.conf
SIP telephones hosted by allstar node
rpt.conf
;To send status messages to phone display:
[<node#>]
phonesendlinks=1
Phone password
Larry Mollica AD6G
NOTE; I may be doing this the hard way. If you know a simpler way, please let me know.