# Dial-up managment problem

**URL:** <https://forum.sierrawireless.com/t/dial-up-managment-problem/1207>\
**Category:** Open AT\
**Created:** [March 23, 2007, 8:34am UTC](https://forum.sierrawireless.com/t/dial-up-managment-problem/1207 "2007-03-23T08:34:21Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![adven](https://avatars.discourse-cdn.com/v4/letter/a/9e8a1a/32.png) [@adven](https://forum.sierrawireless.com/u/adven)\
**Post date:** [March 23, 2007, 8:34am UTC](https://forum.sierrawireless.com/t/dial-up-managment-problem/1207/1 "2007-03-23T08:34:21Z")

</div>

Hi, me it is necessary to install CSD call on modem and send some information.  
I do following:

1. wait for CREG
2. enter PIN
3. wait for ADL\_SIM\_EVENT\_FULL\_INIT
4. make CGATT

After attach, I execute ed\_GprsSetConfig, here in after ed\_PPPSetConfig, ed\_DialupSetConfig and finally ed\_DialupConnectionStart. The Result ED\_ERR\_NO\_CARRIER.

Wind 5, 1  
does not pass as in the event of with atd atd works.

why i have ED\_ERR\_NO\_CARRIER.

---

<div class="post-metadata">

**Author:** ![adven](https://avatars.discourse-cdn.com/v4/letter/a/9e8a1a/32.png) [@adven](https://forum.sierrawireless.com/u/adven)\
**Post date:** [March 28, 2007, 5:18am UTC](https://forum.sierrawireless.com/t/dial-up-managment-problem/1207/2 "2007-03-28T05:18:01Z")

</div>

Anybody hear me? Please help.

---

<div class="post-metadata">

**Author:** ![OpenAT\_Fan](https://avatars.discourse-cdn.com/v4/letter/o/f07891/32.png) [@OpenAT\_Fan](https://forum.sierrawireless.com/u/OpenAT_Fan)\
**Post date:** [March 28, 2007, 8:33am UTC](https://forum.sierrawireless.com/t/dial-up-managment-problem/1207/3 "2007-03-28T08:33:42Z")

</div>

Hi Adven,

To solve the problem, please check out the following:

1. Please check if you have data call feature enabled on the Wireless CPU.  
This you can do by issuing ATD command.
2. Check out the signal strength received by the Wireless CPU. This you can find by issuing AT+CSQ command.

You can also post your code snippet, which you feel might be causing the problem so that forum members can have a look what is being done.

Best Regards,  
Open AT Fan.

---

<div class="post-metadata">

**Author:** ![adven](https://avatars.discourse-cdn.com/v4/letter/a/9e8a1a/32.png) [@adven](https://forum.sierrawireless.com/u/adven)\
**Post date:** [March 28, 2007, 9:52am UTC](https://forum.sierrawireless.com/t/dial-up-managment-problem/1207/4 "2007-03-28T09:52:28Z")

</div>

Hi, OpenAT\_Fan. Fanks for help.

The Command ATD works correct, i.e. I have made CSD call to modem.  
The Answer to AT+CSQ - 30,0.

That code I am using to make CSD call by eDlib functions, after CREG response, ADL\_SIM\_EVENT\_FULL\_INIT and CGATT response.

```auto
void TrySetCSDOutSession(void)
{
	char state;
	ed_dialupSetupParams_t dialupParams;
	ed_gprsSetupParams_t gprsParams;

	memset(&gprsParams, 0, sizeof(ed_gprsSetupParams_t));
	state = ed_GprsGetConfig(&gprsParams);
	gprsParams.Mode = 0;
	state = ed_GprsSetConfig(&gprsParams);
	switch(state) {
		case ED_ERR_MODEM_RUNNING:
		case ED_ERR_SERVICE_ALREADY_RUNNING:
		case OK:
			break;
		case ED_ERR_NOT_INIT:
		case ED_ERR_INVALID_ARG:
		case ED_ERR_PARAM_BAD_VALUE:
		case ED_ERR_PARAM_TOO_LONG:
		case ED_ERR_PARAM_READ_E2P:
			TRACE((1, "ed_GprsSetConfig err=%d", state));
			return;
			break;

	}
	memset(&dialupParams, 0, sizeof(ed_dialupSetupParams_t));
        strcpy(dialupParams.DialN1, "89066379810");
        strcpy(dialupParams.DialN2, "89066379810");
	dialupParams.DialSelect = 1;
	dialupParams.RedialCount = 4;
	dialupParams.PhyTimeout = 2; 
	dialupParams.RedialDelay = 5;
	state = ed_DialupSetConfig(&dialupParams);
	switch(state) {
		case ED_ERR_NOT_INIT:
		case ED_ERR_PARAM_BAD_VALUE:
		case ED_ERR_PARAM_TOO_LONG:
		case ED_ERR_PARAM_WRITE_E2P:
		case ED_ERR_INVALID_ARG:
			TRACE((1, "ed_DialupSetConfig err=%d", state));
			return;
			break;
	}
	state = ed_DialupConnectionStart(CommonResponses);
	switch(state) {
		case ED_ERR_MODEM_RUNNING:
		case OK:
			break;
		case ED_ERR_NOT_INIT:
		case ED_ERR_PIN_NOT_ENTERED:
		case ED_ERR_NETWORK_KO:
		case ED_ERR_INVALID_ARG:
		case ED_ERR_NO_GPRS:
			TRACE((1, "ed_DialupConnectionStart err=%d", state));
			return;
			break;
	}
	return;
}
```

After ed\_DialupConnectionStart in CommonResponses function, I received ED\_ERR\_NO\_CARRIER.

TerminalEmulator shows only wind 6,1, without wind 5,1 , wind 9 and wind 2 as it was with ATD command.

---

<div class="post-metadata">

**Author:** ![OpenAT\_Fan](https://avatars.discourse-cdn.com/v4/letter/o/f07891/32.png) [@OpenAT\_Fan](https://forum.sierrawireless.com/u/OpenAT_Fan)\
**Post date:** [March 30, 2007, 4:20am UTC](https://forum.sierrawireless.com/t/dial-up-managment-problem/1207/5 "2007-03-30T04:20:00Z")

</div>

Hi Adven,

Please enable the ATI Level 1 traces in the TMT and check out if you are able to see the ATD command.  
When the CSD is to be used as a bearer, eDLIB internally issues ATD commmand to dial out the number. After the ATD command, check out if you receive a +WIND: 5, 1 and WIND: 2 indications.  
This would tell if the command is created at all.

In case, ATD is not issued, it means that there is some problem in the parameter setting and eDLIB is not issuing the ATD command itself.

Hope this helps.

Best Regards,  
Open AT Fan.

---

<div class="post-metadata">

**Author:** ![adven](https://avatars.discourse-cdn.com/v4/letter/a/9e8a1a/32.png) [@adven](https://forum.sierrawireless.com/u/adven)\
**Post date:** [April 9, 2007, 1:29pm UTC](https://forum.sierrawireless.com/t/dial-up-managment-problem/1207/6 "2007-04-09T13:29:31Z")

</div>

Hi, OpenAT\_Fan!  
Thank you very much for help. I have done as you advised. The atd command have been called, but the CSD service was disabled.  
Best Regards.

---

<div class="post-metadata">

**Author:** ![OpenAT\_Fan](https://avatars.discourse-cdn.com/v4/letter/o/f07891/32.png) [@OpenAT\_Fan](https://forum.sierrawireless.com/u/OpenAT_Fan)\
**Post date:** [April 10, 2007, 3:43am UTC](https://forum.sierrawireless.com/t/dial-up-managment-problem/1207/7 "2007-04-10T03:43:13Z")

</div>

Hi Adven,

Was the CSD disabled on the SIM? In that case, if you enable the CSD, the call can be made and your application would work.

I hope that you have solved your problem.

Best Regards,  
Open AT Fan.

---

<div class="post-metadata">

**Author:** ![adven](https://avatars.discourse-cdn.com/v4/letter/a/9e8a1a/32.png) [@adven](https://forum.sierrawireless.com/u/adven)\
**Post date:** [April 10, 2007, 8:11am UTC](https://forum.sierrawireless.com/t/dial-up-managment-problem/1207/8 "2007-04-10T08:11:41Z")

</div>

Hi, OpenAT\_Fan

What command to have charge of this? I mean, how I can check the SIM options?

Thanks

---

<div class="post-metadata">

**Author:** ![OpenAT\_Fan](https://avatars.discourse-cdn.com/v4/letter/o/f07891/32.png) [@OpenAT\_Fan](https://forum.sierrawireless.com/u/OpenAT_Fan)\
**Post date:** [April 10, 2007, 9:38am UTC](https://forum.sierrawireless.com/t/dial-up-managment-problem/1207/9 "2007-04-10T09:38:53Z")

</div>

Hi Adven,

I don’t think we have any AT command which can tell us whether CSD is enabled on the Wireless CPU or not. You have to experiment by executing a CSD call (by issuing ATD command (without a semicolon)) and see if the call is created. If it works, then you have CSD.  
If you receive a +CME ERROR, the it means that the service is not enabled on the SIM.

The best way would be to contact your service provider and get it enabled.

Best Regards,  
Open AT Fan.

---

<div class="post-metadata">

**Author:** ![adven](https://avatars.discourse-cdn.com/v4/letter/a/9e8a1a/32.png) [@adven](https://forum.sierrawireless.com/u/adven)\
**Post date:** [April 10, 2007, 11:54am UTC](https://forum.sierrawireless.com/t/dial-up-managment-problem/1207/10 "2007-04-10T11:54:17Z")

</div>

It`s ok OpenAT\_Fan, we are solved this problem. Realy, the Mobile Operator has disable this function.

Thank you for help.
