[asterisk-users] CDR Questions

2011-01-01 Thread Mike Diehl
Hi all, I've got two questions about CDR's. 1.  I'd like to start logging the IP address that a call orginates from.  I'm sure I can get this into the userfield of my CDR table, but what variable should I use to get this value?  I looked at the variables page at voip-info and didn't find anything

Re: [asterisk-users] load balance with 2 wan connections

2011-01-01 Thread Sebastian
Hi, One possibility that you might want to explore is OpenVPN. If your VoIP clients support OpenVPN (either through a local Openvpn client on the clients network being used as an OpenVPN gateway, or through individual clients supporting OpenVPN (laptops with softphones, or I've heard of one p

[asterisk-users] Callback form to place on site for customers. Recomendation to achieve this.

2011-01-01 Thread JP CR
Greetings, I want to place a form on my site so customers can recieve an mmediate callback and the PBX should connect them to a cell sales agent. Are there anfree modules available for this, or one should code this from scratch? What I want is when a potential client submits his number... th

Re: [asterisk-users] Sangoma U100 failing every Monday - USB port problem or Wanrouter issue?

2011-01-01 Thread Sebastian
Hi Bruce, On 12/28/2010 10:51 PM, Bruce B wrote: Thanks for the input. I can not replicate the situation as it happens randomely or maybe over the weekend. However I have sent you all the requested command and logs in a separate e-mail for your analyzes. The only thing that stood out at me was t

Re: [asterisk-users] Log and forward calls to cellphone?

2011-01-01 Thread Sebastian
Hi, On 01/01/2011 05:32 PM, Gilles wrote: On Wed, 29 Dec 2010 16:55:46 +0100, Administrator TOOTAI wrote: I wouldn't be one of your friend: when I'm calling you I call a landline but finally will be charged for a mobile call (imagine I have free calls to landlines from my ISP). I give you an

Re: [asterisk-users] Base memory usage

2011-01-01 Thread Gilles
On Sat, 1 Jan 2011 13:04:29 -0500, Robert Fantini wrote: >did you check : > /var/log/asterisk/full Yup, but this file doesn't exist. It's an appliance with not much RAM/NAND memory, so it makes sense to disable logging to save space. -- __

Re: [asterisk-users] Saving the monitor file on new file always using Monitor(wav, Record1, m)

2011-01-01 Thread Steve Edwards
On Sat, 1 Jan 2011, bilal ghayyad wrote: For each call (in specific case), I need to do a record and save in a spearated file, so I am thinking the best thing is to save based on the time. Read up on the STRFTIME function. -- Thanks in advance, ---

Re: [asterisk-users] Saving the monitor file on new file always using Monitor(wav, Record1, m)

2011-01-01 Thread Bryant Zimmerman
Use a combination of ${EPOCH} with a format string and the unique call / channel id. Example: exten => s,1,Set(MY_TIMEVAR=:${STRFTIME(${EPOCH},,%d%mNaVH:NaVS)}) exten => s,n,Monitor(wav,${MY_TIMEVAR}~${CHANNEL},m) From: "bilal ghayyad" Sent: Saturda

Re: [asterisk-users] Saving the monitor file on new file always using Monitor(wav, Record1, m)

2011-01-01 Thread Nic Colledge
Try using ${UNIQUEID} to get the unique id of the current call. That or something like CDR(uniqueid). Forget which off the top of my head. Nic. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of bilal ghayyad Sent

Re: [asterisk-users] DIALSTATUS on CANCEL

2011-01-01 Thread Bryant Zimmerman
Vandar I know understand what you are saying here. Once I turned on CEL I was able to see when and where each hangup was firing for each channel and the order of operations here. I am now moving very aggressively to get to CEL as I now see why CDR's are so broken. I have my CEL to CDR translat

Re: [asterisk-users] Base memory usage

2011-01-01 Thread Robert Fantini
did you check : /var/log/asterisk/full On Sat, Jan 1, 2011 at 12:30 PM, Gilles wrote: > On Fri, 31 Dec 2010 08:11:18 -0600, "Danny Nicholas" > wrote: > >Incidently, is there a sure-fire way (eg. checking error messages in > >Asterisk's log file) to know which modules a given Asterisk setup > >

[asterisk-users] Cisco IP Phones and AVAYA IP Phones: How to configure in Asterisk

2011-01-01 Thread bilal ghayyad
Hi All; How to configure the buttons in the Cisco IP Phones to be used for different functionalities like "Call Forward, Call Pickup, ... etc"? For example, if I need to assign one of the buttons existed at Cisco IP Phone to be used for CallFrw, how to do this in Asterisk? Regards Bilal

[asterisk-users] Saving the monitor file on new file always using Monitor(wav, Record1, m)

2011-01-01 Thread bilal ghayyad
Dear List; For each call (in specific case), I need to do a record and save in a spearated file, so I am thinking the best thing is to save based on the time. Monitor(wav,Record1,m) So, how can I make the file name to be based on the current time (which is changed always, or based on the some

Re: [asterisk-users] Log and forward calls to cellphone?

2011-01-01 Thread Gilles
On Wed, 29 Dec 2010 16:55:46 +0100, Administrator TOOTAI wrote: >I wouldn't be one of your friend: when I'm calling you I call a landline >but finally will be charged for a mobile call (imagine I have free calls >to landlines from my ISP). I give you an information: in France you >don't have th

Re: [asterisk-users] Base memory usage

2011-01-01 Thread Gilles
On Fri, 31 Dec 2010 08:11:18 -0600, "Danny Nicholas" wrote: >Incidently, is there a sure-fire way (eg. checking error messages in >Asterisk's log file) to know which modules a given Asterisk setup >needs, so we can safely not load unneeded modules? > >Check /var/log/asterisk/full from your last 1.