[asterisk-users] Strange how Asterisk know the updated information of log

2012-01-26 Thread virendra bhati
Hi All, I want to make a new file of CLI log everyday. So I just make a shell script in asterisk log directory. My file is working fine and making new file with the name of *full_2012-01-27*. But strange I noticed that asterisk is updating my newly crested files even i don't reload asterisk. So h

Re: [asterisk-users] Weird IPs in Fail2ban list

2012-01-26 Thread Mikhail Lischuk
asterisk jobs писал 27.01.2012 06:49: > Hello everyone, I have noticed getting wired IPs blocked by Fail2ban. Has anyone else seen this or can explain this? > > Chain fail2ban-ASTERISK (1 references) > num target prot opt source destination > 1 DROP all -- 0.23.20.189 0.0.0.0/0 [1] > I al

Re: [asterisk-users] Executing Script after MixMonitor is called

2012-01-26 Thread Satish Barot
This is how I use a wav to mp3 script on Mixmonitor in my dialplan (Asterisk 1.8.7.0). ... same => n,MixMonitor(${FILENAME},W(4),/var/spool/asterisk/wav2mp3 ^{FILENAME}) ... and my script is... #!/bin/bash WAV="/var/spool/asterisk/monitor/$1" MP3=$(echo $1 | sed 's/\.wav$/.mp3/') MP3DEST="/var/sp

Re: [asterisk-users] Executing Script after MixMonitor is called

2012-01-26 Thread Jeremy Kister
On 1/25/2012 10:29 AM, Faraj Khasib wrote: I am trying to convert files that are .wac to mp3 after mixmonitor > command is called but it doesnt execute the command, I tried the command in terminal it worked, any help please ... below is my dial > plan what version of asterisk are you using ?

[asterisk-users] Weird IPs in Fail2ban list

2012-01-26 Thread asterisk jobs
Hello everyone, I have noticed getting wired IPs blocked by Fail2ban. Has anyone else seen this or can explain this? Chain fail2ban-ASTERISK (1 references) num target prot opt source destination 1DROP all -- 0.23.20.189 0.0.0.0/0 I also get things like, 0.

Re: [asterisk-users] upgraded 1.8.8.0 > 10.1.0-rc2: now db warnings

2012-01-26 Thread Jim DeVito
Are you by chance using templates (!) In your sip.con? Ive had access denied errors befor when running as non root. - Original message - > I've just upgraded from 1.8.8.0 to 10.1.0-rc2. Now I'm getting a flood > of: > > WARNING[5100]: db.c:295 ast_db_put: Couldn't execute statment: SQL l

Re: [asterisk-users] Executing Script after MixMonitor is called

2012-01-26 Thread David Backeberg
On Thu, Jan 26, 2012 at 7:36 PM, Steve Edwards wrote: > The OP was using MIXMONITOR_EXEC (although I wonder about the '&&' syntax) > so he doesn't need to explicitly execute (via system()) his commands. Wow. Never knew that was possible. I still don't like the syntax, but good to know. For optim

[asterisk-users] upgraded 1.8.8.0 > 10.1.0-rc2: now db warnings

2012-01-26 Thread sean darcy
I've just upgraded from 1.8.8.0 to 10.1.0-rc2. Now I'm getting a flood of: WARNING[5100]: db.c:295 ast_db_put: Couldn't execute statment: SQL logic error or missing database AFAIK, I'm not doing any database puts (or gets). There were no such warnings in 1.8.8.0. What do I need to do to sil

Re: [asterisk-users] Executing Script after MixMonitor is called

2012-01-26 Thread Steve Edwards
On Thu, 26 Jan 2012, David Backeberg wrote: On Thu, Jan 26, 2012 at 7:18 PM, David Backeberg wrote: shebang /path/to/bash PATH=$1 lame --arguments $1.wav $1.mp3 if [ -f {$1}.mp3 ] ; then  rm {$1}.wav And my silly code sample hasn't been debugged, and I can spot one glaring bug, and another

Re: [asterisk-users] Executing Script after MixMonitor is called

2012-01-26 Thread David Backeberg
On Thu, Jan 26, 2012 at 7:18 PM, David Backeberg wrote: > shebang /path/to/bash > > PATH=$1 > lame --arguments $1.wav $1.mp3 > if [ -f {$1}.mp3 ] ; then >  rm {$1}.wav And my silly code sample hasn't been debugged, and I can spot one glaring bug, and another less important bug. (gotta close the i

Re: [asterisk-users] Executing Script after MixMonitor is called

2012-01-26 Thread David Backeberg
On Wed, Jan 25, 2012 at 10:29 AM, Faraj Khasib wrote: > Hello Guys, > I am trying to convert files that are .wac to mp3 after mixmonitor command is > called but it doesnt execute the command, I tried the command in terminal it > worked, any help please ... below is my dial plan > exten=6500,n,Se

Re: [asterisk-users] Too many open files

2012-01-26 Thread Chad Wallace
On Thu, 26 Jan 2012 10:35:14 -0700 Mike Diehl wrote: > While trying to track down a T.38 issue, I came across a series of log > entries like this: > > [Jan 26 10:23:31] WARNING[32508]: udptl.c:948 > ast_udptl_new_with_bi

Re: [asterisk-users] unsubscribe

2012-01-26 Thread Doug Lytle
Dietmar Zlabinger wrote: asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Saf

[asterisk-users] unsubscribe

2012-01-26 Thread Dietmar Zlabinger
unsubscribe Am 26.01.2012 18:43 schrieb "Steve Edwards" : > On Thu, 26 Jan 2012, eherr wrote: > > It is accessible from HTTP. >> >> However, the access list only allows access from my home and the password >> is strong. >> > > Can you configure it to 'syslog' accesses where you can monitor it. >

Re: [asterisk-users] SLA for DAHDI FXO - Emulating Key System Functionality

2012-01-26 Thread bakko
Hi For this scenario you can use the group and group_count functions and create a hint dialplan like this: exten => trunkname,hint,custom:trunkname When you reach the maximum number of available channels set the hint in use: Set(DEVICE_STATE(Custom:confcorso)=INUSE) To remove: Set(DEVICE_STA

Re: [asterisk-users] SLA for DAHDI FXO - Emulating Key System Functionality

2012-01-26 Thread Jeff LaCoursiere
On Thu, 2012-01-26 at 18:21 +0100, Patrick Lists wrote: > On 26-01-12 18:08, Jeff LaCoursiere wrote: > [snip] > > > > I'm also very interested in working examples, especially if someone has > > set it up for SIP termination "trunks" rather than Dahdi. > > Maybe I am missing something here but why

Re: [asterisk-users] Sip Registration Hijacking

2012-01-26 Thread Steve Edwards
On Thu, 26 Jan 2012, eherr wrote: It is accessible from HTTP. However, the access list only allows access from my home and the password is strong. Can you configure it to 'syslog' accesses where you can monitor it. Maybe your access lists are invalid, misunderstood or not being honored. --

[asterisk-users] Too many open files

2012-01-26 Thread Mike Diehl
Hi all, While trying to track down a T.38 issue, I came across a series of log entries like this: [Jan 26 10:23:31] WARNING[32508]: udptl.c:948 ast_udptl_new_with_bindaddr: Unable to allocate socket: Too many open files [

Re: [asterisk-users] SLA for DAHDI FXO - Emulating Key System Functionality

2012-01-26 Thread Danny Nicholas
Just a WAG, but I'm guessing they may have a limited number of lines and don't want one phone hogging 2-3 at a time. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Patrick Lists Sent: Thursday, January 26, 2012

Re: [asterisk-users] SLA for DAHDI FXO - Emulating Key System Functionality

2012-01-26 Thread Patrick Lists
On 26-01-12 18:08, Jeff LaCoursiere wrote: [snip] I'm also very interested in working examples, especially if someone has set it up for SIP termination "trunks" rather than Dahdi. Maybe I am missing something here but why would you want to emulate a keysystem with analog (thus single call) li

Re: [asterisk-users] Sip Registration Hijacking

2012-01-26 Thread eherr
It is accessible from HTTP. However, the access list only allows access from my home and the password is strong. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Paul Hayes Sent: Thursday, January 26, 2012 10:

Re: [asterisk-users] SLA for DAHDI FXO - Emulating Key System Functionality

2012-01-26 Thread Jeff LaCoursiere
On Thu, 2012-01-26 at 10:48 -0600, Tim Nelson wrote: > - Original Message - > > On 01/26/2012 09:46 AM, Tim Nelson wrote: > > > Greetings- > > > > > > I currently have a customer that *requires* key-system functionality > > > in an Asterisk PBX. On a SIP phone, the BLF keys need to show the

Re: [asterisk-users] SLA for DAHDI FXO - Emulating Key System Functionality

2012-01-26 Thread Tim Nelson
- Original Message - > On 01/26/2012 09:46 AM, Tim Nelson wrote: > > Greetings- > > > > I currently have a customer that *requires* key-system functionality > > in an Asterisk PBX. On a SIP phone, the BLF keys need to show the > > current state of the analog lines attached to the system (DA

Re: [asterisk-users] Manager Originate and Callerid ?

2012-01-26 Thread Kevin P. Fleming
On 01/26/2012 09:23 AM, Russell Brown wrote: I'm using Manager API Originate to initiate calls from SIP channels (via phpagi FWIW) and it all works well except ...the CallerID for the SIP channel specified in users.conf isn't set for the call :-( If I explicitly set the Callerid in the Man

Re: [asterisk-users] User hit f to disconnect call.

2012-01-26 Thread Kevin P. Fleming
On 01/26/2012 07:22 AM, Vieri wrote: Hi, I was receiving fax calls just fine until recently. I'm now having random disconnections. Faxes are received over an ISDN BRI line and Asterisk 1.4 detects it and sends it to a iaxmodem (exten 10025 below). All's apparently as expected except for the

Re: [asterisk-users] SLA for DAHDI FXO - Emulating Key System Functionality

2012-01-26 Thread Kevin P. Fleming
On 01/26/2012 09:46 AM, Tim Nelson wrote: Greetings- I currently have a customer that *requires* key-system functionality in an Asterisk PBX. On a SIP phone, the BLF keys need to show the current state of the analog lines attached to the system (DAHDI FXO). By pressing one of these keys (for

[asterisk-users] SLA for DAHDI FXO - Emulating Key System Functionality

2012-01-26 Thread Tim Nelson
Greetings- I currently have a customer that *requires* key-system functionality in an Asterisk PBX. On a SIP phone, the BLF keys need to show the current state of the analog lines attached to the system (DAHDI FXO). By pressing one of these keys (for line 1 for example), the dialed number needs

Re: [asterisk-users] Sip Registration Hijacking

2012-01-26 Thread Paul Hayes
On 20/01/12 01:36, eherr wrote: It is also register on an AudioCodes MP-118. Thanks, -E Is the Audiocodes gateway accessible online? Have you set a strong password for it's web interface (and cli if it has one)? It is possible someone is breaking into that and getting the SIP password o

[asterisk-users] Manager Originate and Callerid ?

2012-01-26 Thread Russell Brown
I'm using Manager API Originate to initiate calls from SIP channels (via phpagi FWIW) and it all works well except ...the CallerID for the SIP channel specified in users.conf isn't set for the call :-( If I explicitly set the Callerid in the Manager Originate API call then it works but the A

[asterisk-users] Softphones with SIP transfer

2012-01-26 Thread Agustina Berretta
Hello how are you? Can you give me advice on which are the best free or not (free prefered) that use SIP Transfer. Thanks a lot!!! -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join u

[asterisk-users] User hit f to disconnect call.

2012-01-26 Thread Vieri
Hi, I was receiving fax calls just fine until recently. I'm now having random disconnections. Faxes are received over an ISDN BRI line and Asterisk 1.4 detects it and sends it to a iaxmodem (exten 10025 below). All's apparently as expected except for the fact that the following message comes u

Re: [asterisk-users] Pickup calls coming from queues

2012-01-26 Thread Niccolò Belli
Il 25/01/2012 22:52, Michael Keuter ha scritto: Outcry! :-) I'm outcrying too :) -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs:

Re: [asterisk-users] ChanSpy : how to know channel name ?

2012-01-26 Thread Jonas Kellens
On 01/25/2012 11:10 AM, Ishfaq Malik wrote: I use ChanSpy successfully all the time. You do not have to specify the full channel, just the prefix which is the peer name. As you can see it also states 'This includes the audio coming in and out of the channel being spied on.' I confirm that Chan

Re: [asterisk-users] dialplan problem : not including context

2012-01-26 Thread Jonas Kellens
On 01/13/2012 06:58 PM, Administrator TOOTAI wrote: Le 13/01/2012 14:32, Jonas Kellens a écrit : On 01/13/2012 02:23 PM, Doug Lytle wrote: Jonas Kellens wrote: I have the following in dialplan : [TrunkAccounts] dialplan show TrunkAccounts Make sure the sort order is what you're expecting

Re: [asterisk-users] play sound file

2012-01-26 Thread Johan Wilfer
2012-01-26 10:11, Eyal skrev: > > Thanks > > > > But this is not what I am looking for, in this way I can start the > sound file from some point in the file but the callers must hear the > file until the end. > > I need something that allows me to start from some place in the file > and end it in

Re: [asterisk-users] play sound file

2012-01-26 Thread Sammy Govind
You can use a combination of ChanSpy() and a local extension playing the required file to caller/callee. On Thu, Jan 26, 2012 at 2:11 PM, Eyal wrote: > Thanks > > ** ** > > But this is not what I am looking for, in this way I can start the sound > file from some point in the file but the cal

Re: [asterisk-users] play sound file

2012-01-26 Thread Eyal
Thanks But this is not what I am looking for, in this way I can start the sound file from some point in the file but the callers must hear the file until the end. I need something that allows me to start from some place in the file and end it in some other place in the file (say song from time

Re: [asterisk-users] play sound file

2012-01-26 Thread Nasir Iqbal
check this http://www.voip-info.org/wiki/view/Asterisk+cmd+ControlPlayback Nasir Iqbal ICTBroadcast SMS, Fax and Voice broadcasting solution http://www.ictbroadcast.com/ On Wed, Jan 25, 2012 at 8:29 PM, Eyal wrote: > Hi, > > How can I play a sound file from the middle and end it after a