Auto dial out issue in asterisk

故事扮演 提交于 2019-12-11 08:53:35

问题


I am applying an auto dial in asterisk using .call file My a.call

Channel: DAHDI/g0/09*********
MaxRetries: 1
RetryTime: 600
WaitTime: 30
Context: outgoing
Extension: 10
Priority: 1

My problem is that every time above number is called by same number means even if i change the dialled number(receiver number above) the caller number is same.How can i set the caller number in an outgoing call? Thanks in advance.


回答1:


You can use

Channel: DAHDI/g0/09*********
MaxRetries: 1
RetryTime: 600
WaitTime: 30
Context: outgoing
Extension: 10
Priority: 1
Callerid: 12345

Note, dahdi g0 have be digital trunk and ALLOW change of callerid.




回答2:


You just add the parameter on your .call file

Callerid: <your_callerid>


来源:https://stackoverflow.com/questions/24210322/auto-dial-out-issue-in-asterisk

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