[arm-allstar] SIP phone setup --- SUCCESS

iabarry Buel iabarryyy at gmail.com
Thu Jan 28 12:21:06 EST 2021


Thanks to all who replied.

K5CG sent me some file excerpts and that got things going. I will 
expound for posterity

On the pi there are 3 parts:

1. Modules.conf
place a comment ; in front of what may be the last line so it looks 
like:              ;noload=chan_sip.so
save

NOTE --> the following are excerpts to be __ADDED__ to the existing files.

2. sip.conf
[1000]                <-- stanza name which should be an extension number
type=friend
username=1000    <--- same name as stanza to avoid confusion
secret=1234        <--- pick a 4 digit value
context=internal    <---  "internal" is a key word that MUST match in 
extensions.conf
host=dynamic
disallow=all
allow=ulaw
callerid=ABC-1     <--- pick an ID for phone

3. extensions.conf
[internal]
exten => 12345,1,answer()     <---- replace 12345 with YOUR NODE NUMBER
exten => 12345,n,Wait,1
exten => 12345,n,Playback(rpt/connected)
exten => 12345,n,Set(CALLERID(num)=0)
exten => 12345,n,Rpt,12345|P|${CALLERID(name)}   <--- there are 2 
entries to change on this line

YOU MUST restart asterisk after changing these files.

I'm sure there are MANY other combinations that will work. This appears 
to be the minimum that will work.

Again, thanks to all who responded.

Barry w0iy




More information about the ARM-allstar mailing list