Thanks for your reply. How can I learn more on the subject ?

For example I want to replace the user part of uri with last 8 digits.

Thanks,
ilker

-----Original Message-----
From: Alexandr Dubovikov [mailto:shurik@start4.info]
Sent: Thursday, June 08, 2006 4:08 PM
To: İlker Aktuna (Koç.net)
Cc: serusers@iptel.org
Subject: Re: [Serusers] Modifying "From" field in INVITE message

On Thu, Jun 08, 2006 at 03:51:02PM +0300, ?lker Aktuna (Ko?.net) wrote:
> Hi,

Hi,


> I need to modify From field of INVITE messages.
> Is that possible ? How ?


sample:

if(method=="INVITE")
{

        subst('/^(From|f):(.*)sip:.*@/\1:\2sip:2222/g');

}


--
Alexandr Dubovikov * baron@iRC RusNet * mailto:shurik@start4.info
    AD1-UANIC      *  ICQ: 122351182  *  http://www.start4.info



_____________________________________________________________________________________________________________________________________________
Bu e-posta mesaji kisiye ozel olup, gizli bilgiler iceriyor olabilir. Eger bu e-posta mesaji size yanlislikla ulasmissa,  icerigini hic bir sekilde kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen e-posta mesajini kullaniciya hemen geri gonderiniz  ve  tum kopyalarini mesaj kutunuzdan siliniz. Bu e-posta mesaji, hic bir sekilde, herhangi bir amac icin cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz.  Bu e-posta mesaji viruslere karsi anti-virus sistemleri tarafindan taranmistir. Ancak yollayici, bu e-posta mesajinin - virus koruma sistemleri ile kontrol ediliyor olsa bile - virus icermedigini garanti etmez ve meydana gelebilecek zararlardan dogacak hicbir sorumlulugu kabul etmez.
This message is intended solely for the use of the individual or entity to whom it is addressed , and may contain confidential  information. If you are not the intended recipient of this message or you receive this mail in error, you should refrain from making any use of the contents and from opening any attachment. In that case, please notify the sender immediately and return the message to the sender, then, delete and destroy all copies. This e-mail message, can not be copied, published or sold for any reason. This e-mail message has been swept by anti-virus systems for the presence of computer viruses. In doing so, however,  sender  cannot warrant that virus or other forms of data corruption may not be present and do not take any responsibility in any occurrence.
_____________________________________________________________________________________________________________________________________________