Koozali.org: home of the SME Server

-600

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
-600
« on: April 01, 2008, 11:49:38 AM »
-600, which actuallly made it into beta as 603, is now available for download from

http://selintra.co.uk/sail/sail-2.2.1/

It needs testing.  In particular we want you to exercise the group mailbox stuff and the Class of Service stuff.  Let's hope it's not an April fool.  :)

thanks

S

Offline soprom

  • *
  • 589
  • +0/-0
    • www.logiciel-libre.org
Re: -600 [RESOLVED]
« Reply #1 on: April 02, 2008, 07:49:16 AM »
1. Password protect Voicemail?

To keep the previous behavior, should it be set to NO ?
It appears that nobody can enter their box.


2. "vm-password.wav" is not played

With language=fr, the message is not heard but it is logged:
    -- <SIP/5003-08d8e0f8> Playing 'vm-password' (language 'fr')
« Last Edit: April 02, 2008, 08:21:51 PM by soprom »
Sophie from Montréal

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: -600
« Reply #2 on: April 02, 2008, 09:17:50 AM »
Does *56* play back the extension number?

Does it just hang after the vm-password is "played/logged"? ..  or does it time out?

I have seen something like this before. Which asterisk do you have?  (which rpm's did you install).

Best


Offline soprom

  • *
  • 589
  • +0/-0
    • www.logiciel-libre.org
Re: -600
« Reply #3 on: April 02, 2008, 03:25:55 PM »
With *56*, "vm-extension.wav" is played correctly.

With *51*, the mailbox is request, then a long silence and it loops with "access denied" and "enter your mailbox".

Sophie from Montréal

Offline soprom

  • *
  • 589
  • +0/-0
    • www.logiciel-libre.org
Re: -600
« Reply #4 on: April 02, 2008, 04:10:54 PM »
Also, a call is processed like this:
Code: [Select]
    -- Executing [5000@internal:1] AGI("SIP/5003-08d6b180", "selintra|InCall|") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/selintra
    -- AGI Script Executing Application: (Dial) Options: (SIP/5000|15|tTwW)
    -- Called 5000
    -- SIP/5000-08d31788 is ringing
    -- Nobody picked up in 15000 ms
    -- AGI Script Executing Application: (Background) Options: (silence/1)
    -- <SIP/5003-08d6b180> Playing 'silence/1' (language 'fr')
    -- AGI Script Executing Application: (Voicemail) Options: (5000|u)
[Apr  2 09:56:28] WARNING[7582]: app_voicemail.c:2850 leave_voicemail: No entry in voicemail config file for '5000'
    -- AGI Script selintra completed, returning 0
  == Auto fallthrough, channel 'SIP/5003-08d6b180' status is 'NOANSWER'
    -- Executing [h@internal:1] Hangup("SIP/5003-08d6b180", "") in new stack
  == Spawn extension (internal, h, 1) exited non-zero on 'SIP/5003-08d6b180'

Also, No Mailbox entries auto generated

The tested extension is set with this:
Deliver Voicemail to : 5000
Password protect Voicemail? NO

Asterisk 1.4.18.1

Dialplan shows:
   exten => 5000,hint,SIP/5000
   exten => 5000,1,agi(selintra,InCall,)
   exten => *5000,1,Playback(silence/2)
   exten => *5000,2,Voicemail(5000)
   exten => *5000,3,Hangup

The console shows:
Code: [Select]
    -- AGI Script Executing Application: (Dial) Options: (SIP/5000|15|tTwW)
    -- Called 5000
    -- SIP/5000-08d7d860 is ringing
    -- Nobody picked up in 15000 ms
    -- AGI Script Executing Application: (Background) Options: (silence/1)
    -- <SIP/5003-08d59938> Playing 'silence/1' (language 'fr')
    -- AGI Script Executing Application: (Voicemail) Options: (5000|u)
[Apr  2 10:41:14] WARNING[8374]: app_voicemail.c:2850 leave_voicemail: No entry in voicemail config file for '5000'
    -- AGI Script selintra completed, returning 0
  == Auto fallthrough, channel 'SIP/5003-08d59938' status is 'NOANSWER'
    -- Executing [h@internal:1] Hangup("SIP/5003-08d59938", "") in new stack
  == Spawn extension (internal, h, 1) exited non-zero on 'SIP/5003-08d59938'
« Last Edit: April 02, 2008, 04:42:46 PM by soprom »
Sophie from Montréal

Offline soprom

  • *
  • 589
  • +0/-0
    • www.logiciel-libre.org
Re: -600
« Reply #5 on: April 02, 2008, 06:57:24 PM »
when I include a file with mailboxes, then *50* and *51* are working correctly.
The problem seems to be that "voicemail.conf" misses the [default] section.

Code: [Select]
# voicemail.inc.conf
[default]
5000 => 0000,Sophie
5108 => 0000,Marie
5213 => 0000,Andree
1008 => 0000,Julie
Sophie from Montréal

Offline soprom

  • *
  • 589
  • +0/-0
    • www.logiciel-libre.org
Re: -600
« Reply #6 on: April 02, 2008, 07:26:08 PM »
I've got this that might cause my problems:
;   System Mailmode is server
;   No Mailbox entries auto generated

Don't know where I changed this!
Sophie from Montréal

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: -600
« Reply #7 on: April 02, 2008, 08:01:47 PM »
try..

Code: [Select]
db selintra-work setprop globals MAILMODE automatic
db selintra setprop globals MAILMODE automatic

Also, it shouldn't be necessary to create your own mailboxes unless you want a mailbox with no extensions associated with it.  Normally, SARK will create them for you automatically.

Best

S



Offline soprom

  • *
  • 589
  • +0/-0
    • www.logiciel-libre.org
Re: -600
« Reply #8 on: April 02, 2008, 08:08:08 PM »
I don't know what I did to change that value.
Mailboxes are back with:
db selintra-work setprop globals MAILMODE automatic
db selintra setprop globals MAILMODE automatic
Sophie from Montréal

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: -600
« Reply #9 on: April 02, 2008, 08:20:32 PM »
:)

Offline hervep

  • **
  • 70
  • +0/-0
Re: -600
« Reply #10 on: April 03, 2008, 06:25:53 AM »
Hi Jeff,

Very nice job as usual :-) .
To avoid other peoples to become crazy ( as I did this morning ), just wanted to mention that COS names have to be filled in without spaces.

Example : "NO Restriction" gives strange behaviours, "NO_Restriction" works fine.

NO_Restriction=COS|active|YES|defaultclosed|YES|defaultopen|YES|dialplan|_0.|zzeor|EOR

Best,
Herve

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: -600
« Reply #11 on: April 03, 2008, 09:16:16 AM »
Nice one Herve.  Thanks for this old friend.

I'll put a patch in to remove spaces.

-606(ish)   :)

Kind Regards

Jeff







Offline edeganay

  • ***
  • 102
  • +0/-0
Re: -600
« Reply #12 on: April 03, 2008, 03:11:46 PM »
Hello there,

That's good sounds !

Anything to know how to upgrade ?
Just yum remove previous version and install hte new one ?

Edd

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: -600
« Reply #13 on: April 04, 2008, 01:09:41 AM »
No need to remove previous version edd

just yum localinstall the new one.

don't forget to do a console-save

Best

S

Offline edeganay

  • ***
  • 102
  • +0/-0
Re: -600
« Reply #14 on: April 04, 2008, 10:06:58 AM »
you mean in the server manager, the fisrt thing to do after installing is to commit fron the general pannel ?

Edd