[Kamailio-Users] Re move Body Part

Raúl Alexis Betancor Santana rabs at dimension-virtual.com
Wed Jun 3 19:28:54 CEST 2009


On Wednesday 03 June 2009 12:41:52 karhu wrote:
> Ok thanks :)
>
> I've tried but doesn't delete the line anymore, i tried with :
> subst_body('/a=rtpmap:107 BV32\/16000\r//');
> subst_body('/a=rtpmap:107 BV32\/16000\n//');
> subst_body('/a=rtpmap:107 BV32\/16000\r\n//');
> subst_body('/a=rtpmap:107 BV32\/16000$\r\n//');

It is just '$' for "end of line", not '$\r\n' you should read some regex 
docs ... just and advice.

-- 
Raúl Alexis Betancor Santana
Dimensión Virtual




More information about the sr-users mailing list