change CID name

merge-requests/21/merge
Matthew 2021-03-06 18:07:24 -05:00
parent e43ecb8146
commit d1b2aa55b4
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ export default class SIP extends Command {
sender = await this.client.pbx.ari.channels.originate({ sender = await this.client.pbx.ari.channels.originate({
endpoint: `PJSIP/${staff.extension}`, endpoint: `PJSIP/${staff.extension}`,
extension: staff.extension, extension: staff.extension,
callerId: 'LOC PBX AUTO OPERATOR <operator>', callerId: 'LOC PBX OPERATOR <operator>',
context: 'from-internal', context: 'from-internal',
priority: 1, priority: 1,
app: 'cr-zero', app: 'cr-zero',
@ -45,7 +45,7 @@ export default class SIP extends Command {
try { try {
receiver = await receiver.originate({ receiver = await receiver.originate({
endpoint: `SIP/${args.join(' ')}`, endpoint: `SIP/${args.join(' ')}`,
callerId: 'LOC PBX AUTO OPERATOR <operator>', callerId: 'LOC PBX OPERATOR <operator>',
context: 'from-internal', context: 'from-internal',
priority: 1, priority: 1,
app: 'cr-zero', app: 'cr-zero',