Return to LanScape's home page Go back a page...       Active TopicsActive Topics   Display List of Forum MembersMember List   Knowledge Base SearchSearch   HelpHelp  RegisterRegister  LoginLogin

LanScape VOIP Media Engine™ - Technical Support
 LanScape Support Forum -> LanScape VOIP Media Engine™ - Technical Support
Subject Topic: SipCallCancelled problem Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Jalal
Vetran
Vetran


Joined: April 24 2006
Location: Iran
Posts: 188
Posted: April 03 2007 at 4:36am | IP Logged Quote Jalal

Dear Sir,

I have checked SipCallCencelled document. It says that this notification is sent when TerminateCall is called after MakeCall before phone call completes its session setup. But unfortunately this is not true every time. If we TerminateCall immediately after MakeCall (before SipSendInvite message is received) then SipCallCencelled is not received.

You may see this situation from following event log.

Code:

IMMEDIATE_NOTIFICATION, Phone Line 0, SipOutgoingCallInitializing
PHONE_LINE_NOTIFICATION, Phone Line 0: SipOutgoingCallStart
PHONE_LINE_NOTIFICATION, Phone Line 0: SipDialTone
PHONE_LINE_NOTIFICATION, Phone Line 0: SipDialing
PHONE_LINE_NOTIFICATION, Phone Line 0: SipOnHook


What's your comment about this?

Regards
Jalal
Back to Top View Jalal's Profile Search for other posts by Jalal Visit Jalal's Homepage
 
Jalal
Vetran
Vetran


Joined: April 24 2006
Location: Iran
Posts: 188
Posted: April 03 2007 at 5:32am | IP Logged Quote Jalal

Another issue about SipCallCencelled is that when this event is received, GetLineStatus returns CallDirectionNone for direction when the call is outgoing call.

Notice that in this state we have not received SipOnHook, so the call is not finished yet.

Regards
Jalal
Back to Top View Jalal's Profile Search for other posts by Jalal Visit Jalal's Homepage
 
Jalal
Vetran
Vetran


Joined: April 24 2006
Location: Iran
Posts: 188
Posted: April 03 2007 at 6:17am | IP Logged Quote Jalal

Sorry, the issue I mentioned about GetLineStatus was our problem and is solved. After we checked again we realized that it was a thread execution problem.

But the first problem about SipCallCencelled exists and is not solved yet.

Thanks
Jalal
Back to Top View Jalal's Profile Search for other posts by Jalal Visit Jalal's Homepage
 
support
Administrator
Administrator


Joined: January 26 2005
Location: United States
Posts: 1666
Posted: April 03 2007 at 9:29am | IP Logged Quote support

Jalal,

When you quickly canceled the outgoing call, did the media engine actually send the SIP INVITE and then CANCEL messages?

If you cancel the call so fast that no INVITE and no CANCEL gets transmitted, then that is why you are not receiving a call cancel event.

What does your SIP log look like?

Support
Back to Top View support's Profile Search for other posts by support Visit support's Homepage
 
Jalal
Vetran
Vetran


Joined: April 24 2006
Location: Iran
Posts: 188
Posted: April 03 2007 at 9:46am | IP Logged Quote Jalal

Yes you are right. INVITE message is not sent. There is a short time between calling MakeCall and sending INVITE message. In this time DTMF dialing sound is heard from the sound card. If we TerminateCall during this then SipCallCancelled is not received.

But in your document page you have said that this message will be sent if TerminateCall is called after MakeCall!!!

Jalal
Back to Top View Jalal's Profile Search for other posts by Jalal Visit Jalal's Homepage
 
support
Administrator
Administrator


Joined: January 26 2005
Location: United States
Posts: 1666
Posted: April 03 2007 at 11:17am | IP Logged Quote support

Jalal,

You are also right - the developer's reference does say that. We will have to update that information to be more clear.

Support
Back to Top View support's Profile Search for other posts by support Visit support's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum






Contact LanScape Hear what the Lawyers have to say How youm may use this site Read your privacy rights