2010/8/29 Sujeev suppo...@meewadaya.com:
if ($avp(s:did)) {
if(is_present_hf(Remote-Party-ID))
{
remove_hf(Remote-Party-ID);
}
if(is_present_hf(Privacy))
{
remove_hf(Privacy);
}
uac_replace_from($avp(s:did),);
avp_delete($avp(s:did));
};
I hope you also add the P-Asserted-Identity
Hello Castillo,
I don't change caller ID to anonymous for inbound calls and calls to PSTN.
I've a problem with one of my international termination provider. They ask
me to set caller ID as Anonymous before I send them to. I don't know why's
that.(I also couldn't find any good reason)
Thank you!
Hello list,
I've a small problem. I have to set caller ID as anonymous before I send
calls to one of my international termination provider. also we have 1500 SIP
devices and those devices belongs to 10 departments in my office(each
department has 150 ATAs). each department has dedicated DID number
HI Sujeev,
try this in place of your append_hf statement.
if(is_present_hf(Remote-Party-ID))
{
remove_hf(Remote-Party-ID);
}
if(is_present_hf(Privacy))
{
Hello Zahid,
Thank you!
I followed your example and I use anonymous calls example for both
altering Caller ID and set Anonymous feature.
I did this for alter/modify caller ID and It works fine!
--
if ($avp(s:did)) {
if(is_present_hf(Remote-Party-ID))
{
remove_hf(Remote-Party-ID);
}