Re: [asterisk-users] Digium G100 and CID Dropping First Digit.

2018-01-15 Thread David Klaverstyn
On Mon, Jan 15, 2018 at 10:41:27PM +, David Klaverstyn wrote: > port1 < Calling Number (len=12) [ Ext: 0 TON: National Number (2) NPI: > ISDN/Telephony Numbering Plan (E.164/E.163) (1) > port1 < Presentation: Presentation allowed of > network provided number (3)

Re: [asterisk-users] Digium G100 and CID Dropping First Digit.

2018-01-15 Thread Daniel Tryba
On Mon, Jan 15, 2018 at 10:41:27PM +, David Klaverstyn wrote: > port1 < Calling Number (len=12) [ Ext: 0 TON: National Number (2) NPI: > ISDN/Telephony Numbering Plan (E.164/E.163) (1) > port1 < Presentation: Presentation allowed of > network provided number (3)

[asterisk-users] Digium G100 and CID Dropping First Digit.

2018-01-15 Thread David Klaverstyn
Hi All, I have installed a number of Digium G100 devices in many countries like South Korea, Japan, Singapore and Australia. I have just installed two in New Zealand and both sites are having a problem with Caller ID. Incoming calls are dropping the first digit 0 from the caller ID. I was

Re: [asterisk-users] Duplicate CDR's in Mysql

2018-01-15 Thread Carlos Chavez
On 1/14/18 4:22 PM, Mike Diehl wrote: Hi all, I have a problem I've not seen before. My Asterisk server stores CDR's via mysql, and I'm getting duplicate records. For example: mysql> select uniqueid,count(*) from cdr group by uniqueid having count(*)>1;

Re: [asterisk-users] email when certain numbers are called

2018-01-15 Thread Frank Vanoni
On Mon, 2018-01-15 at 14:26 +0200, Atux Atux wrote: > [DefaultPlan] exten => _XX,1,System(echo "Dialed number ${EXTEN} on Asterisk from ${CALLERID(num)}" | mail -s "Dialed number ${EXTEN} on Asterisk from ${CALLERID(num)}" -a "From: Asterisk PBX " yo

[asterisk-users] email when certain numbers are called

2018-01-15 Thread Atux Atux
Hi. I have an installation of asterisk 11 and i have ssmtp in the system to send emails. I would like to get informed by email when someone dials a set of numbers eg international calls or premium numbers with the country. my dialplan is simple enough and it is the following: [DefaultPlan]exten