简体   繁体   English

Asterisk 始发来电显示

[英]Asterisk Originate Caller ID Display

Situation 1情况一


We use this Originate command to dial out.我们使用这个 Originate 命令拨出。

Action: Originate 
Channel: DAHDI/g11/(Destination number)
Context: queue-123
EXTEN: 123
Priority: 1 
Timeout: 30000 
Callerid: (Destination number)
Async: yes

It was success but we would like to set the dial-out number that the DAHDI trunk should use.成功了,但我们想设置 DAHDI 中继应使用的拨出号码。

Situation 2情况二


We use this Originate command to dial out.我们使用这个 Originate 命令拨出。

Action: Originate 
Channel: DAHDI/g11/(Destination number)
Context: queue-123
EXTEN: 123
Priority: 1 
Timeout: 30000 
Callerid: (One dial-out number from our PRI trunk)
Async: yes

It was success too that the remote party can see the specified dial-out number.对方可以看到指定的拨出号码也是成功的。 But our agent in the queue will also see this dial-out number instead of the original destination number但是我们在队列中的座席也会看到这个拨出号码而不是原来的目的地号码


What I am looking for我在寻找什么

  1. We can choose the dial-out number from our PRI trunk (which has 100 numbers)我们可以从我们的 PRI 中继(有 100 个号码)中选择拨出号码
  2. The remote party can see the dial-out number对方可以看到拨出号码
  3. Our agent can see the original destination number (remote party number) instead of the dial-out number我们的代理可以看到原始目的地号码(远程方号码)而不是拨出号码

For now I can only choose whether Situation 1 or 2. We would like to archive both.目前我只能选择情况 1 或 2。我们想同时存档。 Please help me to solve this Catch-22.请帮我解决这个Catch-22。 Many thanks!!!非常感谢!!!

您应该在使用类似的东西发送到队列之前更改您的 cid

exten => _X.,n,Set(CALLERID(num)=${somevar})

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM