Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding more details on how to place calls using Asterisk #37

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions views/docs/console.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,19 @@ Note that if you are using Asterisk, the format is slightly different. The examp
AHN> Adhearsion::OutboundCall.originate 'SIP/user1'
</pre>

As well, if you need to place calls out into the outside world, remember you cannot call directly to, for example:

AHN> Adhearsion::OutboundCall.originate SIP/[email protected]

You will likely get an error message
such as: chan_sip.c:23322 handle_response_invite: Failed to authenticate on INVITE to '"Anonymous" ....

Make sure that you have your peer set up in sip.conf and call that context (in this case 'sip-provider')

<pre class='terminal'>
AHN> Adhearsion::OutboundCall.originate 'SIP/4443@sip-provider'
</pre>

<div class='docs-progress-nav'>
<span class='back'>
Back to <a href="/docs/getting-started/installation">Installation</a>
Expand Down