Solved

Caller ID Prefix will randomly not show up on inbound calls in Asterisk.

Posted on 2014-12-15
9
213 Views
Last Modified: 2015-01-05
We are running a phone system on Asterisk 1.4 (we can't update because the system is heavily modified from the previous tech company) and we are running into a problem where the caller ID prefixes on inbound calls will randomly not show up.

I've removed the inbound routes, recreated them, set the prefix on the inbound DID number and the ring group that rings the phones with the same results. I've attached the log files when I'm calling in. In the two examples, it worked on the first call and then 30 seconds later when I called again, it did not work.

The interesting thins is that when the prefix is working, the inbound call seems to have my outside caller ID name and number vs. just the number:

Working:
-- Executing [s@macro-user-callerid:19] NoOp("Zap/23-1", "Using CallerID "COMPANY NAME " <YYYYYY5558>") in new stack
Not Working same line:
-- Executing [s@macro-user-callerid:19] NoOp("Zap/23-1", "Using CallerID "YYYYYY5558" <YYYYYY5558>") in new stack

I also noticed this difference which I'm not sure if it has any impact or not, but wanted to bring it up:
Working:
-- Executing [XXXXXX3749@from-pstn:3] ExecIf("Zap/23-1", "0 |Set|CALLERID(name)=YYYYYY5558") in new stack
Not working:
-- Executing [XXXXXX3749@from-pstn:3] ExecIf("Zap/23-1", "1 |Set|CALLERID(name)=YYYYYY5558") in new stack

The 0 after Zap/23-1 changed to a 1.

Any help is appreciated. Thank you
NotworkingFiltered.txt
WorkingFiltered.txt
0
Comment
Question by:DataDudes
  • 6
  • 3
9 Comments
 
LVL 25

Expert Comment

by:Ron M
ID: 40502601
Can you post the ExecIF() statement ?

Seems like it's setting the callerid name on an inbound channel, ..which is strange, but may result in not getting the CID number..possibley depending on what is getting executed based on this evaluation.
0
 
LVL 2

Author Comment

by:DataDudes
ID: 40502609
I'm not sure where to find that statement. Would it be in one of the .conf files or do you need more from the logs that I've attached?

Thank you
0
 
LVL 25

Expert Comment

by:Ron M
ID: 40502624
It would be in your conf file..
If it's open source asterisk.. then it would be in extensions.conf (unless another custom conf file is linked in this file)

The context is [from-pstn], priority 3..
0
 
LVL 2

Author Comment

by:DataDudes
ID: 40502698
I've attached the extensions.conf that is being used
extensions.txt
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 25

Expert Comment

by:Ron M
ID: 40502711
..ahh.. FreePBX..

Please post 'extensions_custom.conf'

That is where custom modifications would be.
0
 
LVL 2

Author Comment

by:DataDudes
ID: 40502724
Here you go
extensions-custom.txt
0
 
LVL 2

Author Comment

by:DataDudes
ID: 40505191
Anything you can think of as to why the caller id PREFIX doesn't get appended most of the time?
0
 
LVL 2

Accepted Solution

by:
DataDudes earned 0 total points
ID: 40525893
I figured this one out. The caller ID from the PRI was overriding the caller ID that was added by the system which was stripping the prefix. To fix this I just added a fax delay of 6 seconds on the inbound routes and now prefixes work just fine.
0
 
LVL 2

Author Closing Comment

by:DataDudes
ID: 40531153
Found solution
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Every year the snow affects people and businesses. According to the Federation of Small Businesses (FSB), in 2009, UK businesses lost an estimated £1.2bn (http://news.bbc.co.uk/1/hi/business/7864804.stm) because of bad weather. This article was c…
Healthcare providers, insurance companies and other covered entities trust eFax Corporate to transmit their most sensitive documents. eFax Corporate can help your organization implement a HIPAA compliant cloud faxing solution.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now