Help About MessagingToolkitCore
Added by admin about 3 years ago
The problem is:
EventOutGoingCall not function when OutgoingCallEventHandler feature has been activated. In other words, when making outgoing calls, no information call progress or status information when a call has been received by the destination number.
When a call out, and wanted to cancel the call (hangup), the system responds very slowly. Calls may still continue to do after they were sent hangup command. Then I tried to use the command "ATH" using the "Terminal" (mobileGateway.SendCommand ("ATH" & vbCrLf), the result is the same. When the cancellation of a very long time (about 31 seconds)
This is Log Event:
2017.01.12-07.52.47: Sending: ATDXXX;
2017.01.12-07.53.18: Sending: ATH
2017.01.12-07.53.18: Response: <cr><lf>OK<cr><lf>
2017.01.12-07.53.18: Sending: AT+CHUP
2017.01.12-07.53.18: Response: <cr><lf>OK<cr><lf>
Our environment:
Device : using SIM900 or WaveComQ24 ( the result same)
Lenguage : Visual Basic 2010
OS: Windows 10
Replies (10)
RE: Help About MessagingToolkitCore - Added by admin about 3 years ago
Hi,
Can you attach your full code snippet and log file here? At least from what I see the hang up command is executed immediately.
Thanks
Regards
RE: Help About MessagingToolkitCore - Added by atep about 3 years ago
Thanks for your fast response.
About MyQuestion : "When a call out, and wanted to cancel the call (hangup), the system responds very slowly. Calls may still continue to do after they were sent hangup command. Then I tried to use the command "ATH" using the "Terminal" (mobileGateway.SendCommand ("ATH" & vbCrLf), the result is the same. When the cancellation of a very long time (about 31 seconds)"
I try to change:
config.CommandWaitInterval = 10<br /> config.CommandWaitRetryCount = 10
"Cancel Call Command (ATH)", have fast response now. But we don't know thats its right way?
About, 1st Question : "EventOutGoingCall not function when OutgoingCallEventHandler feature has been activated. In other words, when making outgoing calls, no information call progress or status information when a call has been received by the destination number."
The problem still not resolved. I don't see event "EventOutGoingCall".
THis is my code. Thanks.
RE: Help About MessagingToolkitCore - Added by atep about 3 years ago
Please Delete MyAttchment.
Thanks
RE: Help About MessagingToolkitCore - Added by admin about 3 years ago
Hi,
I see this line commented. Can you confirm if it still not working after uncommenting the line?
'AddHandler mobileGateway.CallDialled, New OutgoingCallEventHandler(AddressOf OnCallDialled)
Thanks
Regards
RE: Help About MessagingToolkitCore - Added by atep about 3 years ago
Helo,
Off Course i try uncomment 'AddHandler mobileGateway.CallDialled, New OutgoingCallEventHandler(AddressOf OnCallDialled)
But not work. OutgoingCallEventHandler Still not work.
Thanks
RE: Help About MessagingToolkitCore - Added by atep about 3 years ago
Sory,
Is there any indication (using OutgoingCallEventHandler) when the receiver accept the call?
Thanks
RE: Help About MessagingToolkitCore - Added by atep about 3 years ago
i try again,
then i have another event log, like this:
2017.01.12-02.56.02: Sending: ATD085793001974; 2017.01.12-02.56.02: Response: <cr><lf>OK<cr><lf> 2017.01.12-02.56.02: Firing async CallDialled event. 2017.01.12-02.56.04: Ending async OutgoingCallEventHandler call 2017.01.12-02.57.25: Sending watch dog message 2017.01.12-02.57.25: Sending: AT 2017.01.12-02.57.25: Response: <cr><lf>NO CARRIER<cr><lf><cr><lf>OK<cr><lf> 2017.01.12-02.58.25: Sending watch dog message 2017.01.12-02.58.25: Sending: AT 2017.01.12-02.58.25: Response: <cr><lf>NO CARRIER<cr><lf><cr><lf>OK<cr><lf> 2017.01.12-02.59.25: Sending watch dog message 2017.01.12-02.59.25: Sending: AT 2017.01.12-02.59.25: Response: <cr><lf>OK<cr><lf>
RE: Help About MessagingToolkitCore - Added by admin about 3 years ago
Hi,
Can you put a breakpoint in this procedure?
Private Sub OnCallDialled(sender As Object, e As OutgoingCallEventArgs)
txtOutgoingCallEvent.BeginInvoke(_displayCallEventLog, e)
End Sub
From the log file, the event is triggered.
Thanks
Regards
RE: Help About MessagingToolkitCore - Added by atep about 3 years ago
Helo Sir.
We still not lucky abou call/dial progress monitor.
BTW. We try to monitor Call/Dialout progress, then send Command AT+CLCC=1 to our SIM900 GSM Module
Using, hyper terminal we can get call progress like this one :
Ring Progress : +CLCC: 1,0,3,0,0,"085793001974",129,""
Accepted CAll : +CLCC: 1,0,0,0,0,"085793001974",129,""
Reject Call : +CLCC: 1,0,6,0,0,"085793001974",129,""
How to monitor this call progress using MessagingTolkitCore.
Thanks.
RE: Help About MessagingToolkitCore - Added by admin about 3 years ago
Hi,
The library currently does not support +CLCC command. As workaround you can send the AT command through the library and parse the result. We will add this to the next version.
Thanks
Regards
admin