[Serusers] domain
Marian Dumitru
marian.dumitru at voice-sistem.ro
Tue Oct 5 15:54:04 CEST 2004
Hi,
is this what you want to do?
if ( uri=~"sip:.*@domain1" ) {
prefix("111");
} else if (......) {
......
}
for revert operation (prefix->domain translation) there is already a
module (pdt). But afaik not for what you want.
regards,
Marian
kcassidy at kakelma.mine.nu wrote:
>Hi All,
>
> Is it possible to add a prefix to a uri based on domain? I'm trying to
>play around with multiple domains and I want users under the same domain
>to dial only a few numbers to get in touch with each other (ala pabx).
>
>
>Any hints?
>
>TIA
>
>_______________________________________________
>Serusers mailing list
>serusers at lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
>
>
>
More information about the sr-users
mailing list