Or you can also use CPL.
-----Original Message----- From: Jev [mailto:jev@ecad.org] Sent: Friday, August 27, 2004 6:24 PM To: Vitaly Nikolaev Cc: serusers@lists.iptel.org Subject: Re: [Serusers] one to many aliases and voicemail
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@iptel.org [mailto:serusers-bounces@lists.iptel.org]
On
Behalf Of Jev Sent: Friday, August 27, 2004 3:30 PM To: serusers@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@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers