According to destination/trunk, it should be useful to set different callerID (or to hide it)...
For example : - for a sip friend call : callerid is the extension - for a PSTN call : callerid should be the DID which could be different according to the destination (ie UK DID number for calls to UK destination, US DID number for calls to US destination...etc... and a default one for all other destinations)
More over, for a card that does not have any DID, the callerid should be hidden
I found the restrictcid field in sip buddies setup but it seems to have been deprecated in asterisk 1.6 (callingpres is used instead)
My feeling is that I could do part of all these needs using actual release without any modification and a mix of SetCallerPres, Set CallerID in extensions.conf...
something like :
if "restrictcid=y" ==> SetCallerPres(prohib_not_screened) if not ==> use default value
Any help or ideas would be appreciated
Regards
|