Koozali.org: home of the SME Server
Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: jester on April 11, 2008, 09:46:11 AM
-
Is it possible to create a kind of call flow/chain of events (don't really know how to call this) in SAIL (using v606) like:
* incoming call
1 Welcome message
2 See if there is someone available (ring group)
3 No one available -> Sorry message, you can leave....
4 Go straight to some voice-mail box
I first was thinking on using aliases for this but cant work it out that way...
Thanx!
-
I would first record a greeting with *60*1001. The default password is the "4-digit Password for KEY Ops:".
Set an alias for the ring-group. This alias will default to a voicemail box.
Set an IVR menu with timeout going to the the ring-group (alias)
Set the inbound route in the trunk to this IVR menu.
I don't think there is an option like "announce-while-dialing".
The problem with this setup is that the timeout delay can be anoying.
-
HI Jester
Let me just fully understand...
You want to play a greeting (which doesn't offer any key choices - from what you've said), rings a bunch of phones and.. if no one picks up then drop to a vmailbox
Is this correct?
Best
S
-
Hi Selintra,
Yep, that's more or less it... play a "sorry no one is available, leave a message...." kinda message before dropping to a vmailbox, but thats the general idea.
thanx!
jester.
-
You can do this in one of two ways. First is the way Sophie describes above. Create an IVR with no choices and an outcome of the voicemailbox you want to hit. However, as Sophie points out, you will get a delay while the IVR waits for unsolicited input.
The second way is to create a little custom app. Lets say you've recorded greeting 8088 (using *60*8088). Let's also say that you've set up a ringroup (alias), 9099, with an outcome which goes to the correct voicemail account; - you'll need a fairly late release for this. From -594 you can choose any vmailbox in an alias outcome. Then you can do something like this...
exten=>s,1,Playback(usergreeting8088)
exten=>s,2,GoTo(internal-presets,9099,1)
I haven't tested this but it looks about right.
:)
Hope this helps
-
I just tried this custom app and it works.
There is a small delay (2-3 seconds) before ringing. Can I shorten this?
-
I don't think that there is any SAIL-induced delay in the logic chain. Have you maybe left a coupe of seconds of silence at the end of your recording?
If you haven't then may we see the console log when you run it? For good measure, turn on AGI debugging...
agi debug
When you've finished, turn it off with
agi no debug
-
Hi,
I was already thinking about messing with custom apps, i'll give it a go tomorrow.
Cheers S.!
-
Selintra,
Is it possible to return from an alias back to the originating custom app? (maybe be setting the outcome of the alias back to the custom app). Or doo a ring-group/hunt-group from a custom app. This would make even more complex flows possible....
regards,
jester.
-
you can outcome an alias to a custome app. You can also call an alias from a custom app with...
exten=>s,1,GoTo(internal-presets,{alias number},1)
S
-
I don't think tho' with the GoTo-statement that calling an alias and then from the alias have the same custom app as outcome will return the call to the position after the originating GoTo-statement (haven't tried this though). I think in the following custom app setting the outcome of alias 9099 back to this custom app will not play the "SorryNoOneThere" msg, but will start at playing "MyCustomWelcome" again:
exten=>s,1,Playback(MyCustomWelcome)
exten=>s,2,GoTo(internal-presets,9099,1)
exten=>s,3,Playback(SorryNoOneThere)
exten=>s,4,Voicemail(5999)
For me this is solved though (for what i wanted to do). I've used your suggestion for the custom app, made a dedicated MAILBOX extension 5999 and an alias 7999 with a ring group and the outcome to that 5999 mailbox extension (not using the LEAVE VOICEMAIL 5999 though, this would keep playing the VMail instructions although they were set to off in Global). Made my own Welcome recording and my own recordings for the 5999 VMail.... works like a charm!
Thanks Selintra and Soprom !!
-
I don't think tho' with the GoTo-statement that calling an alias and then from the alias have the same custom app as outcome will return the call to the position....
No it won't. Sorry I didn't explain so well. I simply meant that you can link from one to the other. With a bit of clever juggling you can link back to a different app which can continue your process.
Best
S
-
Link back to other app --- DuH !! --- why didn't i think of that, i can be SO THICK every now and then.
Thanks S.,
jester.
-
I have been trying to set up a similar small office system with a slight variation
- call recieved
- ring group of phones
- if no answer then IVR -
option 1 play message "transfering call now" then for transfer to mobile
option do nothing - transfer to voicemail
I have a couple of questions,
1. is there a way to cover the awkward silences / shorten the pauses.
2. The IVR timeout option seems to reset to "Replay message" all the time - is this supposed to happen
3. can the timeout delay be adjusted/ where is this set / is this global or individual for each ivr.
PS. I am new to this but love the product.
-
. is there a way to cover the awkward silences / shorten the pauses.
Which silences? where?
2. The IVR timeout option seems to reset to "Replay message" all the time - is this supposed to happen
No its a small bug. The value you set is being used it is just a display issue. It's fixed in -634 which is due very shortly.
3. can the timeout delay be adjusted/ where is this set / is this global or individual for each ivr.
It will wait 5 seconds for a keypress before taking the outcome. How long do you need?
Kind Regards
-
Thanks for the reply.
the silences are in a couple of places.
1. after dial but before connection there is silence for 4 - 8 seconds (thinking aloud maybe interdigit timout) can this silence be masked somehow
2. between applications - with more reading and experimentation I found this was due to "recorded silence" at begining and end of messages coupled with the after message delay on IVR.
So for timeout option we had 5sec delay after end of message + process time + recorded silence at start of next IVR menu. this gave us a total of approx 8-10 sec silence on time out. I have rerecorded messages and reduced this.
My original thoughts were to have a sequence that gave the options ie dial 1 for XXX dial 2 for xxx then at the end of message have a part that said "or just hold and you will be transfered to voicemail" then effect transfer immediatly. However once I clipped messages to eliminate the recorded silence the 5 sec delay was acceptable.
regards brian