I'm using multi-domain and I can only call users by their aliases if I'm dialling from a phone registered with the same domain of the called user or if I'm dialling alias@domain_of_the_callee from a phone registered with other domain.
How can I make Ser allow that every user can contact other users even if they are from other domain by just dialling their alias (without dialling also their domain when the callee is from other domain than the caller)?
Regards,
Ricardo.
I already figured out how it can be done... The problem can be solved adding every domains that Ser proxy takes care to same alias in aliases table, for example like this:
username | domain | contact --------------------------------------------------------------- 4119 | domain_A | user@domain_A 4119 | domain_B | user@domain_A
This way, phones registered as different domains in the same Ser server can dial the alias 4119 without having to dial 4119@domain_A if the caller is registered in domain_B. It may sound like a bit lousy trick, but it works!
Regards,
Ricardo.
Ricardo Carvalho wrote:
I'm using multi-domain and I can only call users by their aliases if I'm dialling from a phone registered with the same domain of the called user or if I'm dialling alias@domain_of_the_callee from a phone registered with other domain.
How can I make Ser allow that every user can contact other users even if they are from other domain by just dialling their alias (without dialling also their domain when the callee is from other domain than the caller)?
Regards,
Ricardo. _______________________________________________ Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Well, that was the intention of the alias functionality, so I wouldn't call it a "lousy trick" ;-) g-)
Ricardo Carvalho wrote:
I already figured out how it can be done... The problem can be solved adding every domains that Ser proxy takes care to same alias in aliases table, for example like this:
username | domain | contact
4119 | domain_A | user@domain_A 4119 | domain_B | user@domain_A
This way, phones registered as different domains in the same Ser server can dial the alias 4119 without having to dial 4119@domain_A if the caller is registered in domain_B. It may sound like a bit lousy trick, but it works!
Regards,
Ricardo.
Ricardo Carvalho wrote:
I'm using multi-domain and I can only call users by their aliases if I'm dialling from a phone registered with the same domain of the called user or if I'm dialling alias@domain_of_the_callee from a phone registered with other domain.
How can I make Ser allow that every user can contact other users even if they are from other domain by just dialling their alias (without dialling also their domain when the callee is from other domain than the caller)?
Regards,
Ricardo. _______________________________________________ Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
In fact I think that the best way to do this would be turning off the "use_domain" for aliases, but I don't know how can that be done because I guess that if we use modparam("usrloc", "use_domain", 1), use_domain will be available for everything. If someone knows how to disable use_domain for aliases, please tell me!!
Regards,
Ricardo.
Greger V. Teigre wrote:
Well, that was the intention of the alias functionality, so I wouldn't call it a "lousy trick" ;-) g-)
Ricardo Carvalho wrote:
I already figured out how it can be done... The problem can be solved adding every domains that Ser proxy takes care to same alias in aliases table, for example like this:
username | domain | contact
4119 | domain_A | user@domain_A 4119 | domain_B | user@domain_A
This way, phones registered as different domains in the same Ser server can dial the alias 4119 without having to dial 4119@domain_A if the caller is registered in domain_B. It may sound like a bit lousy trick, but it works!
Regards,
Ricardo.
Ricardo Carvalho wrote:
I'm using multi-domain and I can only call users by their aliases if I'm dialling from a phone registered with the same domain of the called user or if I'm dialling alias@domain_of_the_callee from a phone registered with other domain.
How can I make Ser allow that every user can contact other users even if they are from other domain by just dialling their alias (without dialling also their domain when the callee is from other domain than the caller)?
Regards,
Ricardo. _______________________________________________ Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers