CdPn, CgPn mapping in FreePBX?

Dear All,

Could anyone please help me about what is the corredpondent configuration of the following in FreePBX:

Call Flow:
SBC-IP:
CdPn: Site ID + DDI
CgPn: …

IP-PBX;
CdPn: …
CgPn: Site ID + DDI