simplikate Intermediate
Joined: June 20 2007 Location: United States Posts: 7
|
Posted: August 01 2007 at 6:28pm | IP Logged
|
|
|
I am having an issue while running the sample code for your VB.net example for the DotNetSupport. I replaced the latest DLL, and the LanScapeVME.vb file with the one provided for my installation.
I have two problems:
1) The sample code shows the following:
"MediaEngine.InitializeMediaEngine(0)"
however, the InitializeMediaEngine method takes two parameters, not one - so the sample fails right off the bat. To solve this, I just declared two UInteger vars and placed them like so:
"MediaEngine.InitializeMediaEngine(0,0)" -- and it seems to work.
I then try to continue and encounter a second problem...
2) I set the StartParams, and enter my host into the area where I enter my host information:
IpAddressOfThisHost(0) = 192
IpAddressOfThisHost(1) = 168
IpAddressOfThisHost(2) = 1
IpAddressOfThisHost(3) = 39
and leave all other paramters to default. Once I get to the point where it looks for SipSuccess,
ie:
status = MediaEngine.StartSipTelephony(StartParams)
if status <> VoipMediaEngine.TELEPHONY_RETURN_VALUE.SipSuccess then
Console.WriteLine("StartSipTelephony() Error.")
I am getting the following error code back: "SipUnknownHost {4}"
The documentation on the media engine says that this can be a UNC or DNS issue, but I am specifying the IP addres, and this is for sure my local IP address. I also tried setting it to 127.0.0.1 - but no luck. There are no other hosts I am supplying - please advise.
|