Author |
|
Jalal Vetran
Joined: April 24 2006 Location: Iran Posts: 188
|
Posted: January 20 2008 at 12:30am | IP Logged
|
|
|
Hi,
Following problem is seen in v5.12.8.0.
When I was testing SetConferenceGroupIds to enable Conference between two lines my program terminated abnormally.
After I wasted about two hours reading your documents and I found nothing in help of SetConferenceGroupIds or ConferenceLine functions I remembered one startup parameter named CallConferenceEnabled which shall be enabled before calling SetConferenceGroupIds or ConferenceLine. This parameter is not mentioned at all in none of SetConferenceGroupIds and ConferenceLine API documents.
If CallConferenceEnabled parameter is not enabled during startup then your program will be terminated abnormally when this function is called during run. And if you call ConferenceLine you will receive SipCallFailure error which is just a generic error and does not help at all.
I think it is better to add a new SipCallConferenceMustBeEnabled return value to both ConferenceLine and SetConferenceGroupIds functions.
Regards,
Jalal Abedinejad
|
Back to Top |
|
|
support Administrator
Joined: January 26 2005 Location: United States Posts: 1666
|
Posted: January 21 2008 at 10:24am | IP Logged
|
|
|
Hi Jalal,
You >>>
When I was testing SetConferenceGroupIds to enable Conference between two lines my program terminated abnormally.
<<< Support
Then you have a bug in your software and its not the media engine. Make sure your values for the NumConferenceGroupIds and ppConferenceGroupIds parameters to the SetConferenceGroupIds() API procedure are correct.
You >>>
After I wasted about two hours reading your documents and I found nothing in help of SetConferenceGroupIds or ConferenceLine functions I remembered one startup parameter named CallConferenceEnabled which shall be enabled before calling SetConferenceGroupIds or ConferenceLine. This parameter is not mentioned at all in none of SetConferenceGroupIds and ConferenceLine API documents.
<<< Support
Sorry to hear that you wasted 2 hours reading the media engine Software Developer’s Reference. If you search the Software Developer’s Reference for the single word “Conference”, you will get 15 page hits. It should not take 2 hours to quickly scan those pages. If you want us to get involved immediately so you don’t waste 2 hrs, then start a support contract with us. Don’t be so dramatic when posting – it adds nothing. Life is too short so relax and take a deep breath when you run into troubles.
However you do make a good point regarding the docs. That’s the kind of constructive criticism we want to hear. We will make a note to update the conference docs to include referencing the CallConferenceEnabled starup parameter. Good job.
You >>>
If CallConferenceEnabled parameter is not enabled during startup then your program will be terminated abnormally when this function (SetConferenceGroupIds) is called during run.
<<< Support
Nope, don’t believe it. This will never happen. Just tested it here and there is nothing in the source code that would cause a process termination. By the way, do not try to modify the binary media engine DLL image in any way.
You >>>
I think it is better to add a new SipCallConferenceMustBeEnabled return value to both ConferenceLine and SetConferenceGroupIds functions.
<<< Support
Once again, this is good constructive criticism. Yes, this would be an improvement. We will make a note of this and get this return value added. Good job.
Thanks Jalal,
Support
|
Back to Top |
|
|
Jalal Vetran
Joined: April 24 2006 Location: Iran Posts: 188
|
Posted: January 22 2008 at 12:11am | IP Logged
|
|
|
Hi,
>>> Support
Nope, don’t believe it. This will never happen. Just tested it here and there is nothing in the source code that would cause a process termination. By the way, do not try to modify the binary media engine DLL image in any way.
<<< Jalal
I put one log to file just before calling SetConferenceGroupIds and one after calling SetConferenceGroupIds in my program. When I runned the program I saw the log before calling this function but I did not see the log after calling this function (because program was terminated). And after I enabled CallConferenceEnabled this problem was completely solved. By the way as my problem is solved I think it is not so important to discuss more on this.
I did not get what you meant when you said "By the way, do not try to modify the binary media engine DLL image in any way." . You really think we are changing the DLL image in some way?!!!
Jalal
|
Back to Top |
|
|
support Administrator
Joined: January 26 2005 Location: United States Posts: 1666
|
Posted: January 24 2008 at 2:42pm | IP Logged
|
|
|
Hi Jalal,
You >>>
You really think we are changing the DLL image in some way?!!!
<<< Support
No we don’t think that. But it was worth mentioning. A few users in the past have tried to alter the binary image of the media engine for whatever reasons and that does not work. There’s internal anti-hack and anti-virus logic that prevents this. Needless to say, altering any factory binary image is not supported.
Support
|
Back to Top |
|
|