Summary: | ASTERISK-00241: [patch] Add patch to zap channels to hide caller ID | ||
Reporter: | John Todd (jtodd) | Labels: | |
Date Opened: | 2003-09-10 21:35:17 | Date Closed: | 2011-06-07 14:05:14 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) asterisk-cxnet-dial-hidecalleri ( 1) asterisk-cxnet-dial-hidecallerid.1 | |
Description: | From: "Tais M. Hansen" <th@comx.as> Organization: ComX Networks To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] Caller ID Reply-To: asterisk-users@lists.digium.com Date: Wed, 10 Sep 2003 11:21:49 +0200 Content-Type: Text/Plain Content-Description: clearsigned data Content-Disposition: inline -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 10 September 2003 10:47, Florian Overkamp wrote: > > > How do I optionally hide the caller id on outgoing calls on chan_zap? > > > Ie. calling h323 -> asterisk -> chan_zap -> isdn provider. > >Problem solved. I made app_dial.c take an option to change > >hidecallerid/restrictcid flag. > That would be something I'd care to see in my own systems too. Is the patch > public ? I've attached the patch. Example: exten => s,6,dial(zap/g1/12345678|120|rh) The 'h' option enables restrictcid which seems to hide the callerid on outgoing zap calls. I haven't had the opportunity yet to test what happens on other channel types. *patch disclaimed* - -- Regards, Tais M. Hansen ComX Networks Tel: +45-70257474 Fax: +45-70257374 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/Xu0u2TEAILET3McRAhcUAJ9/m/z0ywhK9CCgNTlSxEiUPTtTIwCcCDsd WmGrQ0d87qUP28EWKLfOC8U= =ljMC -----END PGP SIGNATURE----- ****** ADDITIONAL INFORMATION ****** I am awaiting notes from Tais to see if he's submitted a disclaimer. | ||
Comments: | By: John Todd (jtodd) 2003-09-10 21:36:57 I supose this could have been a "core" or "applications" group bugnote, since it applies to app_dial, but... looks like it's most relevant to Zap. Mark, you may want to move to one of those two groups. By: John Todd (jtodd) 2003-09-10 21:38:25 Well, never mind then, I figure it out myself. Moved this to Applications By: John Todd (jtodd) 2003-09-11 15:31:39 From: "Tais M. Hansen" <th@comx.as> Organization: ComX Networks To: asterisk-dev@lists.digium.com Subject: CallerID minor update & pbx note Date: Thu, 11 Sep 2003 20:36:52 +0200 Hi, A minor update of my app_dial hide callerid patch adding option 'h' to app_dial description. Also, the buf size in pbx.c show app cli command was too small to show app_dial's full description even before I added option 'h'. It should be increased. Patch to do so (+1024 bytes) and to help show what I'm rambling about, is also attached. - -- Regards, Tais M. Hansen ComX Networks Tel: +45-70257474 Fax: +45-70257374 By: John Todd (jtodd) 2003-10-16 04:50:21 Tais - The second problem (buffer size) seems to have been patched - I don't know if it was your patch or not, so that's one problem out of the way. Secondly, your patch is very useful for Zap drivers. Is there any way you could also apply it to the SIP channels? This would allow the "h" option to start being channel-agnostic, which is the goal to any use of any channel. http://www.mail-archive.com/asterisk-users@lists.digium.com/msg06636.html http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122newft/122t/122t13/ftsipext.htm#1027188 By: John Todd (jtodd) 2003-11-04 15:11:48.000-0600 Now that I look at chan_sip, I do see that it in some ways respects restrictcid, but I have only tested with Zap channels. I expect that it should work with SIP, if it's a generic call variable. (note: only chan_zap and chan_sip semed to have restrictcid referenced in their code.) By: sdolloff (sdolloff) 2003-11-26 08:59:54.000-0600 This functionality should really be applied to the sip entries themselves, otherwise you are assuming that all users on the same dialplan want the same privacy options. By: zoa (zoa) 2004-01-09 20:03:02.000-0600 how about SetCallerID('') in the same extension, priority n-1 ? By: almaw (almaw) 2004-03-23 08:53:26.000-0600 You can use the Callerpres() application to set how you wish your caller ID to be presented. This gives much more flexibility than this patch. IMHO, this bug should be CLOSED as a WONTFIX. By: twisted (twisted) 2004-04-28 19:19:13 This should, indeed, IMHO, be handled through configuration. I am not closing the bug for this fact, but for the fact that it has been over a month since anything has been updated here. |