similar to: Re: asterisk-users Digest, Vol 28, Issue 122

Displaying 20 results from an estimated 4000 matches similar to: "Re: asterisk-users Digest, Vol 28, Issue 122"

2007 May 14
2
How to write data to astdb?
Hello, I'm trying to fill CID data into the astdb using AsteriskWin32's asterisk.exe, to no avail: The batch file stops after the first line, and just waits: ---------------------------------------- rem c:\cygroot\mystuff>import.bat rem rem c:\cygroot\mystuff>C:\cygroot\bin\asterisk.exe -rx 'database put cidname 123 "My cellphone"' rem rem Asterisk module
2006 Nov 22
11
Rewriting caller ID from database?
Hi Most of our customers have generic names like "Hospital", so I need to rewrite their caller ID name by looking up the number in a database on the Asterisk server, and rewriting the name such as "Reading Hospital" so that we know who's calling. Any idea if this can be done with Asterisk, and how to do it? Thank you.
2009 Feb 16
2
AstDB wildard searches
Hi All, I'm looking for a way to filter the AstDB cidname family to show only those entries with a specified area code in the Asterisk CLI. If this were a SQL database it would be something like: SELECT number, name FROM cidname WHERE number LIKE '1234%' I've tried "database show cidname 1234*" and substituted "%", "$", "-" for the wildcard
2009 May 27
2
AstDB wildcards
Hi All, I need to use partial matches on the CIDNAME family I have stored in AstDB. For example, an organisation might have several numbers with the same area code and the same first few digits: 1234 567890 1234 567889 1234 567824 ... I'd like to store these (e.g.) as CIDNAME/12345678* (where "*" is a wildcard) so that I can retrieve the organisation name from
2007 Oct 25
2
What to use instead of LookupCIDName?
Hello When using LookupCIDName, Asterisk 1.4 says that it's deprecated, and we should use "${DB(cidname/${CALLERID(num)})}" instead, but I don't know how to use it: ;DEPRECATED exten => s,1,LookupCIDName ;ERROR exten => s,1,${DB(cidname/${CALLERID(num)})} I guess I should use this as a parameter to a function, but which one? Thank you.
2015 Jul 07
0
What database should I use, for simple data storing? SQLite or the buitin one?
I believe that Asterisk 1.8 and older uses the BerkeleyDB for Asterisk's internal database (AKA the Astdb) and in newer versions use SQLite. However, the basic functionality is the same. Whether you use the Astdb or MySQL really depends on what you want to do with it. The AstDB is not a relational database like MySQL, it simply a key/value store. If you can get away with that, and you need
2017 Apr 21
2
asterisk name in mysql
hi. currently i am running the phonebook in astdb with *database put cidname 0123456789 "name_surname"* and i retrive it with *exten =>9876543210,1,Set(CALLERID(name)=${DB(cidname/${CALLERID(num)})})* Now, my system has mysql and i got all my contacts in there in a database is called *asterisk *and a table called *addressbook**. *password of the mysql is *whateverpasswd* how do i
2007 Nov 10
2
Record() : How to get filename created with %d?
Hello About Record(), ATFT 2nd Edition says that "if the filename contains %d, these characters will be replaced with a number incremented by one each time the file is recorded." Problem is, the documentation doesn't explain how to refer to this filename later in the dialplan :-/ In this particular example, I want to move the file to the web server's /htdocs so users can
2007 May 14
4
[*Win32 0.60] Sending call notification by e-mail/web?
Hello, In case there are other users of the AsteriskWin32 port... I haven't really used the AGI feature of Asterisk to run an application from extensions.conf. *Win32 supports Perl, which I don't know. Apparently, it's also possible to write AGI applications as EXE's (there's a eagi-test.exe file installed by default). => When a call comes in, I'd like an AGI
2017 Apr 22
4
asterisk name in mysql
Thanks a lot for the reply. I did follow that already, but i do have a problem. Here is my extensions.conf part for that particular number exten => 6912345678,1,Answer() exten => 6912345678,n,MYSQL(Connect connid 127.0.0.1 root mypasswd asterisk) exten => 6912345678,n,MYSQL(Query resultid ${connid} SET NAMES utf8) exten => 6912345678,n,GotoIf($["${connid}" =
2008 Jan 17
0
Channels ID / Soft Hang Up
Hello, I am wanting to close a specific channel for example; SofthangUp(SIP/EXTEN-UNIQUEID) but the problem is the channel is assigned a unique id as well. The need fits into the idea of receiving a call from a higher status user and thus closing a specific channel to allow the higher priority call to route through the dial plan to the freed extension. Any ideas welcome. Many thanks
2003 Jul 30
0
Samba 3. ldapsam.so not generated on Solaris 9 with Sun One Directory Server
Hi. I have working fine Samba 2.2.8a acting as PDC using Sun One Directory Server as backend. Now I want to migrate to Samba 3. The problem is that I'm not able to generate "ldapsam.so" Some body has built Samba 3 on Solaris 9 using Sun One Directory Server as backend? Somo body can help me and need more information about my environment? I don't know if it's need some
2004 Dec 11
0
Compiling Samba 3.0.9 on Solaris 2.6 gives conflicts :-(
Hi, I have to build Samba 3.0.9 on a customers Sun E3500 with Solaris 2.6. They recently upgraded to Windows 200x domain with AD. When i try to compile with Heimdal or MIT Kerberos i get the following error: Using FLAGS = -I/usr/heimdal/include -I/usr/local/BerkeleyDB.4.2/include -I/usr/local/ssl/include -I/usr/heimdal/include -L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/ssl/lib
2003 Nov 03
1
HELP: ServerWorks data corruption after 350 MB with BerkeleyDB 4.0?
Hi, I received a bug report against BerkeleyDB 4 that may not be BerkeleyDB related, but a problem with FreeBSD or specific hardware in general. Jie Song (CC'd) reported that writing files with BerkeleyDB (no threading or something) on his ServerWorks machine causes data corruption (detected by BerkeleyDB 4.0 library functions) when the file sizes grow beyond 350 MB. For details, see PR
2006 Nov 10
0
libsmb/cliconnect.o build/build/krb5/lib/libcom_err.so.3
Running into a error while compiling Samba 3.0.23c for AD using krb5 1.5.1. Doesn't matter if I use Sun's cc or gcc. Linking bin/smbd Undefined first referenced symbol in file error_message libsmb/cliconnect.o (symbol belongs to implicit dependency /export/admin/build/build/krb5/lib/libcom_err.so.3) ld: fatal:
2005 Jul 04
0
Problem linking with libdb
Hello, I am trying to compile iproute2 but something does not work when linking with libdb. This is what I am using: - iproute2-ss050607 - linux 2.4.22 - make 3.79.1 - gcc 2.95.3 - ld 2.15 When I type make, it ends somewhere in ./misc with the following error message: make output starts here: gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT
2005 Dec 01
6
Linking against a specific Berkeley DB install
I sent this question to the OpenLDAP list yesterday, but I still haven't seen the message come across the list. I am asking here in the hopes of getting a faster response. I am trying to compile OpenLDAP 2.3.11 from source on CentOS4. I have the rpm for db4-4.2.52-7.1 installed and also a source build of BerkeleyDB in /usr/local/BerkeleyDB.4.4. How do I get OpenLDAP to link with the bdb
2008 Apr 02
0
Asterisk parked calls and callerid
Hi list, sorry if this has been discussed in the past, but I couldn't find anything wise about it. Since we had some trouble with the builtin hold function of some (all?) SNOM 320/360 phones, we decided to use the call parking feature in asterisk instead. Assume, a call comes in with CALLERID(num) 1234567 for extension 10. Extension 10 parks this call into 801, dials extension 11 and
2009 Apr 21
4
Asterisk Database
My setup : Trixbox 2.6.1 & TE410P running well .: 1. I need to store the CallerId of the PSTN caller with his language preference so that next time he is played the prompt in his language that he chose the first time.What would be better - storing his number in the Asterisk DB and using Dbput and DBget ? or storing it in MySQL from the dial plan and quering it everytime to see the callers
2004 Apr 27
1
parsing to compare
Admittedly this is probably pretty stupid of me, but there are just some things I can't understand by reading documentation. Any suggestions or recommendations about how to handle my problem are greatly appreciated. I'm trying to achieve the same functionality as my Nortel PBX, without rewriting much 'C' code. In my dialplan I'd like to compare two variables as a means of