Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 838
  • Last Modified:

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?
0
chrisvz94
Asked:
chrisvz94
  • 2
  • 2
1 Solution
 
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
 
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

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now