Author |
Post |
|
#1 Sun Feb 27, 2011 14:58, 167 months ago.
|
Member
Registered: Feb 2011
Location: United Kingdom
|
Hiyah
Is it not possible to automatically get a device to work out which queue it should be using from the phone number returned by AT+CNUM?
Currently, I have configured each modem name as the phone number of it's SIM, which means I can't easily swap the SIM into other modems.
Possible in the future or even now?
Thanks
Aaron
|
|
#2 Sun Feb 27, 2011 18:23, 167 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
Limes102 wrote Is it not possible to automatically get a device to work out which queue it should be using from the phone number returned by AT+CNUM?
CNUM is not always supported, and therefore it's not used by smstools. Limes102 wrote Currently, I have configured each modem name as the phone number of it's SIM, which means I can't easily swap the SIM into other modems.
Why do you need to swap SIM's? Are you using USB devices on GNU/Linux, and after rebooting the OS, the ports are not the same? If this is the case, udev might help. It may be possible to handle your requirement by the smstools, but we need to know if a command AT+CIMI is supported, and returns a correct identification string. Also, tell what OS you are running, what modems (manufacturer and model) and which version of smsd you are using.
|
|
#3 Sun Feb 27, 2011 18:28, 167 months ago.
|
Member
Registered: Feb 2011
Location: United Kingdom
Topic owner
|
Hiyah, thanks for your reply I worry that at some point devices might get unplugged and then end up getting plugged in incorrectly. I think careful documentation will probably be the best cure for that. The OS we are using is Ubuntu Server 10.10 32Bit. The modem is a based on the Motorola G24-Lite chip, which does support AT+CIMI I've only just started using SMSTools (as in yesterday) so I'm assuming I'm using the latest version, which I believe is 3.1.14 Thanks Aaron
|
|
#4 Sun Feb 27, 2011 19:12, 167 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
|
|
#5 Sun Feb 27, 2011 19:13, 167 months ago.
|
Member
Registered: Feb 2011
Location: United Kingdom
Topic owner
|
Thanks
|