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
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@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@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers