Koozali.org: home of the SME Server

[Announce] SAIL-2.1.11-173 Beta 3

Offline ldkeen

  • *
  • 401
  • +0/-0
[Announce] SAIL-2.1.11-173 Beta 3
« Reply #15 on: April 21, 2006, 12:34:28 AM »
Hi Selintra
Quote
Can you e-mail us the relevant entries from the selintra db

[root@server ~]# db selintra show dateSeg234621
dateSeg234621=dateSeg
    datemonth=*
    dayofweek=*
    desc=After Hours
    month=*
    timespan=17:00-09:00
    zzDummy=EOR
[root@server ~]# db selintra show dateSeg49751
dateSeg49751=dateSeg
    datemonth=25
    dayofweek=*
    desc=Xmas Day
    month=dec
    timespan=*
    zzDummy=EOR
[root@server ~]# db selintra show dateSeg67455
dateSeg67455=dateSeg
    datemonth=1
    dayofweek=*
    desc=New Years Day
    month=jan
    timespan=*
    zzDummy=EOR
[root@server ~]# db selintra show dateSeg697330
dateSeg697330=dateSeg
    datemonth=*
    dayofweek=sat
    desc=Saturday
    month=*
    timespan=*
    zzDummy=EOR
[root@server ~]# db selintra show dateSeg769071
dateSeg769071=dateSeg
    datemonth=*
    dayofweek=sun
    desc=Sunday
    month=*
    timespan=*
    zzDummy=EOR
Let me know if there are any other entries you need.
Regards Lloyd

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
[Announce] SAIL-2.1.11-173 Beta 3
« Reply #16 on: April 21, 2006, 01:41:09 AM »
Thanks Lloyd,

Your dateSeg entries look fine, we'll take this off-line as a suspected bug.  We've sent you detailed debugging instructions via e-mail.

Kind Regards

Selintra

Offline psoren

  • *
  • 371
  • +0/-0
[Announce] SAIL-2.1.11-173 Beta 3
« Reply #17 on: April 21, 2006, 01:30:41 PM »
Hi Selintra

Quote
Very good point.  Did you also try (*x.|*xx*x.|x.)?


Yes, that works.

Quote
The country identifier finds its way into an asterisk file called indications.conf.  It's main job is to mimic the correct cadences for each country so that an inbound dialer hears familiar tones.  We believe that the closest to Denmark for tones is Sweden.  However, if you have a look at the indications.conf file (it's in /etc/asterisk), you will quickly see how it works.  Based upon what's already there and assuming the Danish PTT publishes the information, you can very easily create a bespoke entry for Denmark.  If you decide to give it a go then do let us know and we'll create a "dk" entry for you in Globals.


I found something already but I have to test it first. I will see what I can do, but I’m away from home for a while (work,work….)

Quote
It will turn up in your Primary i-bay in a folder in files. Asterisk records the conversation as two distinct recordings (one for each direction), which is not much good, so we dynamically invoke a sound manager called SOX to merge the two into one synchronised recording at the end of the call.  We then create a dynamic link to it from files.


OK, I found I t there, but it was not merged in to one file!
I think I will make a cron job to move them to an ibay for easy access. I had to go in putty and move them manually, the link does not work with ftp.

Per

Offline psoren

  • *
  • 371
  • +0/-0
Suggestion!
« Reply #18 on: April 21, 2006, 01:50:37 PM »
Hi Selintra

It could be nice an easy if there where links in the server manager panel for the fop and stat pages. (And others if i there are more that i don't know of)

Per

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
[Announce] SAIL-2.1.11-173 Beta 3
« Reply #19 on: April 25, 2006, 11:12:38 AM »
Hi Per,

Quote
OK, I found I t there, but it was not merged in to one file


We have performed one touch recording on different installations, and we are unable to reproduce your scenario (2 separate sound files). We always get a single merged file.

If this is still an issue for you please can you send us the asterisk log and the 2 sound files.

Kind Regards,

Selintra

Offline psoren

  • *
  • 371
  • +0/-0
[Announce] SAIL-2.1.11-173 Beta 3
« Reply #20 on: April 25, 2006, 01:17:32 PM »
Quote from: "selintra"
Hi Per,

Quote
OK, I found I t there, but it was not merged in to one file


We have performed one touch recording on different installations, and we are unable to reproduce your scenario (2 separate sound files). We always get a single merged file.

If this is still an issue for you please can you send us the asterisk log and the 2 sound files.

Kind Regards,

Selintra


Hi Selintra

I will do more testing on this as soon as i am home again. I am away from home for work some days.
Can it be because it's a call from extension to extensoin and not an outside line?

Is it possible to have the recording permanent or even for certain extensions or certain incoming numbers?

Per

Offline psoren

  • *
  • 371
  • +0/-0
[Announce] SAIL-2.1.11-173 Beta 3
« Reply #21 on: April 29, 2006, 06:15:51 PM »
Hi Selintra,

Quote from: "selintra"
The country identifier finds its way into an asterisk file called indications.conf.  It's main job is to mimic the correct cadences for each country so that an inbound dialer hears familiar tones.  We believe that the closest to Denmark for tones is Sweden.  However, if you have a look at the indications.conf file (it's in /etc/asterisk), you will quickly see how it works.  Based upon what's already there and assuming the Danish PTT publishes the information, you can very easily create a bespoke entry for Denmark.  If you decide to give it a go then do let us know and we'll create a "dk" entry for you in Globals.


The Swedish tones sounds similar to the danish tones, but i have found this in another forum and it looks a little different:

description = Denmark
ringcadance = 1000,5000
dial = 425
busy = 425/250,0/250
ring = 425/1000,0/5000
congestion = 425/250,0/750
callwaiting = 425/200,0/500,425/200,0/8000
info = 950/300,0/20,1400/300,0/20,1800/300,0/1000
; dialrecall and record not necessarily these
dialrecall = 425/325,0/25
record = 1400/500,0/15000

I used it until i upgraded to Sail 183, then it was overwritten. It worked fine.

Per

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
[Announce] SAIL-2.1.11-173 Beta 3
« Reply #22 on: April 30, 2006, 10:23:03 AM »
Hello Per,

Here's a little patch for you to try  (this will work for anyone who wants to add a currently unlisted country to the list).

The code fragment which generates the country data for indications.conf is in the following file..
Code: [Select]
/etc/e-smith/templates/etc/asterisk/indications.conf/30-countries

Add your description for Denmark.  Don't forget to give it a header..

Code: [Select]
[dk]
description = Denmark
ringcadance = 1000,5000
dial = 425
busy = 425/250,0/250
ring = 425/1000,0/5000
congestion = 425/250,0/750
callwaiting = 425/200,0/500,425/200,0/8000
info = 950/300,0/20,1400/300,0/20,1800/300,0/1000
; dialrecall and record not necessarily these
dialrecall = 425/325,0/25
record = 1400/500,0/15000


Then, open the "Globals" panel manager...

Code: [Select]

/etc/e-smith/web/functions/sarkglobals


At line 225 you will find the popup which generates the country list.  Simply add 'dk' to the list.

Code: [Select]
   225             $q->popup_menu (
    226                         -name     => 'COUNTRY',
    227                         -values   => ['au','br','cl','de','ee','fi','fr','gr','hu',
    228                                           'it','lt','mx','nl','no','nz','pl','pt','sg',
    229                                           'se','tw','ru','uk','us','za' ],
    230                         -default  => $country))),


You should now be able to test your settings by going to the globals panel, choosing dk for your country and pressing save.

When you are happy with the settings, let us know and we'll commit them to svn.


Kind Regards

Selintra