A failure_route is executed after the final response from all the
branches is know, that means either a final response is received from
all branches or they time out (408).
Ser then compares the replies received from all branches to find out
which of them should be forwarded upstream and when that is known it
executes the failure route. The failure route gets the original request
as the parameter (not the reply forwarded upstream !) -- that means you
have to lookup aliases again in failure route to make sure that voicemail gets
the real username and domain of the user.
Jan.
On 27-08 15:24, Jev wrote:
Hi Vitaly, thanks for your reply,
So, if I follow what you are saying;
after the call fails (when fvr_timer value elapses for instance) and the
call gets passed to the failure_route and then to voicemail, i will
appear as a call to alias@sipdomian.
That would mean that I could put
if (uri!=~"^sip:1111@.*") { #Don't use voicemail on 1111 alias
t_on_failure("1"); #Our voicemail failure route
}
But then, what about aliases that map to a single user, and that user
has voicemail. When sems gets the call to ALIAS to won't know what
account that alias is associated with unless it looks at the subscriber
table, and in which event it is possible that it will find more than one
account that will receive voicemail.
What do you think?
-Jev
Vitaly Nikolaev wrote:
U have incoming DID number 1111 that forking to to
aliases 2222 and 3333
You have failure route configured on the ser and there u have forwarding
to voicemail
Now.. if somebody call 1111 SER will fork call to 2222 and 3333 and if
both of them did not pickup the phone it will be passed to failure route
BUT not as call to 2222/3333 but as call to 1111
That means that you should not care about configure voicemail on your
aliases.. only configure VM or not on incoming DID
I hope it is understandable :)
-----Original Message-----
From: serusers-bounces(a)iptel.org [mailto:serusers-bounces@lists.iptel.org]
On
Behalf Of Jev
Sent: Friday, August 27, 2004 3:30 PM
To: serusers(a)lists.iptel.org
Subject: [Serusers] one to many aliases and voicemail
Hi all,
Having an alias map to a single uri is fine, and if the target uri has
voicemail enabled that is fine.
What happens if I have a alias that goes one to many, and some of the
target uris have voicemail enabled? When someone calls a particular
alias, I don't want ser to redirect to sems at all.
How can I achieve this? Is it possible to detect if a invite has the
result of an alias (probably by using hints in the sip msg?), and if
so
can I detect how many targets a alias maps to? In
basic terms, if
alias_targets is > 1, then do not redirect to voicemail.
Thanks!
-Jev
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers