Address is out of service

hi,
i am trying to place a call between my computer "2100" and a cisco phone "2010" and i am getting the errormessage
com.cisco.jtapi.InvalidStateExceptionImpl: Address is out of service
at com.cisco.jtapi.IntraProviderAddress.assertValidState(IntraProviderAddress.java:1140)
at com.cisco.jtapi.CallImpl.connect(CallImpl.java:1057)
at com.cisco.jtapi.CallImpl.connect(CallImpl.java:1007)
at com.applet.MakeCalll.<init>(MakeCalll.java:74)
at com.applet.MakeCalll.main(MakeCalll.java:79)
i am using cisco manager 8.5
here is the code to just doing a small test
* To change this template, choose Tools | Templates
* and open the template in the editor.
import javax.telephony.*;
import javax.telephony.events.*;
import com.cisco.cti.util.Condition;
public class MakeCalll
public MakeCalll(String[] args) throws Exception
            final Condition          provInService = new Condition();
            args = new String [5];
            args[0]="10.10.10.1";
            args[1]="mourad";
            args[2]="mourad";
            args[3]="2100";
            args[4]="2010";
String hostname = args[0];
String login = args[1];
String passwd = args[2];
String src = args[3];
String dst = args[4];
                     /* start up JTAPI */
JtapiPeer peer = JtapiPeerFactory.getJtapiPeer(null);
                     /* connect to the provider */
String providerString = hostname;
providerString += ";login=" + login;
providerString += ";passwd=" + passwd;
Provider provider = peer.getProvider(providerString);
/* wait for it to come into service */
final Condition          inService = new Condition();
provider.addObserver(new ProviderObserver() {
                   public void providerChangedEvent (ProvEv [] eventList) {
if (eventList == null) return;
for (int i = 0; i<= eventList.length; ++i) {
if (eventList[i] instanceof ProvInServiceEv) {
inService.set();
inService.waitTrue();
/* get an object for the calling terminal */
Address srcAddr = provider.getAddress(src);
              srcAddr.addCallObserver(new CallObserver() {
   public void callChangedEvent (CallEv [] eventList) {
/* ignored */
/* and make the call */
                     Call call = provider.createCall();
"74" ====>    call.connect(srcAddr.getTerminals()[0], srcAddr, dst);
               public static void main(String[] args) {
                 try {
"79" =====>     new MakeCalll(args );
                  } catch (Exception e) {
                 e.printStackTrace();
                     } finally {
                         System.exit(0);
what am i doing wrong ???? please i really need an answer
thanks for help

Hi mouradkaroui,
Did you resolve the issue?
Thank you!

Similar Messages

  • Idle PG side "pgagent" status is Out of service

    Hi All,
    In our new duplex set up, the idle side pgagent is showing "Out of service" instead "Not Active". But when we shutdown the active PG service, the other side will become active without any problem. Is this the expected behavior? We have 8.5.2 setup.
    Regards,
    Adithya

    Hi ganesh,
    The pgaga  and ccag logs say as bellow.
    pgag logs:
    22:42:35:044 PG2B-pgag Trace: ICM_QoS_Policies::DeletePolicy(CISCO-ICM-QOS-ID-2-RPORT-40003-RIP155.161.237.6) succeeded
    22:42:35:047 PG2B-pgag Connection to Central Controller side A established (high priority).
    22:42:35:047 PG2B-pgag Connection to Central Controller side A failed (high priority).
      Last EMT Error [10054]: An existing connection was forcibly closed by the remote host.
    ccag logs:
    23:34:57:025 ra-ccag Device PG02 [DMP ID 2,  low  priority] from address 155.161.237.12  attempted to connect but is already  connected with address 155.161.237.13.
    23:34:57:520 ra-ccag Device PG03 [DMP  ID 3,  medium priority] from address 155.161.237.14  attempted to connect but is  already connected with address 155.161.237.15.
    23:34:58:756 ra-ccag Unable  to create high priority receive thread for device at address 155.161.237.15. 
    23:35:01:642 ra-ccag Unable to create low priority receive thread for device  at address 155.161.237.14.
    Regards,
    Adithya

  • The ID/email for iTunes is an old out of service email.

    When I try to purchase music the apple ID that pops up is an old out of service email. How do I change it? Thanks!

    Hi juliereafish,
    Thanks for visiting Apple Support Communities.
    If you no longer have access to the email address associated with your Apple ID, you may want to change it using the steps in this article:
    Apple ID: Changing your Apple ID
    http://support.apple.com/kb/ht5621
    All the best,
    Jeremy

  • IPCC "The agent extension is out of service"

    We are using IPCC 4.0(3)_Build080, we have setup a new user in the system like everyone else. When this user tries to go into a ready state in the agent desktop he gets the following error:
    13:16:20 Cannot go to the ready state while the phone is out of service. Other state changes are possible.
    13:16:20 The agent extension is out of service.
    Ready state change and call control operations cannot be performed.

    Hi guys,
    Solution, for us, was to delete the phone from CUCM, and recreate it.
    This process took less than 1 minute…
    I located the device (phone) in CUCM by MAC address and deleted it.
    All  of our Service Desk phones are identical in config (they are setup for  Extension Mobility to allow for desk sharing) - so I simply "super-copied"  another SDA phone using the problematic phone's MAC, and changed the description.
    Next I associated  the 'newly created' device with the RMCM application user (User  Management > Application User > < whatever username you gave  for  your UCCX RMCM username>).
    Once the new "old" device had  registered, Joe Bloggs logged in with his extension mobility login,  logged into CAD, and was able to go 'Ready'.
    Solved.
    Information/background and initial troubleshooting:
    We are on...
    CUCM 8.0.2.40000-1
    UCCX 8.0.2.11004-12
    CAD 8.0.2.400 (says 8.0(2) at startup, the 'about' shows 8.0.2.400)
    We had the issue this morning where Joe Bloggs (SDA) was able to login to his phone (extension mobility), login to CAD (Cisco Agent Desktop), but could not go ‘Ready’ state.
    He was being presented the following error:
         07:20:29  Resource's Device is Off.
         07:20:29  The agent extension is out of service.
         Ready state change and call control operations cannot be performed.
    I logged into his device (phone) as myself and then logged into CAD. I was presented with the same error when attempting to go 'Ready'.
    Other SDA’s with the same device (phone) and device profile (extension mobility) config did not have any trouble on their phones – so appeared to have been a phone issue - or at least an issue between CUCM and the device.
    I had Joe Bloggs perform the factory default reset (unplug network cable, holding # - plug back in network cable, when line buttons flashed in sequence type 123456789*0#) – after reset, tested again, made no difference - the error persisted.
    Next, I disassociated Joe Bloggs from the DN (Directory Number/Extension) and then disassociated both the device and the device profile (ext. mobility) from RMCM ‘Application User’, saved – then re-associated – made no difference, the problem continued.
    Not sure why it happened - appears as though maybe the record of this particular device had become corrupt in CUCM somehow.
    Hope this helps someone else - as it was a lot quicker (for our setup) than disassociating user extensions and devices, etc.
    Cheers,
    Brett

  • When iPhone is on Cellular data and WiFi, i cannot make calls and phone goes out of service.

    So I have this iPhone 5S unlocked version from the US which I am using in India. When I am connected to my office wireless and also the cellular & 3G data are switched on, my phone goes out of service and I cannot make calls. I can also use internet.
    However this works great when I get onto my home WiFi along with cellular & 3G data switched on, I can make calls and also surf the net with the WiFi.
    Is anyone having similar issue? I am sure there is something with the office WiFi but what could it be to get my phone out of service.
    Any thoughts anybody ?
    Thanks,
    UG

    Yes I shutdown WiFi and I can connect to 3G on Cellular. I can make calls.
    If I shutdown Cellular and connect WiFi. I can make calls.
    Its just that when both are ON, then no calls can be made.
    All combinations work good with Home WiFi. 
    -UG

  • My iPhone 4 doesn't connect to any wifi sources anymore (even though it used to) and regularly cuts out of service.

    My iPhone is from the US and I've had it for nearly two years. I'm with optus. I know that this is not allowed to be discussed but my phone was bought jailbroken. Neither my father nor I had any idea what this meant at the time and would not have bought it if we did know. My wifi connectivity worked fine up until a month ago when it cut out for no reason at all. Since then it cannot connect to any wifi sources. Also, my phone has recently been cutting out of service 1-2 times everyday. I understand that this may due to the fact that my phone is jailbroken. However is there anyway I could unjailbreak my phone? I'm not sure if it is factory unlocked because the iPhone wasn't bought from Apple even though it is legit. So is there really anything I could do to fix my phone? It's running on IOS 4.0.1.
    Please help me. I'm fifteen and I really have no idea what to do!
    Any help would be greatly appreciated!

    In settings>general> cellular do you have it  turned ON?

  • I lost my iPhone and when I'm trying to find it with the location, they say that it is "out of service". What should I do?

    Hello people!
    As I mentionned in my question, I have lost my iPhone I'm feeling very dumb, it is the second time that this happens to me and I really need your help! I don't even know what happened, but when I arrived home after school, I didn't find my phone. The fact is that I was sure to have take it with me, but I haven't, as I see. I went on the apple site: "location of my iPhone" and they told me that my cellphone was out of service. Now, I really don't know what to do and what to think. I serched everywhere, in my car, everywhere in my house, I even went outside to check, but i live in Quebec and it is snowing a lot this winter, so maybe I just didn't see it... Anyways, I'm really scared cause I have 3G on my phone and now they say that I'm not connected to 3G anymore, neither any other internet service. I'm freaking right now. Does that mean that my cellphone is broke, stuck in the snow, or just somewhere that I'm never gonna find out? I'm imagining all the worst possibilities so if you don't want me to die soon, please, help me (try to reassure me if it is possible but if is not, tell me the truth anyways).
    Thank you guys the one who is gonna help is going to have my recognition forever!
    Sabrina999
    P.S.-I'm a french Quebecor so if you don't understand my writing, I'm sorry

    You're welcome.
    Voicemail is left at your carrier's server. That will continue to work unless you report your iPhone as lost or stolen with your carrier.
    You may never find it again and you can't if the iPhone remains offline or out of service which means the iPhone is powered off or doesn't have cellular reception.

  • 'our IMAP server appears to be temporarily out of service' - help !!

    When logging in I get this error message on my e-mail:
    'your IMAP server appears to be temporarily out of service'
    Any assistance please? Much appreciated.....

    Call your ISP or whoever hosts your mail server and ask them if something is going on...

  • Last Wednesday my iPhone 4 shut down automatically and it wouldn't let me reboot for about a half an hour. It finally rebooted and then it started with the batterty drainage and no service, going in and out of service. What's wrong?

    Hi everyone... Last Wednesday my iPhone 4 shut down automatically... I had battery. It took about a half an hour to reboot it. After that I started having trouble with going in and out of service and battery drainage. I do have that update 5 ios... or whatever its called... but I did that about 2-3 months ago and had no problems. I called Apple and they wouldn't do a **** thing for me. I called AT&T and they reset the network... didn't work. I did a hard shut down and didn't work. Now today, every call I had was dropped. So of course this morning when I woke up at like 8:30 am by 10:30 am my battery went from 100% to 35%. ***. Can someone help me???

    Hi everyone... Last Wednesday my iPhone 4 shut down automatically... I had battery. It took about a half an hour to reboot it. After that I started having trouble with going in and out of service and battery drainage. I do have that update 5 ios... or whatever its called... but I did that about 2-3 months ago and had no problems. I called Apple and they wouldn't do a **** thing for me. I called AT&T and they reset the network... didn't work. I did a hard shut down and didn't work. Now today, every call I had was dropped. So of course this morning when I woke up at like 8:30 am by 10:30 am my battery went from 100% to 35%. ***. Can someone help me???

  • Is there any way I can find out the service record on this mac ?

    I purchased a used QS from an authorized apple dealer at their after boxing day sales event. This QS is extremely quite compared to my polar express MDD.
    Is there any way I can find out the service record on this mac ?
    Somewhere away back when I heard that by knowing the serial number the details of the service record on the given mac could be found. However in those days I only bought new. These days with mac's inability to run applications that require the for real OS 9 ( not classic ) I have to scour the used market. I have some high end audio midi programmes ( for example emagic, cubase VST score ) that do the job and sometimes better then then the OS X versions.

    Hello,
    You can use System.getProperty("SAPSYSTEMNAME"); in your UDF as specified in this thread.
    Get name of XI System in mapping
    Hope this helps,
    Mark
    Edited by: Mark Dihiansan on Apr 27, 2011 7:51 AM

  • UCCX 8 VOIP Monitor Subsystem - Out of Service

    All,
    Upgraded CCX 701(SR5) to CCX 8.0.2 Premium HA enabled. Both Servers were IN SERVICE. Did a Patch upgrade to UCCX 8.0.2SU1. Noticed that VOIP Monitor Subsystem on both servers showing as OUT OF SERVICE. Downgraded to CCX 8.0.2, still get this Subsystem OUT OF SERVICE.
    From RTMT, it shows the following error:
    %MIVR-SS_VOIPMON_SRV-3-VOIP_OPERATION_ERROR:VOIP Subsystem Operation Error: Module Name=LRMConnection.readMSG, A specific description for a trace=erroris: ,Exception=java.io.EOFException
    Anyone kows how to fix this problem???
    Thanks.

    Hi all,
    I had this same problem and similar/same versions.
    Restarting Cisco DESKTOP VoIP Monitor Service (on sub - which had VoIP Monitor Service showing 'OOS') made no impact. I don't think there is any real relationship between DESKTOP VoIP monitor service and VoIP monitor service?
    Anyway, restarted the same service on Pub - no change.
    Tried restarting various sub services including CCX Engine - no change.
    I found I had to restart publisher Cisco Unified CCX Engine, then go to sub and do the same once pub was back to all 'in service'.
    I then found that my sub's 'Log Manager' under 'Cisco Unified CCX Serviceability' had gone to PARTIAL SERVICE.
    I restarted 'Cisco Unified CCX Serviceability' on sub - which had to be done via CLI.
    It appeared to restart no issue - but refreshing the list of services in the GUI several times - it still was in PARTIAL.
    Restarted Sub appliance (bounced the server) from CLI, after reboot - all services were back up and IN SERVICE.
    Thankfully I didn't have to restart my Pub - all services... IN SERVICE on pub & sub
    Resolved.
    PS. No calls were dropped for us.

  • Nokia Suite update out of service, could it mean b...

    Anyone else having problems with Nokia suite update facility, it wont refresh just says that it is out of service and try later, could this mean belle is coming????  God i want it, hope its as good as we all expect it to be
    Solved!
    Go to Solution.

    just a little background info from telstra. they have had the update from release. it comes down to the fact that there were so many fixes to anna they didnt think it fair to keep testing it. as for the emergency call that was an issue where when our emergency numbers were called the phone wouldnt call the number and it also caused the phone to freeze, i was told of alot of other issues whithin the update. telstra are now focusing on haveing there updates page update more often and correctly.
    i have not had any proplems while and after updating my n8 to anna. which goes to show that telstra have released a perfect version of anna. oo and new nokia phones are on the way to telstra.. ill let you work out what they are

  • B Channel out of service

    Hi,
    I am getting B Channel OOS in my event viewer for a gateway in CCM.
    Whats the reason for this. How can i rectify this. Can call get disconnected due to this. Please suggest.....
    Help required immediately.

    Hi,
    I am also seeing this issue with CCM 4.1(3)sr1, Windows 2000.2.7sr2. Intermittently there are multiple "Error: BChannelOOS - B channel out of service." (and D channel out of service) errors in Event Viewer for different MGCP gateways (remote and local, 3845 and 3725's). I am going to check the CCM/SDL traces the next time this happens, but if you have any other suggestions or information I would appreciated it.
    Thanks,
    GG

  • Ipad air "out of service for 60 minutes"

    my ipad air sent a message today that it would be out of service for 60 minutes today and it was. Was this legitimate from Apple or some sort of virus or hack?

    Sent a message to whom?
    There are no viruses that affect a device running iOS.
    Barry

  • Output determination (print out) for service entry sheet

    All SAP Gurus,
    What are the steps involved in determining the output (print out) for service entry sheet?
    Regards,

    Hai,
    Goto NACE select the Application ES, out type NEU and maintain the program SAPFM11, Formroutine ENTRY_NEW, form ML_SERVICE_ENTRY aganist medium printout and maintain the condition records for printout to VN.
    take print in ML83
    Regards,
    eswaramanu...
    Edited by: eswar manu on Oct 21, 2008 8:37 AM

Maybe you are looking for

  • Re formatting an external hard drive from windows to mac

    hi all, bought a samsung hd400ld which i found out later had been formatted for windows nt?? just wondering if there is a way of reformatting the hard drive so i can save stuff from my mac onto it?? any suggestions would be appreciated, (have tried u

  • Quering Fax and Email items in ICWebclient

    In ICWebClient The agent send fax and email, In the activity Clipboard, it should "Fax Out" and "Email" but I am not sure how to search them in Inbox or somewhere else. In Inbox I am selecting "Fax" but it does not comeup with any result. Can somebod

  • «Unable to read Drive...»

    Hi, I'm having a weird recurring problem - I have an external FireWire400 LaCie D2 drive that's been working fine for 2 years but now, about once a week, I get an error message upon startup that says «Unable to read Drive...» I have to repair permiss

  • Possible to parse HTML in TextArea?

    Hi All, I'd like to know whether it is possible to display HTML code in textarea when we use webui page. We have a table column with HTML code in it(something like <font style="...">, <span style="background:xxxx">, <a href=""> and so on), and we wan

  • Premiere Elements 9 Organizer crashes every time

    I installed the Trial version on my computer and later added serial number info to get the full program. The editing interface seems to work fine (though I have not had too much time to play with it yet) but the Organizer has not once opened correctl