Jon Farmer
2008-Jun-09 12:29 UTC
[asterisk-users] Remote-Party-ID and selective CLI withold
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? Regards Jon __________________________________________________________ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
Phil Reynolds
2008-Jun-09 15:09 UTC
[asterisk-users] Remote-Party-ID and selective CLI withold
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
Jon Farmer
2008-Jun-09 15:56 UTC
[asterisk-users] Remote-Party-ID and selective CLI withold
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 <phil-asterisk at tinsleyviaduct.com> To: asterisk-users at 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 <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 _______________________________________________ -- 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