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