Hi 

Thanks for that, got it working selectable by user now. 

I did know about the SetCallPres() but it had temporarily slipped my mind :-)

Regards

Jon


----- Original Message ----
From: Phil Reynolds <[EMAIL PROTECTED]>
To: asterisk-users@lists.digium.com
Sent: Monday, 9 June, 2008 4:09:34 PM
Subject: Re: [asterisk-users] Remote-Party-ID and selective CLI withold


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



      __________________________________________________________
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html

_______________________________________________
-- 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