How to retain calling party's caller ID on a call foward in asterisk

With a Cisco 7940 running SIP and the CFwdALL button is used, the calling party's caller ID information is retained through the call and ends up at the destination.  I'm trying to do a call forward in Asterisk that simulates this but the problem I have is that Asterisk requires a valid callerID number to make the outbound dial; it won't process the call through the system with the received caller ID "originating" the call.

What is it about a Cisco and its SIP Response 302 "Moved Temporarily" that enables an outbound call to be made?  Can that be simulated in the dialplan without a Cisco phone in the middle?
chrisvz94Asked:
Who is Participating?
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:
You can set the callerid at any point in the dialplan...

exten => s,n,Set(CALLERID(num)=5555555555)


0
chrisvz94Author Commented:
Thanks, xuserx2000.  For some reason that I don't understand, however, is that if I set the caller ID in the dialplan, the screening ANI of the PRI overwrites the caller ID that I set.  BUT, when the Cisco phone is set to call forward the call, the PRI doesn't overwrite the caller ID to the screening ANI.
0
Ron MalmsteadInformation Services ManagerCommented:
I think the "trick" then... is to leave off the call forwarding feature on the phone itself, and instead make it a feature of your dialplan so that you can control the callerid.

Seems it's the behaviour of the Cisco phone that is giving you the trouble.
0

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
chrisvz94Author Commented:
I think you're right, xuserx2000.  I'm having trouble finding the solution to that trick.  Thanks for your help and suggetions!
0
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
IP Telephony

From novice to tech pro — start learning today.