Koozali.org: home of the SME Server

Selintra inbound call routing...

Offline llandry

  • ***
  • 69
  • +0/-0
    • http://www.lhrc.net
Selintra inbound call routing...
« on: July 14, 2007, 02:02:12 AM »
Hi folks..

I've got a quick question about inbound call routing with Sail..

I currently have my PBX setup to direct all inbound call to a "ring group" during regular hours, but, if no one answers, I'd like it to go to a default message that allows the user to enter an extension and then go directly to that extension's voice mail... Is this possible?


OR,   can I have the default message drop to the ring group ?

Thanks in advance..

Luc

Offline llandry

  • ***
  • 69
  • +0/-0
    • http://www.lhrc.net
Selintra inbound call routing...
« Reply #1 on: July 14, 2007, 03:29:37 AM »
OK....


Forget the first part.... that can be done in the Ring group Outcome ...DUH....

SO, what about the second case...

Have the default messge's outcome hit a ring group..

Thanks

L2

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Selintra inbound call routing...
« Reply #2 on: July 14, 2007, 12:03:22 PM »
Hi Llandry

second case....

You've got us, it won't do that "out of the box" but it can be done easily enough.  The agi drives a generated context in extensions called  defaultOpenGreet.  It looks like this..
Code: [Select]
[defaultOpenGreet]
        include => extensions
        include => internal-presets
        include => conferences

        exten => s,1,Background(if-u-know-ext-dial)
        exten => s,2,Background(otherwise)
        exten => s,3,Background(pls-hold-while-try)
        exten => s,4,Background(silence/3)
        exten => s,5,Goto(defaultOpenGreet,t,1)

        exten => t,1,Goto(extensions,${SYSOP},1)                ;to operator
        exten => t,2,Hangup

        exten => i,1,Background(invalid)
        exten => i,2,Goto(defaultOpenGreet,s,4)


As you can see, it defaults to the operator extension (${SYSOP}).  You can simply copy this into a custom app and then drive the app from your inbound trunk.  In your custom app you can change the ${SYSOP} outcome to whatever you like.  Alternatively, you can just set the operator extension in Globals to the extension you want to drive (including a ring group).

Sorted

Best

S

Offline llandry

  • ***
  • 69
  • +0/-0
    • http://www.lhrc.net
Selintra inbound call routing...
« Reply #3 on: July 14, 2007, 02:00:54 PM »
Thanks S.

I'll give the custom app a shot..

I was thinking of doing it as you described, setting the Operator to the ring group, but my ring group doesn't show up in the pull down of extensions.


While am at it.... is this possible ( Sorry if I'm a pain)

I have a SAIL set up in the office and one at home.

I've got routes between them (sailtosail) and it's possible to call from the office to my home PBX by dialing the extension and vis-versa

What I'd like to do is, if someone calls the office, I'd like them to be able to punch in an extension to my home PBX, effectively have to office inbound call be routed to my home PBX.

Possible?

Thanks again.

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Selintra inbound call routing...
« Reply #4 on: July 14, 2007, 06:41:35 PM »
Hi again,

Quote
What I'd like to do is, if someone calls the office, I'd like them to be able to punch in an extension to my home PBX, effectively have to office inbound call be routed to my home PBX.

Possible?


Well, not with the version of SAIL you have but we're just about to release -501 (probably in the next day or two).  Among other things it introduces the notion of privileged  and unprvileged siblings.  To route an unbound call from one pbx to another you set up an unprivileged sibling link.  You can read about it - it's already in the docs here...

http://www.selintra.com/docs/cgi-bin/view/Main/DocChapter094

Its up on the FTP server so if you want to give it a go you can get it from

ftp://81.149.154.14/Pre-Releases/

Kind Regards

S

Offline llandry

  • ***
  • 69
  • +0/-0
    • http://www.lhrc.net
Selintra inbound call routing...
« Reply #5 on: July 14, 2007, 06:47:09 PM »
Kewl...

You guys never cease to amaze me..

I love the fact that SAIL run on SME.... I've got a complete office solution in 1 box... which is great for a small enterprise like ourselves.

Thanks...

L2