[asterisk-users] RS485 Audio device

2016-10-28 Thread Jerry Geis
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 --

Re: [asterisk-users] Just got defrauded - how do I block calls which contain a dash (RegEx noob question)

2016-10-28 Thread Markus
Am 28.10.2016 um 17:58 schrieb Max Grobecker: why not using FILTER() in your dialplan to eleminate all chars that are not numeric? Like Set(VAR=${FILTER(0-9+),${EXTEN}}) That would eleminate all characters you're not expecting. That's great! Didn't know FILTER. Thanks! --

Re: [asterisk-users] Just got defrauded - how do I block calls which contain a dash (RegEx noob question)

2016-10-28 Thread John Covici
Also, make sure you are using fail2ban and that you have good passwords on your extensions. On Fri, 28 Oct 2016 11:55:42 -0400, John Covici wrote: > > How about a \ before the - ? > > On Fri, 28 Oct 2016 11:38:13 -0400, > Markus wrote: > > > > Hi list, > > > > I'm using Asterisk2Billing

Re: [asterisk-users] Just got defrauded - how do I block calls which contain a dash (RegEx noob question)

2016-10-28 Thread Max Grobecker
Hi, Am 28.10.2016 um 17:38 schrieb Markus: > exten => _-.,1,NoOp(Blocking dash) > exten => _-.,n,Hangup > How do I do it right? why not using FILTER() in your dialplan to eleminate all chars that are not numeric? Like Set(VAR=${FILTER(0-9+),${EXTEN}}) That would eleminate all

Re: [asterisk-users] Just got defrauded - how do I block calls which contain a dash (RegEx noob question)

2016-10-28 Thread John Covici
How about a \ before the - ? On Fri, 28 Oct 2016 11:38:13 -0400, Markus wrote: > > Hi list, > > I'm using Asterisk2Billing (v2.0.16) and it appears to have an > annoying bug. When there are rates for e.g. 44 (UK landline) and > 44870 (UK premium) and a fraudster manages to somehow dial 44-870 >

[asterisk-users] Just got defrauded - how do I block calls which contain a dash (RegEx noob question)

2016-10-28 Thread Markus
Hi list, I'm using Asterisk2Billing (v2.0.16) and it appears to have an annoying bug. When there are rates for e.g. 44 (UK landline) and 44870 (UK premium) and a fraudster manages to somehow dial 44-870 instead of 44870 the rate for 44 will match, not the one for 44870. So, I would like to

Re: [asterisk-users] Problem setting up ssl connection

2016-10-28 Thread Stefan Tichy
On Fri, Oct 28, 2016 at 02:07:24PM +0200, Jonas Kellens wrote: > I use PHP 5.6.27. > > So I should be looking inside php.ini ? Web search: php self signed certificate fsockopen User contributed notes in [1] or the example in [2] 1) http://php.net/manual/en/function.fsockopen.php 2)

Re: [asterisk-users] Problem setting up ssl connection

2016-10-28 Thread Jonas Kellens
On 26-10-16 23:24, Stefan Tichy wrote: On Wed, Oct 26, 2016 at 04:57:15PM +0200, Jonas Kellens wrote: if it is indeed manager.conf that I need to edit then the problem is that I see no param : tlsdontverifyserver=yes A comment copied from sip.conf.sample: "If set to yes, don't verify the

Re: [asterisk-users] info about DID.

2016-10-28 Thread A J Stiles
On Thursday 27 Oct 2016, KyD wrote: > Hi! > > I need to make a dialplan by DID. > > where it gets the asterisk values did? from sip headers or ... ? > > Thanks! It will all be taken care of for you, so you don't have to do anything special for calls to a direct inbound number. When a call