[asterisk-users] RS485 Audio device
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 -- _ -- 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
Re: [asterisk-users] Just got defrauded - how do I block calls which contain a dash (RegEx noob question)
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! -- _ -- 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
Re: [asterisk-users] Just got defrauded - how do I block calls which contain a dash (RegEx noob question)
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 (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 block all calls on a dialplan level that > > contain a dash. -44, 4-4, 44-, 44---, -, ---, just everything > > with a friggin' dash. > > > > My noob-ish try: > > > > exten => _-.,1,NoOp(Blocking dash) > > exten => _-.,n,Hangup > > > > Doesn't work. > > > > On https://wiki.asterisk.org/wiki/display/AST/Pattern+Matching I found: > > > > "The dash (-) character is ignored in extensions and patterns > > except when it is used in a pattern to specify a range in a > > character set. It has no effect in matching or sorting > > extensions." > > > > How do I do it right? > > > > Thank you! > > Markus > > > > -- > > _ > > -- 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 > > -- > Your life is like a penny. You're going to lose it. The question is: > How do > you spend it? > > John Covici > cov...@ccs.covici.com > > -- > _ > -- 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 -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com -- _ -- 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
Re: [asterisk-users] Just got defrauded - how do I block calls which contain a dash (RegEx noob question)
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 characters you're not expecting. Greetings Max signature.asc Description: OpenPGP digital signature -- _ -- 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
Re: [asterisk-users] Just got defrauded - how do I block calls which contain a dash (RegEx noob question)
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 > instead of 44870 the rate for 44 will match, not the one for > 44870. > > So, I would like to block all calls on a dialplan level that > contain a dash. -44, 4-4, 44-, 44---, -, ---, just everything > with a friggin' dash. > > My noob-ish try: > > exten => _-.,1,NoOp(Blocking dash) > exten => _-.,n,Hangup > > Doesn't work. > > On https://wiki.asterisk.org/wiki/display/AST/Pattern+Matching I found: > > "The dash (-) character is ignored in extensions and patterns > except when it is used in a pattern to specify a range in a > character set. It has no effect in matching or sorting > extensions." > > How do I do it right? > > Thank you! > Markus > > -- > _ > -- 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 -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com -- _ -- 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
[asterisk-users] Just got defrauded - how do I block calls which contain a dash (RegEx noob question)
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 block all calls on a dialplan level that contain a dash. -44, 4-4, 44-, 44---, -, ---, just everything with a friggin' dash. My noob-ish try: exten => _-.,1,NoOp(Blocking dash) exten => _-.,n,Hangup Doesn't work. On https://wiki.asterisk.org/wiki/display/AST/Pattern+Matching I found: "The dash (-) character is ignored in extensions and patterns except when it is used in a pattern to specify a range in a character set. It has no effect in matching or sorting extensions." How do I do it right? Thank you! Markus -- _ -- 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
Re: [asterisk-users] Problem setting up ssl connection
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) http://i.justrealized.com/2009/allowing-self-signed-certificates-for-pfsockopen-and-fsockopen/ I did not test this, but I think it might be usefull. -- Stefan Tichy ( asterisk3 at pi4tel dot de ) -- _ -- 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
Re: [asterisk-users] Problem setting up ssl connection
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 servers certificate when acting as a client." With AMI connections asterisk is allways the server. I don't know how to make the AMI ignore the self-signed certificate. The client fails to verfify the certificate. Do you use PHP 5.6? The default behavior has changed. Hello I use PHP 5.6.27. So I should be looking inside php.ini ? Kind regards J. -- _ -- 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
Re: [asterisk-users] info about DID.
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 comes into your Asterisk via a SIP trunk or ISDN line and hits the appropriate context in your dialplan, the destination number (i.e., what the person on the other end dialled) will be in the variable ${EXTEN}. (But *note*, it may be in any one of several formats: local number only; national number with STD [town] code, with or without initial 0; international number with IDD [country] and STD [town] codes). The same provider will always present the number in the same format, though; so if they include the STD code, they will -always- insert it, even for calls within the same town where the caller dialled only the local number. If you define an "s" extension which displays the value of ${EXTEN} in the console, then dial one of your direct lines, you can work out how the number is being presented: exten => s,1,NoOp(Incoming call for ${EXTEN}) Then you can write appropriate extension logic in your dialplan. For instance, if one of the dialled numbers comes in as "206318", you just need to have an extension like this in your dialplan; exten => 206318,1,DoSomething() And when somebody dials that number, it will fire the appropriate extension in your dialplan. -- AJS Note: Originating address only accepts e-mail from list! If replying off- list, change address to asterisk1list at earthshod dot co dot uk . -- _ -- 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