Koozali.org: home of the SME Server

Dial By Name or Directory in SAIL

Offline llandry

  • ***
  • 69
  • +0/-0
    • http://www.lhrc.net
Dial By Name or Directory in SAIL
« on: February 27, 2009, 03:59:53 PM »
I apologize in advance if this topic has been discussed before, but I couldn't find a reference to it anywhere... I'm trying to implement a Dial by Name directory using the Asterisk command "Directory"...(I think that's what I need)

Although I've been using SAIL for the last couple of years, I mostly use it through the interface and have not been very adventurous. I'm sure it's possible, but it doesn't seem to be readily available through the GUI... If I edit the configuration files directly,  will  I then loose the ability manage my extensions through the interface?

Can I implement 'Directory' through a custom app?

I'm currently using 716

Thanks


L2

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Dial By Name or Directory in SAIL
« Reply #1 on: February 28, 2009, 06:47:43 PM »
*57* seems to be pointing in the right direction

:)

If you want to implement your own directory look-up then just use a custom-app.  Convention is tp use a *xxx* feature code.  So you might code up a custome-app which responds to *555* and does a directory look-up (or anything you want really).  SAIL is completely open-ended in this respect and you can add your own feature codes.  There are a few examples in the utilities custom-app to get you started.

Best

S
« Last Edit: February 28, 2009, 06:51:04 PM by selintra »

Offline llandry

  • ***
  • 69
  • +0/-0
    • http://www.lhrc.net
Re: Dial By Name or Directory in SAIL
« Reply #2 on: February 28, 2009, 09:20:01 PM »
Thanks...


*57* is exactly what I was looking for.... Maybe I should RTFM a little more...

Can I make a call to this using IVR? 


Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Dial By Name or Directory in SAIL
« Reply #3 on: March 01, 2009, 10:19:11 AM »
Not directly.  You would need to go through a custom app.

Offline llandry

  • ***
  • 69
  • +0/-0
    • http://www.lhrc.net
Re: Dial By Name or Directory in SAIL
« Reply #4 on: March 01, 2009, 01:58:48 PM »
Great.... That worked !  Thanks...

I just have another related question now...

According to the Asterisk Doc:
Quote
#  Name is the last word found in in the <name> field in the voice mailbox entry in voicemail.conf

No matter what I try, I can't get 2 "words" in the voicemail entry... When updating an extising extension, I only get the 1st "word" to appear in the voicemail.conf  ie,  I update the username field to Luc Landry and only Luc shows up, I tried adding quotes ie, "Luc Landry" and still only "Luc" shows up. If I create a new extension with a username of Luc Landry, then LucLandry shows up in the voicemail.conf... Is this a bug ? or ,am I missing something?

For the time being, I'm just entering the last name of each user in the username field and it's working fine.

Thanks again....

L2

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Dial By Name or Directory in SAIL
« Reply #5 on: March 02, 2009, 12:07:51 AM »
yeah - it's a long standing bug that's been there forever.
I'll put it on the snag list for early fix

Best

S

Offline llandry

  • ***
  • 69
  • +0/-0
    • http://www.lhrc.net
Re: Dial By Name or Directory in SAIL
« Reply #6 on: March 02, 2009, 01:03:09 AM »
Thanks S :)

Again, no big, it's working fine when I just specify the last name..

L2