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
Checking the number of outgoing branches from the configuration script is currently not possible, so the safest way is to ensure that either all or none of the targets of an alias have the voicemail flag set or unset. It adds extra administrative overhead, but it is the best thing I can recommend you right now.
Jan.
On 27-08 12:30, Jev wrote:
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
Hi Jan,
Would you consider such a feature useful in ser? I think it would be a nice solution to my needs right now, it seems like a pretty clean approach.
From a developers point of view, would this be a difficult feature to implement? I'm curious as to what would be involved.
Thanks :) -Jev
Jan Janak wrote:
Checking the number of outgoing branches from the configuration script is currently not possible, so the safest way is to ensure that either all or none of the targets of an alias have the voicemail flag set or unset. It adds extra administrative overhead, but it is the best thing I can recommend you right now.
Jan.
On 27-08 12:30, Jev wrote:
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
On 30-08 10:42, Jev wrote:
Hi Jan,
Would you consider such a feature useful in ser?
Yes.
I think it would be a nice solution to my needs right now, it seems like a pretty clean approach.
From a developers point of view, would this be a difficult feature to implement? I'm curious as to what would be involved.
No, it is easy to do, I have put it on my todo list already.
Jan.