[arm-allstar] Autopatch Inbound question

Doug Crompton doug at crompton.com
Tue Jan 19 23:57:46 EST 2016


Bob,

 The other thing I thought of which is something I do here is allow a local extension to call into a node. So a SIP phone or any phone on your local Asterisk could call an extension and be connected to allstar. In that case you would use the local extension number to dial into Allstar instead of the incoming DID. 

So if you had Asterisk running your local phone system you could just pick up any phone, dial the designated extension and be connected to Allstar.  I do it on two different boards and the Asterisks talk to each other via iax.   
73 Doug
WA3DSP
http://www.crompton.com/hamradio


From: w2ymm1 at gmail.com
Date: Tue, 19 Jan 2016 23:29:31 -0500
To: arm-allstar at hamvoip.org
Subject: Re: [arm-allstar] Autopatch Inbound question

Thanks Doug. Once again I was just experimenting with the Asterisk functions and got ahead of myself.  :-)I do know about the built in allstar way, and it works great. I was just curious. 
Thanks for taking the time to reply. 
73. Bob W2YMM

Sent from my iPhoneBob Prybyzerski631-960-1051
On Jan 19, 2016, at 10:34 PM, Doug Crompton <doug at crompton.com> wrote:




Bob,

 First of I would be careful about the legality of this. Anyone dialing that number, ham or not, would be connected to your node.

You do know there is already a public phone dial in for Allstar right?  One where you put a pin number in and select a node? Your pin number is at the Allstarlink site. Technically to be legal you would have to do something similar. At least to verify it is you or someone you gave authority to who is a ham.

Patches in general have fallen out of vogue with cellphones.

This could be done in a dial plan.

voip.ms has examples at their site for caturing the incoming call. You would basically take that and add in what you want to do with the call. For the DID incoming context in sip.conf you would put a 'context=xxxx'  as one of the statements and then in extensions.conf you would define that context. It would look roughly like this....

In sip.conf

[voipms]
canreinvite=no
context=dialin-radio
host=washington.voip.ms  ; or your selected host
secret=          ;your password
type=peer
username=     ;your account
disallow=all
allow=ulaw
fromuser=      ;your account
trustrpid=yes
sendrpid=yes
insecure=invite
nat=yes
qualify=2000

Add account and PW. Some of these commands may be different based on your system.

In extensions.conf -

[dialin-radio]
exten => xxxxxxxxxx,1,Rpt,node|S
exten => xxxxxxxxxx,n,Hangup      

; where xxxxxxxxxx is your did number and node is the node on this server you want to connect to.

This is a guess for me as I have not done this and it always requires testing. Note this does not include any qualification of the caller which could be done in a more extensive dial plan.

73 Doug
WA3DSP
http://www.crompton.com/hamradio


Date: Tue, 19 Jan 2016 21:19:17 -0500
From: w2ymm1 at gmail.com
To: arm-allstar at hamvoip.org
Subject: [arm-allstar] Autopatch Inbound question

Hi All, I saw some discussion a few weeks ago about Autopatch and some were using voip.ms  
I Currently have and Autopatch on one of my servers for Outbound calls only using a different service, but I am curious about setting up and receiving an Inbound Call on my 2nd node using voip.ms.
I had no problem setting it up to make an outbound call, So I ordered a DID Number and have configured my sip.conf, extensions.conf. and rpt.conf.
I seem to be stuck on the proper way to setup the dialplan for [voipms-inbound]

Any chance anyone else has and Inbound autopatch example I could look at ?

Bob W2YMM


Robert Prybyzerski Jr
W2YMM
631-960-1051
http://www.w2ymm.com


_______________________________________________

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 		 	   		  
_______________________________________________

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
_______________________________________________

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/20160119/3d5dbfe7/attachment.html>


More information about the arm-allstar mailing list