[Serusers] rewrite sip status
Juan Priotti
jpriotti at gmail.com
Mon Jun 6 16:00:45 CEST 2005
Is it possible to rewrite a sip status received from a gateway? I
mean, if I get a 183 Session Progress I want to rewrite it to a 180
Ringing. I've tried using the replace function but it only works for
the "From" and "To" fiels.
This is what I've used:
onreply_route[1] {
if (status =~ "183") {
log(1, "183 received");
replace("183 Session Progress", "180 Ringing");
}
Thank you
Juan
More information about the sr-users
mailing list