Reply To: RE: IAX Trunk

VitalPBX Community Support General Discussion IAX Trunk Reply To: RE: IAX Trunk

    Up
    0
    Down

    You may put this on the file /etc/asterisk/ombutel/extensions__20-baseplan.conf, in the context  “sub-construct-cid“.

    [sub-construct-cid]
    ..
    ..
    .. exten => s-external,1,NoOp(Setting External CID)
    ..
    ..
    same => n,Set(CALLERID(rdnis)=${CDR(accountcode)})
    same => n,GotoIf($["${EMERGENCY_CALL}"="yes"]?:info)
    same => n,Set(CALLERID(all)=${EMERGENCY_CID})
    same => n(info),NoOp(CID Name: ${CALLERID(name)}, CID Number: ${CALLERID(num)})
    ..
    ..
    same => n,Return()
    0