[Asterisk-Dev] Active call information
John Todd
jtodd at loligo.com
Sat Jan 3 12:46:32 MST 2004
As noted, there does seem to be a way to send encrypted passwords in
the transaction, but I prefer total encryption of TCP streams versus
just encrypting the authentication information. Until such
encryption is built into Asterisk, I would suggest that you use SSH
port forwarding as an interim solution to the problem. "man ssh" and
look at the section labelled "remote port forwarding" to get a better
idea of how to use this feature. With this hint, you should be able
to figure it out yourself and I hope that this thread will not
devolve into a tutorial of how to use ssh, since there is more than
adequate documentation available via Google and man pages on this
technique.
Your management machine would execute something like this, after
setting up null keys on both systems and creating the appropriate
authorized_users file in user "asterisk" on the remote asterisk
system:
ssh -L 5038:myasterisk.server.com:5038 -l asterisk myasterisk.server.com
Then, just telnet to 127.0.0.1:5038 on the manager machine and you'll
be connected to the appropriate port on the remote asterisk system.
Additionally, this lets you simplify your firewall lists by making
everything connect through port 22 (ssh) instead of opening Yet
Another Pinhole.
JT
At 9:00 AM -0300 1/3/04, CW_ASN wrote:
>As far as I know, encrypted passwords isn't posible at this time...
>
>----- Original Message -----
>From: "Venkat Venkataraju" <outofjungle at sbcglobal.net>
>To: <asterisk-dev at lists.digium.com>
>Sent: Saturday, January 03, 2004 8:15 AM
>Subject: Re: [Asterisk-Dev] Active call information
>
>> I'm going to write a cleint that connects to the manager and monitors
>> the calls. i was wondering whether there is a way to login into the
>> manager with encrypted password. if there is one, what protcol should i
>> be using to send the password?
>>
>> Thanks
>> Venkat
>>
>> CW_ASN wrote:
>> > Venkat:
>> >
>> > If you don't like to use cdr register for any reason, you could use API
>> > Manager for that.
>> >
>> > Uncomment all fields from '[general]' section in manager.conf, define
>> > username and secret, reload and use astman, or gastman. If you like to
>try
>> > with telnet session, you could do:
>> >
>> > telnet [ip addr * box] 5038
>> >
>> > and then write:
>> >
>> > Action: login[enter]
>> > Username: [your_login][enter]
>> > Secret: [your_secret][enter][enter]
>> >
>> > Note: two carry returns to finish the command.
>> >
>> > Then you will see:
>> >
>> > Response: Success
>> > Message: Authentication accepted
>> >
>> > All calls and details will be logged in this telnet session. Perhaps,
>you
>> > will need to parse the output if you like to send to another system.
>> > Finnaly, please go to wiki for more information.
>> >
>> > Regards,
>> >
>> > Gus
>> >
>> > ----- Original Message -----
>> > From: "Venkat Venkataraju" <outofjungle at sbcglobal.net>
>> > To: <asterisk-dev at lists.digium.com>
>> > Sent: Saturday, January 03, 2004 3:04 AM
> > > Subject: [Asterisk-Dev] Active call informatio
> > >
>> >>Hi All
>> >>
>> >>
>> >>I want to extract information like called number and the channel
>> >>whenever a call is being made. This information will be sent to another
>> >>process to compute duration of the active calls.
>> >>
>> >>What file should i teak so that i can get this information out of
>> >>asterisk? or is there any API which can be used to extract this
>> >
>> > information?
>> >
>> >>Thanks
> > >>Venkat
>
More information about the asterisk-dev
mailing list