[arm-allstar] SIP phone setup --- SUCCESS
iabarry Buel
iabarryyy at gmail.com
Fri Jan 29 12:19:51 EST 2021
I was trying to make the text look good but it got mangled. All of the
? below should just be spaces. Since they are in comments, it will not
likely make a difference. Sorry about adding more potential confusion.
Also, is it possible to DIAL the SIP phone from the Node?
If the phone is [1000] then *31000 might work, but I suspect that it
will attempt to find NODE 1000, not extension 1000.
On 1/29/2021 11:00 AM, arm-allstar-request at hamvoip.org wrote:
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 28 Jan 2021 11:21:06 -0600
> From: iabarry Buel <iabarryyy at gmail.com>
> To: arm-allstar at hamvoip.org, "ka0ysq at gmail.com" <ka0ysq at gmail.com>
> Subject: Re: [arm-allstar] SIP phone setup --- SUCCESS
> Message-ID: <f814a891-9828-416d-e69a-4c6b095eb730 at gmail.com>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> 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