"9" is missing from the caller display

My Polycom 501’s under Asterisk control, the CLID shows the caller’s number, but the problem I have is if people attempt to redial a missed caller, since the CLID doesn’t include the “9” it doesn’t work.

Can someone help me with what I could do to either ‘include’ the 9 in the display so that they can grab the outside trunk, or somehow have the 9 injected into the calling sequence automatically?

I haven’t tried this, but something along these lines should work:

exten => 123,1,Set(CALLERIDNUM=9${CALLERIDNUM})

I’m not quite sure how Asterisk handles variable assignments like this, it may not like it. If it doesn’t, you’ll have to save calleridnum in a temporary variable first.