outbound CID based on extension

1 post / 0 new
giafar
giafar's picture
outbound CID based on extension

Hi there.
I have some problems to configure the outbound CID based on trunk (Freepbx 2.8.0.4).
I have some extensions based on 2 digit number format, XX, and 2 different trunks for outgoing calls: a dahdi ISDN trunk and an IAX2 trunk.
My need is to modify the outbound CID based on the trunk i'm using:
eg.
DAHDI Trunk -> DID := 0123456XX
IAX2 Trunk -> DID := 18XX

Is this function supported by Freepbx or i have to write my own outbound custom application ?

Thanks in advance.

P.S.
Sorry for my bad english.