Koozali.org: home of the SME Server

SAIL 2.1.11-210

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
SAIL 2.1.11-210
« on: June 06, 2006, 07:34:30 AM »
Hi

2.1.11-210 is now up on the ftp site.  

All the 209 features except key/use-peer separation which broke sibling support.  We'll put that feature back in at a later date.

Kind Regards

selintra

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
SAIL 2.1.11-210
« Reply #1 on: June 06, 2006, 10:15:37 AM »
There is a minor logic fault in 209/210 to do with system behaviour at the end of a successful call pickup from a ring/hunt group event.

problem description

A hunt/ring group is defined with an outcome of "leave voicemail".

A call arrives, is placed on the group and is answered.  Callee hangs up.  Caller hears operator voicemail message and system drops to voicemail.  Ordinarily, since both parties will hang-up at around the same time, this is not a major problem.  

This is due to incorrect dialstatus checking at the end of the call.

Fix/Circumvention

Create a custom-app called drop-to-vm (or whatever you want) and paste the following code
Code: [Select]
exten => s,1,GotoIf($["${DIALSTATUS}" = "ANSWER"]?s-DTV,1)
exten => s,2,Voicemail(u${SYSOP})

exten => s-DTV,1,Hangup

Use this as your outcome (instead of "leave voicemail") when you create/modify the hunt/ring group.

Kind Regards

Selintra

spague

SAIL 2.1.11-210
« Reply #2 on: June 06, 2006, 12:16:01 PM »
hello

I have a trouble to create a IAX trunk
seems to be a bug
Code: [Select]
[0176606633]
type=peer
host=213.161.201.200
qualify=3000
canreinvite=no
username=xxxxxxxxxx
fromuser=xxxxxxxxxx
secret=xxxxxxxxx
disallow=all
allow=alaw
allow=ulaw

[0176606633]
type=user
context=mainmenu

The peer and user sections have the same name in bracket
I have create onother Carrier but i have the same result

Many thanks for your great job
spague

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
SAIL 2.1.11-210
« Reply #3 on: June 06, 2006, 03:45:55 PM »
Hello spague,

Yes, this is a bug.  Please accept our apologies.  We have placed a fix module on the ftp site at....

ftp://81.149.154.14/FixModules/functions/dash-210/

Download this module and save it into

/etc/e-smith/web/functions

Unfortunately, you will have to delete and re-add your IAX trunk.  Sorry to have inconvenienced you and please give us feedback on the fix so we can cut fix rpm.

Kind Regards

Selintra

spague

SAIL 2.1.11-210
« Reply #4 on: June 06, 2006, 04:35:14 PM »
Thank you for your quick reply

I saved it into /etc/e-smith/web/functions but I see a special permission on others sark files -rwsr-x---
I am a newbie linux admin and do not know how to reset permission to normal.
So i reset permission to root:admin and 0750.
But I cannot delete the trunk and date of iax.conf do not change.
I have no error message when I try to delete the trunk.

Spague

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
SAIL 2.1.11-210
« Reply #5 on: June 06, 2006, 05:55:33 PM »
Hi Spague

do this...

Code: [Select]
chmod u=rwxs,g=rx,o= /etc/e-smith/web/functions/sarktrunk


You don't see any errors because the routines run quiet.  If you want to see what went wrong you need to look in the logs.  Either in admin/error log or in messages log.

Kind Regards

spague

SAIL 2.1.11-210
« Reply #6 on: June 06, 2006, 06:17:08 PM »
Thank you

It's working fine

spague

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
SAIL 2.1.11-210
« Reply #7 on: June 06, 2006, 06:36:03 PM »
Cool

We'll test it some more and cut a new rpm

Thanks for your help

Selintra

spague

SAIL 2.1.11-210
« Reply #8 on: June 06, 2006, 06:38:45 PM »
oups, it's ok to create and delete but there is a problem to change a trunk.
I lost the peer name in bracket

regards,
spague

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
SAIL 2.1.11-210
« Reply #9 on: June 06, 2006, 10:34:30 PM »
Hello Spague,

Thanks for this.  We have a new fix in test and wil post it to the ftp site tomorrow morning if it tests OK.

Thanks again for your help.

Kind Regards

Selintra

Offline psoren

  • *
  • 371
  • +0/-0
SAIL 2.1.11-210
« Reply #10 on: June 06, 2006, 11:06:01 PM »
Hi Selintra,

Thanks for this great contrib again....

Quote from: "selintra"
Hello Spague,

Thanks for this.  We have a new fix in test and wil post it to the ftp site tomorrow morning if it tests OK.


Well, now that your fixing things anyway, maybe you could add in the danish tones into indications.conf. (I think i emailed them to you a while ago, but i can do it again if you want) I use the tones which is in the default indications.conf that comes with your split asterisk rpm. They work well. Also, if you could add in the little "dk" in /etc/e-smith/web/functions/sarkglobals.

Thanks
Per

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
SAIL 2.1.11-210
« Reply #11 on: June 07, 2006, 12:05:55 AM »
Hi Per

Hope you are well.

Yes please - send them through to me at jeff@selintra.com and I'll put them in for you.

Best

Jeff

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
SAIL 2.1.11-210
« Reply #12 on: June 07, 2006, 08:36:43 AM »
Hello Spague

There is a new fix module for you to test.  You can find it here...

ftp://81.149.154.14/FixModules/functions/dash-210/7-6-2006/

Apply it to /etc/e-smith/web/functions (the same way you did the previous fix) and do the "chmod" again to set the permissions.

Kind Regards

Selintra

spague

SAIL 2.1.11-210
« Reply #13 on: June 07, 2006, 10:44:00 AM »
Hello Selintra,

working fine now.
I test create delete and update

ok for me

have a good day
Regards,
Spague