[Home]

Summary:ASTERISK-02724: Incomming caller*id presentation
Reporter:skornn (skornn)Labels:
Date Opened:2004-11-01 22:40:17.000-0600Date Closed:2011-06-07 14:10:05
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:When I receive a call the calling presentation is "calling party name" <calling party number> (e.g. "George Washington" <1234567890> which is correct...but when I receive a call for a private number the call is presented with "asterisk" <asterisk> with a sip client and "unknown" <unknown> with an iax client. The problem is that I would like to alter incomming private numbers to present "private call" <line number> (e.g. "Private Call" <1> for the first line or "Private Call" <2> for a second line) so I can determine which line is ringing private instead of being presented with "asterisk" <asterisk> or "unknown" <unknown> for all incomming private numbers. With the stable version of * I put 'callerid="Private Call" <1>' and 'callerid="Private Call" <2>' in zapata.conf and that worked for changing the presentation of all incomming private numbers while unaltering all incomming non-private numbers, but with the latest CVS version that no longer works.
Comments:By: Olle Johansson (oej) 2004-11-03 02:33:28.000-0600

Platform? Distro? Any other non-standard Asterisk modules? Card? Version of zaptel library? Zaptel.conf?

You need to be more detailed when filing a bug report, please...

By: Mark Spencer (markster) 2004-11-03 09:55:44.000-0600

The correct behavior if specifying callerid=foo is to set the callerid no matter what.  I cannot imagine a configuration in which it was not set.  You can use extension logic to implement this if you like, however:

exten => 812,1,NoOp(${CALLERIDNUM})
exten => 812,2,GotoIf($[q${CALLERIDNUM} = q]?3:4)
exten => 812,3,SetCallerid(1234)
exten => 812,4,NoOp(${CALLERIDNUM})

Just for example.