[OpenSIPS-Users] Manipulate first line.

Jorge Henrique Pinho jorge-h-pinho at ext.ptinovacao.pt
Tue Jul 24 15:35:38 CEST 2012


Hi, i am trying to manipulate the first line of a message, in order to transform a 200 OK into a 200 Cancel,
I am doing this way : 

l=del_lump(msg, msg->first_line.u.reply.reason.s - msg->buf, msg->first_line.u.reply.reason.s - msg->buf + msg->first_line.u.reply.reason.len, 0)

But this isn't working, it is possible to do this way, or is not possible at all?

Thank you


Jorge Pinho
Analyst/Developer
Network Platforms and Multimedia Solutions 
Multimedia Division 


More information about the Users mailing list