Re: RE: users Digest, Vol 12, Issue 2

bertrand vuaridel <[email protected]> Fri, 12 Mar 2004 17:36:40 +0100
Newsgroups gmane.comp.mobile.sms.tsms
Message-ID <[email protected]>
Dear Roger,

thanks a lot the init command make it work!
MDM_init_command       = "&FE1Q0V1L1M1X5&C1&D2&S1&K3B20"

Bertrand

Crettol, Roger wrote:

>Hi !
>
>We operate an sms_client based on smsclient-2.0.9d, enhanced for client/server operations and the proper handling of HPUX serial ports.
>
>We use an SMS Large account at swisscom (just for availability reasons) and an ISDN attachment. This is the sms_modem file we use (with traces of earlier operations on standard dial-in connections and tests in a Linux environment) :
>
># --------------------------------------------------------------------
># SMS Modem Configuration file
># --------------------------------------------------------------------
>
>{
>	# ------------------------------------------------------------
>
>	MDM_lock_dir 	       = "/var/opt/sms"	# Lock directory
>	# MDM_device	       = "ttyd0p2"	# Modem Device Name RP2430
>	MDM_device		       = "ttyd1p0"	# Modem Device Name D380
>
>	# for socket-based modem emulation (test & debug drivers):
>	# emulator listening on UNIX socket /tmp/sms/ttyS0
>	# MDM_socket_dir         = "/tmp/sms"     # Test sockets directory
>
>	# Modem Device Name Examples: 
>	# 
>	# MDM_device = "term/00m"      	# UNIXWARE
>	# MDM_device = "ttyS0"         	# Linux COM1
>	# MDM_device = "ttyS1"         	# Linux COM2
>	#
>	# MDM_device        = "cua/a" 	# SOLARIS
>	# MDM_lock_platform = "SOLARIS"	# Set this so that we generate
>							# Solaris compatible lock file
>							# names
>
>	# ------------------------------------------------------------
>	
>	# MDM_pause_after_connect = 1000000     # needed for KPN UCP modems
>						# Pause after the connection
>
>	# MDM_pause_after_connect = 3000000	# Pause after the connection
>						# string for 3 seconds
>
>	MDM_pause_on_DELAYED   = 60		# Pause when dial fails with
>						# DELAYED condition, in secs.
>
>	# ------------------------------------------------------------
>
>	MDM_command_prefix     = "AT"
>
>	# --- ZyXel Modemino :
># 	MDM_init_command       = "&FE1Q0V1X5S0=0S6=1S7=60S48=7S36=7&C1&D2&S1&K3&Q9"
>	# --- US Robotics (from TelAlert Setups) :
># 	MDM_init_command       = "AT&F&H2&I0E1Q0V1X4&A3S0=0S7=60&C1&D2&R1&S1&B1&M4&N6S7=4"
>#	MDM_init_command       = "ZE1Q0V1"
>#	MDM_init_command       = "Z"
>#	MDM_dial_command       = "DT"
>#	MDM_number_prefix      = "0"		# Number to dial to get an 
>						# external line. 
>
>	# --- Omninet.D ISDN Modem :
>	MDM_init_command       = "&FE1Q0V1L1M1X5&C1&D2&S1&K3B20"
>	MDM_dial_command       = "DI"
>	MDM_number_prefix      = ""		# Number to dial to get an 
>						# external line. 
>
>	MDM_set_local_echo_off = "E0"
>	MDM_disable_echo_test  = NO		# Test and Set local echo
>						# YES/NO
>
>	# ------------------------------------------------------------
>
>	MDM_dtr_hangup_sleep   = 3000000 	# How many microseconds should
>	MDM_dtr_init_sleep     = 1000000 	# I lower DTR during
>						# init/hangup
>
>	MDM_max_rings          = 7		# default = 4
>
>	# ------------------------------------------------------------
>
>	MDM_command_suffix     = "\r"
>	MDM_response_prefix    = "\r\n"
>	MDM_response_suffix    = "\r\n"
>
>	# ------------------------------------------------------------
>
>	MDM_flow_control       = "Hardware"	# Software or Hardware
>
>	# ------------------------------------------------------------
>
>	MDM_hangup_command      = "H0"
>	MDM_attention_command   = "+++"
>	MDM_soft_hangup_retries = 0		# Number of times I should
>						# continue sending hangup code
>						# If 0 then don't bother
>						# and rely on lowering DTR
>
>	MDM_guard_time          = 1750000	# Microsecond delay before and
>						# After transmitting attention command
>	MDM_esc_time	        = 125000	# Microsecond delay between each
>						# character of the attention command
>
>	# ------------------------------------------------------------
>
>	MDM_lock_action		= "BLOCK"
>	MDM_lock_retry_delay	= 5000000	# Microsecond delay to wait before
>						# retrying for modem lock.
>
>}
>
>-------------------------------------------------------------
>
>Regards.
>
>-rg-
>
>-----Original Message-----
>From: [email protected] [mailto:[email protected]] On Behalf Of [email protected]
>Sent: Donnerstag, 11. März 2004 13:16
>To: [email protected]
>Subject: users Digest, Vol 12, Issue 2
>
>
>Send users mailing list submissions to
>	[email protected]
>
>To subscribe or unsubscribe via the World Wide Web, visit
>	http://mailman.smsclient.org./mailman/listinfo/users
>or, via email, send a message with subject or body 'help' to
>	[email protected]
>
>You can reach the person managing the list at
>	[email protected]
>
>When replying, please edit your Subject line so it is more specific than "Re: Contents of users digest..."
>
>
>Today's Topics:
>
>   1. modem & swisscom (bertrand vuaridel)
>   2. Re: modem & swisscom ([email protected])
>   3. Re: modem & swisscom (Roger Schreiter)
>   4. Re: modem & swisscom (bertrand vuaridel)
>   5. Re: modem & swisscom (bertrand vuaridel)
>   6. Re: modem & swisscom (Roger Schreiter)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Wed, 10 Mar 2004 18:13:33 +0100
>From: bertrand vuaridel <[email protected]>
>Subject: [sms_client] modem & swisscom
>To: [email protected]
>Message-ID: <[email protected]>
>Content-Type: text/plain; charset=us-ascii; format=flowed
>
>Does sms_client and ISDN modems work?
>I have managed to use sms_client work with analog modem. However in Switzerland, with swisscom, I did not manage to make it wotk with ISDN line by changing the SMS_centre_number :
>
>#SMS_centre_number = "0794998990"  # SWISSCOM SMSC Number (Analog V.34)  SMS_centre_number = "0900900941"  # SWISSCOM SMSC Number (ISDN V.120)
>
>I have also changed the  dial command from DT to DTI for ISDN:
> MDM_dial_command       = "DTI"
>
>I always get:
>....
>Received Character: +4+
>Received Character: +1+
>Received Character: +<CR>+
>WARNING: read() Timeout
>ERROR: Timeout: searching for +<CR><LF>+ failed after 60 seconds Received String: +ATDTI0900900941<CR>+
>MODEM: Expecting CONNECT response - UNKOWN
>Removing Lockfile '/var/lock/LCK..ttyS0'
>
>
>Any idea?
>Note that Swiscom has confirmed that the number  0900900941 is correct 
>for ISDN.
>
>Bertrand
>
>
>
>------------------------------
>
>Message: 2
>Date: Thu, 11 Mar 2004 08:36:59 +0100
>From: [email protected]
>Subject: Re: [sms_client] modem & swisscom
>To: Users of SMS Client SMS Gateway <[email protected]>
>Message-ID: <[email protected]>
>Content-Type: text/plain; charset=US-ASCII
>
>
>
>
>
>Hello Bertrand,
>
>sms_client works fine with Linux and ISDN Modem emulation (I4L). What is your OS and  ISDN Modem?
>
>Hannes
>
>
>
>
>------------------------------
>
>Message: 3
>Date: Thu, 11 Mar 2004 08:59:49 +0100
>From: Roger Schreiter <[email protected]>
>Subject: Re: [sms_client] modem & swisscom
>To: Users of SMS Client SMS Gateway <[email protected]>
>Message-ID: <[email protected]>
>Content-Type: text/plain; charset=us-ascii; format=flowed
>
>bertrand vuaridel schrieb:
>  
>
>>...
>>However in Switzerland, with swisscom, I did not manage to make it 
>>wotk with ISDN line by changing the SMS_centre_number :
>>
>>#SMS_centre_number = "0794998990"  # SWISSCOM SMSC Number (Analog 
>>V.34) SMS_centre_number = "0900900941"  # SWISSCOM SMSC Number (ISDN 
>>V.120)
>>    
>>
>...
>
>Hi,
>
>Try the "analog" number! The "ISDN" one neither worked
>for me (ISDN), but the "analog" one does. I'm also using
>I4L.
>
>
>Roger.
>
>
>
>
>
>------------------------------
>
>Message: 4
>Date: Thu, 11 Mar 2004 09:38:05 +0100
>From: bertrand vuaridel <[email protected]>
>Subject: Re: [sms_client] modem & swisscom
>To: Users of SMS Client SMS Gateway <[email protected]>
>Message-ID: <[email protected]>
>Content-Type: text/plain; charset=us-ascii; format=flowed
>
>Hi Hannes
>
>my OS is linux Debian
>my modem zyxel 2864I
>and I manage to use the analog swisscom number but not the ISDN one! thanks for your help
>
>Bertrand
>
>[email protected] wrote:
>
>  
>
>>Hello Bertrand,
>>
>>sms_client works fine with Linux and ISDN Modem emulation (I4L). What 
>>is your OS and  ISDN Modem?
>>
>>Hannes
>>
>>
>>
>>--
>>
>>-----------------------------------------------------------------------
>>This is the SMSClient Users Mailman Mailing List
>>Please Post to: [email protected]
>>List Interface: http://mailman.smsclient.org./mailman/listinfo/users
>>List Archive: http://mailman.smsclient.org/mailman/private/users/
>>-----------------------------------------------------------------------
>>
>> 
>>
>>    
>>
>
>
>
>
>------------------------------
>
>Message: 5
>Date: Thu, 11 Mar 2004 09:42:40 +0100
>From: bertrand vuaridel <[email protected]>
>Subject: Re: [sms_client] modem & swisscom
>To: Users of SMS Client SMS Gateway <[email protected]>
>Message-ID: <[email protected]>
>Content-Type: text/plain; charset="us-ascii"
>
>Hello Roger,
>
>sms_client and ISDN is working according to other people. Swisscom claim that both the analog and ISDN number are supported and 
>should work!
>I would really prefer to use an ISDN modem.
>
>Any Idea what we should modify in the config?
>
>Bertrand
> 
>
>
>Roger Schreiter wrote:
>
>  
>
>>bertrand vuaridel schrieb:
>>
>>    
>>
>>>...
>>>However in Switzerland, with swisscom, I did not manage to make it 
>>>wotk with ISDN line by changing the SMS_centre_number :
>>>
>>>#SMS_centre_number = "0794998990"  # SWISSCOM SMSC Number (Analog 
>>>V.34) SMS_centre_number = "0900900941"  # SWISSCOM SMSC Number (ISDN 
>>>V.120)
>>>      
>>>
>>...
>>
>>Hi,
>>
>>Try the "analog" number! The "ISDN" one neither worked
>>for me (ISDN), but the "analog" one does. I'm also using
>>I4L.
>>
>>
>>Roger.
>>
>>
>>
>>
>>--
>>
>>----------------------------------------------------------------------
>>-
>>This is the SMSClient Users Mailman Mailing List
>>Please Post to: [email protected]
>>List Interface: http://mailman.smsclient.org./mailman/listinfo/users
>>List Archive: http://mailman.smsclient.org/mailman/private/users/
>>-----------------------------------------------------------------------
>>
>>    
>>
>
>  
>

-- 
bertrand vuaridel email: [email protected] <mailto:[email protected]>
director phone: +41 22 362 38 32
artegis direct: +41 22 362 92 01
fax: +41 22 362 38 36
web: http://www.artegis.com
nyon
switzerland

--

-----------------------------------------------------------------------