locked
blindTransferActivity not passing parms RRS feed

  • Question

  • My master app does a blind transfer to another app using this code -

     

    this.blindTransferActivity1.CalledParty = new SipUriTelephonyAddress(new SipUri(SipUriScheme.Sip, "2222", "192.168.2.5", 0, "transport=tcp;foo=Marshall"));

     

     

    The other app has this code -

     

    string sName = "George";

    if (QueryString != null && QueryString["foo"] != null)

             sName = Uri.UnescapeDataString(QueryString["foo"]);

    statementActivity1.MainPrompt.AppendText("Welcome to custom app one {0}", sName);

     

     

    The prompt always plays "George". It seems that the QueryString is always null. In fact if you remove the test the app blows up with a null error message.
    Tuesday, July 3, 2007 8:12 PM

Answers

  • Thanks Dan.

     

    Unfortunately that isn't documented very much. This should prove interesting.

    Wednesday, July 4, 2007 1:18 AM

All replies

  • You're looking at the wrong QueryString. You are looking at the QueryString that arrives as part of the HTTP-hosting mechanism. That query string is used when you trigger outbound calls via HTTP PUT requests or when you use MSMQ.

     

    You want to look at ITelephonySession.CallInfo.RequestUri for the SIP request's QueryString.

     

    Dan

    Tuesday, July 3, 2007 9:49 PM
  • Thanks Dan.

     

    Unfortunately that isn't documented very much. This should prove interesting.

    Wednesday, July 4, 2007 1:18 AM