No subject
Wed Jun 9 21:11:47 CEST 2010
route[22] { # Suppresses 100rel announcement
if (is_present_hf("Supported")) {
if (subst('/^(Supported:.*)100rel\s*,(.*)$/\1\2/i')) {
#xlog("L_INFO", "Removed 100rel support (1)\n");
} else if (subst('/^(Supported:.*),\s*100rel(.*)$/\1\2/i'))=
{
#xlog("L_INFO", "Removed 100rel support (2)\n");
} else if (search('^Supported:.*100rel.*$')) {
remove_hf("Supported");
#xlog("L_INFO", "Removed 100rel support (3)\n");
} =20
}
} =20
I cannot take credit for this. There is a link somewhere on the opensips w=
ebsite where someone had contributed this to it. I also cannot find that l=
ink at the moment...
- Jeff
On Jun 21, 2010, at 1:41 PM, mehdi boudou wrote:
> Hello,
>=20
>=20
> I would like to delete Supported: 100rel from every INVITE header sent by=
the server.
> How can i do?
>=20
> Thanks,
>=20
>=20
> Mehdi BOUDOU
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
More information about the Users
mailing list