Hi No, there is no command you can use into sendsms. Unless you hack the code..
However you can do the following through scripting: stop the smsc, change its service-type value (along with others you might need) and start it again. Yo do not need to stop/restart the whole kannel. 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 Fri, Sep 12, 2014 at 5:21 AM, Niel Smith <daniel.alfred.sm...@gmail.com> wrote: > Hi all, > > Is it possible to, on the fly, specify the value for the service type > using /cgi-bin/sendsms? I've been searching around without any luck. > > According to the kannel documentation, it's possible to configure a static > service type inside a smsc group. > > *service-type* string Optional; if specified, sets the service >> type for the SMSC. If unset, the default service type is used. This may be >> used to influence SMS routing (for example). The SMSC operator may also >> refer to this as the "profile ID". The maximum length of the service type >> is 6, according to the SMPP specification v3.4. Defined values are: "CMT" >> (cellular messaging), "CPT" (cellular paging), "VMN" (voice mail >> notification), "VMA" (voice mail alerting), "WAP" (wireless application >> protocol), "USSD" (unstructured supplementary services data), "CBS" (cell >> broadcast service) and "GUTS" (generic UDP transport service). Other values >> may be defined mutually between the SMSC and the ESME application. >> > > Thanks! > >