Summary:ASTERISK-01219: 0.7.X now Strips out Private CID's
Reporter:maticks (maticks)Labels:
Date Opened:2004-03-16 04:57:36.000-0600Date Closed:2011-06-07 14:04:51
Versions:Frequency of
Environment:Attachments:( 0) asterisk.txt
Description:Recently we moved from 0.5.x to 0.7.x of asterisk due to bugs in aix causing the channels to randomly drop out, this has since been fix.
However, we now get as a CID "Anonymous" previous to 0.7.x we used to get "Anonymous" <03 54535252> which we identified a call by the CID.
We are a telco in Australia with SS7 tails which pass all CID's to our asterisk box, it seems to be stripped inside sip_chan but i don't know exactly how to re-enable it.


In the VM system if i leave a message from a private number and have provided an email address for the mailbox.
The message i get from asterisk is sometimes from "Anonymous" <03 54535252> tried to call you, so it doesn't seem to be completely blacked out as of yet. :)
Comments:By: Olle Johansson (oej) 2004-03-19 16:08:53.000-0600

I need more information. How does the call enter Asterisk, on what kind of channel?

How is the call marked Private CID?

What result did you expect?

Please give me more information on this bug. Thank you!

By: maticks (maticks) 2004-03-20 09:35:20.000-0600

the call enters a VCO switch which then passes the call to a AS5300 via an E1.
The call is then handed too asterisk through SIP, the 5300 is connect using an extention in the sip.conf file.
When the call it then passed for eg from extension 530 (the 5300) to extension 531 (the cisco 7960 ip phone) it presents "Anonymous" <03 54535252> this never used to happen with previous versions of asterisk.

Whenever the call is passed from the extension 530 (the 5300) to vm and a user has a voicemail email address set.
when someone calls that mailbox from a private number it does present caller id in the email message with the saved .wav file of the call.
This is being done somewhere inside asterisk obviously something tied in with sip.

To sum up, i dont want it to do "Anonymous" on incoming calls i want it to say "Anonymous" <number> like it used to do :)

Just wanting to know if someone can give me a diff file or tell me what lines of code i need to change were to fix it.


By: Olle Johansson (oej) 2004-03-20 10:05:17.000-0600

Ok. Then I need a SIP DEBUG output of the SIP call into Asterisk. I want to see all headers. Add it as a .txt file, please!

By: Mark Spencer (markster) 2004-03-22 17:41:26.000-0600

Also please test -stable and -head.

By: maticks (maticks) 2004-03-23 01:02:04.000-0600

it seems the option was changed sometime between 0.5-0.7

By: Mark Spencer (markster) 2004-03-24 12:10:41.000-0600

I'm lost...  The callerid on the inbound leg and the outbound leg look identical in the attached file.  Just fine me on IRC (#asterisk, kram).