|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.claudio.iax2.IAX2
public final class IAX2
Talk IAX2. Based on IETF draft-guy-iax-01 "IAX: Inter-Asterisk eXchange Version 2". This draft will expire on September 7, 2006.
The goal of this class is not to fully support IAX2 in all its aspects. It is a test-bed and will support in the short term set up of simple connections from IAX2 phones (clients) to IAX2 exchanges and other phones.
Copyright (C) 2006 Claudio Nieder <private@claudio.ch>, CH-8610 Uster
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
| Method Summary | |
|---|---|
void |
authrep(java.lang.String user,
java.lang.String md5Response)
Send a AUTHREP packet |
static IAX2 |
createConnection(java.lang.String serverName)
Create a new IAX2 "connection". |
void |
dial(java.lang.String user,
java.lang.String number)
Set up a call to a number |
State |
getState()
|
static void |
main(java.lang.String[] args)
Print license. |
void |
register(java.lang.String user,
java.lang.String md5Response)
Send a REQREQ packet |
void |
setPassword(java.lang.String passwordArg)
Sets the password to use. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public State getState()
public static IAX2 createConnection(java.lang.String serverName)
serverName - Name of peer for this connection.
public void register(java.lang.String user,
java.lang.String md5Response)
user - user namemd5Response - answer to md5 challenge. May be null.
public void authrep(java.lang.String user,
java.lang.String md5Response)
user - user namemd5Response - answer to md5 challenge
public void dial(java.lang.String user,
java.lang.String number)
user - number - public void setPassword(java.lang.String passwordArg)
passwordArg - public static final void main(java.lang.String[] args)
args - ignored
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||