Re: sms_modem config question
Andrew Lowe <[email protected]> Sat, 26 Jun 2004 08:33:23 +1000
| Newsgroups | gmane.comp.mobile.sms.tsms |
|---|---|
| Message-ID | <[email protected]> |
Michael, I'm not sure about using an ISDN modem for use with sms_client, however, a quick google found some references to some German providers supporting it ( i dont really read German, so could not tell for sure) Looking at the log, it appears (someone correct me if I am wrong) that the modem is being sent the whole init string, however your init string is two seperate init strings, and it looks like smsclient does not support this. sms_client sends ATZ<CR> <OK AT&E0 <CR> <OK<CR> modem sends <CR><LF?OK<CR<LF> which sms client interprets as the init string works... however the modem is still running the second part (AT&E0) and smsclient is sending the number to dial... ATDT001712521001<CR> The modem is then responding ok to the AT&E0 after sms_client is expected a "CONNECT" from the dialing phase... it gets "OK" and so sms_client fails... in your configuration file try replacing: MDM_init_command = "Z\r <OK AT&E0 \r <OK" with MDM_init_command = "Z" it looks like you may have copied your init string from another program (you mention yaps.rc) and it may support some scripting in its init strings that smsclient does not Andrew Lowe Michael Huettig wrote: > Hi Andrew, > thanks for your advice. > i think, there is a problem with modem init-strings from sms_modem. > I´ve copied init-strings from yaps.rc, which works fine. > I also tried with minicom, there is no problem in manual connect. > <log files cut for length...> -- -----------------------------------------------------------------------