Hi IMSI does not vary. You can manually get it once and use it as smsc-id or smsc-damin-id.
Else in your app, you can associate the smsc-id to the IMSI. Regards Alvaro |-----------------------------------------------------------------------------------------------------------------| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.perusms.com On Tue, Oct 6, 2015 at 6:05 AM, Singularnet <singular...@gmail.com> wrote: > The only suggestion i would give to you is send the at command to get the > imsi in the keep alive directive, but you have comment out that directive > in your modem conf, so the info would not appear in your logs > > But the above directive would only give you the imei of the simcard that > you are using in your modem > > > > On Monday, October 5, 2015, Raghvendra Sahu <rx.s...@gmail.com> wrote: > >> Hello Guys, >> >> I am still waiting for a response, can anyone respond. >> >> Thanks >> Raghvendra >> >> >> > On 30-Sep-2015, at 8:25 pm, Raghvendra Sahu <rx.s...@gmail.com> wrote: >> > >> > Hi, >> > >> > I am trying to setup kannel and have success with sending messages. Now >> I wish to have feature that allows to have IMSI number of SIM from which >> message was sent. >> > >> > Suppose a message is sent. I get acknowledgment, with this ack I need >> IMSI number of SIM as well. Is this possible to achieve. >> > >> > My kannel.conf file (ubuntu 14) >> > >> > >> > group = core >> > admin-port = 13000 >> > admin-password = bar >> > # admin-deny-ip = "*.*.*.*" >> > admin-allow-ip = "*.*.*.*" >> > wapbox-port = 13002 >> > wdp-interface-name = "*" >> > log-file = "/var/log/kannel/bearerbox.log" >> > # box-deny-ip = "*.*.*.*" >> > box-allow-ip = "*.*.*.*" >> > smsbox-port = 13004 >> > >> > group = wapbox >> > bearerbox-host = localhost >> > log-file = "/var/log/kannel/wapbox.log" >> > >> > group = smsbox >> > bearerbox-host = localhost >> > log-file = /var/log/kannel/smsbox.log >> > sendsms-port = 13013 >> > >> > # group = sms-service >> > >> > group = sendsms-user >> > username = simple >> > password = simple >> > >> > group = smsc >> > smsc = at >> > smsc-id = modem1 >> > # smsc-admin-id = modem1 >> > log-file = /var/log/kannel/smsc-modem1.log >> > log-level = 0 >> > modemtype = auto >> > device = /dev/ttyUSB0 >> > speed = 115200 >> > >> > >> > group = modems >> > id = wavecom >> > name = Wavecom >> > detect-string = "WAVECOM" >> > init-string = "AT+CIMI" >> > # keepalive-cmd = "AT+CIMI" >> > >> > Any help will be great. >> > >> > Thanks >> > Raghvendra >> > >> >> >>