Link to home
Start Free TrialLog in
Avatar of chrisvz94
chrisvz94

asked on

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?
Avatar of Ron Malmstead
Ron Malmstead
Flag of United States of America image

You can set the callerid at any point in the dialplan...

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


Avatar of chrisvz94
chrisvz94

ASKER

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.
ASKER CERTIFIED SOLUTION
Avatar of Ron Malmstead
Ron Malmstead
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I think you're right, xuserx2000.  I'm having trouble finding the solution to that trick.  Thanks for your help and suggetions!