[arm-allstar] SIP config?

Doug Crompton wa3dsp at gmail.com
Thu May 10 15:52:41 EST 2018


Barry,

 If you are talking about my examples below these are IAX examples
connecting two Asterisk servers together - one setup as a phone PBX and the
other Allstar. If you have Asterisk running in two places this would work.
It does not matter if it is dynamic or static public addresses. If it is
changeable dynamic you could use a dyndns and domain name in place of the
IP address. Locally if you use DHCP from your servers to your oruter I
would suggest making the DHCP assigned addresses static or reserved in the
router so it always comes up the same Ip address and port forwards work
correctly.

This would also work if you had a phone tht would do IAX.   IAX is far
simpler and less prone to problems than SIP.


*73 Doug*

*WA3DSP*

*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*


On Thu, May 10, 2018 at 3:53 PM, "Barry Buelow via arm-allstar" <
arm-allstar at hamvoip.org> wrote:

> Sorry I'm late reading the list, this is continued from a few days ago.
>
> I think I understand most of the configs below.  I'm on DSL (DHCP) and a
> friend is also
> DHCP from his ISP. We'd like to do some SIP peer-peer, but the example is
> for a LAN or static IP.
>
> How do I config for DHCP (on already existing node)?
>
> I've been reading and am currently looking at Registration but haven't
> totally digested it.
>
> thanks,
> Barry
>
>
>
>
>
> I wanted to send this again as I left out one segment. This should do it.
> Of course enter your node number, IP's, Ports, password, etc.
>
> You can setup your PBX to connect to any Allstar server though using iax
> assuming you have control of both ends. Here is an example -
>
> PBX end extensions.conf -
>
> [radio-connect]
> exten => 595,1,Wait(1)
> exten => 595,n,Dial(IAX2/telephone_dialin:password at 192.168.0.151 <
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar>/27225)
> exten => 595,n,Hangup
>
> exten => 596,1,Wait(1)
> exten => 596,n,Dial(IAX2/telephone_dialin:password at 192.168.0.154 <
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar>:4556/29014)
> exten => 596,n,Hangup
>
> Where password is the password at the other end and IP and port if not 4569
> to the Allstar server.  This could be out on the Internet somewhere as long
> as you had proper port forwarding. Mine is shown local.
>
> At remote Allstar server end in iax.conf -
>
> [telephone_dialin]
> type=user
> secret=password     ;<< change this
> disallow=all
> allow=ulaw
> allow=g726aal2
> allow=gsm
> codecpriority=host
> context=radio-control
> transfer=no
>
> and in extensions.conf
>
> [radio-control]
> ;exten=27225,1,Answer
> ;exten=27225,n,Playback(rpt/node)
>
> ;exten=27225,n,Playback(letters/w)
> ;exten=27225,n,Playback(letters/a)
> ;exten=27225,n,Playback(digits/3)
> ;exten=27225,n,Playback(letters/d)
> ;exten=27225,n,Playback(letters/s)
> ;exten=27225,n,Playback(letters/p)
> 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|S
>
> exten=29014,1,Answer
> exten=29014,n,Playback(rpt/node)
>
> exten=29014,n,Playback(letters/w)
> exten=29014,n,Playback(letters/a)
> exten=29014,n,Playback(digits/3)
> exten=29014,n,Playback(letters/d)
> exten=29014,n,Playback(letters/s)
> exten=29014,n,Playback(letters/p)
> exten=29014,n,Playback(digits/2)
> exten=29014,n,Playback(digits/9)
> exten=29014,n,Playback(digits/0)
> exten=29014,n,Playback(digits/1)
> exten=29014,n,Playback(digits/4)
> exten=29014,n,Playback(rpt/connected)
> ;exten=29014,n,Rpt,29014|S
> exten=29014,n,Rpt(29014|Pv)
>
> Note one uses manual PTT and the other VOX.  The Asterisk VOX works very
> well as long as you don't have a high background noise level.
>
>
> *73 Doug*
>
> *WA3DSP*
>
> _______________________________________________
>
> 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 web page - http://hamvoip.org
>


More information about the arm-allstar mailing list