[asterisk-users] Remote-Party-ID and selective CLI withold

Phil Reynolds phil-asterisk at tinsleyviaduct.com
Mon Jun 9 10:09:34 CDT 2008


Quoting Jon Farmer <viperdude_uk at yahoo.co.uk>:

> Hi
>
> One of my SIP providers need me to send the Remote-Party-ID with   
> privacy=on to withhold CLI and privacy=off to show CLI. I want the   
> option to withhold CLI selectable by my users. I have set   
> sendprid=yes in the sip.conf but I cant find a way to toggle the   
> privacy between on and off on a per call basis. Any ideas how to do   
> this?

exten => _141.,1,SetCallerPres(prohib)
exten => _141.,n,Goto(${EXTEN:3},1)

... provided of course that this appears in the same context... that  
should do it.

-- 
Phil Reynolds
  o  ____ mail: phil-asterisk at tinsleyviaduct.com
|L_ \  / Web: http://www.tinsleyviaduct.com/phil/
(_)- \/  Waltham 66, Emley Moor 69, Droitwich 79, Windows 95




More information about the asterisk-users mailing list