问题
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