Hello everyone,
can some one tell how i can change wíth the Sigma script the Contact Header? i have the Problem that anonymous calls don't go out because the Provider gives a 403 forbidden.
PBX: IPO
SBC: Avaya SBC
Provider: Telekom Deutschland
Product: CompanyFlex
Sigma script
within session "INVITE"
{
act on message where %DIRECTION="OUTBOUND" and %ENTRY_POINT="POST_ROUTING"
{
{
remove(%HEADERS["History-Info"][3]);
remove(%HEADERS["History-Info"][2]);
remove(%HEADERS["History-Info"][1]);
remove(%HEADERS["From"][1].DISPLAY_NAME);
remove(%HEADERS["Contact"][1].DISPLAY_NAME);
append(%HEADERS["Contact"][1],"+49199296000000xxxxx@tel.t-online.de");
remove(%HEADERS["P-Asserted-Identity"][2]);
remove(%HEADERS["Contact"][1].URI.PARAMS["epv"]);
remove(%HEADERS["Contact"][1].URI.PARAMS["gsid"]);
remove(%HEADERS["P-Location"][1]);
remove(%HEADERS["Server"][1]);
remove(%HEADERS["User-Agent"][1]);
remove(%HEADERS["Session-ID"][1]);
remove(%HEADERS["Recv-Info"][1]);
remove(%HEADERS["Accept-Contact"][1]);
}
}
}
can some one tell how i can change wíth the Sigma script the Contact Header? i have the Problem that anonymous calls don't go out because the Provider gives a 403 forbidden.
PBX: IPO
SBC: Avaya SBC
Provider: Telekom Deutschland
Product: CompanyFlex
Sigma script
within session "INVITE"
{
act on message where %DIRECTION="OUTBOUND" and %ENTRY_POINT="POST_ROUTING"
{
{
remove(%HEADERS["History-Info"][3]);
remove(%HEADERS["History-Info"][2]);
remove(%HEADERS["History-Info"][1]);
remove(%HEADERS["From"][1].DISPLAY_NAME);
remove(%HEADERS["Contact"][1].DISPLAY_NAME);
append(%HEADERS["Contact"][1],"+49199296000000xxxxx@tel.t-online.de");
remove(%HEADERS["P-Asserted-Identity"][2]);
remove(%HEADERS["Contact"][1].URI.PARAMS["epv"]);
remove(%HEADERS["Contact"][1].URI.PARAMS["gsid"]);
remove(%HEADERS["P-Location"][1]);
remove(%HEADERS["Server"][1]);
remove(%HEADERS["User-Agent"][1]);
remove(%HEADERS["Session-ID"][1]);
remove(%HEADERS["Recv-Info"][1]);
remove(%HEADERS["Accept-Contact"][1]);
}
}
}