How can we display the original caller id on calls forwarded to our Asterisk PBX?

Our German client is fowarding phone calls from their own b2b clients, based mostly in Germany, to our company also based in Germany. For the last few months we no longer ‘see’ the original caller id of the client’s client, only the caller id of our client.
We are running Asterisk 1.4.22. We have confirmed with our Telco provider that the client really is forwarding the original caller id. So the problem must lie with the way Asterisk is handling the caller id? We have made no significant changes to the Asterisk server in recent months that would explain the change in behaviour. The client has recently changed their number format to E.164. We have checked the normal Asterisk settings which control the caller id display.
James YeoAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ron MalmsteadInformation Services ManagerCommented:
In the dialplan.. insert some lines, save and reload the dialplan..then do a test transfer, so we can see what Asterisk sees on the console..

exten => [whateverinboundextenyou'reusing],n,NOOp(CID-Name: "${CALLERID(name)}")
exten => [whateverinboundextenyou'reusing],n,NOOp(CID-Num: "${CALLERID(num)}")
exten => [whateverinboundextenyou'reusing],n,NOOp(CID-All: "${CALLERID(all)}")
exten => [whateverinboundextenyou'reusing],n,NOOp(CID-ANI: "${CALLERID(ani)}")

Post your results.
James YeoAuthor Commented:
Thank you for your support

Dialplan was updated as suggested
Attached is a screenshot from the console showing the call arriving and the subsequent activity.

Unfortunately the caller id  02131158150 shown throughout the screenshot is the client's no. and not the original id 01778xxxx34

I can confirm that our Telco has stated that the original id is definitely being forwarded

It seems Asterisk is not seeing the original caller id?


FYI: for maximum flexibility we actually also fwd the call internally - from ext 380 to ext 108 - but I do not think this is part of the problem
C--Users-root-Desktop-IB-Test-Call.jpg
PhonebuffCommented:
So a couple of things, if you are really running 1.4.22 you have serious issues as that has been out of support for a number of years now and I am not even sure it will support E.164 numbering --

But here is a link to Asterisk support for E.164   http://tinyurl.com/qxc2fes

An here is some work around notes that are published, but may or may not be needed with latter more current releases of Asterisk.  http://www.e164.org/wiki/AsteriskExamples

If this were my system, I would focus on getting to the current long term support of 11.18 stable (Note the leading digit was dropped a long time ago so 1.4.22 is now known as 4.22) and then trouble shoot the caller id issue / E.164 numbering.

http://www.asterisk.org/downloads/asterisk/all-asterisk-versions

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
James YeoAuthor Commented:
Thank you Phonebuff,

...after studying the linked Information we have concluded that E.164 numbering is not supported with our current Version of Asterisk - we are now focussing on a system upgrade.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Telecommunications

From novice to tech pro — start learning today.