Set(CALLERID(num-pres)=prohib) / AGI Version

Home » Asterisk Users » Set(CALLERID(num-pres)=prohib) / AGI Version
Asterisk Users 1 Comment


on this site

you can read, that since Atserisk 1.8 the command (in dialplan) to hide the caller id is:

I tried to implement it into my AGI-Script, but with no success. Can please anyone give me a hint, what is wrong with it:
Set CALLERID(num-pres) prohib or Set CALLERID(num-pres)=prohib

Both commands lead into:
510 Invalid or unknown command

Besr regards

One thought on - Set(CALLERID(num-pres)=prohib) / AGI Version

  • Am 06.02.2013 16:02, schrieb Steve Edwards:

    Thanks. But I found the right syntax now:
    Exec Set CALLERID(num-pres)=prohib

    This AGI-Command leads into “200 OK” and I can verify, that outgoing calls (SIP and DAHDI) are anonymous.