Outgoing CallerID via E1 gateway

Hi ,
I’m trying to use my extension number as a CID postfix e.g. my CID number runs from 087-2713[300-699].
with the suggested E1 connected as a SIP trunk to a Digium G200 gateway.
When performing an outgoing call I get the main line 087-2713300 as the caller ID the telecom sends.
The call was originated from 425 extension on freepbx and I would like to have 087-2713425 show as the caller id.
I’ve tried to change the Caller ID field but I still get the same result
last line in trace looks as follows

   -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/425-00000035", "1?Set(CONNECTEDLINE(name,i)=CID:0872713301)") in new stack
    -- Executing [s@macro-dialout-trunk:21] ExecIf("SIP/425-00000035", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)0872713301)") in new stack
    -- Executing [s@macro-dialout-trunk:22] GotoIf("SIP/425-00000035", "0?customtrunk") in new stack

-- Executing [s@macro-dialout-trunk:23] Dial("SIP/425-00000035", "SIP/G200/"0545999321",300,Tt") in new stack

Same E1 line works fine and able to provide callerID based on user Extension on legacy pbx.

Any help is much appreciated.


turns out I was using the wrong callerID string for the Telecom provider. Thanks.

Is there an option to change the caller ID based on outgoing trunk + outgoing extension ?

I have 2 E1 the callerID from the extension will only work for the E1 Line it was set up for .
Ideally I would like to have postfix callerID set up on the extension level CallerID and then add it to a prefix callerID from the turnk .
Extension 425 will have a callerID in the field with value of 425 (or any other 3 digits)
Outgoing E1 line 1 will have 0872713
Outgoing E1 line 2 will have 0872234
when 425 will use Line 1
Caller ID will be 0872713425
when 425 will use Line 2
caller ID will be 0872234425

Thanks for any help .