Hey folks and Merry Christmas (“or the equally appropriate holiday greeting for your religion” ?? “Greetings”),

I’m trying to get PJSIP_DIAL_CONTACTS to honor CDR_PROP(disabled)=1 but no matter what I do it still generates a CDR entry for each contact dialed:

exten => 123,1,Set(CDR_PROP(disable)=1)
exten => 123,2,Dial(${PJSIP_DIAL_CONTACTS(endpoint)})

Any advice appreciated :slight_smile:

PJSIP_DIAL_CONTACTS doesn’t do any dialing, it just provides a string for use with Dial. If you dial a single target does it work?

I think this is some local channel confusion on my part … thanks for the reply, it helped as always. I have to unpack this.

Yep, CDR was coming from the Dial command above this Local channel … working as expected … just needed clarity … thanks again!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.