JAIN SIP Android Problem

I use this tutorial :
[http://www.oracle.com/technology/pub/articles/dev2arch/2007/10/introduction-jain-sip.html]
to devlope an JAIN SIP Application the code works fine, but whene I use the same code in an Android application I get this message :
The Peer SIP Stack: gov.nist.javax.sip.SipStackImpl could not be instantiated. Ensure the Path Name has been set.

I use this tutorial :
[http://www.oracle.com/technology/pub/articles/dev2arch/2007/10/introduction-jain-sip.html]
to devlope an JAIN SIP Application the code works fine, but whene I use the same code in an Android application I get this message :
The Peer SIP Stack: gov.nist.javax.sip.SipStackImpl could not be instantiated. Ensure the Path Name has been set.

Similar Messages

  • JAIN SIP PRESENCE PROXY PROBLEM

    I was download the NIST JAIN-SIP-PRESENCE-PROXY project.
    i use the ant to run and compile the project is fine.
    but IM cannot sign in to the presence proxy
    i use two command prompt to open IM and presence proxy. i have change the domain as my computer name. but the IM also cannot sign in to the presence proxy. i use the default user inside the IM and proxy server. the user is Deruelle, mranga.
    i also use the window messenger 5.1 to sign in the presence proxy but it also cannot sign in.
    what happen and how to solve it
    Please help me as soon as possible.

    but i need use the jain sip to develop the SIP
    presence server.
    so i hope can use the jain-sip-presence-proxy as a
    example.
    i already download the newer cvs for
    jain-sip-presence-proxy but the messaging function
    still not yet fuction.
    so i dont know how.
    can help me pls!!
    now i learn jsip 1.2 api.
    any other material and sourceHi
    Not sure if you read my first 2 replies, but the website says the proxy server isnt functional. It hasnt been worked on for a while, and I doubt there will be any work on it for a while longer...

  • Memory leak in Jain-SIP ?

    Hi there.
    We implemented a SIP gateway to MS OCS 2007 using
    Jain-SIP version 1.2.1906.
    One problem we have is memory consumption.
    Using jconsole we found out that memory is not
    completely released when SIP clients log out.
    E.g. the following classes keep on accumulating:
    53134 instances of class gov.nist.core.NameValueList
    41730 instances of class gov.nist.core.NameValue
    20330 instances of class gov.nist.core.Host
    20330 instances of class gov.nist.core.HostPort
    19767 instances of class gov.nist.core.DuplicateNameValueList
    19767 instances of class gov.nist.core.MultiValueMapImpl
    16162 instances of class gov.nist.javax.sip.address.Authority
    16162 instances of class gov.nist.javax.sip.address.SipUri
    13570 instances of class gov.nist.javax.sip.address.UserInfo
    12261 instances of class gov.nist.javax.sip.address.AddressImpl
    5210 instances of class gov.nist.javax.sip.header.Protocol
    5210 instances of class gov.nist.javax.sip.header.Via
    4168 instances of class gov.nist.javax.sip.header.CallID
    4168 instances of class gov.nist.javax.sip.header.CallIdentifier
    3901 instances of class gov.nist.javax.sip.header.CSeq
    3901 instances of class gov.nist.javax.sip.header.ContentLength
    3901 instances of class gov.nist.javax.sip.header.From
    3901 instances of class gov.nist.javax.sip.header.MaxForwards
    3901 instances of class gov.nist.javax.sip.header.RequestLine
    3901 instances of class gov.nist.javax.sip.header.To
    3901 instances of class gov.nist.javax.sip.header.ViaList
    3901 instances of class gov.nist.javax.sip.message.SIPRequest
    3901 instances of class gov.nist.javax.sip.stack.SIPTransaction$TransactionSemaphore
    2858 instances of class gov.nist.javax.sip.DialogFilter
    2618 instances of class gov.nist.javax.sip.header.Route
    2618 instances of class gov.nist.javax.sip.header.RouteList
    2592 instances of class gov.nist.javax.sip.stack.SIPServerTransaction
    2590 instances of class gov.nist.javax.sip.header.ContentDisposition
    2590 instances of class gov.nist.javax.sip.header.ContentType
    2590 instances of class gov.nist.javax.sip.header.MediaRange
    1579 instances of class org.apache.xmlbeans.SchemaType$Ref
    1309 instances of class gov.nist.javax.sip.header.UserAgent
    1309 instances of class gov.nist.javax.sip.parser.Pipeline
    1309 instances of class gov.nist.javax.sip.parser.PipelinedMsgParser
    1309 instances of class gov.nist.javax.sip.parser.StringMsgParser
    1309 instances of class gov.nist.javax.sip.stack.HopImpl
    1309 instances of class gov.nist.javax.sip.stack.SIPClientTransaction
    1309 instances of class gov.nist.javax.sip.stack.SIPClientTransaction$TransactionTimer
    1309 instances of class gov.nist.javax.sip.stack.SIPDialog
    These all are classes from the SIP stack aren't they ?
    Are there any known issues with memory leaks
    in Jain-SIP ?
    Is it probably a configuration issue with
    the properties/parameters for the SIP stack ?
    (There is a property gov.nist.javax.sip.AGGRESSIVE_CLEANUP which we set
    to TRUE but it didn't help)
    Do we miss to release/initialize anything in the SIP stack manually ?
    Thanks a lot in advance,
    Fred

    Nobody else seems ton have this problem. I haven't run my SIP code for as long as a week at a time but i didn't notice any undue memory usage, and I also trawled inside the source a lot without seeing anything odd. So is it your code leaking? Are you sure you're releasing everything to do with a conversation when it ends? Rather than say accumulating things in some static data structure?

  • Jain SIP sample code to do a VOIP...

    Hi,
    Right now I have a problem with my current project, can somebody give me some sample codes/can help me on how to make an client VOIP application using Jain SIP API to do a VOIP call... I have an PBX Server but i dont know how to start writing my application to connect to my server...
    thanks,
    dOnie

    [https://jain-sip.dev.java.net/]
    Edited by: cotton.m on 10-Jun-2010 10:05 AM

  • Jain-sip-proxy server does not display in browser

    Hi JCP
    I have downloaded the codes for JAin-sip-Proxy Server, Jain-sip-applet-phone.my problems are:-
    1. I have downloaded all libraries and don't find any error in boiuding the code, but when I deploy using Sailfin it just display Hello World in browser- where else the
    Netbeans Ide tells me deployment was successful.
    2. When I use Tomcat 6.26 Server, the browser just displays JavaFaces(Welcoming page of jsp framework)
    I can't see both the server site and the applet phone. My O.S is Windows 7
    (I have followed all instructions in setup including in control panels->Java Plug in)
    thanx. Can someone help me implementing this two codes( I downloaded them form NIST JAIN SIP WEB SIT)
    Edited by: FihlaTV on Aug 6, 2010 10:54 AM

    If I try to look at your XML file directly, I get an error.
    http://www.ericaeschmann.com/photos.xml
    That is likely the cause. Fix that closing tag issue and check it...

  • Current JAIN-SIP RI (JSR 32)

    Hello to the community of JAIN-SIP (JSR 32),
    I'm a student currently working on a project utilizing
    JAIN-SIP 1.2 RI in the implementation of the application.
    In the application, there is an API from another project
    being used that has a SipListener implementation. I would
    like to develop my application using existing RI's or any
    interface implementations as much as possible to avoid the
    need of implementing interfaces required to run my
    application.
    The API mentioned earlier involves pure TCP transfer of data
    only, and it serves as the network setup layer of my
    applicaiton that establishes SIP conferencing. An exception
    of "listening point not found for this provider" was observed
    which failed the setup of the conference. It was discovered
    later that the DefaultRouter class in gov.nist.javax.sip.stack
    package defaults the transfer type to UDP which causes the
    error. After this has been changed to TCP, things worked fine.
    I'm trying to avoid packaging this "fix" into my application as
    I would like people using the application to obtain their copy
    of the JAIN-SIP RI. Fiddling with a public RI probably isn't a
    good idea!
    Is it possible to change the default transfer type in the default
    router to TCP instead of UDP? Can this change be realized
    by the JAIN-SIP community in the form of a new release of the RI?
    Or...any suggestions for possible solutions the this problem?
    Thanks for looking into this,
    Any comment is greatly appreciated!

    Hi,
    I got error 500 Internal Server Error when i send a text message from jain-sip client, Client send the Text message to server but server return the above error.
    There is no Text Message Handler Code in Server Proxy Class,
    Also when i try to start Voice Connversation, Client sent a INVITE request to server but server return 500 Server Intnal Error. also there is no INVITE handler code in Server Proxy Class.
    I am using jain-sip-presence-proxy SIP server and jain-sip-applet-phone.
    please help me .......................................Its Urgent
    why server could not handle the text or voice messages.
    How i make the text and voice conversation.
    with regards

  • Jain SIP Rookie needs help!

    Ok here is my story....i was given a project to develop a client application that can do voip calls...so i started researching and it led me to jain-sip...i've been researching on it for weeks now and still i do not have a clue on how to start this....so what i did first was build my GUI using swing.. but now that im done with that i do not know where to start....So far this is what i know....We here have a SIP Proxy server waiting for my application to start registering...but thats the thing i even dont know what is needed to code this application...I already downloaded the nist-sip.jar package that lets me use the javax.sip.* package...thats it....I also know that i should implement the SipListener and use its abstract method..but that as far as i got....please anyone please...this is my first post so please be patient with me...thanks guys

    so far here is my code.....
    package rurutalk;
    public void start()
    System.out.println("Inside Start Function");
    try
    properties.setProperty("javax.sip.IP_ADDRESS","202.124.134.44");
    sipFactory = SipFactory.getInstance();
    sipFactory.setPathName("gov.nist");
    sipStack = sipFactory.createSipStack(properties);
    headerFactory = sipFactory.createHeaderFactory();
    addressFactory = sipFactory.createAddressFactory();
    messageFactory = sipFactory.createMessageFactory();
    catch(Exception e)
    e.printStackTrace();
    public void stop()
    System.out.println("Inside Stop Function");
    public static void main(String args[])
    new SipExample ();
    /** Sip Listener Interface method.*/
    public void processTimeout(TimeoutEvent timeOutEvent)
    System.out.println("Inside processTimeout Function");
    /** Sip Listener Interface method.*/
    public void processResponse(ResponseEvent responseEvent)
         //Response response = responseEvent.getResponse();
    System.out.println("Inside processResponse Function");
    /** Sip Listener Interface method.*/
    public void processRequest(RequestEvent requestEvent)
    System.out.println("Inside processRequest Function");
    Message was edited by:
    iromswa
    Message was edited by:
    iromswa
    null

  • How to continually reregister using Jain SIP?

    I currently use Jain-Sip to successfully send a REGISTER request and get a 401 UnAuth back, I then use the nonce to generate the response and send it back and I successfully get a 200 OK response.
    However when I go to re register again I cant seem to be able to send the request again, I keep getting null pointer exceptions.
    Here is my code:
    public class CSip extends Activity implements javax.sip.SipListener {
         private static AddressFactory addressFactory;
        @Override
        public void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            digest = new DigestClientAuthenticationMethod();
            myAddress = getLocalIpAddress();
            tv = new TextView(this);  
            setContentView(tv);
                 try {
                    init(tv);
                    register();
                 } catch (Exception ex) {
                    tv.append("Unxpected exception " + ex.getMessage());
                    ex.printStackTrace();
        super.finish();
        public void init(TextView tv) throws Exception {
              SipFactory sipFactory = null;
              sipStack = null;
              sipFactory = SipFactory.getInstance();
              sipFactory.setPathName("gov.nist");
              Properties properties = new Properties();
              properties.setProperty("javax.sip.STACK_NAME", "Sip_Test");
              // Create SipStack object
              sipStack = sipFactory.createSipStack(properties);
              tv.setText("sipStack = " + sipStack);
              headerFactory = sipFactory.createHeaderFactory();
              addressFactory = sipFactory.createAddressFactory();
              messageFactory = sipFactory.createMessageFactory();
              lp = sipStack.createListeningPoint(getLocalIpAddress(),
                        8002, ListeningPoint.UDP);
              if(sipProvider == null){
              sipProvider = sipStack.createSipProvider(lp);
              sipOnOffFlag = true;
              tv.append("\n jain sip stack started on " + getLocalIpAddress() + ":" + myPort + "/" + ListeningPoint.UDP + " ");
              sipProvider.addSipListener(this);
              Log.d("INIT", "SipProvider = : " + sipProvider.toString());
        public void register()throws Exception{
              String fromName = "xxxxxxxx";
              String fromSipAddress = "sip.network.com";
              String toSipAddress = "sip.network.com";
              String toUser = "xxxxxxxx";
              SipURI fromAddress = addressFactory.createSipURI(fromName,
                        fromSipAddress);
              Address fromNameAddress = addressFactory.createAddress(fromAddress);
              FromHeader fromHeader = headerFactory.createFromHeader(
                        fromNameAddress, null);
              SipURI toAddress = addressFactory
                        .createSipURI(toUser, toSipAddress);
              Address toNameAddress = addressFactory.createAddress(toAddress);
              ToHeader toHeader = headerFactory.createToHeader(toNameAddress,
                        null);
              URI requestURI = addressFactory.createURI(
                        "sip:" + "sip.network.com");
              List<ViaHeader> viaHeaders = new ArrayList<ViaHeader>();
              String ipAddress = lp.getIPAddress();
              ViaHeader viaHeader = headerFactory.createViaHeader(ipAddress,
                        lp.getPort(),
                        lp.getTransport(), null);
              viaHeaders.add(viaHeader);
              CallIdHeader callIdHeader = sipProvider.getNewCallId();
              CSeqHeader cSeqHeader = headerFactory.createCSeqHeader(1L,
                        Request.REGISTER);
              MaxForwardsHeader maxForwards = headerFactory
                        .createMaxForwardsHeader(70);
              Request request = messageFactory.createRequest(requestURI,
                        Request.REGISTER, callIdHeader, cSeqHeader, fromHeader,
                        toHeader, viaHeaders, maxForwards);
              SipURI contactUrl = addressFactory.createSipURI(fromName, fromSipAddress);
              contactUrl.setPort(8002);
              contactUrl.setLrParam();
              SipURI contactURI = addressFactory.createSipURI(fromName, "sip.network.com");
              contactURI.setPort(sipProvider.getListeningPoint(lp.getTransport())
                        .getPort());
              Address contactAddress = addressFactory.createAddress(contactURI);
              contactHeader = headerFactory.createContactHeader(contactAddress);
              request.addHeader(contactHeader);
              Header extensionHeader = headerFactory.createHeader("Expires",
                   "120");
              request.addHeader(extensionHeader);
              Log.d("SIP", "" + request.toString());
              // Create the client transaction.
              Log.d("BEFORE TID", "SipProvider = : " + sipProvider.toString());
              inviteTid = sipProvider.getNewClientTransaction(request);
              inviteTid.sendRequest();
              Log.d("AFTERSENDREQUEST", "SipProvider = : " + sipProvider.toString());
              Log.d("INVITETID", "inviteTid = " + inviteTid.getState());
              dialog = inviteTid.getDialog();
         public void processResponse(ResponseEvent responseEvent) {
              Log.d("RESPONSE", "response " + responseEvent.getResponse());
              Message message = Message.obtain();
              message.obj = "received response "+responseEvent.getResponse();
              handler.sendMessage(message);     
              Response response = (Response) responseEvent.getResponse();
              ClientTransaction tid = responseEvent.getClientTransaction();
              CSeqHeader cseq = (CSeqHeader) response.getHeader(CSeqHeader.NAME);                    
              Log.d("STATUS CODE", "status code = " + response.getStatusCode());
              Log.d("STATUS CODE", "header code = " + response.getHeader("WWW-Authenticate"));
              Log.d("STATUS CODE", "reason code = " + response.getReasonPhrase());
              CallIdHeader callid = (CallIdHeader) response.getHeader("Call-ID");
              WWWAuthenticate wwwAuth = (WWWAuthenticate) response.getHeader("WWW-Authenticate");
              Log.d("STATUS NONCE", ", nonce : " + wwwAuth.getNonce());
              Log.d("STATUS NONCE", "nonce : " + wwwAuth.getNonce());
              String nonce = wwwAuth.getNonce();
              String cNonce = wwwAuth.getCNonce();
              Log.d("STATUS ", "cnonce : " + cNonce);
              String realm = wwwAuth.getRealm();
              Log.d("STATUS ", "realm : " + realm);
              String method = wwwAuth.getQop();
              Log.d("STATUS", "method : " + method);
              String alg = wwwAuth.getAlgorithm();
              Log.d("STATUS", "alg : " + alg);
              String authResponse = null;
              AuthorizationHeader authHeader = null;
              try {
                   digest.initialize(realm,"xxxxxxxx","sip:sip.network.com",
                             nonce,"xxxxxxx", "REGISTER",null, alg);
                   Log.d("GENRESPONSE", "" + digest.generateResponse());
                   authResponse = digest.generateResponse();
              } catch (Exception e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              try {
                    authHeader = headerFactory.createAuthorizationHeader("Digest");
                    authHeader.setUsername("xxxxxxxx");
                    authHeader.setRealm(realm);
                    authHeader.setNonce(nonce);
                    authHeader.setResponse(authResponse);
                    authHeader.setAlgorithm(alg);
                    URI authURI = addressFactory.createURI(
                                  "sip:" + "sipnetworks.com");
                    authHeader.setURI(authURI);
              } catch (ParseException e) {
                   e.printStackTrace();
              Log.d("AUTH HEADER", "Auth Header = " + authHeader);
              if (response.getStatusCode() == Response.UNAUTHORIZED){
              try {
                   authHeader.setNonceCount(1);
                   createAuthReply(authHeader, callid);
              } catch (Exception e) {
                   e.printStackTrace();
              scheduleReRegistration(120, callid);     
         }

    I have tried putting in my register() method several times and if I call the different register() methods,
    so call register() then register2() then register3() it works this way.
    But not if I simply put register() in a timer looping.
    So there must be something I have to terminate and restart or something each time I run the method?
    Edited by: draffodx on Feb 11, 2010 10:12 AM

  • Top of JAIN SIP

    Hi!
    I try to write an application based on JAIN SIP (It's call 2 voipbuster account). But it's too complicated, anybody know a top level API based on JAIN SIP? I want only set the server host and port, the caller user name and password and the called user data (and maybe the Session Descriptor). After the call successfuly I want to connect the two account RTP communication, and if somebody disconnect send a Bye to the another user.
    With JAIN SIP I can call authenticated but after one min VOIPBUSTER drop the connection (nothing happened, the remote side sent 3 "Transaction terminated event" and after than a bye...).
    I think jain sip is very good but a little bit too low level.

    I am not sure...But maybe http://www.mjsip.org/index.html is what you are searching for.

  • Lync 2013 for Android problem

    Hi,
    We've got a problem with Lync 2013 client for andriod unable to connect to our on prem Lync 2013 deployment.
    Windows Phone clients can connect without any problems, Lync diagnostic tool doesn't throw any significant errors, PC clients are working fine as well. Below you will find part of a connection log from Lync 2013 client on one of our android phones:
    -19 00:50:24.198  4048  4048 I LyncPerformance: PerfBegin|2-12:Signin - Started|1413672624207
    10-19 00:50:24.358  4048  4048 I LYNC    : INFO APPLICATION .\capplication.cpp/1824:Initialized the sign in BRB logger
    10-19 00:50:24.358  4048  4048 I LYNC    : INFO APPLICATION .\cucwaappsession.cpp/975:CUcwaAppSession canceling all requests
    10-19 00:50:24.368  4048  4048 I LYNC    : INFO UTILITIES .\cbasepersistablecomponent.cpp/230:Storing 7 out-of-sync components took 7ms
    10-19 00:50:24.368  4048  4048 I LYNC    : INFO APPLICATION .\cucwaautodiscoveryserviceretrialwrapper.cpp/566:Timer cancelled. OnResume = 0
    10-19 00:50:24.368  4048  4048 I LYNC    : INFO APPLICATION .\calertreporter.cpp/117:Alert cleared of Category 1, Type 201, cleared 0 alerts
    10-19 00:50:24.368  4048  4048 I LYNC    : INFO APPLICATION .\cucwaautodiscoveryserviceretrialwrapper.cpp/566:Timer cancelled. OnResume = 0
    10-19 00:50:24.368  4048  4048 I AndroidOperationQueue: CancelSync Started
    10-19 00:50:24.368  4048  4048 I AndroidOperationQueue: No operations pending
    10-19 00:50:24.368  4048  4048 I LYNC    : INFO APPLICATION .\capplication.cpp/934:CApplication::serialize() called
    10-19 00:50:24.368  4048  4048 V LYNC    : VERBOSE APPLICATION .\ccredentialstore.cpp/137:storing credentials for service:1
    10-19 00:50:24.558  4048  4048 I LYNC    : INFO APPLICATION .\cbasepersistableentity.cpp/179:Storing 2 out-of-sync Object Models took 195ms
    10-19 00:50:24.598  4048  4048 I AndroidOperationQueue: CancelSync Started
    10-19 00:50:24.598  4048  4048 I AndroidOperationQueue: No operations pending
    10-19 00:50:24.608  4048  4048 I LYNC    : INFO APPLICATION .\cbasepersistableentity.cpp/179:Storing 4 out-of-sync Object Models took 7ms
    10-19 00:50:24.628  4048  4048 I LYNC    : INFO APPLICATION .\cbasepersistableentity.cpp/179:Storing 0 out-of-sync Object Models took 0ms
    10-19 00:50:24.628  4048  4048 I LYNC    : INFO APPLICATION .\ccertificateprovisioningservice.cpp/541:Clearing certificate from transport: 37c7c324-637d-4991-9eb3-0ff64460f41c
    10-19 00:50:24.628  4048  4048 I LYNC    : INFO TRANSPORT .\chttprequestprocessor.cpp/134:Clearing request processor for component MetaDataManager on sign-out.
    10-19 00:50:24.628  4048  4048 I LYNC    : INFO APPLICATION .\capplication.cpp/897:Impersonalized the Object Model
    10-19 00:50:24.638  4048  4048 I LYNC    : INFO APPLICATION .\cconfiguration.cpp/1279:CConfiguration::deserialize() called
    10-19 00:50:24.638  4048  4048 I LYNC    : INFO APPLICATION .\cucwaappsession.cpp/434:SignIn. signInAsUserState=2, actualState=0
    10-19 00:50:24.638  4048  4048 I LYNC    : INFO APPLICATION .\cucwaappsession.cpp/1234:Updating URLs. For Ucwa: discoveredFqdn=, applicationsRelativeUrl=, configuredInternal=https://lyncdiscover.domain.com, configuredExternal=https://lyncdiscover.domain.com,
    loc=0, auto-discovery=0
    10-19 00:50:24.638  4048  4048 I LYNC    : INFO APPLICATION .\cucwaappsession.cpp/975:CUcwaAppSession canceling all requests
    10-19 00:50:24.638  4048  4048 I LYNC    : INFO APPLICATION .\cucwaappsession.cpp/674:Sending AutoDiscovery request (in sign-in sequence)
    10-19 00:50:24.638  4048  4048 I LYNC    : INFO APPLICATION .\cucwaautodiscoveryserviceretrialwrapper.cpp/566:Timer cancelled. OnResume = 0
    10-19 00:50:24.638  4048  4048 I LYNC    : INFO APPLICATION .\calertreporter.cpp/117:Alert cleared of Category 1, Type 201, cleared 0 alerts
    10-19 00:50:24.638  4048  4048 I LYNC    : INFO APPLICATION .\cucwaautodiscoveryservice.cpp/2142:suspensionState = 2
    10-19 00:50:24.638  4048  4048 I LYNC    : INFO APPLICATION .\cucwaautodiscoveryservice.cpp/2118:adIsEnabled = 0, sipUri = sip:[email protected], m_internalADUrlInput = https://lyncdiscover.domain.comm_externalADUrlInput = https://lyncdiscover.domain.com
    10-19 00:50:24.638  4048  4048 I LYNC    : INFO APPLICATION .\cucwaautodiscoveryservice.cpp/1017:Discover UCWA urls from https://lyncdiscover.domain.com & https://lyncdiscover.domain.com for sip:[email protected]
    10-19 00:50:24.638  4048  4048 I LYNC    : INFO TRANSPORT .\transportutilityfunctions.cpp/491:Extracted domain.com from sip:[email protected]
    10-19 00:50:24.638  4048  4048 I LYNC    : INFO APPLICATION .\cucwaautodiscoveryservice.cpp/1121:Starting Auto Discovery with urls https://lyncdiscover.domain.com?sipuri=sip:[email protected] and https://lyncdiscover.domain.com?sipuri=sip:[email protected]
    10-19 00:50:24.638  4048  4048 V HttpConnection: get native 1378331608 httpCallback com.microsoft.office.lync.platform.HttpConnectionNativeCallback$1@412f39c0
    10-19 00:50:24.648  4048  4048 I LYNC    : INFO TRANSPORT .\ccredentialmanager.cpp/176:getSpecificCredential for serviceId(4) returning: credType (1) signInName () domain () username () password.empty() (1) certificate.isValid() (0)
    privateKey.empty() (1) compatibleServiceIds(4)
    10-19 00:50:24.648  4048  4048 I HttpConnection: originalurl is https://lyncdiscover.domain.com?sipuri=sip:[email protected] method Get
    10-19 00:50:24.648  4048  4048 I HttpConnection: decodedurl is https://lyncdiscover.domain.com?sipuri=sip:[email protected]
    10-19 00:50:24.648  4048  4048 I LYNC    : INFO TRANSPORT .\transportutilityfunctions.cpp/634:<SentRequest>
    10-19 00:50:24.648  4048  4048 I LYNC    : GET https://lyncdiscover.domain.com?sipuri=sip:[email protected]
    10-19 00:50:24.648  4048  4048 I LYNC    : Request Id: 0x52134210
    10-19 00:50:24.648  4048  4048 I LYNC    : HttpHeader:Accept application/vnd.microsoft.rtc.autodiscover+xml;v=1
    10-19 00:50:24.648  4048  4048 I LYNC    :
    10-19 00:50:24.648  4048  4048 I LYNC    :
    10-19 00:50:24.648  4048  4048 I LYNC    : </SentRequest>
    10-19 00:50:24.648  4048  4048 V HttpConnection: post request: https://lyncdiscover.domain.com?sipuri=sip:[email protected]
    10-19 00:50:24.648  4048  4202 V HttpConnection: send request: https://lyncdiscover.domain.com?sipuri=sip:[email protected]
    10-19 00:50:24.648  4048  4202 I HttpEngine: AutoRedirect true for https://lyncdiscover.domain.com?sipuri=sip:[email protected] and setting it to FALSE for manual handling
    10-19 00:50:24.648  4048  4202 V HttpEngine: Executing request with https://lyncdiscover.domain.com?sipuri=sip:[email protected] Connection pool count is  1
    10-19 00:50:24.648  4048  4048 I LYNC    : INFO APPLICATION .\ctransportrequestretrialqueue.cpp/385:Submitting new req. GET-UnauthenticatedRootGetRequest(0x52134210)
    10-19 00:50:24.648  4048  4048 I LYNC    : INFO APPLICATION .\cucwaautodiscoveryservice.cpp/1171:Submitting Unauthenticated AutoDiscovery request to https://lyncdiscover.domain.com?sipuri=sip:[email protected]
    10-19 00:50:24.648  4048  4048 I LYNC    : INFO TRANSPORT .\transportutilityfunctions.cpp/491:Extracted domain.com from sip:[email protected]
    10-19 00:50:24.648  4048  4048 I LYNC    : INFO APPLICATION .\cucwaappsession.cpp/998:CUcwaAppSession::setNewActualState() state=1
    10-19 00:50:24.658  4048  4048 I LYNC    : INFO APPLICATION .\capplication.cpp/1858:CUcwaAppSession::signIn() succeeded
    10-19 00:50:24.678  4048  4048 W LocaleUtil: locale = en_US
    10-19 00:50:24.678  4048  4048 W LocaleUtil: scriptSubtag = Latn
    10-19 00:50:24.688  4048  4048 W LocaleUtil: locale = en_US
    10-19 00:50:24.688  4048  4048 W LocaleUtil: scriptSubtag = Latn
    10-19 00:50:24.818  4048  4048 W LocaleUtil: locale = en_US
    10-19 00:50:24.818  4048  4048 W LocaleUtil: scriptSubtag = Latn
    10-19 00:50:24.828  4048  4048 W LocaleUtil: locale = en_US
    10-19 00:50:24.828  4048  4048 W LocaleUtil: scriptSubtag = Latn
    10-19 00:50:24.878  4048  4202 D HttpEngine: Resolved addr : localhost
    10-19 00:50:24.888  4048  4202 E HttpConnection: java.lang.NullPointerException
    10-19 00:50:24.888  4048  4202 E HttpConnection:     at com.microsoft.office.lync.platform.HttpEngine$DelegateSocketFactory.verifyHostname(HttpEngine.java:663)
    10-19 00:50:24.888  4048  4202 E HttpConnection:     at com.microsoft.office.lync.platform.HttpEngine$DelegateSocketFactory.createSocket(HttpEngine.java:623)
    10-19 00:50:24.888  4048  4202 E HttpConnection:     at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:165)
    10-19 00:50:24.888  4048  4202 E HttpConnection:     at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
    10-19 00:50:24.888  4048  4202 E HttpConnection:     at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
    10-19 00:50:24.888  4048  4202 E HttpConnection:     at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360)
    10-19 00:50:24.888  4048  4202 E HttpConnection:     at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
    10-19 00:50:24.888  4048  4202 E HttpConnection:     at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
    10-19 00:50:24.888  4048  4202 E HttpConnection:     at com.microsoft.office.lync.platform.HttpEngine.execute(HttpEngine.java:391)
    10-19 00:50:24.888  4048  4202 E HttpConnection:     at com.microsoft.office.lync.platform.HttpConnection$1.run(HttpConnection.java:227)
    10-19 00:50:24.888  4048  4202 E HttpConnection:     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
    10-19 00:50:24.888  4048  4202 E HttpConnection:     at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
    10-19 00:50:24.888  4048  4202 E HttpConnection:     at java.util.concurrent.FutureTask.run(FutureTask.java:137)
    10-19 00:50:24.888  4048  4202 E HttpConnection:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
    10-19 00:50:24.888  4048  4202 E HttpConnection:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
    10-19 00:50:24.888  4048  4202 E HttpConnection:     at java.lang.Thread.run(Thread.java:856)
    10-19 00:50:24.888  4048  4202 V HttpConnection: got Response: https://lyncdiscover.domain.com?sipuri=sip:[email protected] statusCode: 0 callback com.microsoft.office.lync.platform.HttpConnectionNativeCallback$1@412f39c0
    10-19 00:50:24.978  4048  4048 I UcClientStateManager: New UI State: ActualState = IsSigningIn DesiredState = BeSignedIn  DataAvailable = false New state=class com.microsoft.office.lync.ui.login.SigningInActivity
    10-19 00:50:25.098  4048  4048 V LyncActivity: finish being called for com.microsoft.office.lync.ui.login.SigninActivity
    10-19 00:50:25.108  4048  4048 I LYNC    : INFO APPLICATION .\cewsattachmentmanager.cpp/196:Scheduling cleanup run in 86400sec
    10-19 00:50:25.108  4048  4048 I LYNC    : INFO TRANSPORT .\ccredentialmanager.cpp/176:getSpecificCredential for serviceId(1) returning: credType (1) signInName ([email protected]) domain (corp) username (test) password.empty() (0) certificate.isValid()
    (0) privateKey.empty() (1) compatibleServiceIds(1)
    10-19 00:50:25.108  4048  4048 V HttpConnectionNativeCallback: exception java.lang.NullPointerException statusCode 0
    10-19 00:50:25.108  4048  4048 E LYNC    : ERROR TRANSPORT .\chttpconnection.cpp/226:CHttpConnection exception: java.lang.NullPointerException
    10-19 00:50:25.108  4048  4048 I LYNC    : INFO TRANSPORT .\chttprequestprocessor.cpp/173:Received response of request(UcwaAutoDiscoveryRequest) with status = 0x22020001
    10-19 00:50:25.108  4048  4048 I LYNC    : INFO TRANSPORT .\chttprequestprocessor.cpp/201:Request UcwaAutoDiscoveryRequest resulted in E_ConnectionError (E2-2-1). The retry counter is: 0
    10-19 00:50:25.108  4048  4048 V HttpConnection: get native 1370056832 httpCallback com.microsoft.office.lync.platform.HttpConnectionNativeCallback$1@41299c88
    10-19 00:50:25.108  4048  4048 I LYNC    : INFO TRANSPORT .\ccredentialmanager.cpp/176:getSpecificCredential for serviceId(4) returning: credType (1) signInName () domain () username () password.empty() (1) certificate.isValid() (0)
    privateKey.empty() (1) compatibleServiceIds(4)
    10-19 00:50:25.108  4048  4048 I HttpConnection: originalurl is https://lyncdiscover.domain.com?sipuri=sip:[email protected] method Get
    10-19 00:50:25.108  4048  4048 I HttpConnection: decodedurl is https://lyncdiscover.domain.com?sipuri=sip:[email protected]
    10-19 00:50:25.108  4048  4048 I LYNC    : INFO TRANSPORT .\transportutilityfunctions.cpp/634:<SentRequest>
    10-19 00:50:25.108  4048  4048 I LYNC    : GET https://lyncdiscover.domain.com?sipuri=sip:[email protected]
    10-19 00:50:25.108  4048  4048 I LYNC    : Request Id: 0x52134210
    10-19 00:50:25.108  4048  4048 I LYNC    : HttpHeader:Accept application/vnd.microsoft.rtc.autodiscover+xml;v=1
    10-19 00:50:25.108  4048  4048 I LYNC    :
    10-19 00:50:25.108  4048  4048 I LYNC    :
    10-19 00:50:25.108  4048  4048 I LYNC    : </SentRequest>
    10-19 00:50:25.108  4048  4048 V HttpConnection: post request: https://lyncdiscover.domain.com?sipuri=sip:[email protected]
    10-19 00:50:25.108  4048  4198 V HttpConnection: send request: https://lyncdiscover.domain.com?sipuri=sip:[email protected]
    10-19 00:50:25.108  4048  4198 I HttpEngine: AutoRedirect true for https://lyncdiscover.domain.com?sipuri=sip:[email protected] and setting it to FALSE for manual handling
    10-19 00:50:25.108  4048  4198 V HttpEngine: Executing request with https://lyncdiscover.domain.com?sipuri=sip:[email protected] Connection pool count is  1
    10-19 00:50:25.178  4048  4051 D dalvikvm: GC_CONCURRENT freed 313K, 10% free 7311K/8071K, paused 8ms+6ms, total 46ms
    10-19 00:50:25.368  4048  4198 D HttpEngine: Resolved addr : localhost
    10-19 00:50:25.368  4048  4198 E HttpConnection: java.lang.NullPointerException
    10-19 00:50:25.368  4048  4198 E HttpConnection:     at com.microsoft.office.lync.platform.HttpEngine$DelegateSocketFactory.verifyHostname(HttpEngine.java:663)
    10-19 00:50:25.368  4048  4198 E HttpConnection:     at com.microsoft.office.lync.platform.HttpEngine$DelegateSocketFactory.createSocket(HttpEngine.java:623)
    10-19 00:50:25.368  4048  4198 E HttpConnection:     at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:165)
    10-19 00:50:25.368  4048  4198 E HttpConnection:     at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
    10-19 00:50:25.368  4048  4198 E HttpConnection:     at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
    10-19 00:50:25.368  4048  4198 E HttpConnection:     at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360)
    10-19 00:50:25.368  4048  4198 E HttpConnection:     at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
    10-19 00:50:25.368  4048  4198 E HttpConnection:     at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
    10-19 00:50:25.368  4048  4198 E HttpConnection:     at com.microsoft.office.lync.platform.HttpEngine.execute(HttpEngine.java:391)
    10-19 00:50:25.368  4048  4198 E HttpConnection:     at com.microsoft.office.lync.platform.HttpConnection$1.run(HttpConnection.java:227)
    10-19 00:50:25.368  4048  4198 E HttpConnection:     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
    10-19 00:50:25.368  4048  4198 E HttpConnection:     at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
    10-19 00:50:25.368  4048  4198 E HttpConnection:     at java.util.concurrent.FutureTask.run(FutureTask.java:137)
    10-19 00:50:25.368  4048  4198 E HttpConnection:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
    10-19 00:50:25.368  4048  4198 E HttpConnection:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
    10-19 00:50:25.368  4048  4198 E HttpConnection:     at java.lang.Thread.run(Thread.java:856)
    10-19 00:50:25.368  4048  4198 V HttpConnection: got Response: https://lyncdiscover.domain.com?sipuri=sip:[email protected] statusCode: 0 callback com.microsoft.office.lync.platform.HttpConnectionNativeCallback$1@41299c88
    10-19 00:50:25.398  4048  4048 D SigninActivity: onPause()
    10-19 00:50:25.438  4048  4048 V HttpConnectionNativeCallback: exception java.lang.NullPointerException statusCode 0
    10-19 00:50:25.438  4048  4048 E LYNC    : ERROR TRANSPORT .\chttpconnection.cpp/226:CHttpConnection exception: java.lang.NullPointerException
    10-19 00:50:25.438  4048  4048 I LYNC    : INFO TRANSPORT .\chttprequestprocessor.cpp/173:Received response of request(UcwaAutoDiscoveryRequest) with status = 0x22020001
    10-19 00:50:25.438  4048  4048 I LYNC    : INFO TRANSPORT .\chttprequestprocessor.cpp/201:Request UcwaAutoDiscoveryRequest resulted in E_ConnectionError (E2-2-1). The retry counter is: 1
    10-19 00:50:25.438  4048  4048 I LYNC    : INFO TRANSPORT .\chttprequestprocessor.cpp/266:Sending event to main thread for request(0x52134210)
    10-19 00:50:25.448  4048  4048 I loadLabel: ComponentInfo.java loadLabel
    10-19 00:50:25.448  4048  4048 I loadLabel: ComponentInfo packageName iscom.microsoft.office.lync15
    10-19 00:50:25.448  4048  4048 D SigningInActivity: onCreate()
    10-19 00:50:25.448  4048  4048 V ActivityMonitor: Activity Create: com.microsoft.office.lync.ui.login.SigningInActivity
    10-19 00:50:25.458  4048  4048 W AccessibilityViewFactory: Failed to find class for view RelativeLayout
    10-19 00:50:25.478  4048  4048 D SigningInActivity: onStart()
    10-19 00:50:25.478  4048  4048 V ActivityMonitor: Activity Start: com.microsoft.office.lync.ui.login.SigningInActivity
    10-19 00:50:25.478  4048  4048 D SigningInActivity: onResume()
    10-19 00:50:25.508  4048  4048 I LYNC    : INFO APPLICATION .\ctransportrequestretrialqueue.cpp/822:Req. completed, Stopping timer.
    10-19 00:50:25.508  4048  4048 I LYNC    : INFO APPLICATION .\cucwaautodiscoveryservice.cpp/1305:Received autodiscovery response with status E_ConnectionError (E2-2-1)
    10-19 00:50:25.508  4048  4048 I LYNC    : INFO APPLICATION .\cucwaautodiscoveryservice.cpp/1319:Ignoring request of type 1 as current state is 8
    10-19 00:50:25.508  4048  4048 I LYNC    : INFO APPLICATION .\cucwaautodiscoveryservice.cpp/1321:Request url was https://lyncdiscover.domain.com?sipuri=sip:[email protected]
    10-19 00:50:25.508  4048  4048 I LYNC    : INFO APPLICATION .\ctransportrequestretrialqueue.cpp/725:Response received for req. GET-UnauthenticatedRootGetRequest(0x52134210): E_ConnectionError (E2-2-1) (RemoteNetworkTemporaryError);
    Done with req.; Stopping resend timer
    10-19 00:50:26.178  4048  4048 D SigninActivity: onStop()
    10-19 00:50:26.178  4048  4048 V ActivityMonitor: Activity Stop: com.microsoft.office.lync.ui.login.SigninActivity
    10-19 00:50:26.178  4048  4048 D SigninActivity: onDestroy()
    10-19 00:50:26.178  4048  4048 V ActivityMonitor: Activity Destroy: com.microsoft.office.lync.ui.login.SigninActivity
    10-19 00:50:37.878  4048  4048 I Choreographer: Skipped 73 frames!  The application may be doing too much work on its main thread.
    Any help would be greatly appreciated.
    Best,
    Marcin

    Hi,
    Server is up to date and accessible from ALL clients apart of Android one.
    Reflashed phone with latest Android 4, reinstalled Lync 2013 and at first login attempt I got (with server autodiscover ON):
    11-06 16:37:44.699 2387 2387 V HttpConnection: post request: https://lyncdiscover.domain.com/?sipuri=sip:[email protected]
    11-06 16:37:44.699 2387 2484 V HttpConnection: send request: https://lyncdiscover.domain.com/?sipuri=sip:[email protected]
    11-06 16:37:44.699 2387 2484 V HttpEngine: Executing request with https://lyncdiscover.domain.com/?sipuri=sip:[email protected] Connection pool count is 1
    11-06 16:37:44.729 2387 2387 I LYNC : INFO APPLICATION .\cucwaautodiscoverygetuserurloperation.cpp/393:CUcwaAutoDiscoverGetUserUrlOperation::onEvent received. Status = E_ClientVersionBlocked (E2-3-30), url = http://lyncdiscover.domain.com/
    11-06 16:37:44.729 2387 2387 I LYNC : INFO APPLICATION .\cucwaautodiscoverygetuserurloperation.cpp/224:UcwaAutoDiscoveryGetUserUrlOperation completed with url = http://lyncdiscover.domain.com/?sipuri=sip:[email protected], userUrl = , status = E_ClientVersionBlocked (E2-3-30)
    11-06 16:37:44.889 2387 2484 D HttpEngine: Resolved addr : localhost
    11-06 16:37:44.929 2387 2484 E HttpConnection: java.lang.NullPointerException
    11-06 16:37:44.929 2387 2484 E HttpConnection: at com.microsoft.office.lync.platform.HttpEngine$DelegateSocketFactory.verifyHostname(HttpEngine.java:663)
    11-06 16:37:44.929 2387 2484 E HttpConnection: at com.microsoft.office.lync.platform.HttpEngine$DelegateSocketFactory.createSocket(HttpEngine.java:623)
    11-06 16:37:44.929 2387 2484 E HttpConnection: at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:165)
    11-06 16:37:44.929 2387 2484 E HttpConnection: at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
    11-06 16:37:44.929 2387 2484 E HttpConnection: at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
    11-06 16:37:44.929 2387 2484 E HttpConnection: at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360)
    11-06 16:37:44.929 2387 2484 E HttpConnection: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
    11-06 16:37:44.929 2387 2484 E HttpConnection: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
    11-06 16:37:44.929 2387 2484 E HttpConnection: at com.microsoft.office.lync.platform.HttpEngine.execute(HttpEngine.java:391)
    11-06 16:37:44.929 2387 2484 E HttpConnection: at com.microsoft.office.lync.platform.HttpConnection$1.run(HttpConnection.java:227)
    11-06 16:37:44.929 2387 2484 E HttpConnection: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
    11-06 16:37:44.929 2387 2484 E HttpConnection: at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
    11-06 16:37:44.929 2387 2484 E HttpConnection: at java.util.concurrent.FutureTask.run(FutureTask.java:137)
    11-06 16:37:44.929 2387 2484 E HttpConnection: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
    11-06 16:37:44.929 2387 2484 E HttpConnection: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
    11-06 16:37:44.929 2387 2484 E HttpConnection: at java.lang.Thread.run(Thread.java:856)
    11-06 16:37:44.929 2387 2484 V HttpConnection: got Response: https://lyncdiscover.domain.com/?sipuri=sip:[email protected] statusCode: 0 callback com.microsoft.office.lync.platform.HttpConnectionNativeCallback$1@42613ed8
    11-06 16:37:45.219 2387 2387 V HttpConnectionNativeCallback: exception java.lang.NullPointerException statusCode 0
    11-06 16:37:45.219 2387 2387 E LYNC : ERROR TRANSPORT .\chttpconnection.cpp/226:CHttpConnection exception: java.lang.NullPointerException
    11-06 16:37:45.219 2387 2387 I LYNC : INFO TRANSPORT .\chttprequestprocessor.cpp/173:Received response of request(UcwaAutoDiscoveryRequest) with status = 0x22020001
    11-06 16:37:45.219 2387 2387 I LYNC : INFO TRANSPORT .\chttprequestprocessor.cpp/201:Request UcwaAutoDiscoveryRequest resulted in E_ConnectionError (E2-2-1). The retry counter is: 1
    11-06 16:37:45.219 2387 2387 I LYNC : INFO TRANSPORT .\chttprequestprocessor.cpp/266:Sending event to main thread for request(0x51d45b00)
    11-06 16:37:45.239 2387 2388 D dalvikvm: GC_CONCURRENT freed 335K, 7% free 7367K/7879K, paused 32ms+263ms, total 343ms
    11-06 16:37:45.249 2387 2387 I LYNC : INFO APPLICATION .\ctransportrequestretrialqueue.cpp/822:Req. completed, Stopping timer.
    11-06 16:37:45.249 2387 2387 E LYNC : ERROR APPLICATION .\cucwaautodiscoverygetuserurloperation.cpp/325:Request failed. Error - E_ConnectionError (E2-2-1)
    11-06 16:37:45.249 2387 2387 I LYNC : INFO APPLICATION .\cucwaautodiscoverygetuserurloperation.cpp/224:UcwaAutoDiscoveryGetUserUrlOperation completed with url = https://lyncdiscover.domain.com/?sipuri=sip:[email protected], userUrl = , status = E_ConnectionError (E2-2-1)
    11-06 16:37:45.249 2387 2387 I LYNC : INFO APPLICATION .\ctransportrequestretrialqueue.cpp/725:Response received for req. GET-UnAuthenticatedGet(0x51d45b00): E_ConnectionError (E2-2-1) (RemoteNetworkTemporaryError); Done with req.; Stopping resend timer
    11-06 16:37:45.269 2387 2387 I LYNC : INFO APPLICATION .\cucwaautodiscoveryservice.cpp/1263:Raising Autodiscovery event with status E_ConnectionError (E2-2-1) for eventType 0
    11-06 16:37:45.269 2387 2387 I LYNC : INFO APPLICATION .\cucwaautodiscoveryserviceretrialwrapper.cpp/417:Received event for type 0 with status E_ConnectionError (E2-2-1)
    11-06 16:37:45.269 2387 2387 I LYNC : INFO APPLICATION .\cucwaautodiscoveryserviceretrialwrapper.cpp/539:Autodiscovery scheduled retrial timer. Timer 0.000000 seconds
    11-06 16:37:45.269 2387 2387 I LYNC : INFO APPLICATION .\calertreporter.cpp/64:Alert received! Category 1, Type 201, level 0, error E_ConnectionError (E2-2-1), context '', hasAction=false
    11-06 16:37:45.269 2387 2387 I LYNC : INFO APPLICATION .\calertreporter.cpp/117:Alert cleared of Category 1, Type 201, cleared 0 alerts
    11-06 16:37:45.269 2387 2387 D AlertItemSource: AlertEvent: action=Add, category=CategoryApplication, type=AutoDiscoveryAlert, errorCode=E_ConnectionError, hasAction=false, isGlobal=false
    What's quite strange opening https://lyncdiscover.domain.com/?sipuri=sip:[email protected] in normal browser (IE or Firefox) gives me:
    <resource rel="root" href="https://lync1.domain.com/Autodiscover/AutodiscoverService.svc/root?originalDomain=domain.com">
    <link rel="user" href="https://lync1.domain.com/Autodiscover/AutodiscoverService.svc/root/oauth/user?originalDomain=domain.com"/>
    <link rel="xframe" href="https://lync1.domain.com/Autodiscover/XFrame/XFrame.html"/></resource>
    which is correct by the look of it. Lync Connectivity Analyzer for Mobile Lync 2013 Client doesn't indicate any problems apart of inaccessible http://lyncdiscover.domain.com part (it's not redirected - we are using only https traffic):
    [06/11/2014 17:13:21] [SUCCESS] Successfully created the UCWA service
    [06/11/2014 17:13:21] [SUMMARY] Completed tests for Mobility (UCWA) service
    [06/11/2014 17:13:21] [DEBUG] None, AutoInternalDNSFail, AutoInternalSecureD, AutoInternalUnsecureD, AutoExternalUnsecureD, ManualDNSFail, ManualSecureD, ManualUnsecureD, AuthBrokerInternalLMXCheckGET, AuthBrokerInternalLMXCheckPOST, AuthBrokerExternalLMXCheckGET, AuthBrokerExternalLMXCheckPOST, MobilityMCXInternalLMXCheckGET, MobilityMCXInternalLMXCheckPOST, MobilityMCXExternalLMXCheckGET, MobilityMCXExternalLMXCheckPOST, LMXSIPServerInternalDNS, LMXSIPServerExternalDNS, MobilityUCWAInternalCheckPOST
    [06/11/2014 17:13:21] [SUMMARY]
    [06/11/2014 17:13:21] [SUMMARY_SUCCESS]
    Your deployment meets the minimum requirements for Lync Mobile 2013 App.
    Any help would be greatly appreciated.
    Best,
    Marcin

  • Route pattern to SIP trunk problem

    Hello, I have a 2801 router that has been configured with CME and a working SIP connection to my local ISP.
    Tested with calls via CME so I know for sure that the SIP config and dial plan is fine on this gateway.
    Next I wanted to try out CUCM so I set up a CUCM 8.6 box that is connected to the 2801 router to use as it's SIP gateway.
    The only change I made to the gateway router config was to alter the "ip option 150" address so that the phones go to CUCM for their configs etc (which they do with no problems).
    Then I set up a SIP trunk in CUCM along with a route pattern which is to use the SIP trunk within the Gateway/Route list option.
    But when I make a call that matches this route pattern all I get is the intermittent beep message from the phone. I cannot route calls succesfully through it.
    I have checked network connectivity and all is fine. The IP address I specfied in CUCM for the SIP trunk is simply one of the interfaces on the 2801 router and it is definitley reachable.
    I also activated "debug ccsip all" on the 2801 gateway router but nothing appears. So it seems like the calls are not even reaching the 2801 gateway ?
    Is the problem possibly a conflit between CME on the gateway router and my CUCM ?
    Do I need to disable CME somehow on the gateway first ?  Or am I not doing something correct in the CUCM config ?
    Thank you kindly for any suggestions.
    ps. I have attached a couple of screenshots of my config.

    Hello, thanks for helping.
    I activated "debug voice ccapi inout" as well as "debug ccsip all" on the gateway but nothing showed up.
    Therefore I deduce the call is not even making it to across the SIP trunk into the gateway router ?
    As I am a newbie trying this out for the first time, it is guranteed to be something really simple.
    I have included my running config from the gateway router below..
    One addition I made was to add an incoming dial peer. That is "dial peer 5,  description CUCM SIP trunk".
    I set it up with a destination patter 2... to match my phone config on CUCM which have numbering in the 2000 range.
    Sorry, I got RTMT up and running but could not get any meaningful results from it. I need to learn up on that.
    I did however run a 'dialed number analysis' from CUCM direct and have attached the result. It seems the dialled number "99" is matching the route pattern OK.
    So why is it not then moving down the SIP trunk to my gateway and getting picked up by the incoming dial peer ?
    Thanks if you guys can offer any more help.
    version 15.1
    service timestamps debug datetime msec
    service timestamps log datetime msec
    no service password-encryption
    hostname Router
    boot-start-marker
    boot system flash:c2801-ipvoicek9-mz.151-2.T0a.bin
    boot-end-marker
    no aaa new-model
    clock timezone nzst 13 0
    dot11 syslog
    ip source-route
    ip dhcp pool DATA_SCOPE
       network 192.168.200.0 255.255.255.0
       default-router 192.168.200.1
       dns-server 8.8.8.8
    ip dhcp pool VOICE_SCOPE
       network 192.168.100.0 255.255.255.0
       default-router 192.168.100.1
       option 150 ip 192.168.2.115
    ip dhcp pool MGMT_SCOPE
       network 192.168.1.0 255.255.255.0
       default-router 192.168.1.99
    ip cef
    ip name-server 4.2.2.2
    no ipv6 cef
    multilink bundle-name authenticated
    voice class codec 1
    codec preference 1 g711alaw
    codec preference 2 g729r8
    codec preference 3 g711ulaw
    codec preference 4 ilbc
    voice translation-rule 1
    rule 1 /^9/ //
    voice translation-profile Strip9ToGetOut
    translate called 1
    voice-card 0
    crypto pki token default removal timeout 0
    crypto pki trustpoint TP-self-signed-2995340181
    enrollment selfsigned
    subject-name cn=IOS-Self-Signed-Certificate-2995340181
    revocation-check none
    crypto pki certificate chain TP-self-signed-2995340181
    certificate self-signed 01
      3082023E 308201A7 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
      31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
      69666963 6174652D 32393935 33343031 3831301E 170D3733 30363034 31393534
      32305A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
      4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D32 39393533
      34303138 3130819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
      8100C34D C8ECBB53 E01373A3 2E286B78 2D23042B 1C8588B1 A7861899 BA1C6860
      AE1D7868 2A59E3BC 54D0A457 8FFDE27F C09104E5 C7A429F3 74CD9DA8 4A980366
      675CC27C CDB94838 821CC05F 2C0AC2BC D882C132 6CAA1FA6 6DA740E4 562428B1
      12B741F1 A50C9246 4CC35EDA DEE1D038 3883BB35 A91ABF8B 483E4160 F5FA4B5A
      9A570203 010001A3 66306430 0F060355 1D130101 FF040530 030101FF 30110603
      551D1104 0A300882 06526F75 74657230 1F060355 1D230418 30168014 72119640
      F3396E1F E4168086 D31D8619 0D8337FF 301D0603 551D0E04 16041472 119640F3
      396E1FE4 168086D3 1D86190D 8337FF30 0D06092A 864886F7 0D010104 05000381
      81003B5A 29DE3A1E C5AB6092 E8D90650 C80752FC 0AAC93FD C5DE3D69 071B08FA
      D4013232 81CA07E7 15F90190 6A3AD6A0 1D05F0F2 13479568 888332A5 F81E2681
      7DA44095 4D11CFB7 CA79579A 8D95DE54 7B00173C E2C50573 A310C8C9 1487FEFC
      CE35B66E 9EF94CFA 8D6D6DCD ADC78132 2709F198 6DF2F0FA D80CC088 D0C4C7D1 080B
          quit
    license udi pid CISCO2801 sn FTX0947W07M
    username xxx privilege 15 password 0 xxx
    interface FastEthernet0/0
    ip address 192.168.3.50 255.255.255.0
    duplex auto
    speed auto
    interface FastEthernet0/1
    no ip address
    duplex auto
    speed auto
    interface FastEthernet0/1.2
    encapsulation dot1Q 2
    ip address 192.168.2.1 255.255.255.0
    interface FastEthernet0/1.99
    encapsulation dot1Q 99
    ip address 192.168.1.99 255.255.255.0
    interface FastEthernet0/1.100
    description voice_VLAN
    encapsulation dot1Q 100
    ip address 192.168.100.1 255.255.255.0
    interface FastEthernet0/1.200
    description data_VLAN
    encapsulation dot1Q 200
    ip address 192.168.200.1 255.255.255.0
    ip forward-protocol nd
    ip http server
    ip http authentication local
    ip http secure-server
    ip route 0.0.0.0 0.0.0.0 192.168.3.1
    logging esm config
    tftp-server flash:/phone/7940-7960/P00307020200.bin alias P00307020200.bin
    tftp-server flash:/phone/7940-7960/P00307020200.loads alias P00307020200.loads
    tftp-server flash:/phone/7940-7960/P00307020200.sb2 alias P00307020200.sb2
    tftp-server flash:/phone/7940-7960/P00307020200.sbn alias P00307020200.sbn
    control-plane
    mgcp fax t38 ecm
    dial-peer voice 1 voip
    description local_7_Digit_Calling
    translation-profile outgoing Strip9ToGetOut
    destination-pattern 9[2-9]......
    session protocol sipv2
    session target ipv4:203.184.16.2
    voice-class codec 1 
    dial-peer voice 2 voip
    description international_calling
    translation-profile outgoing Strip9ToGetOut
    destination-pattern 900T
    session protocol sipv2
    session target ipv4:203.184.16.2
    voice-class codec 1 
    dial-peer voice 3 voip
    description national_calling
    translation-profile outgoing Strip9ToGetOut
    destination-pattern 90[34679].......
    session protocol sipv2
    session target ipv4:203.184.16.2
    voice-class codec 1 
    dial-peer voice 4 voip
    translation-profile outgoing Strip9ToGetOut
    destination-pattern 90[34679].......
    dial-peer voice 5 voip
    description CUCM SIP trunk
    destination-pattern 2...
    session protocol sipv2
    session target ipv4:192.168.2.115
    voice-class codec 1 
    sip-ua
    authentication username xxxxxxxxxx password xxxxxxxx
    060
    telephony-service
    max-ephones 10
    max-dn 20
    ip source-address 192.168.1.99 port 2000
    load 7960-7940 P00307020200
    max-conferences 4 gain -6
    transfer-system full-consult
    create cnf-files version-stamp Jan 01 2002 00:00:00
    ephone-dn  1  dual-line
    number 1000
    name Lydia Francis
    ephone-dn  2  dual-line
    number 1001
    name Leah Francis
    ephone-dn  3  dual-line
    number 1002
    n
    ephone-dn  4  dual-line
    number 1003
    ephone  1
    mac-address C80A.A970.01DE
    type CIPC
    button  2:2
    ephone  2
    mac-address 000C.3070.8705
    button  1:1 2:15
    ephone  3
    mac-address 000C.8546.5954
    button  1:3 2:15
    line con 0
    logging synchronous
    line aux 0
    line vty 0 4
    privilege level 15
    login local
    transport input telnet ssh
    scheduler allocate 20000 1000
    ntp server 195.43.74.123
    end

  • SIP Refer problem

    Hi Guys,
    I have problem at one of our customer side. When an operator received a call, and try to do a transfer (consult transfer) to a colleague, the colleague's phone ring one time and the call failed. The operator have to take back the call and give the full external number of the colleague to the caller.
    After a reboot of the phone (unplugged/plugged) the transfer work fine !
    I tried to find the cause in the CUCM traces but I need help.
    Saw that Refer messages:
    14:49:26.294 |//SIP/SIPTcp/wait_SdlSPISignal: Outgoing SIP TCP message to 22.212.126.35 on port 50108 index 227
    [21667403,NET]
    REFER sip:[email protected]:50108 SIP/2.0
    Via: SIP/2.0/TCP 22.214.10.18:5060;branch=z9hG4bKf63095b1b37b1
    From: <sip:[email protected]>;tag=435147058
    To: <sip:[email protected]>
    Call-ID: [email protected]
    CSeq: 101 REFER
    Max-Forwards: 70
    Contact: <sip:[email protected]:5060;transport=tcp>
    User-Agent: Cisco-CUCM8.6
    Require: norefersub
    Expires: 0
    Refer-To: cid:[email protected]
    Content-Id: <[email protected]>
    Content-Type: application/x-cisco-remotecc-request+xml
    Referred-By: <sip:[email protected]>
    Content-Length: 341
    <x-cisco-remotecc-request>
      <answercallreq>
        <dialogid>
          <callid>[email protected]</callid>
          <localtag>6511241~ada938a2-d3e6-4928-be65-07fc5a6e0f23-49485024</localtag>
          <remotetag>3cce73acbe00bd3fda57ded7-91adfcf9</remotetag>
        </dialogid>
      </answercallreq>
    </x-cisco-remotecc-request>
    |2,200,21,1.3256060^22.214.10.2^SEP3CCE73ACBE00
    After the OK:
    14:49:26.317 |//SIP/SIPTcp/wait_SdlReadRsp: Incoming SIP TCP message from 22.212.126.35 on port 50108 index 227 with 442 bytes:
    [21667404,NET]
    SIP/2.0 200 OK
    Via: SIP/2.0/TCP 22.214.10.18:5060;branch=z9hG4bKf63095b1b37b1
    From: <sip:[email protected]>;tag=435147058
    To: <sip:[email protected]>;tag=3cce73acbe00bd40ed051b81-4b2d068b
    Call-ID: [email protected]
    Date: Thu, 07 Feb 2013 13:49:17 GMT
    CSeq: 101 REFER
    Server: Cisco-CP7962G/9.3.1
    Contact: <sip:[email protected]:50108;transport=TCP>
    Content-Length: 0
    |3,100,63,1.7871803^22.212.126.35^*
    And thats the last messages with call ID starting by: 2e587c80
    So could you say me how I can find the Transfer "destination" and why the call failled ?
    Thanks,
    Hervé Jacquemin

    Hi hjacquemin,
    Have you solved this problem? I found the same thing with my customer. We are using
    6921 with SIP Firmware. It is very weird that my IP Phone was hanged and must reset by unplug and plug.
    Winai. 

  • UC320 PBX sip trunk problem

    HI, I installed the UC320 for a customer and they have 19 users,  we are using sip trunk for voice traffic
    it now encountered an annoying problem, The  isp is doing the maintenance in recent period and their sip trunk is coming down and up occasionally  at night.  Whenever the sip trunk broke and come up again, the UC320 seems loss the sync with the wan, and it can work for 1 or 2 days and then the phone can not dial externally and also the incoming call have the problem, Yet the internal call is ok, whenever, this happened, we need to restart the uc320 to resume the service.  I configured the auto maintainance happen at Sunday morning 3am , yet, there are times that the sip trunk broke happen on Monday night, then we usually get the complaint from the custom around Wed. or Thurs.  and then we had to restart the system to resume the service.  It is really troublesome. Do you have any idea how to deal with the problem. Is it a bug of cisco uc320? Is there any software update or any  patch for this problem?
    We are running 2.3.2(6) now.

    HI
    Thank you for your reply, but the thing seems a bit more complex, our network configured as unregistered by the requirement of isp, and it works nicely. when the sip broke down and come up again, the pbx can work normally for 1 or two days and then it seems drifted away. and the problem at  beginning is minor with only a few phones malfunction, and can be retored by restart the phone, but as the time goes by , the problems seemd deteriorated until all phones not working and we have to restart the pbx. 
         I check the external trunks, the status of sip is unregistered. it is required by isp to be configured so. it works nicely as long as the sip trunk is on.
         Regard

  • Unified communication sip trunk problem after modifying topology

    hi all
    i have UC and its fine and sip trunk is ok
    the toplogy is as below
    UC------------------internet
    now im going to add ASA with UC with new topology
    UC-------------ASA-------------internet
    the pbx internally is ok   , but sip trunk is not working
    pbx now have private ip and it can reach internet
    the problem is sip trunks is not working !!!!
    i will post the config of UC when its connected to Internet direcly and wish to help me why the 2nd topoloy no sip trunks working ?!!
    do i need to do portforward ??
    anyway here  the config when sip trunks works and when UC directly to internet

    Try disabling SIP inspection on the ASA
    http://www.cisco.com/c/en/us/support/docs/security/asa-5500-x-series-next-generation-firewalls/82446-enable-voip-config.html

  • N80i SIP client problem "unable to connect"

    I'm having a problem with my N80i. When i use my phone in my WLAN for browsing the internet everything works fine. The problem appears when I try to use de SIP client, i always get "unable to connect to network". I've configured a Gizmo account,but can't connect. I've also configure an asterisk SIP account on my local network (in order to avoid any routing/port blocking/fw issue) and the same thing happens. In fact I've activated a sniffer in my linux box and I don't see any packet coming from the phone.
    As far as I've investigated it seems like the problem occurs inside the phone (no ip packets come from the N80).
    I wonder if it might be a firmware block.
    Any help will be really appreaciate

    I want to share with you my experience, just in case someone is having the same problem I had.
    I could solve the problem. Here is the config I use in the SIP settings:
    Profile name: {whatever U want}
    Service profile: IETF
    Default access point: {a WLAN access previously define as access point from the WLAN wizzard}
    Public user name: sip:{user}@{Server IP or name}
    Use compresion: no
    Registration: always on
    Use security: no
    Proxy Server:
    Proxy server address: sip:{server ip or name}
    Realm: asterisk (in case u are using asterisk or the same name defined in proxy server address)
    User name: {user}
    Password: {password}
    Allow loose routing: Yes
    Transport Type: UDP
    Port: 5060
    Registar Server: {same settings like proxy server}
    I've to mention that while i was trying to make it work, i downloaded GizmoVoip (without success), but when I tried Truphone (www.truphone.com) it did work. So what i did was to copy exactly the same profile (SIP Settings->Options->Add new->Use an existing profile->Truphone-home) and with that i created a new profile. After that I changed the config to match my asterisk and....IT'VE WORKED!!!!
    So, the conclution: I think the problem i was experiecing was due to a missconfig in the "proxy server address" or "Public user name", I'm not sure if I was putting the "sip:" at the beginning (i made to many tests that i can't remember). If that was the mistake then it seems like the Nokia N80 was not even trying to connect to the server and that was the reason why I was not seeing any packet coming from the phone with the sniffer.
    I hope this info will be useful for everyone.
    Martin

Maybe you are looking for

  • Intercompany export sale process

    Dear Experts, Scenario is Customer located in Germany One Company located in Korea Second company located in Germany We want to implement intercompany sale process for the below scenario ,Please suggest pros and cons Sales order on in Korea company =

  • How to correct errors at install CS5

    At the end of install of CS5 I got following error Exit Code: 6 Please see specific errors and warnings below for troubleshooting. For example,  ERROR: DS003, DW050 ... WARNING: DW017, DW066 ... Dans common file I found: Adobe® Application Manager® S

  • More about shadow and iWebImage.js

    I finally bit the bullet and converted all of the shadowed irregularly shaped images on my sites to PNGs using the iWeb-to-Preview-to-iWeb trick, but decided to leave rectangular images as-is, relying instead on iWeb's javascript mechanism to draw th

  • PPR(Partner Product Range) Type for Product Catalog Views

    Hi all, I need to prevent showing some products in E-commerce Catalog depending on the PPR settings. Does the PPR type for Catalog Views help me? can any one explain me what is significance of drop-down "Application" in the PPR type configuration. th

  • How do I Retrieve imovie projects from and external drive back into my mac internal drive

    How do I Retrieve imovie projects from and external drive back into my mac internal drive? Thank You