retain original caller id on Call transfer on asterisk

廉价感情. 提交于 2020-01-23 16:52:12

问题


I am running a B2C outbound Campaign on VicidialNow C.E 1.1 as Asterisk Server / SIP Server.

The call is made from server to customer and connected to agents waiting for calls. The agents transfers the call to third party (not a blind transfer). The 3rd party sees the Caller ID of agent.

Now, what I want is to display the caller id or the phone number of the customer to the 3rd party.

I Googled and searched over SO, found this sendrpid=pai to add on sip.conf file. but this functionality only supports on 1.4 or upgraded version.

scenario:

Agent calls the Customer's phone ex 12123344 and call is received. Agent puts Customer on hold and dials Mr XX, another phone number (not the extension of sip server) ex 21214433. The conference call is made(customer, agent and Mr. XX are in conference). I want Mr. XX to see the Customers Number asap the Customer is Connected to the conference.


回答1:


Capture the incoming CID information into a channel variable when the call first comes in:

exten => foo,1,Set(ORIG_CID=${CALLERID(all)})

... then set the CID just before you dial to be the contents of the channel variable.



来源:https://stackoverflow.com/questions/15167492/retain-original-caller-id-on-call-transfer-on-asterisk

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!