[asterisk-users] Create dialplan restrictions based on the IP Address of the SIP Client?

2010-06-04 Thread Raimund Sacherer
Hello, We have a scenario in which there are 2 sites, one in europe and one in mexico, they are connected via an IAX channel, problem is that the location in mexico has only a dynamic IP connection to the Internet. Because of the dynamic IP I can not create IP-Tables rules to only allow this

Re: [asterisk-users] DAHDI volume

2010-06-04 Thread Gilles
On Thu, 3 Jun 2010 08:24:11 -0500, Danny Nicholas da...@debsinc.com wrote: Txgain/rxgain in dahdi.conf control this - you will have to restart asterisk on each change to test the values to set to your liking - my settings are rxgain=8.0 txgain=4.0 Out of curiosity... I noticed that when playing

Re: [asterisk-users] Create dialplan restrictions based on the IP Address of the SIP Client?

2010-06-04 Thread Motiejus Jakštys
On Fri, Jun 4, 2010 at 11:52 AM, Raimund Sacherer r...@runsolutions.com wrote: Hello, We have a scenario in which there are 2 sites, one in europe and one in mexico, they are connected via an IAX channel, problem is that the location in mexico has only a dynamic IP connection to the

Re: [asterisk-users] Create dialplan restrictions based on the IP Address of the SIP Client?

2010-06-04 Thread Zeeshan Zakaria
A dynamic DNS could be a solution. I once had a similar situation and I signed up with dyndns.com, got a domain name and used it for SIP registrations instead of IP addresses. My dlink router had the option to setup dynamic dns entry, i.e. set it up with the login info of dyndns.com or similar

Re: [asterisk-users] how to get call duration

2010-06-04 Thread Zeeshan Zakaria
Sorry, say whatever you like, I'll do it and recommend the way I like it, not how you like it. You can compile a separate answer to the questioner and recommend your verbose, instead of recommending me your best practices. Zeeshan A Zakaria -- Sent from my Android phone with K-9 Mail. On

Re: [asterisk-users] DAHDI volume

2010-06-04 Thread Gilles
On Fri, 04 Jun 2010 11:20:49 +0200, Gilles codecompl...@free.fr wrote: I noticed that when playing back a message I recorded, volume* is lower on an Atcom IP01 appliance running Asterisk/Zaptel, than it its when using an Asterisk/Dahdi on a PC, where the client is the same (XLite on a PC with

Re: [asterisk-users] how to get call duration

2010-06-04 Thread Necati Demir
First thing which comes to mind is: exten = h,1,Noop( Call duration was ${CDR(duration)} seconds) exten = h,n,Hangup() There is also a variable ${CDR(billsec)} which shows only the duration the call was actually connected between two channels, however this may not match with the duration

[asterisk-users] BerkeleyTIP Join June Global Free SW HW Culture Mtgs via VOIP or in Berkeley

2010-06-04 Thread giovanni_re
You're invited to join in with the friendly people at the BerkeleyTIP global meeting - newbie to Ph.D. - everyone is invited. Get a headset join using VOIP online, or come to Berkeley. 1st step: Join the mailing list: http://groups.google.com/group/BerkTIPGlobal Watch the videos. Discuss

Re: [asterisk-users] usingwaitorplaybackinhextens...@gmail.com,

2010-06-04 Thread Kevin P. Fleming
On 06/03/2010 08:22 PM, Steve Edwards wrote: On Thu, 3 Jun 2010, Zeeshan Zakaria wrote: Can somebody please confirm that Wait or Playback commands can't be used in h extension. This is for asterisk 1.4. Is there a way to delay the hangup by a new seconds once the call is over? Using 'g'

Re: [asterisk-users] usingwaitorplaybackinhextens...@gmail.com,

2010-06-04 Thread Philipp von Klitzing
Hi Kevn! When the 'h' extension is running, the call legs have already been torn down. There is no way to delay this happening, and you can't do anything in the 'h' extension that needs to read audio from the channel (since no audio will appear, the first time it tries to read audio it will

Re: [asterisk-users] usingwaitorplaybackinhextens...@gmail.com,

2010-06-04 Thread Kevin P. Fleming
On 06/04/2010 02:07 PM, Philipp von Klitzing wrote: Hi Kevn! When the 'h' extension is running, the call legs have already been torn down. There is no way to delay this happening, and you can't do anything in the 'h' extension that needs to read audio from the channel (since no audio will

Re: [asterisk-users] usingwaitorplaybackinhextens...@gmail.com,

2010-06-04 Thread Zeeshan Zakaria
Thanks Kevin for this clarification. Zeeshan A Zakaria -- Sent from my Android phone with K-9 Mail. On 2010-06-04 8:24 AM, Kevin P. Fleming kpflem...@digium.com wrote: On 06/04/2010 02:07 PM, Philipp von Klitzing wrote: Hi Kevn! When the 'h' extension is runni... It doesn't even make any

Re: [asterisk-users] problem with inserting records into cdr

2010-06-04 Thread Tiago Geada
pasting the error would help On 3 June 2010 20:56, cov...@ccs.covici.com wrote: Hi. For several months now asterisk will mysteriously stop inserting records into cdr database. I am using mysql and the asterisk addons 1.6.2 to accomplish this. Sometimes there is a strange error about

[asterisk-users] Asterisk on Ubuntu

2010-06-04 Thread Danny Dias
Hello Asterisk users, I'm having a little problem with an Asterisk installation on Ubuntu, i had installed many asterisks on CentOS but never in Ubuntu, the problem is that Asterisk and DAHDI does not start at system start...i have to make /etc/init.d/asterisk start and /etc/init.d/dahdi start

Re: [asterisk-users] usingwaitorplaybackinhextens...@gmail.com,

2010-06-04 Thread Philipp von Klitzing
Hi! Essentially, the only things that make sense to use in the 'h' extension are those that don't have anything to do with the external channel that was involved before the hangup. No audio, no DTMF, etc. So why does Wait() not work then - is there a fixed timeout set after which h must

Re: [asterisk-users] Asterisk on Ubuntu

2010-06-04 Thread ABBAS SHAKEEL
If you are using asterisk on your laptop then you dont need dahdi because you are not going to use any hardware on your laptop. How ever for Asterisk start at system start up you will find many scripts One you can do is put asterisk at end of /etc/rc.local file On Fri, Jun 4, 2010 at 6:40

Re: [asterisk-users] Asterisk on Ubuntu

2010-06-04 Thread Tiago Geada
either create a init script or place a crontab entrey @reboot On 4 June 2010 13:40, Danny Dias ing.diasda...@gmail.com wrote: Hello Asterisk users, I'm having a little problem with an Asterisk installation on Ubuntu, i had installed many asterisks on CentOS but never in Ubuntu, the problem

Re: [asterisk-users] Asterisk on Ubuntu

2010-06-04 Thread Niles Ingalls
On Jun 4, 2010, at 8:40 AM, Danny Dias wrote: Hello Asterisk users, I'm having a little problem with an Asterisk installation on Ubuntu, i had installed many asterisks on CentOS but never in Ubuntu, the problem is that Asterisk and DAHDI does not start at system start...i have to make

Re: [asterisk-users] Asterisk on Ubuntu

2010-06-04 Thread Luis Morales
Hi, Did you do this steps ? dahdi-linux # make # make install dahdi tools # ./configure --prefix=/usr # make menuselect optional # make # make install # make config # dahdi_cfg -vv If dahdi not start, verify ubuntu system log and search for any dahdi error. Regards, On Fri, Jun 4, 2010 at

Re: [asterisk-users] usingwaitorplaybackinhextens...@gmail.com,

2010-06-04 Thread Kevin P. Fleming
On 06/04/2010 02:48 PM, Philipp von Klitzing wrote: Essentially, the only things that make sense to use in the 'h' extension are those that don't have anything to do with the external channel that was involved before the hangup. No audio, no DTMF, etc. So why does Wait() not work then - is

Re: [asterisk-users] problem with inserting records into cdr

2010-06-04 Thread covici
Most of the time there is no error message at all. Tiago Geada tiago.ge...@gmail.com wrote: pasting the error would help On 3 June 2010 20:56, cov...@ccs.covici.com wrote: Hi. For several months now asterisk will mysteriously stop inserting records into cdr database. I am using mysql

[asterisk-users] Using Local in queues a good idea? (or at least not a very bad idea?)

2010-06-04 Thread Håkon Nessjøen
Hi, I'm now thinking of always dialing out to Local/x...@outbound/n on all my queue members. The reason for this, is both to be able to limit the number of calls to one agent, and to have fail-over-lines on the agents. (for example, if dahdi fails, go sip) But for a few years ago, I did some

Re: [asterisk-users] Persuing the gtalk issue - not only jack-related

2010-06-04 Thread Julien Claassen
Hello Motiejus! Thank you very much. I'll try to setup an account and see what these numbers give me. then I'll know more about the quality of the JACK module, since I suppose, sip is very well tested, actively maintained and widely used. Knd regards Julien Music was

Re: [asterisk-users] problem with inserting records into cdr

2010-06-04 Thread GlenM
Interesting that you should mention this: I am using Asterisk 1.4x and had the same issue - but fixed it. My issue was a combination of permissions and configuration. 1. in your cdr_addon_mysql.conf , have you tried connecting to the database using the credentials within ? - start there 2. in

Re: [asterisk-users] usingwaitorplaybackinhextens...@gmail.com,

2010-06-04 Thread Zeeshan Zakaria
Thanks Steve, system(sleep 3) did the trick in the h extension. Previousely I was running the sleep command through an agi script, but its cleaner to have it in the dialplan. Zeeshan A Zakaria www.ilovetovoip.com -- Sent from my Android phone with K-9 Mail. On 2010-06-03 2:27 PM, Steve Edwards

Re: [asterisk-users] problem with inserting records into cdr

2010-06-04 Thread covici
See my comments below. GlenM glenmill...@gmail.com wrote: Interesting that you should mention this: I am using Asterisk 1.4x and had the same issue - but fixed it. My issue was a combination of permissions and configuration. 1. in your cdr_addon_mysql.conf , have you tried connecting to

[asterisk-users] 1.6 issues

2010-06-04 Thread Sascha Ferley
Hi, I am starting to notice some weird errors with DAHDI. dahdi: Disabled echo canceller NLP because of CED tx detected on channel 2 ... Anyone ever see this? How would I track it down? The version we are running is DAHDI 2.2.1, Asterisk 1.6.0.22 Let me know Thanks --

Re: [asterisk-users] 1.6 issues

2010-06-04 Thread Doug Lytle
Sascha Ferley wrote: Anyone ever see this? How would I track it down? The version we are running is DAHDI 2.2.1, Asterisk 1.6.0.22 Turn off fax detection. Doug -- Ben Franklin quote: Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither

Re: [asterisk-users] 1.6 issues

2010-06-04 Thread Carlos Chavez
On Fri, 2010-06-04 at 13:38 -0700, Sascha Ferley wrote: Hi, I am starting to notice some weird errors with DAHDI. dahdi: Disabled echo canceller NLP because of CED tx detected on channel 2 ... Anyone ever see this? How would I track it down? The version we are running is DAHDI 2.2.1,

[asterisk-users] Press twice *

2010-06-04 Thread Anahi Ludueña
Hi people, I need to detect when the user presses twice *... In the dialplan I added the following, but it doesn't work. Could you help me with that? exten = **,1,. Anahi Ludueña

Re: [asterisk-users] Press twice *

2010-06-04 Thread Danny Nicholas
Probably going to have to use read to detect this.. _ From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Anahi Ludueña Sent: Friday, June 04, 2010 4:59 PM To: asterisk-users@lists.digium.com Subject: [asterisk-users] Press twice

Re: [asterisk-users] Press twice *

2010-06-04 Thread Alyed
try it with _ in front of the * exten = _**,1,. Alyed 2010/6/4 Danny Nicholas da...@debsinc.com Probably going to have to use read to detect this.. -- *From:* asterisk-users-boun...@lists.digium.com [mailto: asterisk-users-boun...@lists.digium.com] *On

Re: [asterisk-users] Press twice *

2010-06-04 Thread Steve Edwards
Un-top-posting, comments inline. On Behalf Of Anahi Ludueña Hi people, I need to detect when the user presses twice *... In the dialplan I added the following, but it doesn't work. Could you help me with that? exten = **,1,. 2010/6/4 Danny Nicholas da...@debsinc.com

[asterisk-users] originating a sip call from the CLI

2010-06-04 Thread Julien Claassen
Hello again! I just got a SIP account and it seems - from a config on the net -, that I've configured it correctly. But I get no call to the outside. Registration was OK. I tried: channel originate sip/1/e...@iptel.org Application ... I see the channel active for a while, but no call

Re: [asterisk-users] problem with inserting records into cdr

2010-06-04 Thread David Backeberg
On Thu, Jun 3, 2010 at 3:56 PM, cov...@ccs.covici.com wrote: Hi.  For several months now asterisk will mysteriously stop inserting records into cdr database.  I am using mysql and the asterisk addons 1.6.2 to accomplish this.  Sometimes there is a strange error about column names, but often

Re: [asterisk-users] 1.6 issues

2010-06-04 Thread Kevin P. Fleming
On 06/04/2010 11:00 PM, Carlos Chavez wrote: On Fri, 2010-06-04 at 13:38 -0700, Sascha Ferley wrote: Hi, I am starting to notice some weird errors with DAHDI. dahdi: Disabled echo canceller NLP because of CED tx detected on channel 2 ... Anyone ever see this? How would I track it down?