Hi, I have Ubuntu server 10.04 64bit, and Asterisk 1.4.34, compiled from sources. I installed freetds-common,freetds-dev, libct4, libsybdb5, freetds-bin, but, when I run configure and then make menuconfig in section "Call Detail Recording" -> "cdr_tds" it's "disabled". It only writes that "Depends on: freetds(E)". On another server (same configuration) I installed the same packages, and it's working fine. Any suggestions, what I did wrong? Regards Andra? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100726/7b62a9d5/attachment.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: cdr.PNG Type: image/png Size: 15665 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20100726/7b62a9d5/attachment.png
On Monday 26 Jul 2010, Andra? wrote:> Hi, > > I have Ubuntu server 10.04 64bit, and Asterisk 1.4.34, compiled from > sources. I installed freetds-common,freetds-dev, libct4, libsybdb5, > freetds-bin, but, when I run configure and then make menuconfig in section > "Call Detail Recording" -> "cdr_tds" it's "disabled". It only writes that > "Depends on: freetds(E)". On another server (same configuration) I > installed the same packages, and it's working fine. Any suggestions, what I > did wrong?Run $ dpkg -l on both boxes, and compare the output. (Don't forget, you can always do something like $ ssh 10.11.12.13 'dpkg -l' > other_box_packages to run a command on another machine and trap its output in a file on yours. Just substitute the appropriate IP address or hostname.) Chances are, there's a -dev package you've missed out. (Why distributions still persist in separating out -dev packages in these days of fast CPUs, broadband internet connections and terabyte hard disks is beyond me, but that's for another day .....) -- AJS
Tzafrir Cohen
2010-Jul-26 09:27 UTC
[asterisk-users] FreeTDS (Microsoft MsSQL 2008) and CDR
On Mon, Jul 26, 2010 at 10:05:27AM +0200, Andra? wrote:> Hi, > > I have Ubuntu server 10.04 64bit, and Asterisk 1.4.34, compiled from > sources. I installed freetds-common,freetds-dev, libct4, libsybdb5, > freetds-bin, but, when I run configure and then make menuconfig in section > "Call Detail Recording" -> "cdr_tds" it's "disabled". It only writes that > "Depends on: freetds(E)". On another server (same configuration) I installed > the same packages, and it's working fine. Any suggestions, what I did wrong?Have you re-ron ./configure #? -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
On 7/26/2010 4:05 AM, Andra? wrote:> I have Ubuntu server 10.04 64bit, and Asterisk 1.4.34, compiled from > sources. I installed freetds-common,freetds-dev, libct4, libsybdb5, > freetds-bin, but, when I run configure and then make menuconfig in > section "Call Detail Recording" -> "cdr_tds" it's "disabled".The packaged version of FreeTDS on 10.04 is 0.82 which is too recent for the Asterisk 1.4. cdr_tds module. The latest version of FreeTDS supported by Asterisk 1.4 is 0.64. So you will have to compile from source (or find an ancient package) to get this working.
Hi all, I have two questions regarding DUNDi and Asterisk Realtime. I have successfully set up DUNDi on my two Asterisk boxes, which means "dundi show peers" on each box shows the other box as known and "dialplan show dundiextens" shows the extensions on each box configured in sip.conf. 1. But when i switch my config to use sip in realtime, my extensions are only visible to DUNDi if i set rtcachefriends in sip.conf to yes. Am I forced to set rtcachefriends to use DUNDi with realtime or do I miss something, maybe an additional column in my database table? 2. How can I use DUNDi within my dialplan to determine if an extension is reachable and then establish a call to it and if not, pass the call to my PSTN device? Thanks in advance, Oliver -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100730/0b4d8069/attachment.htm
On 7/30/2010 11:37 AM, unserossi at aol.com wrote:> Hi all, > > I have two questions regarding DUNDi and Asterisk Realtime. I have successfully set up DUNDi on my two Asterisk boxes, which means > "dundi show peers" on each box shows the other box as known and "dialplan show dundiextens" shows the extensions on each box configured in sip.conf. > > 1. But when i switch my config to use sip in realtime, my extensions are only visible to DUNDi if i set rtcachefriends in sip.conf to yes. > Am I forced to set rtcachefriends to use DUNDi with realtime or do I miss something, maybe an additional column in my database table? > > 2. How can I use DUNDi within my dialplan to determine if an extension is reachable and then establish a call to it and if not, pass the call to my PSTN device?This sounds like you need to enable regcontext and regexten in sip.conf and for your peers. This will cause a line of dialplan to be added to the regcontext upon registration of your peer, which you can then use as the lookup context for your DUNDi mapping. The dialplan is dynamically created and will add and remove the information assigned to regexten for the peer upon (de)registration. Leif Madsen.