No Caller ID with PJSIP

Hi there,

I am having some troubles trying to get No Caller ID / Anonymous calling working. Upstream requires the number to be set on the PIA, by the From can be Anonymous. I am using PJSIP, and if I Set(CALLERID(num)) to Anonymous it seems to set all fields to Anonymous.

I should add in, I am using ARA for endpoints as well

If you change the number, then you’re changing callerid. What you’re asking for is to withhold it.

This is accomplished using:

Set(CALLERID(num-pres)=prohib)

And to have it still be transported out to an upstream, but with the withholding information you would set trust_id_outbound to yes[1].

[1] asterisk/configs/samples/pjsip.conf.sample at master · asterisk/asterisk · GitHub

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.