that´s a very nice idea but i wouldn´t try that for more than 1000 users with pbx´s and differnt lenghts of phone numbers.
isn´t there any other possibilty?
thanks
regards raid
You can do something like this :
if ( (uri=~"^sip:12345[0-9]*@.*")) {
strip(5);
if (!t_relay()) { sl_reply_error(); };
break;
}
-----Original Message----- From: serusers-bounces@iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of raid@gmx.net Sent: mercredi, 11. mai 2005 14:37 To: serusers@lists.iptel.org Subject: [Serusers] pstn->ser->uac->pbx
hi
following example:
uac1-->pbx /
pstngw---->ser-----> \ uac2
uac1 is user1 with pstn headnumber 12345 extensions 0-100, rpid=12345,alias=12345
if uac2 (or anybody from the pstn) calls 1234577 (or any other extension of uac1), how can i forward only the extensions to uac1?
regards raid
-- +++ Lassen Sie Ihren Gedanken freien Lauf... z.B. per FreeSMS +++ GMX bietet bis zu 100 FreeSMS/Monat: http://www.gmx.net/de/go/mail
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers