[Serusers] possible to rewrite sip status?
Juan Priotti
jpriotti at gmail.com
Mon Jun 6 20: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 so I can get the ringing generated by UA and not by the
gateway.
I've tried using the "replace" function but I couldn't change the sip status.
This is what I've done:
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