Quoting Jon Farmer <[EMAIL PROTECTED]>:

> 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: [EMAIL PROTECTED]
|L_ \  / Web: http://www.tinsleyviaduct.com/phil/
(_)- \/  Waltham 66, Emley Moor 69, Droitwich 79, Windows 95


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to