使用星号时,我可以隐藏用户的客户端号码吗?

I have an asterisk system which I use to make outgoing calls. I've been trying to hide the number from users so that they click to call but without knowing the number they are calling. I have tried to base64 encode the number, but I don't know where to decode it in asterisk for the call to go through. Anyone has this problem?

Just write custom AGI script which will decode a number from base64. And make sure that calls are hitting that script.

Below you can find example dialplan:

exten => _.,1,AGI(myscript.php)
exten => _.,n,Dial(SIP/yoursipprovider/${number})
exten => _.,n,Hangup()

Make sure that you are using _. extension, because X only match a digit, but _. pattern will match everything.

Your script myscript.php should take value from ${EXTEN} base64 decode it and set result to variable ${number}.

Realy hide number is: use in page number's id in database, use in click2call script func_odbc or other mysql lookup for number based on that id.

Base64 decoding may help only if all your users have low IT skills.