GotSpeech.NET

The online community for Microsoft Speech Server developers
Welcome to GotSpeech.NET Sign in | Join | Help
in Search
Gold Systems

Telephony Application Proxy declined a call

Last post 03-11-2010, 3:28 PM by gsb005. 2 replies.
Sort Posts: Previous Next
  •  05-21-2008, 4:29 PM 5630

    Telephony Application Proxy declined a call

    Hi All,
     When I am trying to Dial the Speech Application using Xlite phone, the softphone is showing Busy status message.

     The following Event was generated at EventLogs.

    The Telephony Application Proxy declined a call with Call Id 'MDEwYWFhYWY1YTc4OGRlODg1OTVmNGYyMzk2MzE2MTM.' from '' because application 'AppOne' at URL 'http://localhost/AppOne/AppOne.speax' took longer than 4 seconds to respond.

    What could be the reason for TAP(Telephony Application Proxy)  is taking more than 4 seconds to respond.

    Thanks,
    Suresh
    Suresh S
    Tech Lead
  •  05-22-2008, 4:50 AM 5631 in reply to 5630

    Re: Telephony Application Proxy declined a call

    To state the obvious; your application (specifically including class1.c'tor) is taking a long time to load. 

    Is the system under load when you make the call?  If so, take a look at my posts in this thread: http://forums.microsoft.com/unifiedcommunications/ShowPost.aspx?PostID=1579762&SiteID=57.

    If this is the only call into the system, and the system is not under load for other reasons, and there is plenty of RAM, and you've got a decent CPU, then you need to look for other reasons. 

    Does this occur on every call?  That 4 second window includes invoking the constructor of your class1.cs.  Are you doing slow operations here (e.g. synchronously connecting to a database)?  Attach a debugger to find out what it's doing.  If so, look at these threads for making it async:
    http://forums.microsoft.com/unifiedcommunications/ShowPost.aspx?PostID=1578566&SiteID=57
    http://gotspeech.net/forums/thread/2769.aspx

    Is this only on the 1st call (or the 1st call after a period of inactivity)?  If so, are you on XP or W2k3?  On W2k3, TAP will warm up your application prior to the 1st call and keep it warm.  On XP it doesn't warm up your app, so your 1st call is expected to take a bit longer as w3wp has to be spun up, ASP.Net loaded (including .Net Framework), and your application initialized.  On a slow machine (even on a fast machine if you've previously consumed all the RAM) this could take a while, especially If you have extra stuff in class1.ctor.

    Hope

    tis
    This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm
  •  03-11-2010, 3:28 PM 10224 in reply to 5631

    Re: Telephony Application Proxy declined a call

    Thanks for the help :)
View as RSS news feed in XML