Marcello, This is something I am hoping for as well but I cannot find any features within the code to allow Asterisk to modify/create this field. Ideally I'd like to see the CallingPres function support Remote-Party-ID to disable/enable privacy. I actually placed a feature request some months back on bugs.digium.com but I don't think its been considered yet.
Does anyone else have any experience with this that may help us ? Rgds, Adam -----Original Message----- From: Marcello Lupo [mailto:[EMAIL PROTECTED] Sent: 13 September 2004 11:30 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [Asterisk-Users] SIP Remote-Party-ID Hi to all, i saw that in chan_sip there is the possibility to let the * to take the number from the Remote-Party-ID header field on incoming calls from gateway. What about to let the * to generate the Remote-Party-ID on outgoing calls? this is is useful for us to let the users to have their outgoing number hidden but let our switch to get the correct record for accounting. I think that If i hide the number from the sip.conf for a particular user with restrictid=yes, i will get the call on the gateway from an anonymous caller and the switch will not get the callerid for accounting. If the * can put: Remote-Party-ID: <"number">;party=calling;privacy=full;screen=yes The switch will interpret good this and will hide the number by himself. Any ideas? Thanks, Bye, MArcello ********* DISCLAIMER ********* This message and any attachment are confidential and may be privileged or otherwise protected from disclosure and may include proprietary information. If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system. If you are not the intended recipient you must not copy this message or attachment or disclose the contents to any other person _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users