[Serusers] Change INVITE and Replace

Atle Samuelsen clona at cyberhouse.no
Thu Nov 9 14:25:29 CET 2006


Hi,

I'm not 100% sure but if you add/remove stuff from the sdp that ser will
update the content-lenght header. Atleast I've had problems with this
and subst.



-A
* Bogdan Pintea <pintea at iptego.de> [061109 14:06]:
> 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
> 
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers



More information about the sr-users mailing list