[Serusers] Change INVITE and Replace

Bogdan Pintea pintea at iptego.de
Thu Nov 9 14:07:09 CET 2006


Both replace() and subst() methods of textops module support regexps.
Just try latest (pre)release.

Hth,
Bogdan.

Benito Caracuel wrote:
> Hello all,
>  
> I need help about this:
>  
> When an INVITE packet is received by SER, a Perl script changes the
> SDP of this INVITE and the result of this script (new INVITE with new
> SDP)  is saved in a txt file.
>  
> My question is:
>  
> How can I do that SER sends the new INVITE, which is in a txt file.
>  
> I have tried to do this with REPLACE command but I think is not
> possible because It doesn`t accept "regular expression" as substitute
> and I don´t know how save this new SDP in variables which can be
> process by SER.
>  
> Please help me.
>  
> Thank you very much.
>  
>  
>
> ------------------------------------------------------------------------
> Consigue el nuevo Windows Live Messenger Pruébalo
> <http://get.live.com/messenger/overview>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>   


-- 
Bogdan Pintea

iptego GmbH  -  VoIP Security
http://www.iptego.de




More information about the sr-users mailing list