[OpenSIPS-Users] How can I change/set Caller ID to "anonymous" and alter caller ID
Sujeev
support1 at meewadaya.com
Sun Aug 29 04:58:03 CEST 2010
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 for
inbound calls. lets say "Account" department own DID 45610299. When the
Account staff make calls to PSTN network I want to set Caller ID as 45610299
for those calls. I just want to know how to set/alter caller ID before send
to SIP gateway (I've done other parts).
I did this for "Anonymous";
--------
if (method=="INVITE") {
if ($avp(s:hidecli)) {
append_hf("<anonymous>;party=calling;id-type=subscriber;privacy=off;screen=no\r\n");
avp_delete("$avp(s:hidecli)");
};
};
--------
but this doesn't work.
Thank you!
Sujeev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100829/c5f09e56/attachment.htm
More information about the Users
mailing list