-
Notifications
You must be signed in to change notification settings - Fork 12
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
base: master
Are you sure you want to change the base?
Conversation
@@ -52,6 +52,22 @@ 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, you may get an error message | |||
such as "I don't know how to authenticate..." if you try to call directly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be possible to include an example of the exact error message? I admit I'm not familiar with this one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ben,
Here is what I did from the AHN console
Adhearsion::OutboundCall.originate 'IAX2/[email protected]'
And Asterisk gave back:
chan_iax2.c:11243 socket_process_helper: I don't know how to authenticate
4443 to 184.75.215.106
Johannes
On Wed, Nov 11, 2015 at 10:28 AM, Ben Klang [email protected]
wrote:
In views/docs/console.md
#37 (comment)
:@@ -52,6 +52,22 @@ Note that if you are using Asterisk, the format is slightly different. The examp
AHN> Adhearsion::OutboundCall.originate 'SIP/user1'
+As well, if you need to place calls out into the outside world, you may get an error message
+such as "I don't know how to authenticate..." if you try to call directly.Would it be possible to include an example of the exact error message? I
admit I'm not familiar with this one.—
Reply to this email directly or view it on GitHub
https://github.com/adhearsion/adhearsion-website/pull/37/files#r44544376
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So this is where we get into a grey area. The problem you're seeing comes from the fact that you dialed an IAX URI, rather than a preconfigured peer. If you had a peer definition in iax.conf and called it by name (eg, dial "IAX2/4443@peer"
), you would not have received that error. The same would be true of SIP, though it's very probable that the error message is different. My feeling on this is that we either need to go into (potentially a lot) more detail regarding best practices for Asterisk config, or we need to refer the reader to documentation that explains these nuances. I lean toward the latter, if it can be found.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah.. that's better.... let me update.
On Wed, Nov 11, 2015 at 12:48 PM, Ben Klang [email protected]
wrote:
In views/docs/console.md
#37 (comment)
:@@ -52,6 +52,22 @@ Note that if you are using Asterisk, the format is slightly different. The examp
AHN> Adhearsion::OutboundCall.originate 'SIP/user1'
+As well, if you need to place calls out into the outside world, you may get an error message
+such as "I don't know how to authenticate..." if you try to call directly.So this is where we get into a grey area. The problem you're seeing comes
from the fact that you dialed an IAX URI, rather than a preconfigured peer.
If you had a peer definition in iax.conf and called it by name (eg, dial
"IAX2/4443@peer"), you would not have received that error. The same would
be true of SIP, though it's very probable that the error message is
different. My feeling on this is that we either need to go into
(potentially a lot) more detail regarding best practices for Asterisk
config, or we need to refer the reader to documentation that explains these
nuances. I lean toward the latter, if it can be found.—
Reply to this email directly or view it on GitHub
https://github.com/adhearsion/adhearsion-website/pull/37/files#r44562073
.
No description provided.