Hi All, Is there any devices or pair of devices that do audio over RS485 and then convert to SIP for us in asterisk? Of course a speaker and push button at the other end. Is there anything like that out there? Thanks, Jerry -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20161028/bd0832d0/attachment.html>
On Fri, Oct 28, 2016 at 7:09 PM, Jerry Geis <jerry.geis at gmail.com> wrote:> Hi All, > > Is there any devices or pair of devices that do audio over RS485 > and then convert to SIP for us in asterisk? > Of course a speaker and push button at the other end. > > Is there anything like that out there?Ok, I'll bite. How does one do audio over RS485? I've never worked with RS485, but from some brief googling it looks like it's a fancy version of RS232. I'm not sure where you'd get (analog) audio from on RS232. -- Matthew Fredrickson Digium, Inc. | Engineering Manager 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Why RS485? Whats wrong with a simple 3-wire connection (monospeaker, monomic, ground) where you short monomic to ground on button press? Then you could use a simple usb device + device server to convert fron "smartphone headset" to usb then to network. On the server, you use a SIP phone client, who use this device as mic/speaker, which is configured to lift the hook on headset button press. In asterisk dialplan, you have logic which automatically dials where the doorphone should call upon hooklift. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20161102/4a4145e7/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 6298 bytes Desc: S/MIME Cryptographic Signature URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20161102/4a4145e7/attachment.bin>
This one caught my interest too...more out of curiosity! Keep in mind that RS485 max speed drops to 100kbps after a relatively short distance. And, 100kbps is RAW speed. If you encapsulated your audio stream in that you'd lose another 10%. So why are you doing this? If you are running a 100m cable (4 wire + shield) why not just pull at cat5/6 cable instead? Or just send analog audio over 2 of the wires with the shield to keep out hum. If there is a need to use rs485 you could stream your audio over that connection - but I'm curious why first. We did some work for broadcast (radio station) doing AoIP and converting some analog feeds but this seems unusual. Jason -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Matt Fredrickson Sent: Wednesday, November 02, 2016 10:33 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] RS485 Audio device On Fri, Oct 28, 2016 at 7:09 PM, Jerry Geis <jerry.geis at gmail.com> wrote:> Hi All, > > Is there any devices or pair of devices that do audio over RS485 > and then convert to SIP for us in asterisk? > Of course a speaker and push button at the other end. > > Is there anything like that out there?Ok, I'll bite. How does one do audio over RS485? I've never worked with RS485, but from some brief googling it looks like it's a fancy version of RS232. I'm not sure where you'd get (analog) audio from on RS232. -- Matthew Fredrickson Digium, Inc. | Engineering Manager 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Hi All, The reason for the question was simply that the customer desired some solution called an "AOR" or Area of refuge - I think it was. Basically a call button, microphone and speaker to hear back with the kicker being "a long distance" the solution has to run. RS485 is like 4000 feet. There are solutions our there apparently that are not built on asterisk - so I was just trying to find a solution that potentially worked with asterisk. Thanks! Jerry -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20161102/5d157762/attachment.html>
Unless there is already RS485 in place, forcing the use of that type of bus, this sounds to me like something that would be more easily achieved using one of those 2-wire SIP doorphones that puts standard analog audio over a copper pair between the handset and the base. I don't have any specific model to reference to, but they've definitely been discussed on-list before. Pete> On 3/11/2016, at 8:46 am, Jerry Geis <jerry.geis at gmail.com> wrote: > > Hi All, > > The reason for the question was simply that the customer desired some solution > called an "AOR" or Area of refuge - I think it was. Basically a call button, microphone and speaker to hear back > with the kicker being "a long distance" the solution has to run. RS485 is like 4000 feet. > > There are solutions our there apparently that are not built on asterisk - so I was just trying to find > a solution that potentially worked with asterisk. > > Thanks! > > Jerry-------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3577 bytes Desc: not available URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20161103/46fad43e/attachment.bin>
On Wed, 2 Nov 2016, Jerry Geis wrote:> "AOR" or Area of refugeI have one of those. I call it my 'man cave.' -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST https://www.linkedin.com/in/steve-edwards-4244281
Forget RS485 at that distance (your throughput will be too low). I would suggest you pull a fiber and just create an LAN connection on the end. I?m sure you would have had fun getting some of the old IP over Serial drivers working J From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Jerry Geis Sent: Wednesday, November 02, 2016 3:46 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] RS485 Audio device Hi All, The reason for the question was simply that the customer desired some solution called an "AOR" or Area of refuge - I think it was. Basically a call button, microphone and speaker to hear back with the kicker being "a long distance" the solution has to run. RS485 is like 4000 feet. There are solutions our there apparently that are not built on asterisk - so I was just trying to find a solution that potentially worked with asterisk. Thanks! Jerry -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20161102/df7c53cd/attachment.html>
If cable can be pulled , you have a couple of options. Long Reach Ethernet from Cisco is rated for 5,000 feet. Multi-mode fiber with fiber/ethernet media converters on each end would work and electrically isolate the two ends of the cable. Both are way overkill from a capacity standpoint, but sometimes there's nothing wrong with overkill. Put an ATA on the far side. On 11/02/2016 03:46 PM, Jerry Geis wrote:> Hi All, > > The reason for the question was simply that the customer desired some > solution > called an "AOR" or Area of refuge - I think it was. Basically a call > button, microphone and speaker to hear back > with the kicker being "a long distance" the solution has to run. > RS485 is like 4000 feet. > > There are solutions our there apparently that are not built on > asterisk - so I was just trying to find > a solution that potentially worked with asterisk. > > Thanks! > > Jerry > > >-- if at first you don't succeed, skydiving isn't for you
We do something like this, however we have two pairs of wires. One pair is RS-485 for control running at 9600 baud. The other pair is baseband audio which we control through relays on our intercoms. I can't imaging trying to transmit digitally encoded audio over an RS485 network. There are just too many issues with such a setup. cheers, darryl On 2016-11-02 03:46 PM, Jerry Geis wrote:> Hi All, > > The reason for the question was simply that the customer desired some > solution > called an "AOR" or Area of refuge - I think it was. Basically a call > button, microphone and speaker to hear back > with the kicker being "a long distance" the solution has to run. > RS485 is like 4000 feet. > > There are solutions our there apparently that are not built on > asterisk - so I was just trying to find > a solution that potentially worked with asterisk. > > Thanks! > > Jerry > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20161103/bd1bc8ae/attachment.html>