Re: [OpenSIPS-Users] How can I change/set Caller ID to anonymous and alter caller ID

2010-08-29 Thread IƱaki Baz Castillo
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

Re: [OpenSIPS-Users] How can I change/set Caller ID to anonymous and alter caller ID

2010-08-29 Thread Sujeev
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!

[OpenSIPS-Users] How can I change/set Caller ID to anonymous and alter caller ID

2010-08-28 Thread Sujeev
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

Re: [OpenSIPS-Users] How can I change/set Caller ID to anonymous and alter caller ID

2010-08-28 Thread Zahid Mehmood
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)) {

Re: [OpenSIPS-Users] How can I change/set Caller ID to anonymous and alter caller ID

2010-08-28 Thread Sujeev
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); }