[arm-allstar] Integration with existing Asterisk PBX

Doug Crompton doug at crompton.com
Fri Jul 15 12:08:44 EST 2016


Robert,

I do that here between my separate PBX and Asterisk Allstar on my LAN but for access from the PBX to Allstar by dialing an extension. You could go in reverse but I never had any reason to. In the day of everyone has a cellphone autopatching is kind of defunct. Here is the link for what I do -

In the PBX extensions.conf -

[radio-connect]
exten => 595,1,Wait(1)
exten => 595,n,Dial(IAX2/telephone_dialin:xxxxxx at 192.168.0.151/27225)
exten => 595,n,Hangup

exten => 596,1,Wait(1)
exten => 596,n,Dial(IAX2/telephone_dialin:xxxxxx at 192.168.0.151/29014)
exten => 596,n,Hangup

The x's are the password. The IP address is the Allstar server you are connecting to and the node. The extensions 595, 596 can be whatever works and is unique in the PBX.

In iax.conf of Allstar -

[telephone_dialin]
type=user
secret=xxxxxx
disallow=all
allow=ulaw
allow=g726aa12
allow=gsm
codecpriority=host
context=radio-control
transfer=no

and in extensions.conf in Allstar -

[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|S

exten=29014,1,Answer
exten=29014,n,Playback(rpt/node)
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    ; manual DTMF key unkey
exten=29014,n,Rpt(29014|Pv)  ; VOX key

So what this does is allow me to pick up any phone on my PBX which includes a sip connection to my vacation home and dial a 3 digit extension to connect to two nodes on my server.

You would basically do this in reverse for connection out but you would have to have the Asterisk PBX people set it up if you are not the responsible party.
73 Doug
WA3DSP
http://www.crompton.com/hamradio


Date: Fri, 15 Jul 2016 10:47:41 -0500
To: arm-allstar at hamvoip.org
Subject: [arm-allstar] Integration with existing Asterisk PBX
From: arm-allstar at hamvoip.org
CC: n4wgy.ham at gmail.com

Good morning to everyone on the forum.I've built a repeater system that is operating in a medical center that uses an Asterisk PBX system.  I would like some advise/how to's, study materials, etc on setting up for using the existing PBX at that location for autopatch/reverse autopatch for the repeater. 
--Robert ConklinN4WGY


_______________________________________________

arm-allstar mailing list
arm-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar

Visit the BBB and RPi2 web page - http://hamvoip.org 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hamvoip.org/pipermail/arm-allstar/attachments/20160715/1ef6acef/attachment.html>


More information about the arm-allstar mailing list