Re: [asterisk-users] quickstart
what is your Linux box (debian, Ubuntu, centos, ...)? On Tue, Jun 17, 2014 at 2:10 PM, binary dreamer dreamer.bin...@gmail.com wrote: hi, sorry all you are asking is to have 2 internal phones call each other? the hardphones you are talking about what kind of phones are? On Tue, Jun 17, 2014 at 1:14 PM, Rainer Piper rainer.pi...@soho-piper.de wrote: Am 17.06.2014 09:04, schrieb thufir: I have the Asterisk book, it's enormous, the 4th edition as per http://www.asteriskdocs.org/. I'd like to do something like: http://www.voip-info.org/wiki/view/Asterisk+quickstart just to have two hardphones act as extensions and call each other. Is that a reasonable first task? I'm looking for the simplest litmus test for functionality possible. thanks, Thufir Hi ... this script will get you up and running on a debian7 distribution. code #!/bin/sh apt-get update apt-get upgrade -y asteriskversion=asterisk-12.3.2 apt-get install -y linux-headers-`uname -r` apt-get install -y build-essential apt-get install -y wget apt-get install -y libssl-dev apt-get install -y libncurses5-dev apt-get install -y libnewt-dev apt-get install -y libxml2-dev apt-get install -y libsqlite3-dev apt-get install -y libjansson-dev apt-get install -y git ln -s /usr/src/linux-headers-`uname -r` /usr/src/linux cd /usr/src ## pjsip installieren git clone https://github.com/asterisk/pjproject pjproject cd /usr/src/pjproject ./configure --prefix=/usr --enable-shared --disable-sound --disable-resample --disable-video --disable-opencore-amr ## um IPv6 Support in pjsip einzuschalten, muss das CFLAGS='-DPJ_HAS_IPV6=1' angegeben werden # IPV6 is turned off at default ! #./configure CFLAGS='-DPJ_HAS_IPV6=1' --prefix=/usr --enable-shared --disable-sound --disable-resample --disable-video --disable-opencore-amr # make dep make make install ldconfig ### check inst. # ldconfig -p | grep libpj ## System vorbereiten ## download Asterisk if [ ! -f /usr/src/$asteriskversion.tar.gz ] ; then wget http://downloads.asterisk.org/pub/telephony/asterisk/$asteriskversion.tar.gz fi if [ ! -d /usr/src/$asteriskversion ] ; then tar xvzf $asteriskversion.tar.gz fi ## erforderliche libs installieren /usr/src/$asteriskversion/contrib/scripts/install_prereq install ## optional /usr/src/$asteriskversion/contrib/scripts/get_mp3_source.sh /usr/src/$asteriskversion/contrib/scripts/get_ilbc_source.sh gcc -O2 /usr/src/$asteriskversion/contrib/utils/rawplayer.c -o /usr/bin/rawplayer ## asterisk installieren cd /usr/src/$asteriskversion ./configure make menuconfig make make install make samples make config make install-logrotate /code -- *Rainer Piper* Integration engineer Koeslinstr. 56 53123 BONN GERMANY Phone: +49 228 97167161 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] quickstart
hi, sorry all you are asking is to have 2 internal phones call each other? the hardphones you are talking about what kind of phones are? On Tue, Jun 17, 2014 at 1:14 PM, Rainer Piper rainer.pi...@soho-piper.de wrote: Am 17.06.2014 09:04, schrieb thufir: I have the Asterisk book, it's enormous, the 4th edition as per http://www.asteriskdocs.org/. I'd like to do something like: http://www.voip-info.org/wiki/view/Asterisk+quickstart just to have two hardphones act as extensions and call each other. Is that a reasonable first task? I'm looking for the simplest litmus test for functionality possible. thanks, Thufir Hi ... this script will get you up and running on a debian7 distribution. code #!/bin/sh apt-get update apt-get upgrade -y asteriskversion=asterisk-12.3.2 apt-get install -y linux-headers-`uname -r` apt-get install -y build-essential apt-get install -y wget apt-get install -y libssl-dev apt-get install -y libncurses5-dev apt-get install -y libnewt-dev apt-get install -y libxml2-dev apt-get install -y libsqlite3-dev apt-get install -y libjansson-dev apt-get install -y git ln -s /usr/src/linux-headers-`uname -r` /usr/src/linux cd /usr/src ## pjsip installieren git clone https://github.com/asterisk/pjproject pjproject cd /usr/src/pjproject ./configure --prefix=/usr --enable-shared --disable-sound --disable-resample --disable-video --disable-opencore-amr ## um IPv6 Support in pjsip einzuschalten, muss das CFLAGS='-DPJ_HAS_IPV6=1' angegeben werden # IPV6 is turned off at default ! #./configure CFLAGS='-DPJ_HAS_IPV6=1' --prefix=/usr --enable-shared --disable-sound --disable-resample --disable-video --disable-opencore-amr # make dep make make install ldconfig ### check inst. # ldconfig -p | grep libpj ## System vorbereiten ## download Asterisk if [ ! -f /usr/src/$asteriskversion.tar.gz ] ; then wget http://downloads.asterisk.org/pub/telephony/asterisk/$asteriskversion.tar.gz fi if [ ! -d /usr/src/$asteriskversion ] ; then tar xvzf $asteriskversion.tar.gz fi ## erforderliche libs installieren /usr/src/$asteriskversion/contrib/scripts/install_prereq install ## optional /usr/src/$asteriskversion/contrib/scripts/get_mp3_source.sh /usr/src/$asteriskversion/contrib/scripts/get_ilbc_source.sh gcc -O2 /usr/src/$asteriskversion/contrib/utils/rawplayer.c -o /usr/bin/rawplayer ## asterisk installieren cd /usr/src/$asteriskversion ./configure make menuconfig make make install make samples make config make install-logrotate /code -- *Rainer Piper* Integration engineer Koeslinstr. 56 53123 BONN GERMANY Phone: +49 228 97167161 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] asterisk's internal database
i would like to read information from a file (txt) On Mon, Apr 28, 2014 at 9:29 PM, Rusty Newton rnew...@digium.com wrote: On Thu, Apr 24, 2014 at 6:34 AM, binary dreamer dreamer.bin...@gmail.com wrote: hello everyone. I am running plain asterisk and I am using asterisk's internal database for: -phonebook -blacklist numbers instead of having to update the database of new entry or delete an entry, is it possible to have it in an external file such as txt? so every new entry/deletion will take place there. Are you wanting to swap out Asterisk's internal database with a different data storage interface? If so, that isn't possible as far as I know. If you are wanting to just read information from a file into Asterisk variables.. there may be other ways to do what you want. -- Rusty Newton Digium, Inc. | Community Support Manager 445 Jan Davis Drive NW - Huntsville, AL 35806 - US direct: +1 256 428 6200 Check us out at: http://digium.com http://asterisk.org -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] cdr viewer for csv
hello everyone. I am running asterisk and all of my CDRs are in the default csv. the system is so limited to ram (only 256) and I cannot run MySQL or any other program to give CDRs a fancy view. at the moment the only other software running is nginx for a static webpage with guidance on the system. I do now want to move to sql or similar databases because the machine cannot handle it (I have already tried and it wastes ram from calls). is there a way to present to a webpage the CDRs from the csv, please? -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] cdr viewer for csv
Thanks a lot for the reply. this is a PBX for my soho. it does not worth to run a separate machine. all I want is to present the csv file in a webpage to be human readable. the calls will not exceed 70 per week. On Thu, Apr 24, 2014 at 1:46 PM, Chris Bagnall aster...@lists.minotaur.ccwrote: On 24 Apr 2014, at 11:36, binary dreamer dreamer.bin...@gmail.com wrote: I am running asterisk and all of my CDRs are in the default csv. the system is so limited to ram (only 256) and I cannot run MySQL or any other program to give CDRs a fancy view. As an aside, have you considered running your CDR storage/viewing on a separate machine? You don't have to log CDRs on the same box as you run asterisk. at the moment the only other software running is nginx for a static webpage with guidance on the system. is there a way to present to a webpage the CDRs from the csv, please? You can almost certainly do this if you want using the standard string handling functions in $middleware_of_choice, but the lack of indexing on text files will make this *very* slow for search queries etc.. The RAM/CPU requirements associated with loading huge chunks of text data into memory, manipulating them, then displaying the results will likely exceed that of a DB. Unless you only want a recent call log, you really want to do this in a database. Kind regards, Chris -- This email is made from 100% recycled electrons -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] asterisk's internal database
hello everyone. I am running plain asterisk and I am using asterisk's internal database for: -phonebook -blacklist numbers instead of having to update the database of new entry or delete an entry, is it possible to have it in an external file such as txt? so every new entry/deletion will take place there. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] cdr viewer for csv
already logrotate is doing the file split every month. how do you serve it in a webpage and which CGI script? On Thu, Apr 24, 2014 at 3:18 PM, A J Stiles asterisk_l...@earthshod.co.ukwrote: On Thursday 24 Apr 2014, binary dreamer wrote: hello everyone. I am running asterisk and all of my CDRs are in the default csv. the system is so limited to ram (only 256) and I cannot run MySQL or any other program to give CDRs a fancy view. at the moment the only other software running is nginx for a static webpage with guidance on the system. I do now want to move to sql or similar databases because the machine cannot handle it (I have already tried and it wastes ram from calls). is there a way to present to a webpage the CDRs from the csv, please? If you can't stretch to a separate machine to run a database (even a scrapper will do for this) and you can't increase the RAM in your Asterisk machine, then you will have to resort to manipulating the CSV file. Use a cron job to rotate the master CDR daily or weekly, to keep it from becoming unmanageably large. This needs to be done at a time when you are not expecting any incoming calls. You really need to stop Asterisk while you do this and restart it afterwards. The whole operation (cp Master.csv cdr_$DATE.csv; echo -n Master.csv) should be over within a few ringing periods; so even if a call does come through in the meantime, Asterisk ought to just pick it up as soon as it restarts. Then write a simple CGI script to serve up the cdr*.csv files. As long as you send the appropriate content-type, then it ought just to open straight up in OpenOffice.org calc. -- 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 -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] cdr viewer for csv
really nice. but could tell me the way, play? On Thu, Apr 24, 2014 at 3:37 PM, Josh Metzger joshdmetz...@gmail.comwrote: With such a low amount of calls per month and with the extreme memory limitations, it might be easier to write a script to pull out the data and generate a static html page. Run it daily / weekly / whenever you need it. On Thu, Apr 24, 2014 at 8:28 AM, binary dreamer dreamer.bin...@gmail.comwrote: already logrotate is doing the file split every month. how do you serve it in a webpage and which CGI script? On Thu, Apr 24, 2014 at 3:18 PM, A J Stiles asterisk_l...@earthshod.co.uk wrote: On Thursday 24 Apr 2014, binary dreamer wrote: hello everyone. I am running asterisk and all of my CDRs are in the default csv. the system is so limited to ram (only 256) and I cannot run MySQL or any other program to give CDRs a fancy view. at the moment the only other software running is nginx for a static webpage with guidance on the system. I do now want to move to sql or similar databases because the machine cannot handle it (I have already tried and it wastes ram from calls). is there a way to present to a webpage the CDRs from the csv, please? If you can't stretch to a separate machine to run a database (even a scrapper will do for this) and you can't increase the RAM in your Asterisk machine, then you will have to resort to manipulating the CSV file. Use a cron job to rotate the master CDR daily or weekly, to keep it from becoming unmanageably large. This needs to be done at a time when you are not expecting any incoming calls. You really need to stop Asterisk while you do this and restart it afterwards. The whole operation (cp Master.csv cdr_$DATE.csv; echo -n Master.csv) should be over within a few ringing periods; so even if a call does come through in the meantime, Asterisk ought to just pick it up as soon as it restarts. Then write a simple CGI script to serve up the cdr*.csv files. As long as you send the appropriate content-type, then it ought just to open straight up in OpenOffice.org calc. -- 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 -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Live Recording on the Storage Server?
hi. I would not do that due to network issues. My approach is to record everything locally and every hour or so to move everything to a storage. On Thu, Apr 17, 2014 at 1:52 PM, Shahid H shah...@gmail.com wrote: Hello, I am wondering has anyone used Live Recording (monitor or mixmonitor) on to Storage Server via network 1 Gigabit connection? Does it perform well, let say about 50 live recordings at the same time. I am planning to make some system changes at work. I would like to put Asterisk VM on a ESXi host and the datastore will be hosted on Storage Server. On a ESXi host, there will be a few VM's: Asterisk VM Windows Server VM Linux Web Server VM Windows 7 VM What I am concern that users on the workstations will browse their files (home shares) and it may interrupt asterisk live recording because it is shared on the same Storage Server? Cheers. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] dahdi + dlink du128ta
hello everyone, I do have a usb ISDN modem that I would like to make it work with dahdi. is it possible? I am running debian 7, with dahdi 2.9, asterisk 11.8 dahdi cannot find it at the moment, unless there is something else to be done. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Linux call router
hello there, I am facing an issue with misd/misdnuser/lcr in the system I am running debian 7 and I managed to install from git misdn/misdnuser but in lcr I am getting: chan_lcr.c: In function 'load_module': chan_lcr.c:3520:24: warning: assignment makes pointer from integer without a cast [enabled by default] make[2]: *** [chan_lcr.po] Error 1 make[2]: Leaving directory /usr/src/lcr' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory /usr/src/lcr' make: *** [all] Error 2 root@voyage:/usr/src/lcr# could someone help me please? -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] asterisk ISDN
hello there. i do have debian 6 in alix 2d13 that runs asterisk 11.7. i do need to interface an ISDN line to asterisk and i bought an external isdn card usb. it is a dlink du 128ta. i have seen that i need misdn and lcr. in a clean install of debian 6.0.8 i installed through git the misdn and misdn user. unofortunatelly i am stuck with the lcr. i have installed misdn, misdnuser and LCR through git from misdn.eu. i am not familiar with LCR, but with dadhdi. i do not know how to place calls from asterisk through LCR to dlink usb. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] fraud detection
hello everyone. i am concerned about security to the PBX and i would like to discuss different fraud detection methods. Apart from making everything to secure the PBX (latest patches, iptables, firewalls, no outside users, strongs passwds,...) i would like to find out if there are any fraud detection techniques. As for my setup i do have a PBX running asterisk 11.4 and it has 3 sip trunks (over internet) -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] What linux distro most popular for Asterisk
i would vote for debian. simple, STABLE, secure. Most importantly it is lightweight On Thu, Oct 17, 2013 at 11:37 AM, Asghar Mohammad asghar...@gmail.comwrote: We are using Debian 32bit and 64bit on standalone and on VMs without any issue. On Thu, Oct 17, 2013 at 10:15 AM, Frederic Van Espen frederic...@gmail.com wrote: On 10/17/2013 09:47 AM, Alban Elziere wrote: I'm using Ubuntu server (32bit mainly), standalone or VM (esxi) with good stability. Same here. We've been using ubuntu lucid 32bit for years. We have about 1000 implementations of this. -- __**__**_ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/**mailman/listinfo/asterisk-**usershttp://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] mysql CDRs in web based tool
Hi. i am running asterisk 11.5.1 in my system (debian squeeze) and i do get the CDRs through the csv file, that asterisk creates. i would like to have the CDRs in a nice web based tool and after some search i have found http://acdr.com.au/ i do have it installed with all the dependencies (apache, php, mysql), but i do not know how to interface the CDRs. has anyone used this tool or any other similar tool? Sincerely yours, -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] block certain numbers
Hi. i would like to manually create a list of numbers to block. these numbers are from spammers (advertizers). is there an easy way to send these particular numbers to busy or even drop the call? -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] block certain numbers
i am using asterisk's internal database to create a phonebook. i was thinking to create something similar for the blocking, but i got stuck on how to block the numbers. On Mon, Jun 17, 2013 at 12:47 PM, Salaheddine Elharit salah.elharit...@gmail.com wrote: hello if you have just some numbers to block you can use the below code in your dial plan exten = 5xx,1,NoOp(Caller-ID: ${CALLERID(all)}) exten = 5xx,n,GotoIf($[${CALLERID(num)}=0661xx ]?3:4) exten = 5xx,n,hangup exten = 5xx,n,Dial(SIP/223, 30) 2013/6/17 A J Stiles asterisk_l...@earthshod.co.uk On Monday 17 June 2013, binary dreamer wrote: Hi. i would like to manually create a list of numbers to block. these numbers are from spammers (advertizers). is there an easy way to send these particular numbers to busy or even drop the call? Yes! Dead easy. Use an external script, written in your favourite language, to look up the number in some sort of database and return failure (exit 1) if it finds it there, or success (exit 0) if not. Call this with System() in dialplan. If the System() call succeeds (meaning the number was not found in the database), Asterisk will move onto the next priority; if it fails (meaning the number was in the database) then it will move on by an extra 100. Alternatively, you can read the value of ${SYSTEMSTATUS} to get the exit code. -- AJS Answers come *after* questions. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] asterisk fax in debian
Hi. I have seen these kind of instructions but there i lost it. here is what i got. Asterisk has a spa3102 to interface the PSTN line. It works smoothly and i got in/outgoing calls. i do have the codec to g711alaw (since i am in Europe). on the fxs port of the spa3102 i had the fax machine up to now and it worked. in the asterisk i installed spandsp and recompiled asterisk. i have losted though with the config to receive/send faxes. On Thu, Jun 13, 2013 at 10:56 PM, Jairo ja...@intermol.com.br wrote: Maybe this can help: http://ofps.oreilly.com/titles/9781449332426/asterisk-Fax.html Best. 2013/6/13 vortex binary.vor...@gmail.com Hello. i am running debian 6 with asterisk 11.4. The system has exim4 to send to email the voicemails. i would like to get rid of the analog fax machine and use asterisk to send/receive faxes. I do have a PSTN line with a SPA3102 adapter to interface it to asterisk. The number of the PSTN line is dedicated to faxing only. So i would like to: -receive faxes to asterisk and then send it as PDFs to an email address -Send from my PC a fax directly. is there any guide on how to do that since i got lost with all of it? -- __**__**_ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/**mailman/listinfo/asterisk-**usershttp://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users