I want to populate the CDR userfield fromt the dial plan so that we can maintain consitancy of the cdr through the entire existance of a call.
I am looking at somthing like this to add to inbound and outbound calls from the trunk but i am unsure what would be the best way to do it.
exten => 777,1,SetGlobalVar(SEQID=${UNIQUEID})
exten => 777,n,Set(CDR(userfield)=${SEQID})