Solved

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

Posted on 2014-12-15
9
216 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:OAC Technology
  • 6
  • 3
9 Comments
 
LVL 25

Expert Comment

by:Ron Malmstead
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:OAC Technology
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 Malmstead
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
Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

 
LVL 2

Author Comment

by:OAC Technology
ID: 40502698
I've attached the extensions.conf that is being used
extensions.txt
0
 
LVL 25

Expert Comment

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

Please post 'extensions_custom.conf'

That is where custom modifications would be.
0
 
LVL 2

Author Comment

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

Author Comment

by:OAC Technology
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:
OAC Technology 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:OAC Technology
ID: 40531153
Found solution
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are no good configuration guides for HP-H3C router to LYNC on the web. :( Big statement, but we havent been able to find one yet. We did find the following document useful, but the information was not enough to use H3C router for use as a L…
Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
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, f…
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…

839 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