Why would originate call fail when using the Asterisk API with the Context set to “default”?

时间秒杀一切 提交于 2019-12-12 05:24:39

问题


When I originate a call to an outside line, setting the context to "default" causes a voice to say "good bye" and then the call is immediately terminated.

If I call an extension, it works perfectly with or without the context property.

If I remove the context property entirely, then I can call both inside and outside lines.

So what's going on?


回答1:


You need setup context default corectly.

Or use other context to do dialplan.

see this links

extensions.conf

dialout



来源:https://stackoverflow.com/questions/10860474/why-would-originate-call-fail-when-using-the-asterisk-api-with-the-context-set-t

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