Current call control - CLCC and CHLD
Hi,
Try to use the attach patch for your testing.
GetCurrentCalls - use the CLCC command
CallControl - use CHLD command.
Thanks
Regards
admin
Replies (14)
RE: Current call control - CLCC and CHLD - Added by admin 8 months ago
You can refer to the modem manual to see if it support the above AT commands.
RE: Current call control - CLCC and CHLD - Added by atep 8 months ago
Dear,
About CLCC, i can see Call Progress in eventlog, like this:
2017.02.16-06.28.01: Sending: AT+CLCC=1
2017.02.16-06.28.01: Response: <cr><lf>OK<cr><lf>
2017.02.16-06.28.08: Sending: AT+CLIP=1
2017.02.16-06.28.08: Response: <cr><lf>OK<cr><lf>
2017.02.16-06.28.18: Sending: ATD08579300xxx;
2017.02.16-06.28.18: Response: <cr><lf>OK<cr><lf>
2017.02.16-06.28.18: Firing async CallDialled event.
2017.02.16-06.28.18: Ending async OutgoingCallEventHandler call
2017.02.16-06.29.21: Sending watch dog message
2017.02.16-06.29.21: Sending: AT
2017.02.16-06.29.21: Response: <cr><lf>+CLCC: 1,0,3,0,0,"08579300xxx",129,""<cr><lf><cr><lf>+CLCC: 1,0,0,0,0,"08579300xxx",129,""<cr><lf><cr><lf>+CLCC: 1,0,6,0,0,"08579300xxx",129,""<cr><lf><cr><lf>NO CARRIER<cr><lf><cr><lf>OK<cr><lf>
But response (call progress) +CLCC not fired/Show in OutgoingCallEventArgs. How to capture this CLCC (Call Progres)?
Thanks
RE: Current call control - CLCC and CHLD - Added by admin 8 months ago
Hi,
Please share your code snippet here? Are you using the GetCurrentCalls API?
Thanks
Regards
RE: Current call control - CLCC and CHLD - Added by atep 8 months ago
Still Confused using GetCurrentCalls.
Please give us sample to use GetCurrentCalls.
This is MyCode:
MyCode.txt (22.4 KB) MyCode.txt |
RE: Current call control - CLCC and CHLD - Added by admin 8 months ago
Hi,
GetCurrentCalls will use +CLCC to retrieve a list of current ongoing calls. You can call it whenever you want to check if there are any ongoing calls.
Thanks
Regards
RE: Current call control - CLCC and CHLD - Added by atep 8 months ago
You can't just say "You can call it whenever you want to check if there are any ongoing calls"
Give us sample code to use this function. How to retreive data from this GetCurrentCall function
Thanks
RE: Current call control - CLCC and CHLD - Added by atep 8 months ago
I think get "call progress", not eficient. Cause, Call Progress (+CLCC) is an event derived from engine (modem). We don't know, when the call progress state is changed.
Using timer? Then loop GetCallProgress? :-)
Thanks
RE: Current call control - CLCC and CHLD - Added by atep 8 months ago
This result from GetCurrentCalls
Index = 1
Direction = MobileOriginated
State = Dialing
Mode = Voice
IsMultiParty = False
PhoneNumber = 08579300xxxx
NumberType = 129
ContactName =
Index = 1
Direction = MobileOriginated
State = Alerting
Mode = Voice
IsMultiParty = False
PhoneNumber = 08579300xxxx
NumberType = 129
ContactName =
Index = 1
Direction = MobileOriginated
State = Unknown
Mode = Voice
IsMultiParty = False
PhoneNumber = 08579300xxxx
NumberType = 129
ContactName =
I suggest you, to put this CallProgress info as event. So, we can get new state without repeat call GetCurrentCalls.
Please check AT+Command reference for AT+CLCC. If we set AT+CLCC=1 its mean call progresss monitor is activated, right?
Thanks
RE: Current call control - CLCC and CHLD - Added by admin 8 months ago
Hi,
Most modems support AT+CLCC but not AT+CLCC=1. I will see if there is a need to add this support.
Thanks
Regards
RE: Current call control - CLCC and CHLD - Added by atep 8 months ago
Hi,
Thanks for your attention.
By the way, is there any way to retreive/get data sent from modem. Some thing like eventlog. Then, we can parse the received data, eg. to monitor this call progress.
Thanks
RE: Current call control - CLCC and CHLD - Added by admin 8 months ago
Hi,
This depends on the manufacturer as this is non standard. You can check out the manual come with the modem.
Thanks
Regards
RE: Current call control - CLCC and CHLD - Added by atep 7 months ago
Helo,
After testing methode mobileGateway.GetCurrentCalls() for several days
We lost some Call Progress State, some time we can detect (end of call or hangup)
some times the GetCurrentCalls() "UNKONOWN" state apear, somes time not.
Bad way to get current call. I tested several modem: WaveComm, Simcom, Huawei, Vodafone, etc.
Using Hyperterminal, The +CLLCC info it normaly (completely detected for all event progress call). But miss with your methode GetCurrentCalls.
Thanks
RE: Current call control - CLCC and CHLD - Added by admin 7 months ago
Hi,
Please attach the log file here, and elaborate more on the exact issue and how you produce them.
We will also provide you a feature to support +CLCC=1 later.
Thanks
Regards
RE: Current call control - CLCC and CHLD - Added by atep 7 months ago
Helo,
I finished fixed my code to detect Call Progress. Last time i use timer to continue mobileGateway.GetCurrentCalls(), there is any delay if using timer, so this delay make lossing for capture newest call progress info.
This my fixed code. So far so good. We can get all event for call Progress now. I am very Happy...
Thanks