# Detection of CONNECT for an auto-answered call

**URL:** <https://forum.sierrawireless.com/t/detection-of-connect-for-an-auto-answered-call/732>\
**Category:** Open AT\
**Created:** [September 30, 2006, 9:39am UTC](https://forum.sierrawireless.com/t/detection-of-connect-for-an-auto-answered-call/732 "2006-09-30T09:39:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RICHARDB](https://avatars.discourse-cdn.com/v4/letter/r/96bed5/32.png) [@RICHARDB](https://forum.sierrawireless.com/u/RICHARDB)\
**Post date:** [September 30, 2006, 9:39am UTC](https://forum.sierrawireless.com/t/detection-of-connect-for-an-auto-answered-call/732/1 "2006-09-30T09:39:03Z")

</div>

Hello All,

I’ve got an Open AT application that monitors data calls, but is having trouble detecting when a connection has been established. This only occurs when the external application is in auto-answer mode (ATS0=1). I can see the “CONNECT xxxx” message on the terminal emulator, but no event is being passed to the callback function subscribed using the adl\_callSubscribe function.

Any ideas? 😕

---

<div class="post-metadata">

**Author:** ![walter\_senekal](https://avatars.discourse-cdn.com/v4/letter/w/f05b48/32.png) [@walter\_senekal](https://forum.sierrawireless.com/u/walter_senekal)\
**Post date:** [September 30, 2006, 8:12pm UTC](https://forum.sierrawireless.com/t/detection-of-connect-for-an-auto-answered-call/732/2 "2006-09-30T20:12:50Z")

</div>

Hi Richard  
If you have the auto answer on then your call handler wont have time to answer the call and take control of the call.  
I have 2 different solutions  
in the adl\_main send adl\_cmdcreate “ATS0=0”  
and the second one is to subsribe to unsolisited “connect” to catch the call.  
Best regards  
Walter

---

<div class="post-metadata">

**Author:** ![ljweko](https://avatars.discourse-cdn.com/v4/letter/l/47e85d/32.png) [@ljweko](https://forum.sierrawireless.com/u/ljweko)\
**Post date:** [October 1, 2006, 1:02am UTC](https://forum.sierrawireless.com/t/detection-of-connect-for-an-auto-answered-call/732/3 "2006-10-01T01:02:43Z")

</div>

You can use ATS0=, \> 0 version of the command to get additional time.

---

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [October 2, 2006, 1:04pm UTC](https://forum.sierrawireless.com/t/detection-of-connect-for-an-auto-answered-call/732/4 "2006-10-02T13:04:50Z")

</div>

> [@RICHARDB](#):
>
> This only occurs when the external application is in auto-answer mode (ATS0=1).

Err… just a minute…

ATS0 is a setting for the Wavecom software - not the external application!

In Open-AT terms, “External Application” refers to the thing outside the Wavecom unit.

Setting S0=1 causes the modem itself to auto-answer - so the External Application doesn’t have to!

Perhaps if you explained what you’re actually trying to achieve, then people could offer more informed suggestions?
