Graphsql - Mutation addCoreDevice

Hello! New here, many thanks in advance and thanks for your support.

I need to include the secret field of pjsip in the addCoreDevice mutation, is this possible?

My code is:

mutation addCoreDevice($input: addCoreDeviceInput!) {
addCoreDevice(input: $input) {
coredevice{
id
tech{
… on pjsip {
tech
secret
dtmfmode
account
accountcode
callerid
context
defaultuser
dial
mailbox
}
}
dial
devicetype
user{
extension
}
}
}
}

But I don´t know how indicate the secret value.

I am not sure if this is a FreePBX question ?

It kind of is. It a specific question about the GraphQL implementation in FreePBX.

It is true that looking in a GraphQL resource/list/forum would probably get more support, but since it’s trying to extend the Asterisk GQL stuff, it’s OK here.

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