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
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users