SIP/2.0 481 Call Leg/Transaction Does Not Exit (UCMA) -


i create mspl transfer reroute calls ucma application endpoint

below code mspl

<?xml version="1.0" ?> <lc:applicationmanifest appuri="http://"domain name"/altrgs" xmlns:lc="http://schemas.microsoft.com/lcs/2006/05"> <lc:allowregistrationbeforeuserservices action="true" /> <lc:requestfilter methodnames="invite" strictroute="false" registrargenerated="true" domainsupported="true" /> <lc:responsefilter reasoncodes="none" /> <lc:proxybydefault action="true" /> <lc:scriptonly /> <lc:splscript><![cdata[     fromuri = geturi( siprequest.from );   fromuser = concatenate( getusername( fromuri ) );   touri = geturi( siprequest.to );   touserathost = concatenate( getusername( touri ), "@", gethostname( touri ) );     foreach ( sessionexpires in getheadervalues( "session-expires" ) ) {        if ( containsstring( sessionexpires, "refresher", true ) ) {            log( "debug", false, "respondwithringing: * skipped; session refreshing invite" );            return;        }    }     foreach ( useragent in getheadervalues( "user-agent" ) ) {        if ( ! containsstring( useragent, "mediation", true ) ) {            log( "debug", false, "respondwithringing: * skipped; not mediation server request" );            return;        }    }     if (siprequest && siprequest.method == "invite")  {      proxyrequest("sip:lync1.sti.ksac.com@ksac.com;gruu;opaque=srvr:app1:nkftzu4orvgco9nqq3-m3qaa");  }  else {     // forward call ucma app.     log("debugr", 1, "forwarded caller ucma app: ", siprequest.from);     respond("302", "moved temporarily", "contact=");   }  ]]>  </lc:splscript>  </lc:applicationmanifest> 

i register mspl using power shell new-csserver application

and c# code is

private void run()     {         try         {             _helper = new ucmasamplehelper();            _appendpoint = _helper.createautoprovisionedapplicationendpoint();             _appendpoint.registerforincomingcall<audiovideocall>(audiovideocall_received);   void audiovideocall_received(object sender, callreceivedeventargs<audiovideocall> e)     {         try         {             string _originalrecipienturi = e.requestdata.to header.uri;     _inboundavcall.statechanged += new eventhandler<callstatechangedeventargs>_inboundavcall_statechanged);  _inboundavcall.audiovideoflowconfigurationrequested += new eventhandler<audiovideoflowconfigurationrequestedeventargs>(_inboundavcall_audiovideoflowconfigurationrequested);              console.writeline("call received!");   _inboundavcall.beginaccept(beginacceptcb, _inboundavcall); 

}}

when call mspl route call ucma application , transfer agents when agent accepts call not establishing , getting following error find in ocs logger`

sip/2.0 481 call leg/transaction not exit

can 1 please me

thanks.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -