[arm-allstar] Dummies Guide for SIP phone connection to AllStar Node
Doug Crompton
wa3dsp at gmail.com
Thu Apr 9 02:09:12 EDT 2020
Michael,
This is actually quite easy to do. Here is an example I use for two of my
nodes. In my case I use a Grandstream iax phone -
This stanza is in extensions.conf on my PBX asterisk which happens to be a
separate server from Allstar but it could be the same one. You would change
the extension, node, password, IAX or SIP, connection port, IP and node to
whatever you are using.
[radio-connect]
exten => 595,1,Wait(1)
exten => 595,n,Dial(IAX2/telephone_dialin:password at 192.168.1.151/27225)
exten => 595,n,Hangup
exten => 596,1,Wait(1)
exten => 596,n,Dial(IAX2/telephone_dialin:password at 192.168.1.154:4556/29014)
exten => 596,n,Hangup
And this stanza is in my Allstar iax.conf on BOTH of the servers at the
local IP addresses above.
[telephone_dialin]
type=user
secret=password
disallow=all
allow=ulaw
allow=g726aal2
allow=gsm
codecpriority=host
context=radio-control
transfer=no
And in extensions.conf - this is just showing one. Another would be on the
other node assuming you wanted to call two as shown above.
[radio-control]
exten=27225,1,Answer
exten=27225,n,Playback(rpt/node)
exten=27225,n,Playback(digits/2)
exten=27225,n,Playback(digits/7)
exten=27225,n,Playback(digits/2)
exten=27225,n,Playback(digits/2)
exten=27225,n,Playback(digits/5)
exten=27225,n,Playback(rpt/connected)
exten=27225,n,Rpt,27225|Pv
Change password to yours and while this shows an iax connection from the
phone you can certainly use SIP also. In that
case you would put a [telephone-dailin] stanza in sip.conf. Also make sure
sip is running in modules.conf.
This uses vox which works very well as long as you don't have exccessive
background noise.
*73 Doug, WA3DSP*
*http://wa3dsp.org <http://wa3dsp.org>*
On Thu, Apr 9, 2020 at 1:45 AM "Michael Carey via ARM-allstar" <
arm-allstar at hamvoip.org> wrote:
> Hi Everybody,
>
> Over the last few days I have resurrected my AllStar node, it's been a
> few years since it has been operational. I retired my old BBB and have
> a shiny new Raspberry Pi 3B+, It's good to be back on the air again.
>
> One thing that I thought would be cool, would be able to pick up my
> Cisco SIP phone on my shack desk and be able to talk through my AllStar
> node. I've seen YouTube videos of this being done... but I can't seem
> to find a definitive guide on how to get it working.
>
> Can someone in here point me in the right direction?
>
> 73
>
> Michael
> VK5ZEA
> Node 27871
>
> _______________________________________________
>
> ARM-allstar mailing list
> ARM-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3/4 web page - http://hamvoip.org
More information about the ARM-allstar
mailing list