Merge branch 'sip-fix-1' into dev
commit
8d77462bd8
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue