[OpenSIPS-Users] gsm modem SMS module

volga629 at networklab.ca volga629 at networklab.ca
Fri Jan 3 15:20:45 EST 2020


Hello Everyone,
I need help  identify issue with gsm modem connection in opensips. I 
tried send with external application and no problem everything works, 
but with opensips  get messages

Jan  3 15:09:38 sms /usr/sbin/opensips[16430]: 
NOTICE:core:do_workers_auto_scaling: score 15/15 -> ripping proc 23 
from group 1 (with 16 procs), estimated load -> 0
Jan  3 15:09:38 sms /usr/sbin/opensips[16462]: 
NOTICE:core:udp_process_graceful_terminate: process 23 received RPC to 
terminate from Main
Jan  3 15:09:38 sms /usr/sbin/opensips[16462]: 
INFO:core:dynamic_process_final_exit: doing self termination
Jan  3 15:09:39 sms /usr/sbin/opensips[16430]: NOTICE:core:handle_sigs: 
process 23/16462 did selfexit with status 0
Jan  3 15:09:40 sms /usr/sbin/opensips[16430]: 
NOTICE:core:do_workers_auto_scaling: score 15/15 -> ripping proc 22 
from group 1 (with 15 procs), estimated load -> 0
Jan  3 15:09:40 sms /usr/sbin/opensips[16461]: 
NOTICE:core:udp_process_graceful_terminate: process 22 received RPC to 
terminate from Main
Jan  3 15:09:40 sms /usr/sbin/opensips[16461]: 
INFO:core:dynamic_process_final_exit: doing self termination
Jan  3 15:09:40 sms /usr/sbin/opensips[16440]: INFO:sms:put_command: 
Modem is not clear to send
Jan  3 15:09:40 sms /usr/sbin/opensips[16440]: NOTICE:sms:initmodem: 
NOTICE:initmodem: Waiting 2 sec. before retrying
Jan  3 15:18:55 sms /usr/sbin/opensips[17250]: INFO:sms:put_command: 
Modem is not clear to send
Jan  3 15:18:55 sms /usr/sbin/opensips[17250]: INFO:sms:initmodem: 
INFO:initmodem: Checking if Modem is registered to the network
Jan  3 15:18:56 sms /usr/sbin/opensips[17250]: INFO:sms:put_command: 
Modem is not clear to send



*Messages log when modem is plugged*

Jan  3 14:36:06 sms kernel: option1 ttyUSB0: GSM modem (1-port) 
converter now disconnected from ttyUSB0
Jan  3 14:36:06 sms kernel: option 1-2:1.0: device disconnected
Jan  3 14:36:06 sms kernel: option1 ttyUSB1: GSM modem (1-port) 
converter now disconnected from ttyUSB1
Jan  3 14:36:06 sms kernel: option 1-2:1.1: device disconnected
Jan  3 14:36:06 sms kernel: option1 ttyUSB2: GSM modem (1-port) 
converter now disconnected from ttyUSB2


Configuration

[root at sms tmp]# lsusb
Bus 001 Device 013: ID 19d2:0031 ZTE WCDMA Technologies MSM 
MF110/MF627/MF636


#### SMS
loadmodule "sms.so"
modparam("sms", "modems", "ZTE[d=/dev/ttyUSB1;p=my sim 
pin;m=NEW;b=9600]")
modparam("sms", "links", "ZTE[D1]")
modparam("sms", "networks", "D1[m=10]")
modparam("sms", "max_sms_parts", 12)
modparam("sms", "sms_report_type", 2)


 what is not clear in configuration is what need to be set if modem in 
Paraguay
1.1.2. Numbering Plan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200103/66cffbc5/attachment.html>


More information about the Users mailing list