[Serusers] one to many aliases and voicemail

Vitaly Nikolaev vitaly at switchgate.com
Mon Aug 30 06:46:38 CEST 2004


I would recommend you to use exec_dset procedure and to have external
script that will do all routing for you.


-----Original Message-----
From: Jev [mailto:jev at ecad.org] 
Sent: Friday, August 27, 2004 6:24 PM
To: Vitaly Nikolaev
Cc: serusers at 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 at sipdomian.

That would mean that I could put
if (uri!=~"^sip:1111 at .*") { #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 at iptel.org [mailto:serusers-bounces at lists.iptel.org]
> 
> On
> 
>>Behalf Of Jev
>>Sent: Friday, August 27, 2004 3:30 PM
>>To: serusers at 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 at lists.iptel.org
>>http://lists.iptel.org/mailman/listinfo/serusers
> 
> 
> 
> 





More information about the sr-users mailing list