Got SIP response 484 "Address Incomplete"

I’m using Asterisk-Java to originate a call from my java application.
OS: Ubuntu Linux 9.10
Java version: 1.6
Asterisk Version: 1.6.2
Asterisk-Java Version: 1.0.0.M3

Here are the config files in /etc/asterisk
; AMI - The Asterisk Manager Interface
; Third party application call management support and PBX event supervision
; This configuration file is read every time someone logs in
; Use the “manager show commands” at the CLI to list available manager commands
; and their authorization levels.
; "manager show command " will show a help text.
; ---------------------------- SECURITY NOTE -------------------------------
; Note that you should not enable the AMI on a public IP address. If needed,
; block this TCP port with iptables (or another FW software) and reach it
; with IPsec, SSH, or SSL vpn tunnel. You can also make the manager
; interface available over http/https if Asterisk’s http server is enabled in
; http.conf and if both “enabled” and “webenabled” are set to yes in
; this file. Both default to no. httptimeout provides the maximum
; timeout in seconds before a web based session is discarded. The
; default is 60 seconds.
enabled = yes
webenabled = yes
port = 5038

;httptimeout = 60
; a) httptimeout sets the Max-Age of the http cookie
; b) httptimeout is the amount of time the webserver waits
; on a action=waitevent request (actually its httptimeout-10)
; c) httptimeout is also the amount of time the webserver keeps
; a http session alive after completing a successful action

bindaddr =

; Parameters that control AMI over TLS. (“enabled” must be set too).
; You can open a connection to this socket with e.g.
; openssl s_client -connect my_host:5039
; sslenable=no ; set to YES to enable it
; sslbindport=5039 ; the port to bind to
; sslbindaddr= ; address to bind to, default to bindaddr
; sslcert=/tmp/asterisk.pem ; path to the certificate.
; sslcipher= ; string specifying which SSL ciphers to use or not use

;allowmultiplelogin = yes ; IF set to no, rejects manager logins that are already in use.
; ; The default is yes.
;displayconnects = yes
; Add a Unix epoch timestamp to events (not action responses)
;timestampevents = yes

debug = on ; enable some debugging info in AMI messages (default off).
; Also accessible through the “manager debug” CLI command.
secret = createmedigrids
; If the device connected via this user accepts input slowly,
; the timeout for writes to it can be increased to keep it
; from being disconnected (value is in milliseconds)
; writetimeout = 100
displayconnects = yes ; Display on CLI user login/logoff
; Authorization for various classes
; Read authorization permits you to receive asynchronous events, in general.
; Write authorization permits you to send commands and get back responses. The
; following classes exist:
; system - General information about the system and ability to run system
; management commands, such as Shutdown, Restart, and Reload.
; call - Information about channels and ability to set information in a
; running channel.
; log - Logging information. Read-only.
; verbose - Verbose information. Read-only.
; agent - Information about queues and agents and ability to add queue
; members to a queue.
; user - Permission to send and receive UserEvent.
; config - Ability to read and write configuration files.
; command - Permission to run CLI commands. Write-only.
; dtmf - Receive DTMF events. Read-only.
; reporting - Ability to get information about the system.
; cdr - Output of cdr_manager, if loaded. Read-only.
; dialplan - Receive NewExten and VarSet events. Read-only.
; originate - Permission to originate new calls. Write-only.
read = system,call,log,verbose,agent,user,config,dtmf,reporting,cdr,dialplan
write = system,call,agent,user,config,command,reporting,originate

Relevant portions of sip.conf

register =>


Here is the Asterisk-Java code

protected void setUp() throws Exception {
		 factory = new ManagerConnectionFactory(
				 "", "asteriskUser1", "asteriskuser1");
		 this.managerConnection = factory.createManagerConnection();"setUp: managerConnection = " + this.managerConnection);

	public void testDialout() throws Exception {
		 OriginateAction callAction = new OriginateAction();"inside testDialout");
		 managerConnection.login();"After logging into the Asterisk server");
		 String call="xxxxxxxxxx";
		 OriginateAction originateAction = new OriginateAction();
		 originateAction.setChannel("SIP/" + call + "@" +;

	        originateAction.setPriority(new Integer(1));
	        originateAction.setTimeout(new Long(30000));

	        // send the originate action and wait for a maximum of 30 seconds for Asterisk
	        // to send a reply
	       ManagerResponse originateResponse = managerConnection.sendAction(originateAction, 30000);

	        // print out whether the originate succeeded or not;


When this code executes:

On the Asterisk-Java client, I get the output Originate failed.
On the Asterisk server. I get no stack trace of any kind.
However. When I use Asterisk-Cli-> manager show connection.
I receive: Got SIP response 484 “Address Incomplete” back from"

Any help is greatly appreciated